yangfeng
2023-08-11 78cf30802189becef2725af73f37b5d2cb28600f
新建跟进记录入参修改
11个文件已修改
119 ■■■■ 已修改文件
src/views/client/client/DetailClientManage.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/client/index.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/contacts/DetailContacts.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/contacts/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/followupRecords/index.vue 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/salesLead/DetailSalesLead.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesOpportunity/index.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/service/clientServiceOrder/AddCientServiceOrderDialog.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/service/clientServiceOrder/DetailClientServiceOrder.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/service/serviceFollowup/DetailServiceFollowup.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/service/serviceFollowup/index.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/client/DetailClientManage.vue
@@ -183,7 +183,11 @@
          <Contacts :isDetail="true" />
        </div>
        <div v-if="activeName === 'second'" class="second">
          <FollowupRecords :isDetail="true" />
          <FollowupRecords
            :isDetail="true"
            :follow-record="detailConfig.infomation.follow_record"
            :add-config="addConfig"
          />
        </div>
        <div v-if="activeName === 'salesOpportunity'" class="second">
          <SalesOpportunity :isDetail="true" />
@@ -243,11 +247,18 @@
      isAddressExpand: true, // 地址信息
      addressInfoList: [],
      isRemarkExpand: true, // 备注信息
      isAnnexExpand: true // 附件信息
      isAnnexExpand: true, // 附件信息
      addConfig: {}
    }
  },
  created() {
    this.setData(this.detailConfig.infomation)
    this.addConfig = {
      client: this.detailConfig.infomation.id,
      client_name: this.detailConfig.infomation.name,
      contact_name: this.detailConfig.infomation.contact_name,
      client_status_id: this.detailConfig.infomation.client_status_id
    }
  },
  mounted() {},
  methods: {
src/views/client/client/index.vue
@@ -285,7 +285,6 @@
    },
    // 联系人详情
    selContactsClick(row) {
      console.log(row)
      this.contactsDeail.visible = true
      let contact = {}
      if (row.contacts.length !== 0) {
@@ -295,7 +294,11 @@
          }
        }
      }
      this.contactsDeail.infomation = { ...contact, Client: { name: row.name } }
      this.contactsDeail.infomation = {
        ...contact,
        Client: { name: row.name, client_status_id: row.client_status_id },
        client_name: row.name
      }
    },
    // 跟进
    followupClick(row) {
src/views/client/contacts/DetailContacts.vue
@@ -109,7 +109,7 @@
          </div>
        </div>
        <div v-if="activeName === 'second'" class="second">
          <FollowupRecords :isDetail="true" />
          <FollowupRecords :isDetail="true" :add-config="addConfig" />
        </div>
        <div v-if="activeName === 'detail'" class="second">
          <SalesDetails :isDetail="true" />
@@ -150,11 +150,18 @@
      isAddressExpand: true, // 地址信息
      addressInfoList: [],
      isRemarkExpand: true, // 备注信息
      isAnnexExpand: true // 附件信息
      isAnnexExpand: true, // 附件信息
      addConfig: {}
    }
  },
  created() {
    this.setData(this.detailConfig.infomation)
    this.addConfig = {
      contact: this.detailConfig.infomation.id,
      client_name: this.detailConfig.infomation.client_name,
      contact_name: this.detailConfig.infomation.name,
      client_status_id: this.detailConfig.infomation.Client.client_status_id
    }
  },
  mounted() {},
  methods: {
src/views/client/contacts/index.vue
@@ -252,13 +252,14 @@
    },
    // 客户名称详情
    selClientClick(row) {
      console.log(row)
      // console.log(row)
      this.clientDeail.visible = true
      this.clientDeail.infomation = {
        ...row.Client,
        client_name: row.Client.name,
        client_level: row.Client.client_level.name,
        client_status: row.Client.client_status.name
        client_status: row.Client.client_status.name,
        contact_name: row.name
      }
    },
    // 跟进
src/views/client/followupRecords/index.vue
@@ -56,6 +56,18 @@
    isDetail: {
      type: Boolean,
      default: false
    },
    followRecord: {
      type: Array,
      default: () => []
    },
    addConfig: {
      type: Object,
      default: () => {
        return {
          sales_leads_name: ""
        }
      }
    }
  },
  mixins: [pageMixin],
