jiangping
2025-06-04 a01d637e9ff2bf26aa44c65a239413a38bd8b1fe
company/src/views/enterprise/settleClaimsCom.vue
@@ -31,10 +31,10 @@
                <el-select v-model="searchForm.status" clearable placeholder="请选择" style="width: 150px" @change="search">
                    <el-option label="暂存中" value="0"></el-option>
                    <el-option label="已报案" value="1"></el-option>
                    <el-option label="待立案" value="2"></el-option>
<!--                    <el-option label="待立案" value="2"></el-option>-->
                    <el-option label="已立案" value="3"></el-option>
                    <el-option label="立案退回" value="4"></el-option>
                    <el-option label="待受理" value="5"></el-option>
<!--                    <el-option label="待受理" value="5"></el-option>-->
                    <el-option label="拒绝受理" value="6"></el-option>
                    <el-option label="商议待审批" value="7"></el-option>
                    <el-option label="商议审批拒绝" value="8"></el-option>
@@ -108,7 +108,7 @@
                    <template slot-scope="{row}">
                        <el-button
                            type="text"
                            @click="$refs.operaSettleClaimsWindow.open('报案详情', row.id)"
                            @click="$refs.operaSettleClaimsWindow.open('报案理赔详情', row.id)"
                            v-if="row.status !== 0">
                            查看详情
                        </el-button>
@@ -131,8 +131,7 @@
            <pagination
                @size-change="handleSizeChange"
                @current-change="handlePageChange"
                :pagination="tableData.pagination"
            >
                :pagination="tableData.pagination">
            </pagination>
        </template>
        <!-- 详情 -->
@@ -166,9 +165,9 @@
        baseSolutionId: '',
        companyId: '',
        duName: '',
        createDateStr:null,
        createDateStr: null,
        memberName: '',
        applyCode:null,
        applyCode: null,
        memberIdcardNo: '',
        status: '',
        informantName: ''
@@ -189,42 +188,42 @@
    this.loadSelectList()
  },
  methods: {
      // 撤销
      revoke(id) {
          this.$confirm('撤销后,案件直接结束,无法继续进行理赔操作!', '是否撤销报案?', {
              confirmButtonText: '确定撤销',
              cancelButtonText: '我再想想',
              type: 'warning'
          }).then(() => {
              returnSettle({ id })
                  .then(res => {
                      this.search()
                  })
          }).catch(() => {
    // 撤销
    revoke (id) {
      this.$confirm('撤销后,案件直接结束,无法继续进行理赔操作!', '是否撤销报案?', {
        confirmButtonText: '确定撤销',
        cancelButtonText: '我再想想',
        type: 'warning'
      }).then(() => {
        returnSettle({ id })
          .then(res => {
            this.search()
          })
      }).catch(() => {
          });
      },
      })
    },
    loadSelectList () {
      solutionAll({ dataType: 0 }).then(res => {
        this.solutionList = res
      }).catch(err => {
      })
    },
      deleRow(id) {
          this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
              confirmButtonText: '确定',
              cancelButtonText: '取消',
              type: 'warning'
          }).then(() => {
              dele(id)
                .then(res => {
                    this.$message.success('删除成功')
                    this.search()
                })
          }).catch(() => {
    deleRow (id) {
      this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        dele(id)
          .then(res => {
            this.$message.success('删除成功')
            this.search()
          })
      }).catch(() => {
          });
      }
      })
    }
  }
}