tangning 7 meses atrás
pai
commit
5966b7ad86
2 arquivos alterados com 3 adições e 3 exclusões
  1. 2 2
      src/view/case/records/index.vue
  2. 1 1
      src/view/material/index.vue

+ 2 - 2
src/view/case/records/index.vue

@@ -542,7 +542,7 @@ const recorderInfoDialogShow = ref(false);
 const recorderInfoDialogSelect = ref();
 const initInfo = async () => {
   const res = await getCaseInquestInfoOld(fileId.value);
-  console.log(res);
+  console.log('initInfo',res);
   if (!res.data) {
     isDisableExport.value = true;
   } else {
@@ -646,6 +646,7 @@ const handleSave = async () => {
   let inquestFileId = fileId.value == -1 ? '' : fileId.value;
   let params = { ...data, caseId: caseId.value, inquestFileId };
   const res = await saveCaseInquestInfo(params);
+  initInfo();
   console.log("saveCaseInquestInfo", res);
   if(fileId.value == -1){
     router.replace({
@@ -656,7 +657,6 @@ const handleSave = async () => {
   }
   if (res.code === 0) {
     ElMessage.success("保存成功!");
-    initInfo();
   }
 };
 const handleExport = async () => {

+ 1 - 1
src/view/material/index.vue

@@ -78,7 +78,7 @@
         <div class="blList">
           <div class="bllistItem flex justify-between items-center mt-4" v-for="item,index in list.klbj" :key="index">
             <div class="truncate" :title="item.filesTitle">{{item.filesTitle}}</div>
-            <el-dropdown @command="(command)=>{handleCommand(command, item)}">
+            <el-dropdown style="width: 20px" @command="(command)=>{handleCommand(command, item)}">
               <el-icon>
                 <MoreFilled />
               </el-icon>