yangfeng
2023-11-29 01fe9929805fc9e73b72033f9717fc3f32005b03
src/views/service/serviceFollowup/index.vue
@@ -238,14 +238,22 @@
    addBtnClick() {
      this.editConfig.visible = true
      this.editConfig.title = "新建"
      this.editConfig.infomation = { ...this.addConfig, client_name: "", contact_name: "", service_number: "" }
      this.editConfig.infomation = { ...this.addConfig, client_name: "", contact_name: "" }
    },
    // 编辑
    handleClick(row) {
      console.log(row)
      this.editConfig.visible = true
      this.editConfig.title = "编辑"
      this.editConfig.infomation = { ...row, service_number: row.ServiceOrder.serviceNumber }
      this.editConfig.infomation = {
        ...row,
        service_number: row.ServiceOrder.serviceNumber,
        satisfactionId: row.satisfactionId === 0 ? null : row.satisfactionId,
        timelyRateId: row.timelyRateId === 0 ? null : row.timelyRateId,
        solveRateId: row.solveRateId === 0 ? null : row.solveRateId,
        oldMemberId: row.oldMemberId === 0 ? null : row.oldMemberId,
        isVisitId: row.isVisitId === 0 ? null : row.isVisitId
      }
    },
    // 删除
    delClick(id) {