zuozhengqing
2024-02-05 fbd020b270e0aa79104432a7171c93ea873119a4
新增修改密码功能
3个文件已修改
25 ■■■■■ 已修改文件
src/components/layout/components/appHeader/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesDetails/AddSalesDetailsDialog.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/service/clientServiceOrder/index.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/layout/components/appHeader/index.vue
@@ -40,8 +40,6 @@
  },
  created(){
    const userObj = Cookies.get('userObj');  
    console.log(userObj,"看看")
    if (userObj) {   
      let userInfo = JSON.parse(userObj); 
      this.editConfig.userId=userInfo.id
src/views/sales/salesDetails/AddSalesDetailsDialog.vue
@@ -641,6 +641,22 @@
  },
  created() {
    if (this.editConfig.title !== "新建") {
      this.productTableList.tableData=[
        {
          productId: this.productId,
          id: 0,
          amount: 0,
          desc: "",
          name: "",
          number: "",
          price: 0,
          cost: "",
          profit: "",
          margin: "",
          total: 0,
          unit: ""
        }
      ]
      this.isAddQuatation = false
    }
    this.$store.dispatch("geClient")
src/views/service/clientServiceOrder/index.vue
@@ -252,10 +252,17 @@
    },
    // 编辑
    handleClick(row) {
      console.log(row,"row")
      this.editConfig.visible = true
      this.editConfig.title = "编辑"
      this.editConfig.infomation = {
        ...row,
        faultTypeId:row.faultTypeId==0?"":row.faultTypeId,
        serviceTypeId:row.serviceTypeId==0?"":row.serviceTypeId,
        severityId:row.severityId==0?"":row.severityId,
        priorityLevelId:row.priorityLevelId==0?"":row.priorityLevelId,
        timeSpentId:row.timeSpentId==0?"":row.timeSpentId,
        faqId:row.faqId==0?"":row.faqId,  // faqId
        contact_name: row.Contact.name,
        service_number: row.serviceContractId,
        number: row.SalesDetails.number,