yangfeng
2023-08-15 c1adf27fbabbff1d76b60993521c765ef1ed79ef
src/views/service/clientServiceOrder/index.vue
@@ -125,7 +125,7 @@
          { label: "实际处理时间", prop: "realTime" }, // 实际处理时间
          { label: "服务人员", prop: "serviceManId" }, // 服务人员
          { label: "服务方式", prop: "serviceType_name" }, // 服务方式
          { label: "产品类别", prop: "reportSourceId" }, // 产品类别
          // { label: "产品类别", prop: "reportSourceId" }, // 产品类别
          { label: "故障类别", prop: "faultType_name" } // 故障类别
        ]
      }
@@ -143,7 +143,9 @@
        keyword: keyword,
        keywordType: keywordType,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
        pageSize: this.pagerOptions.pageSize,
        salesDetailsId: 0,
        serviceContractId: 0
      })
        .then((res) => {
          console.log(res)
@@ -154,7 +156,8 @@
                  ...item,
                  client_name: item.Client.name,
                  serviceType_name: item.ServiceType.name,
                  faultType_name: item.FaultType.name
                  faultType_name: item.FaultType.name,
                  serviceContract_Number: item.ServiceContract.number
                }
              })
              this.tableList.tableInfomation = list || []
@@ -197,7 +200,7 @@
      console.log(row)
      this.editConfig.visible = true
      this.editConfig.title = "编辑"
      this.editConfig.infomation = { ...row }
      this.editConfig.infomation = { ...row, contact_name: row.Contact.name, service_number: row.serviceContractId }
    },
    // 删除
    delClick() {
@@ -245,7 +248,7 @@
    selCommonClick(row) {
      console.log(row)
      this.clientServiceDetail.visible = true
      this.clientServiceDetail.infomation = { ...row }
      this.clientServiceDetail.infomation = { ...row, contact_name: row.Contact.name }
    }
  }
}