浏览代码

fix: change canteenEvaluation template

DESKTOP-USV654P\pc 2 月之前
父节点
当前提交
197443c2d8
共有 2 个文件被更改,包括 8 次插入6 次删除
  1. 1 1
      Makefile
  2. 7 5
      src/views/canteenEvaluation/template/components/editModal.vue

+ 1 - 1
Makefile

@@ -12,7 +12,7 @@ build:
 
 commit:
 	git add . && \
-	git commit --no-verify -m "fix: change finance consumption"
+	git commit --no-verify -m "fix: change canteenEvaluation template"
 
 checkPre:
 	git checkout pre

+ 7 - 5
src/views/canteenEvaluation/template/components/editModal.vue

@@ -209,8 +209,9 @@
         <div class="flex flex-row justify-between items-center">
           <div>
             <span style="font-size: 14px; font-weight: bold">{{ Findex + 1 + '.' }}大题名称:</span>
-            <span class="ml-2"
-              >{{ item.name }} <EditOutlined @click="handleEditQuestion(item, Findex)"
+            <span class="ml-2">
+              {{ item.name }}
+              <EditOutlined @click="handleEditQuestion(item, Findex)"
             /></span>
             <a style="margin-left: 12px" @click="handleDeleteQuestion(Findex)">删除</a>
           </div>
@@ -233,14 +234,15 @@
                 size="small"
                 type="primary"
                 @click="handleCreateSubject(null, false, Findex)"
-                >新增小题</a-button
               >
+                新增小题
+              </a-button>
             </div>
           </template>
           <template #action="{ record, index: indexs }">
             <div class="flex flex-row justify-between">
-              <a type="link" @click="handleEdit(record, index, indexs)"> 编辑 </a>
-              <a type="link" @click="handleDeleteItem(index, indexs)"> 删除 </a>
+              <a type="link" @click="handleEdit(record, Findex, indexs)"> 编辑 </a>
+              <a type="link" @click="handleDeleteItem(Findex, indexs)"> 删除 </a>
             </div>
           </template>
         </Table>