MrShi
2024-02-05 5019ed6016b47221321bf395cd102dc4b51b4724
company/src/components/business/InsuranceDetails.vue
@@ -83,7 +83,7 @@
        </div>
        <template v-if="type==1" v-slot:footer>
            <el-button type="primary"  :loading="isWorking.export" @click="check(0)">提交通过</el-button>
            <el-button type="danger"  :loading="isWorking.export" @click="check(1)">审核不通过</el-button>
<!--            <el-button type="danger"  :loading="isWorking.export" @click="check(1)">审核不通过</el-button>-->
            <el-button @click="visible=false">取消</el-button>
        </template>
        <template v-else v-slot:footer>
@@ -118,7 +118,7 @@
                // 验证规则
                rules: {
                },
                reverse: true,
                reverse: false,
                tableData: []
            }
        },
@@ -165,14 +165,16 @@
          },
          check(type){
            this.form.dealBackApply = type;
            this.$dialog.exportConfirm('确认进行该操作吗?')
            this.$dialog.messageConfirm('确认进行该操作吗?')
                .then(() => {
                  this.isWorking = true
                  check(this.form)
                      .then(response => {
                        this.visible = false
                        this.$emit('success')
                      })
                      }).catch(err => {
                    this.$tip.apiFailed(err)
                  })
                })
                .catch(() => {
                })
@@ -189,9 +191,6 @@
                      .catch(e => {
                        console.log(e)
                        this.$message.error('数据下载失败!')
                      })
                      .finally(() => {
                        this.isWorking = false
                      })
                })
                .catch(() => {