Эх сурвалжийг харах

Merge branch 'dev' into 'purchaseDev'

Dev

See merge request new-business/drp-web!601
黄梓星 1 жил өмнө
parent
commit
d510213874

+ 22 - 0
src/api/business/ehr/pm/kanban.js

@@ -0,0 +1,22 @@
+import request from '@/utils/request'
+
+// 查询绩效列表
+export function listKanban(query) {
+  return request({
+    url: '/ehr/pm/kanban/list',
+    method: 'get',
+    params: query
+  })
+}
+
+//导入
+export function importData(data) {
+  return request({
+    url: `/ehr/pm/kanban/importData`,
+    method: 'post',
+    data: data,
+    headers: {
+      'Content-Type': 'multipart/form-data'
+    }
+  })
+}

+ 26 - 0
src/components/popover-select/components/MKCMCONTACTS_PARAM.js

@@ -0,0 +1,26 @@
+// 客户管理科室负责人参照
+export default [{
+    item: {
+      key: "code",
+      title: "编码",
+      width: "auto"
+    },
+    attr: {},
+  },
+  {
+    item: {
+      key: "name",
+      title: "名称",
+      width: "auto"
+    },
+    attr: {},
+  },
+  {
+    item: {
+      key: "cell",
+      title: "联系电话",
+      width: "auto"
+    },
+    attr: {},
+  },
+];

+ 59 - 10
src/views/WMS/historical-route/index.vue

@@ -7,7 +7,7 @@
           <el-button class="OutCss" v-print="'#print'" type="primary">导出</el-button>
           <el-timeline>
             <!-- 数据表 -->
-            <h2>车辆温湿度列表</h2>
+            <h2 v-if="isCarData">车辆温湿度列表</h2>
             <div v-for="(item, index) in dataCar">
               <h2>
                 ============================================================================================================================
@@ -33,7 +33,7 @@
               </el-table>
               <template></template>
             </div>
-            <h2>保温箱温湿度列表</h2>
+            <h2 v-if="isBoxData">保温箱温湿度列表</h2>
             <div v-for="(item, index) in dataBox">
               <h2>
                 ============================================================================================================================
@@ -178,6 +178,8 @@
         dataCar: [],
         dataBox: [],
         dataMerge: [],
+        isCarData: false,
+        isBoxData: false,
       };
     },
     mounted() {
@@ -267,28 +269,44 @@
                       }
                     ],
                     [{
-                        name: '冷藏温度警戒线',
                         yAxis: '2'
                       },
                       {
                         yAxis: '1.9'
                       }
                     ],
+                    // -0.5这条只用来做下方的提示文本
+                    [{
+                        name: '冷藏温度警戒线',
+                        yAxis: '-0.5'
+                      },
+                      {
+                        yAxis: '-0.5'
+                      }
+                    ],
                     [{
-                        name: '冷冻温度警戒线',
                         yAxis: '-15'
                       },
                       {
+                        name: '冷冻温度警戒线',
                         yAxis: '-14.9'
                       }
                     ],
                     [{
-                        name: '冷冻温度警戒线',
                         yAxis: '-25'
                       },
                       {
                         yAxis: '-25.1'
                       }
+                    ],
+                    // -27.5这条只用来做下方的提示文本
+                    [{
+                        name: '冷冻温度警戒线',
+                        yAxis: '-27.5'
+                      },
+                      {
+                        yAxis: '-27.5'
+                      }
                     ]
                   ]
                 }
@@ -335,28 +353,44 @@
                         }
                       ],
                       [{
-                          name: '冷藏温度警戒线',
                           yAxis: '2'
                         },
                         {
                           yAxis: '1.9'
                         }
                       ],
+                      // -0.5这条只用来做下方的提示文本
+                      [{
+                          name: '冷藏温度警戒线',
+                          yAxis: '-0.5'
+                        },
+                        {
+                          yAxis: '-0.5'
+                        }
+                      ],
                       [{
-                          name: '冷冻温度警戒线',
                           yAxis: '-15'
                         },
                         {
+                          name: '冷冻温度警戒线',
                           yAxis: '-14.9'
                         }
                       ],
                       [{
-                          name: '冷冻温度警戒线',
                           yAxis: '-25'
                         },
                         {
                           yAxis: '-25.1'
                         }
+                      ],
+                      // -27.5这条只用来做下方的提示文本
+                      [{
+                          name: '冷冻温度警戒线',
+                          yAxis: '-27.5'
+                        },
+                        {
+                          yAxis: '-27.5'
+                        }
                       ]
                     ]
                   }