@@ -116,7 +128,11 @@
  },
  created() {
    this.setTable()
    this.getData()
    if (!this.isDetail) {
      this.getData()
    } else {
      this.tableList.tableInfomation = this.followRecord
    }
  },
  methods: {
    setTable() {
@@ -194,7 +210,7 @@
    addBtnClick() {
      this.editConfig.visible = true
      this.editConfig.title = "新建"
      this.editConfig.infomation = {}
      this.editConfig.infomation = { ...this.addConfig }
    },
    // 编辑
    handleClick(row) {
@@ -238,7 +254,11 @@
    selContactsClick(row) {
      console.log(row)
      this.contactsDeail.visible = true
      this.contactsDeail.infomation = { ...row.contact, Client: { name: row.client_name } }
      this.contactsDeail.infomation = {
        ...row.contact,
        Client: { name: row.client_name, client_status_id: row.client.client_status_id },
        client_name: row.client_name
      }
    },
    // 客户名称详情
    selClientClick(row) {
@@ -248,7 +268,8 @@
        ...row.client,
        client_name: row.client.name,
        client_level: row.client.client_level.name,
        client_status: row.client.client_status.name
        client_status: row.client.client_status.name,
        contact_name: row.contact_name
      }
    }
  }
src/views/client/salesLead/DetailSalesLead.vue
@@ -105,7 +105,11 @@
          </div>
        </div>
        <div v-if="activeName === 'second'" class="second">
          <FollowupRecords :isDetail="true" />
          <FollowupRecords
            :isDetail="true"
            :follow-record="detailConfig.infomation.FollowRecord"
            :add-config="addConfig"
          />
        </div>
      </div>
    </el-drawer>
@@ -140,11 +144,16 @@
      isAddressExpand: true, // 地址信息
      addressInfoList: [],
      isRemarkExpand: true, // 备注信息
      remarkInfoList: []
      remarkInfoList: [],
      addConfig: {}
    }
  },
  created() {
    this.setData()
    this.addConfig = {
      sealsLead: this.detailConfig.infomation.id,
      sales_leads_name: this.detailConfig.infomation.name
    }
  },
  mounted() {},
  methods: {
src/views/sales/salesOpportunity/index.vue
@@ -224,13 +224,18 @@
    selClientClick(row) {
      console.log(row)
      this.clientDeail.visible = true
      this.clientDeail.infomation = { ...row, client_name: row.name }
      this.clientDeail.infomation = {
        ...row.client,
        client_name: row.client.name,
        client_level: row.client.client_level.name,
        client_status: row.client.client_status.name
      }
    },
    // 联系人详情
    selContactsClick(row) {
      console.log(row)
      this.contactsDeail.visible = true
      this.contactsDeail.infomation = { ...row }
      this.contactsDeail.infomation = { ...row.contact }
    },
    // 机会名称详情
    selCommonClick(row) {
src/views/service/clientServiceOrder/AddCientServiceOrderDialog.vue
@@ -306,10 +306,10 @@
          <div class="basic-info-view">
            <el-row>
              <el-col :span="12">
                <el-form-item label="处理状态" prop="status">
                <el-form-item label="处理状态" prop="serviceOrderStatusId">
                  <div class="common-select">
                    <el-select
                      v-model="editConfig.infomation.status"
                      v-model="editConfig.infomation.serviceOrderStatusId"
                      placeholder="请选择"
                      class="common-select-sel"
                      size="mini"
@@ -603,7 +603,7 @@
        subject: [{ required: true, message: "请输入主题", trigger: "blur" }],
        productCategory: [{ required: true, message: "请选择产品类别", trigger: "change" }],
        serviceManId: [{ required: true, message: "请选择产品类别", trigger: "change" }],
        status: [{ required: true, message: "请选择故障类别", trigger: "change" }],
        serviceOrderStatusId: [{ required: true, message: "请选择故障类别", trigger: "change" }],
        problemDesc: [{ required: true, message: "请输入问题描述", trigger: "blur" }]
      },
      faultTypeOptions: [{ id: 1, name: "服务回访" }], // 故障类别
@@ -761,7 +761,7 @@
        severity: data.severity || 0,
        solution: data.solution || "",
        solutionRemark: data.solutionRemark || "",
        status: data.status || 0,
        serviceOrderStatusId: data.serviceOrderStatusId || 0,
        subject: data.subject || "",
        timeSpentId: data.timeSpentId || 0
      }
src/views/service/clientServiceOrder/DetailClientServiceOrder.vue
@@ -395,7 +395,7 @@
      this.dynamicInfoList = [
        {
          leftStr: "处理状态",
          leftValue: data.status,
          leftValue: data.serviceOrderStatusId,
          rightStr: "最新分配时间",
          rightValue: ""
        },
src/views/service/serviceFollowup/DetailServiceFollowup.vue
@@ -139,25 +139,25 @@
        },
        {
          leftStr: "回访人",
          leftValue: item.isVisit,
          leftValue: item.Member.username,
          rightStr: "项目计划",
          rightValue: ""
        },
        {
          leftStr: "满意度",
          leftValue: item.satisfaction,
          leftValue: item.satisfaction.name,
          rightStr: "及时率",
          rightValue: item.timelyRate
          rightValue: item.timelyRate.name
        },
        {
          leftStr: "解决率",
          leftValue: "",
          leftValue: item.solveRate.name,
          rightStr: "原服务人员",
          rightValue: ""
          rightValue: item.oldMember.username
        },
        {
          leftStr: "服务人员是否来过",
          leftValue: "",
          leftValue: item.isVisit.name,
          rightStr: "创建时间",
          rightValue: ""
        },
src/views/service/serviceFollowup/index.vue
@@ -133,8 +133,8 @@
          { label: "客户名称", prop: "client_name", min: 130, isClientClick: true }, // 客户名称
          { label: "联系人姓名", prop: "contact_name", isContactClick: true }, // 联系人姓名
          { label: "客户服务单", prop: "client_service_order", isServiceOrder: true }, // 客户服务单
          { label: "回访人", prop: "isVisit" }, // 回访人
          { label: "满意度", prop: "satisfaction" } // 满意度
          { label: "回访人", prop: "member_name" }, // 回访人
          { label: "满意度", prop: "satisfaction_name" } // 满意度
          // { label: "修改时间", prop: "modifyTime" } // 修改时间
        ]
      }
@@ -163,7 +163,9 @@
                  ...item,
                  client_service_order: item.ServiceOrder.serviceNumber,
                  client_name: item.client.name,
                  contact_name: item.contact.name
                  contact_name: item.contact.name,
                  member_name: item.Member.username,
                  satisfaction_name: item.satisfaction.name
                }
              })
              this.tableList.tableInfomation = list || []