duy 1 year ago
parent
commit
470e7f5e6b

+ 4 - 0
src/components/hc-tasks-user/index.vue

@@ -523,6 +523,7 @@ const chekckTask = async (item)=>{
 .hc-tasks-user-modal-content-box {
     .checkbox-li .el-checkbox {
         width: 100%;
+     
         .el-checkbox__input {
             position: absolute;
             right: 0;
@@ -547,6 +548,9 @@ const chekckTask = async (item)=>{
             margin-right: 10px;
             margin-top: 12px;
         }
+        .el-checkbox-group{
+            padding-right: 20px;
+        }
     }
 }
 </style>

+ 4 - 1
src/views/debit-pay/admin/components/certificate/editModal.vue

@@ -1,5 +1,5 @@
 <template>
-    <hc-new-dialog is-table widths="1200px" :show="isShow" title="修改中期支付证书" @save="addModalSave" @close="addModalClose">
+    <hc-new-dialog is-table widths="1200px" :show="isShow" title="修改中期支付证书" :loading="saveLoading" @save="addModalSave" @close="addModalClose">
         <el-scrollbar>
             <!-- 基础表单 -->
             <hc-card-item>
@@ -178,6 +178,7 @@ const tableData = ref([])
 
 
 //保存
+const saveLoading = ref(false)
 const addModalSave = async () => {
     const form = formModel.value
     form.projectId = projectId.value
@@ -185,7 +186,9 @@ const addModalSave = async () => {
     form.materialPeriodIds = materialPeriodIds.value.join(',')
     form.startPeriodIds = startPeriodIds.value.join(',')
     form.payList = tableData.value
+    saveLoading.value = true
     const { error, code, msg } = await mainApi.edit(form)
+    saveLoading.value = false
     if (!error && code === 200) {
         window.$message.success('保存成功')
         addModalClose()