@@ -450,7 +484,7 @@
             }
           },
           grid: {
-            x: 22,
+            x: 30,
             y: 30,
             x2: 20,
             y2: 18,
@@ -480,8 +514,13 @@
             // Y轴最大值
             min: -30,
             splitNumber: 2,
+            // 最小刻度间隔
+            minInterval: 2,
+            // 最大刻度间隔
+            maxInterval: 5,
             // 间隔值
-            // interval: 3
+            interval: 2,
+            scale: true
           },
           //加上dataZoom可实现缩放
           dataZoom: [{
@@ -639,6 +678,7 @@
         let differenceValueCar;
         let arr2 = [];
         if (dataCar != null && dataCar != '') {
+          this.isCarData = true;
           for (let i = 0; i < dataCar.length; i++) {
             let arr3 = [];
             // 向上取整差值
@@ -683,6 +723,7 @@
         let differenceValueBox;
         let arr = [];
         if (dataBox != null && dataBox != '') {
+          this.isBoxData = true;
           for (let i = 0; i < dataBox.length; i++) {
             let arr1 = [];
             // 向上取整差值
@@ -732,18 +773,26 @@
             arr[differenceValue - 1].end = arr[j].hisDate4;
             return;
           }
+        }
+        for (let j = differenceValue - 1; j >= 0; j--) {
           if (arr[j].hisDate3 != null && arr[j].hisDate3 != '' && arr[j].hisDate3 != undefined) {
             arr[differenceValue - 1].end = arr[j].hisDate3;
             return;
           }
+        }
+        for (let j = differenceValue - 1; j >= 0; j--) {
           if (arr[j].hisDate2 != null && arr[j].hisDate2 != '' && arr[j].hisDate2 != undefined) {
             arr[differenceValue - 1].end = arr[j].hisDate2;
             return;
           }
+        }
+        for (let j = differenceValue - 1; j >= 0; j--) {
           if (arr[j].hisDate1 != null && arr[j].hisDate1 != '' && arr[j].hisDate1 != undefined) {
             arr[differenceValue - 1].end = arr[j].hisDate1;
             return;
           }
+        }
+        for (let j = differenceValue - 1; j >= 0; j--) {
           if (arr[j].hisDate != null && arr[j].hisDate != '' && arr[j].hisDate != undefined) {
             arr[differenceValue - 1].end = arr[j].hisDate;
             return;

+ 125 - 0
src/views/business/ehr/pm/kanban/index.vue

@@ -0,0 +1,125 @@
+<template>
+  <div>
+    <div class="app-container">
+      <el-form :model="queryParams" ref="queryForm" size="mini" :inline="true" label-width="68px">
+        <el-row>
+          <el-col :span="18">
+            <el-form-item label="名称" prop="name">
+              <el-input
+                v-model="queryParams.name"
+                clearable
+                @keyup.enter.native="btnSearch"
+              />
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item style="float:right">
+              <el-button type="primary" icon="el-icon-search" size="mini" @click="btnSearch">搜索</el-button>
+              <el-button icon="el-icon-refresh" size="mini" @click="btnResetQuery">重置</el-button>
+            </el-form-item>
+          </el-col>
+        </el-row>
+      </el-form>
+      <el-table size="mini" v-loading="loading" :data="listData" height="500px" @row-dblclick="btnDetails">
+        <el-table-column label="周期编号" align="center" prop="id" />
+        <el-table-column label="名称" align="center" prop="name" />
+        <el-table-column label="月份" align="center" prop="month" />
+        <el-table-column label="创建时间" align="center" prop="createTime" />
+        <el-table-column label="创建人" align="center" prop="createByName" />
+        <el-table-column label="操作" fixed="right" align="center" class-name="small-padding fixed-width">
+        <template slot-scope="scope">
+            <el-button
+              size="mini"
+              type="text"
+              @click="btnDetails(scope.row)"
+            >详情</el-button>
+          </template>
+        </el-table-column>
+      </el-table>
+      <div class="paginationClass">
+        <pagination
+          v-show="total>0"
+          :total="total"
+          :page.sync="queryParams.pageNum"
+          :limit.sync="queryParams.pageSize"
+          @pagination="getList"
+        />
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+import { listStage,delStage} from "@/api/business/ehr/pm/stage";
+
+export default {
+  name: "KanbanList",
+  dicts: ['ehr_pm_status'],
+  data() {
+    return {
+      // 遮罩层
+      loading: true,
+      // 总条数
+      total: 0,
+      // 表格数据
+      listData: [],
+      // 弹出层标题
+      title: "",
+      // 是否显示弹出层
+      open: false,
+      // 查询参数
+      queryParams: {
+        pageNum: 1,
+        pageSize: 10,
+        name: null,
+      },
+    };
+  },
+  created() {
+    this.getList();
+  },
+  methods: {
+    /** 查询行动列表 */
+    getList() {
+      this.loading = true;
+      listStage(this.queryParams).then(response => {
+        this.listData = response.rows;
+        this.ids = response.rows.map(item => item.id);
+        this.total = response.total;
+        this.loading = false;
+      });
+    },
+    /** 搜索按钮操作 */
+    btnSearch() {
+      this.queryParams.pageNum = 1;
+      this.getList();
+    },
+    /** 重置按钮操作 */
+    btnResetQuery() {
+      this.resetForm("queryForm");
+      this.btnSearch();
+    },
+    /** 进入详情 */
+    btnDetails(row){
+      this.$router.push({ name: 'Kanban', query: { id: row.id}});
+    },
+  }
+};
+</script>
+
+<style lang="scss" scoped>
+.btn_grooup {
+  margin-bottom: 10px;
+  display: flex;
+  justify-content: flex-end;
+}
+.paginationClass {
+  z-index: 500;
+  position: fixed;
+  bottom: 10px;
+  right: 10px;
+  width: 100%;
+  line-height: var(--footer-height);
+  color: #fff;
+}
+</style>

+ 228 - 0
src/views/business/ehr/pm/kanban/kanban.vue

@@ -0,0 +1,228 @@
+<template>
+  <div>
+    <div class="app-container">
+      <el-form :model="queryParams" ref="queryForm" size="mini" :inline="true">
+        <el-row >
+          <el-col :span="18">
+            <el-form-item label="部门">
+              <el-cascader
+                v-model="treeValue"
+                :options="deptTree"
+                :props="{ checkStrictly: true }"
+                ref="cascaderHandle"
+                clearable
+                @change="handleChange"
+                placeholder=""
+                >
+              </el-cascader>
+            </el-form-item>
+            <el-form-item label="员工">
+              <el-input
+                v-model="queryParams.params.staffCodeOrName"
+                clearable
+                @keyup.enter.native="btnSearch"
+              />
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item style="float:right">
+              <el-button type="primary" icon="el-icon-search" size="mini" @click="btnSearch">搜索</el-button>
+              <el-button icon="el-icon-refresh" size="mini" @click="btnResetQuery">重置</el-button>
+              <el-button size="mini" @click="btnBack" style="float:right">返回</el-button>
+            </el-form-item>
+          </el-col>
+        </el-row>
+      </el-form>
+      <div style="float:right">
+        <el-dropdown @command="btnImport">
+            <el-button type="primary" size="mini">
+              导入<i class="el-icon-arrow-down el-icon--right"></i>
+            </el-button>
+            <el-dropdown-menu slot="dropdown">
+              <el-button size="mini" @click="useImportTemplate">模板下载</el-button>
+              <el-upload ref="upload" action="" :http-request="onUpload">
+                <el-button size="mini" type="primary">数据导入</el-button>
+              </el-upload>
+            </el-dropdown-menu>
+          </el-dropdown>
+      </div>
+      <el-table size="mini" height="500px" v-loading="loading" :data="listData">
+        <el-table-column label="绩效编号" align="center" prop="id" />
+        <el-table-column label="员工姓名" align="center" prop="staffName" />
+        <el-table-column show-overflow-tooltip label="评估周期" align="center" prop="name" />
+        <el-table-column label="月度" align="center" prop="month" />
+        <el-table-column label="自评分" align="center" prop="saMark" />
+        <el-table-column label="上级评分" align="center" prop="ldMark" />
+        <el-table-column label="综合得分" align="center" prop="mark" />
+        <el-table-column label="等级" align="center" prop="grade" />
+        <el-table-column label="绩效系数" align="center" prop="coefficient" />
+      </el-table>
+      <div class="paginationClass">
+        <pagination
+          v-show="total>0"
+          :total="total"
+          :page.sync="queryParams.pageNum"
+          :limit.sync="queryParams.pageSize"
+          @pagination="getList"
+        />
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+import { listKanban,importData} from "@/api/business/ehr/pm/kanban";
+import { listDept} from "@/api/business/ehr/ehr/dept";
+
+export default {
+  name: "assess",
+  dicts: ['ehr_pm_status'],
+  data() {
+    return {
+      // 遮罩层
+      loading: true,
+      // 显示搜索条件
+      showSearch: true,
+      // 总条数
+      total: 0,
+      // 表格数据
+      listData: [],
+      // id集合
+      ids: [],
+      // 弹出层标题
+      title: "",
+      // 是否显示弹出层
+      open: false,
+      // 查询参数
+      queryParams: {
+        pageNum: 1,
+        pageSize: 10,
+        params:{
+          staffCodeOrName: null,
+        },
+        dept: null,
+      },
+      //部门树
+      deptTree: [],
+      //value
+      treeValue: [],
+    };
+  },
+  async created() {
+    this.queryParams.sourceId = this.$route.query.id;
+    this.getList();
+    listDept().then(response => {
+      let arr = response.rows;
+      arr.forEach(function(element) {
+        element.parent_id = element.superiorsDept;
+        element.value = element.code;
+        element.label = element.name;
+      });
+      this.deptTree = this.arrayToTree(arr,null);
+    });
+  },
+  methods: {
+    /** 查询绩效列表 */
+    getList() {
+      this.loading = true;
+      this.queryParams.dept = this.treeValue[this.treeValue.length - 1];
+      listKanban(this.queryParams).then(response => {
+        this.listData = response.rows;
+        this.ids = response.rows.map(item => item.id);
+        this.total = response.total;
+        this.loading = false;
+      });
+    },
+    /** 搜索按钮操作 */
+    async btnSearch() {
+      this.queryParams.pageNum = 1;
+      this.getList();
+    },
+    /** 重置按钮操作 */
+    btnResetQuery() {
+      this.resetForm("queryForm");
+      this.treeValue = [];
+      this.queryParams.params.staffCodeOrName = null;
+      this.btnSearch();
+    },
+    arrayToTree(data, pid) {
+      let result = []
+      this.getChildren(data, result, pid)
+      return result
+    },
+    getChildren(data, result, pid) {
+      for (const item of data) {
+        if (item.parent_id === pid) {
+          const newItem = { children: [], ...item }
+          result.push(newItem)
+          this.getChildren(data, newItem.children, item.code)
+        }
+      }
+    },
+    //
+    handleChange(value){
+      console.log("value",value);
+      this.$refs.cascaderHandle.dropDownVisible = false;
+    },
+    //导入按钮
+    btnImport(command){
+      if(command == 'useImportTemplate'){
+        this.useImportTemplate();
+      }
+      if(command == 'useImportData'){
+        this.useImportData();
+      }
+    },
+    //模板下载
+    useImportTemplate(){
+      this.download('ehr/pm/kanban/importTemplate', {
+      }, `看板数据导入模板_${new Date().getTime()}.xlsx`)
+    },
+    //导入
+    useImportData(){
+      console.log("导入");
+    },
+    // 上传文件
+    onUpload (file) {
+      this.loading = true;
+      let formData = new FormData()
+      formData.append('file',file.file);
+      formData.append('stageId',this.$route.query.id);
+      importData(formData).then((res) => {
+        if(res.code == '200'){
+          this.$message.success(res.msg);
+        }else{
+          this.$message.success(res.msg);
+        }
+      }).catch((e) => {
+        this.$message.error(e.message)
+      }).finally((e) => {
+        this.$refs['upload'].clearFiles();
+        this.getList();
+        this.loading = false;
+      })
+    },
+    //返回
+    btnBack(){
+      this.$router.back();
+    },
+  }
+};
+</script>
+
+<style lang="scss" scoped>
+.btn_grooup {
+  margin-bottom: 10px;
+  display: flex;
+  justify-content: flex-end;
+}
+.paginationClass {
+  z-index: 500;
+  position: fixed;
+  bottom: 10px;
+  right: 10px;
+  width: 100%;
+  line-height: var(--footer-height);
+  color: #fff;
+}
+</style>

+ 7 - 1
src/views/business/ehr/pm/mark/detail.vue

@@ -16,7 +16,7 @@
             <el-descriptions-item label="员工姓名">{{form.staffName}}</el-descriptions-item>
             <el-descriptions-item label="入职日期">{{form.dateJoin}}</el-descriptions-item>
             <el-descriptions-item label="转正日期">{{form.probationComplete}}</el-descriptions-item>
-            <el-descriptions-item label="部门">{{form.deptName}}</el-descriptions-item>
+            <el-descriptions-item label="部门" span="2">{{form.deptName}}</el-descriptions-item>
             <el-descriptions-item label="职位">{{form.jobName}}</el-descriptions-item>
             <el-descriptions-item label="评估周期">{{form.name}}</el-descriptions-item>
             <el-descriptions-item label="评估人">{{form.evaluatorName}}</el-descriptions-item>
@@ -26,6 +26,9 @@
               </div>
             </el-descriptions-item>
           </el-descriptions>
+          <el-descriptions :column="6 ">
+            <el-descriptions-item label="自评分" v-if="form.status > 3">{{form.saMark}}</el-descriptions-item>
+          </el-descriptions>
           <el-descriptions v-if="form.status > 3">
             <el-descriptions-item label="个人总结">{{form.summary}}</el-descriptions-item>
           </el-descriptions>
@@ -199,6 +202,7 @@ export default {
         if (valid) {
           //保存绩效数据
           savePerformance(this.form);
+          this.loading = true;
           this.turnDownOpen = false;
           this.flow.status = 1;
           //保存流程数据
@@ -208,6 +212,7 @@ export default {
               this.fetchFlow(this.$route.query.flowId);
               this.$modal.msgSuccess("已确认");
             }
+            this.loading = false;
           })
         }
       });
@@ -218,6 +223,7 @@ export default {
         if (valid) {
           //保存绩效数据
           savePerformance(this.form);
+          this.loading = true;
           this.flow.status = 2;
           this.flow.result = "已评分";
           //保存流程数据

+ 1 - 1
src/views/business/ehr/pm/performance/index.vue

@@ -75,7 +75,7 @@
         <el-button type="primary" size="mini" @click="btnNextMonth">下月绩效</el-button>
       </div>
       <el-table size="mini" height="500px" v-loading="loading" :data="listData" @row-dblclick="btnDetails">
-        <el-table-column label="编号" align="center" prop="id" />
+        <el-table-column label="绩效编号" align="center" prop="id" />
         <el-table-column label="员工姓名" align="center" prop="staffName" />
         <el-table-column show-overflow-tooltip label="评估周期" align="center" prop="name" />
         <el-table-column label="月度" align="center" prop="month" />

+ 4 - 4
src/views/business/ehr/pm/stagecontrol/detail.vue

@@ -239,10 +239,10 @@ export default {
         that.loading = false;
       });
     },
-    //开启等级调整
+    //开启分数调整
     btnOpenGradeAdjust(){
       let that = this;
-      this.$modal.confirm('确认要开启等级调整?').then(async function() {
+      this.$modal.confirm('确认要开启分数调整?').then(async function() {
         that.loading = true;
         return await openGradeAdjust(that.form);
       }).then(() => {
@@ -253,10 +253,10 @@ export default {
         that.loading = false;
       });
     },
-    //关闭等级调整
+    //关闭分数调整
     btnCloseGradeAdjust(){
       let that = this;
-      this.$modal.confirm('确认要关闭等级调整?').then(async function() {
+      this.$modal.confirm('确认要关闭分数调整?').then(async function() {
         that.loading = true;
         return await closeGradeAdjust(that.form);
       }).then(() => {

+ 1 - 1
src/views/business/ehr/pm/stagecontrol/index.vue

@@ -18,7 +18,7 @@
         <el-button type="primary" size="mini" @click="btnAdd">新增</el-button>
       </div>
       <el-table size="mini" v-loading="loading" :data="listData" height="500px" @row-dblclick="btnDetails">
-        <el-table-column label="编号" align="center" prop="id" />
+        <el-table-column label="周期编号" align="center" prop="id" />
         <el-table-column label="名称" align="center" prop="name" />
         <el-table-column label="月份" align="center" prop="month" />
         <el-table-column label="阶段" align="center" prop="stage" >

+ 1 - 1
src/views/business/ehr/pm/verify/detail.vue

@@ -15,7 +15,7 @@
           <el-descriptions-item label="员工姓名">{{form.staffName}}</el-descriptions-item>
           <el-descriptions-item label="入职日期">{{form.dateJoin}}</el-descriptions-item>
           <el-descriptions-item label="转正日期">{{form.probationComplete}}</el-descriptions-item>
-          <el-descriptions-item label="部门">{{form.deptName}}</el-descriptions-item>
+          <el-descriptions-item label="部门" span="2">{{form.deptName}}</el-descriptions-item>
           <el-descriptions-item label="职位">{{form.jobName}}</el-descriptions-item>
           <el-descriptions-item label="评估周期">{{form.name}}</el-descriptions-item>
           <el-descriptions-item label="评估人">{{form.evaluatorName}}</el-descriptions-item>

+ 0 - 1
src/views/business/ehr/pm/verify/index.vue

@@ -110,7 +110,6 @@ export default {
     },
     //调整分数
     async btnPmVerify(row){
-      console.log('row',row);
       this.$router.push({ name: 'PmVerifyDetail', query: { performanceId: row.id,flowId: row.flowId } });
     },
     //返回

+ 40 - 1
src/views/business/spd/cm/customers/index.vue

@@ -713,9 +713,47 @@
       },
       /** 重置按钮操作 */
       resetQuery() {
-        this.resetForm("queryForm");
+        this.resetQueryParams();
         this.handleQuery();
       },
+      /** 查询参数重置 */
+      resetQueryParams() {
+        this.queryParams = {
+          abbreviation: null,
+          areaClassification: null,
+          billingCustomer: null,
+          billingCustomerName: null,
+          businessType: null,
+          category: null,
+          channel: null,
+          classification: null,
+          code: null,
+          detailedAddress: null,
+          enterpriseName: null,
+          enterpriseType: null,
+          firstBattalion: null,
+          industry: null,
+          latitude: null,
+          licenseNumber: null,
+          longitude: null,
+          marketingArea: null,
+          marketingAreaName: null,
+          name: null,
+          org: null,
+          orgName: null,
+          pageNum: 1,
+          pageSize: 10,
+          potential: null,
+          registrationArea: null,
+          responsibleDept: null,
+          responsibleDeptName: null,
+          responsiblePerson: null,
+          responsiblePersonName: null,
+          taxType: null,
+          type: null
+        };
+        this.resetForm("queryForm");
+      },
       // 多选框选中数据
       handleSelectionChange(selection) {
         this.ids = selection.map(item => item.id)
@@ -763,6 +801,7 @@
         const id = row.id || this.ids
         getCustomers(id).then(response => {
           this.form = response.data;
+          this.form.oldName = response.data.name;
           this.mkCmCustomersResponsiblePersonList = response.data.mkCmCustomersResponsiblePersonList;
           this.mkCmCustomersDepartmentList = response.data.mkCmCustomersDepartmentList;
           this.openState = 'update';

+ 16 - 2
src/views/business/spd/cm/customersDepartment/index.vue

@@ -16,8 +16,8 @@
         <el-col :span="6">
           <el-form-item label="负责人姓名" prop="responsiblePersonName">
             <el-popover-select-v2 v-model="form.responsiblePersonName" title="负责人" valueKey="name"
-              referName="CONTACTS_PARAM" :dataMapping="{responsiblePerson: 'id', responsiblePersonName: 'name'}"
-              :source.sync="form" placeholder="请选择负责人" :disabled="disable" />
+              referName="MKCMCONTACTS_PARAM" :dataMapping="{responsiblePerson: 'id', responsiblePersonName: 'name', phone: 'cell'}"
+              :source.sync="form" :queryParams="referQuery" placeholder="请选择负责人" :disabled="disable" />
           </el-form-item>
         </el-col>
       </el-row>
@@ -103,6 +103,8 @@
         total: 0,
         // 客户科室表格数据
         customersDepartmentList: [],
+        // 当前操作人
+        operator: null,
         // 表单参数
         form: {
           id: null,
@@ -152,6 +154,8 @@
       if (this.pageStu == 'check' || this.pageStu == 'update') {
         this.getDetails(this.row);
       }
+      // 获取当前登录用户的编码
+      this.operator = this.$store.state.user.name;
     },
     methods: {
       // 取消按钮
@@ -186,6 +190,16 @@
           }
         })
       },
+      // 参照查询条件
+      referQuery() {
+        const parameter = {
+          parame: {
+            customersName: this.form.customersName,
+            operator: this.operator
+          }
+        };
+        return parameter;
+      }
     }
   };