ly il y a 1 an
Parent
commit
3d08a31e90

+ 3 - 1
src/utils/request.js

@@ -136,7 +136,7 @@ service.interceptors.request.use(
           cache.session.setJSON("sessionObj", requestObj);
         }
       }
-
+      console.log("config", config, config.data, typeof config.data)
       if (!startRepeatSubmitRequest(config)) {
         const message = "数据正在处理,请勿重复提交";
         console.warn(`[${config.url}]: ` + message);
@@ -154,6 +154,8 @@ service.interceptors.request.use(
 // 响应拦截器
 service.interceptors.response.use(
   (res) => {
+    console.log("res config", res.config, res.config.data, typeof res.config.data)
+
     // 是否需要防止数据重复提交
     stopRepeatSubmitRequest(res.config);
 

+ 6 - 5
src/views/business/production/archiveTicket/form.vue

@@ -104,9 +104,7 @@
     },
   });
   const { getList, width } = toRefs(props);
-  const srcList = ref([
-    "https://elevator4s-oss.oss-cn-hangzhou.aliyuncs.com/2021/05/07/b632db6a837f46e0950670277fa9e5e5multipartFile.png"
-  ]);
+  const srcList = ref([]);
   // import api from '@/api/biz/fileStorage'
   const data = reactive({
     visible: false,
@@ -192,6 +190,8 @@
         file.originalFileName = res.originalFilename;
         file.fileUrl = res.fileName;
         files.value.push(file);
+        srcList.value = files.value.map((v) => baseUrl.value + v.fileUrl);
+        console.log(srcList.value,2222);
       }
     });
   }
@@ -229,8 +229,8 @@
     loadData();
   }
   function vbs(val) {
-    srcList.value = []
-    srcList.value.push(val)
+    // srcList.value = []
+    // srcList.value.push(val)
   }
 
   function handleBeforeUpload(file) {
@@ -247,6 +247,7 @@
       .confirm("确定删除?")
       .then(() => {
         files.value.splice(index, 1);
+        srcList.value = files.value.map((v) => baseUrl.value + v.fileUrl);
       })
       .catch(() => {
         proxy.$modal.msg("已取消删除");

+ 1 - 1
src/views/business/production/financialReportTax/index.vue

@@ -52,7 +52,7 @@
     <!-- 列表区 -->
     <el-table v-loading="loading" :data="taxList" size="small" border height="100%"
       @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <!-- <el-table-column type="selection" width="55" align="center" /> -->
       <el-table-column label="客户名称" align="center" prop="companyName" min-width="250">
         <template #default="scope">
           <div style="display: flex; align-items: center; ">

+ 1 - 1
src/views/business/production/financialReportTaxIsZero/index.vue

@@ -95,7 +95,7 @@
       height="100%"
       @selection-change="handleSelectionChange"
     >
-      <el-table-column type="selection" width="55" align="center" />
+      <!-- <el-table-column type="selection" width="55" align="center" /> -->
       <el-table-column label="客户名称" align="center" prop="companyName" min-width="250">
         <template #default="scope">
           <div style="display: flex; align-items: center; ">

+ 1 - 1
src/views/business/production/salary/index.vue

@@ -61,7 +61,7 @@
     <!-- 列表区 -->
     <el-table v-loading="loading" :data="list" size="small" border height="100%"
       @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <!-- <el-table-column type="selection" width="55" align="center" /> -->
       <el-table-column label="客户名称" align="center" prop="companyName" min-width="250">
         <template #default="scope">
           <div style="display: flex; align-items: center; ">

+ 1 - 1
src/views/business/service/loop/socialSecurityView.vue

@@ -39,7 +39,7 @@
               </el-select>
             </el-form-item>
           </el-col>
-          <el-divider content-position="left">社保人员信息</el-divider>
+          <el-divider content-position="left">社保人员信息<1/el-divider>
           <el-col :span="24" class="details-container">
             <!--操作按钮 开始-->
             <div class="details-head"></div>

+ 1 - 1
src/views/business/socialSecurity/confirm/index.vue

@@ -54,7 +54,7 @@
     <!-- 列表区 -->
     <el-table v-loading="loading" :data="list" size="small" border height="100%"
       @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <!-- <el-table-column type="selection" width="55" align="center" /> -->
       <el-table-column label="客户名称" align="center" prop="companyName" min-width="250" />
       <el-table-column label="来源" align="center" prop="fromCompanyName" width="100" />
       <el-table-column label="纳税性质" width="100" align="center" prop="taxType" />

+ 1 - 1
src/views/business/socialSecurity/declare/index.vue

@@ -49,7 +49,7 @@
     <!-- 列表区 -->
     <el-table v-loading="loading" :data="orderList" size="small" border height="100%"
       @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
+      <!-- <el-table-column type="selection" width="55" align="center" /> -->
       <el-table-column label="客户名称" min-width="250" align="center" prop="companyName" />
       <el-table-column label="来源" min-width="100" align="center" prop="fromCompanyName" />
       <el-table-column label="纳税性质" min-width="100" align="center" prop="taxType" />