diff --git a/src/assets/scss/modules/visual/personCategory.scss b/src/assets/scss/modules/visual/personCategory.scss index af300198..7af912e5 100644 --- a/src/assets/scss/modules/visual/personCategory.scss +++ b/src/assets/scss/modules/visual/personCategory.scss @@ -35,7 +35,7 @@ margin-top: 10px; margin-left: 10px; margin-right: 15px; - margin-bottom: 15px; + margin-bottom: 20px; cursor: pointer; &-img { diff --git a/src/views/components/resiTransfer.vue b/src/views/components/resiTransfer.vue index e3368060..94178f4f 100644 --- a/src/views/components/resiTransfer.vue +++ b/src/views/components/resiTransfer.vue @@ -19,7 +19,7 @@ style="display: block"> - {{'迁往'+rootAgency.rootAgencyName+'内其他区域'}} + {{'迁往'+rootAgency.organizationName+'内其他区域'}} 其他 @@ -150,7 +150,7 @@ export default { remark: '' //备注 }, - staffId: '',//工作人员id + customerId: '',//客户id userId: '',//操作人员id gridName: '', rootAgency: {}, @@ -179,7 +179,8 @@ export default { methods: { async initForm (row) { - this.staffId = localStorage.getItem("staffId"); + + this.customerId = localStorage.getItem("customerId"); this.$refs.ref_form.resetFields(); @@ -195,22 +196,16 @@ export default { //根据人员id获取根组织信息 async loadRootAgency () { - const url = '/gov/org/customeragency/root-orglist-by-staffid' - - let params = { - staffId: this.staffId - } - - const { data, code, msg } = await requestPost(url, params) + await this.$http.post('/gov/org/agency/customerrootagency/' + this.customerId).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } - if (code === 0) { - if (data && data.length > 0) { - this.rootAgency = data[0] + if (res.data) { + this.rootAgency = res.data } + }).catch(() => { }) - } else { - this.$message.error(msg) - } }, async getAgencylist () { @@ -219,7 +214,7 @@ export default { const params = { - agencyId: this.rootAgency.rootAgencyId + agencyId: this.rootAgency.id } const { data, code, msg } = await requestPost(url, params) if (code === 0) { @@ -419,7 +414,7 @@ export default { remark: '' //备注 } - this.staffId = ''//工作人员id + this.customerId = ''//客户id this.userId = ''//操作人员id this.gridName = '' this.rootAgency = {} diff --git a/src/views/components/scoreRecord.vue b/src/views/components/scoreRecord.vue index 63b3eca2..62c02c52 100644 --- a/src/views/components/scoreRecord.vue +++ b/src/views/components/scoreRecord.vue @@ -121,7 +121,7 @@ export default { pickerOptions: { //控制时间范围 disabledDate (time) { - return time.getTime() > (Date.now() - (24 * 60 * 60 * 1000)) + return time.getTime() > (Date.now()) } }, diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index ef67f6b6..4f9c4663 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -69,7 +69,7 @@ 调动记录 + class="btn-color-look">变更记录