From 4813eb915859df3d6810a6d459cc3b1b2d2f3c61 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Mon, 25 Jul 2022 16:07:39 +0800 Subject: [PATCH 01/17] =?UTF-8?q?=E5=A4=8D=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/communityService/policy/addPolicy.vue | 3 ++- .../modules/communityService/policy/policyList.vue | 13 ++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/views/modules/communityService/policy/addPolicy.vue b/src/views/modules/communityService/policy/addPolicy.vue index 4d6f5f555..80f1656cf 100644 --- a/src/views/modules/communityService/policy/addPolicy.vue +++ b/src/views/modules/communityService/policy/addPolicy.vue @@ -473,8 +473,9 @@ export default { this.formData.attachmentList = [...this.fileList] let url = '/heart/policy/add' - if (this.formType === 'add') { + if (this.formType === 'add' || this.formType === 'copy') { url = '/heart/policy/add' + this.formData.policyId = '' } else { url = '/heart/policy/update' this.formData.policyId = this.policyId diff --git a/src/views/modules/communityService/policy/policyList.vue b/src/views/modules/communityService/policy/policyList.vue index 86abe1f8c..1fbfa97ca 100644 --- a/src/views/modules/communityService/policy/policyList.vue +++ b/src/views/modules/communityService/policy/policyList.vue @@ -126,7 +126,7 @@ + width="220"> @@ -290,7 +313,7 @@ import { mapGetters } from 'vuex' import { Loading } from 'element-ui' // 引入Loading服务 import { requestPost } from '@/js/dai/request' - +import personList from "../policy/personList"; var map @@ -374,6 +397,10 @@ export default { fileList: [], uploadUlr: window.SITE_CONFIG['apiURL'] + '/oss/file/uploadvariedfile', + policyId: '', + showPersonList: false, + ruleList: [] + } }, @@ -386,7 +413,7 @@ export default { }, }, - components: {}, + components: { personList }, async mounted () { this.startLoading() this.initMap() @@ -407,6 +434,49 @@ export default { methods: { + + //加载组织数据 + async handlePersonList () { + if (!this.formData.policyId) { + this.$message.info('请先选择政策') + return false + } + + this.policyId = this.formData.policyId + await this.loadRuleList() + + this.showPersonList = true; + }, + + async loadRuleList () { + + const url = "/heart/policy/rulelist/" + this.policyId + + let params = {} + + const { data, code, msg } = await requestPost(url, params) + + if (code === 0) { + this.ruleList = data + + } else { + this.$message.error(msg) + } + + }, + + handleClose () { + this.showPersonList = false + + + }, + handleOk () { + this.showPersonList = false + + + }, + + async getPolicyList () { const url = '/heart/policy/policyListSelect' diff --git a/src/views/modules/communityService/fuwujilu/detailForm.vue b/src/views/modules/communityService/fuwujilu/detailForm.vue index 9c3e6d989..970e99846 100644 --- a/src/views/modules/communityService/fuwujilu/detailForm.vue +++ b/src/views/modules/communityService/fuwujilu/detailForm.vue @@ -5,7 +5,6 @@ @@ -69,7 +68,8 @@ prop="policyId" label-width="150px" style="display: block"> - @@ -79,13 +79,19 @@ :value="item.policyId"> + + 预览 - @@ -94,7 +100,8 @@ prop="principalContact" label-width="150px" style="display: block"> - @@ -103,7 +110,8 @@ - - - 确 定 + + + + + @@ -293,7 +321,7 @@ import { mapGetters } from 'vuex' import { Loading } from 'element-ui' // 引入Loading服务 import { requestPost } from '@/js/dai/request' - +import personList from "../policy/personList"; var map @@ -353,9 +381,13 @@ export default { projectList: [], fileList: [], uploadUlr: window.SITE_CONFIG['apiURL'] + '/oss/file/uploadvariedfile', + + policyId: '', + showPersonList: false, + ruleList: [] } }, - components: {}, + components: { personList }, mounted () { this.getPolicyList() if (this.serviceRecordId) {//详情 @@ -368,6 +400,46 @@ export default { methods: { + //加载组织数据 + async handlePersonList () { + if (!this.formData.policyId) { + this.$message.info('请先选择政策') + return false + } + + this.policyId = this.formData.policyId + await this.loadRuleList() + + this.showPersonList = true; + }, + + async loadRuleList () { + + const url = "/heart/policy/rulelist/" + this.policyId + + let params = {} + + const { data, code, msg } = await requestPost(url, params) + + if (code === 0) { + this.ruleList = data + + } else { + this.$message.error(msg) + } + + }, + + handleClose () { + this.showPersonList = false + + + }, + handleOk () { + this.showPersonList = false + + + }, async getPolicyList () { const url = '/heart/policy/policyListSelect' diff --git a/src/views/modules/communityService/fuwujilu/fuwuList.vue b/src/views/modules/communityService/fuwujilu/fuwuList.vue index 09fedaa36..aacc936b8 100644 --- a/src/views/modules/communityService/fuwujilu/fuwuList.vue +++ b/src/views/modules/communityService/fuwujilu/fuwuList.vue @@ -229,6 +229,7 @@ :close-on-click-modal="false" :close-on-press-escape="false" :title="addDiaTitle" + :modal-append-to-body="false" width="850px" top="5vh" class="dialog-h" @@ -248,6 +249,7 @@ :close-on-click-modal="false" :close-on-press-escape="false" :title="detailDiaTitle" + :modal-append-to-body="false" width="850px" top="5vh" class="dialog-h" @@ -501,6 +503,7 @@ export default { }, async handleDetail (row) { + this.detailDiaTitle = "服务详情" this.serviceRecordId = row.serviceRecordId this.serviceOrgName = row.serviceOrgName @@ -509,6 +512,7 @@ export default { }, async handleEdit (row) { + this.detailDiaTitle = "编辑服务" this.serviceRecordId = row.serviceRecordId this.serviceOrgName = row.serviceOrgName this.formType = 'edit' diff --git a/src/views/modules/communityService/policy/addPolicy.vue b/src/views/modules/communityService/policy/addPolicy.vue index 7eb3ba4ef..4f2b7c3da 100644 --- a/src/views/modules/communityService/policy/addPolicy.vue +++ b/src/views/modules/communityService/policy/addPolicy.vue @@ -71,7 +71,8 @@
+ :key="index" + style="margin-bottom:15px">
-
- 增加细则 -
+ + + +
+ 增加细则
{ - element.itemList = [] - element.colOption = [] + if (refObj.personChecked) { + oneRule.resiRuleList = refObj.resiRuleList + oneRule.resiRuleList.forEach(element => { + element.itemList = [] + element.colOption = [] + + if (!element.colValLabel) { + element.colValLabel = element.colVal + } + if (!element.nextLogicalRelName) { + element.nextLogicalRelName = '' + } + + element.ruleDesc = element.itemGroupName + element.itemLabel + element.queryTypeName + element.colValLabel + element.nextLogicalRelName + + }); + } else { + oneRule.resiRuleList = [] + } - if (!element.colValLabel) { - element.colValLabel = element.colVal - } - if (!element.nextLogicalRelName) { - element.nextLogicalRelName = '' - } + if (refObj.houseChecked) { - element.ruleDesc = element.itemGroupName + element.itemLabel + element.queryTypeName + element.colValLabel + element.nextLogicalRelName + oneRule.houseRuleList = refObj.houseRuleList + oneRule.houseRuleList.forEach(element => { + element.itemList = [] + element.colOption = [] - }); + if (!element.colValLabel) { + element.colValLabel = element.colVal + } + if (!element.nextLogicalRelName) { + element.nextLogicalRelName = '' + } - oneRule.houseRuleList = refObj.houseRuleList - oneRule.houseRuleList.forEach(element => { - element.itemList = [] - element.colOption = [] + element.ruleDesc = element.itemGroupName + element.itemLabel + element.queryTypeName + element.colValLabel + element.nextLogicalRelName - if (!element.colValLabel) { - element.colValLabel = element.colVal - } - if (!element.nextLogicalRelName) { - element.nextLogicalRelName = '' - } + }); + } else { + oneRule.houseRuleList = [] + } - element.ruleDesc = element.itemGroupName + element.itemLabel + element.queryTypeName + element.colValLabel + element.nextLogicalRelName + if (refObj.staticChecked) { - }); + oneRule.statRuleList = refObj.statRuleList - oneRule.statRuleList = refObj.statRuleList + oneRule.statRuleList.forEach(element => { + element.itemList = [] + element.colOption = [] - oneRule.statRuleList.forEach(element => { - element.itemList = [] - element.colOption = [] + if (!element.colValLabel) { + element.colValLabel = element.colVal + } + if (!element.nextLogicalRelName) { + element.nextLogicalRelName = '' + } - if (!element.colValLabel) { - element.colValLabel = element.colVal - } - if (!element.nextLogicalRelName) { - element.nextLogicalRelName = '' - } + element.ruleDesc = element.itemGroupName + element.itemLabel + element.queryTypeName + element.colValLabel + element.nextLogicalRelName - element.ruleDesc = element.itemGroupName + element.itemLabel + element.queryTypeName + element.colValLabel + element.nextLogicalRelName + }); - }); + } else { + oneRule.statRuleList = [] + } isOk = true @@ -465,7 +482,7 @@ export default { // this.formData.ruleList = this.ruleList console.log(this.formData.ruleList) - + // return false this.btnDisable = true diff --git a/src/views/modules/communityService/policy/rule.vue b/src/views/modules/communityService/policy/rule.vue index ef99bb561..141293471 100644 --- a/src/views/modules/communityService/policy/rule.vue +++ b/src/views/modules/communityService/policy/rule.vue @@ -17,11 +17,11 @@ plain size="mini">预览 - 增加 + size="mini">增加 -->
- +
-
+
@@ -203,20 +208,21 @@ - - +
-
+
@@ -297,10 +303,14 @@ - +
@@ -358,8 +368,7 @@ export default { ], houseItemList: [],//房屋信息第二列 staticItemList: [],//统计信息第二列 - resiRuleList: [], - resiRuleList1: [ + resiRuleList: [ { ruleDesc: '',//规则描述文字,例如:基础信息性别等于女 nextLogicalRel: '',//与上一条的关系;and、or @@ -378,12 +387,10 @@ export default { queryTypeName: '', colValLabel: '', nextLogicalRelName: '', - } ], - houseRuleList: [], - houseTitleName: '房屋信息', - houseRuleList1: [ + + houseRuleList: [ { ruleDesc: '', nextLogicalRel: '',//与上一条的关系;and、or @@ -402,9 +409,10 @@ export default { nextLogicalRelName: '', } ], + houseTitleName: '房屋信息', + statTitleName: '统计信息', - statRuleList: [], - statRuleList1: [ + statRuleList: [ { ruleDesc: '', nextLogicalRel: '',//与上一条的关系;and、or @@ -421,9 +429,9 @@ export default { queryTypeName: '', colValLabel: '', nextLogicalRelName: '', - } ], + okflag: false, showPersonList: false, @@ -513,10 +521,10 @@ export default { }, - getRule (valPerson, valHouse, valStatic) { + getRule () { this.okflag = false - let messageObj = this.validateRule(valPerson, valHouse, valStatic) + let messageObj = this.validateRule(this.personChecked, this.houseChecked, this.staticChecked) // console.log('resiRuleList', this.resiRuleList) // console.log('houseRuleList', this.houseRuleList) @@ -548,6 +556,7 @@ export default { let message = '' if (valPerson) { + this.resiRuleList.forEach((item, index) => { if (index === this.resiRuleList.length - 1) { @@ -574,6 +583,8 @@ export default { } }); + + } if (valHouse) { @@ -636,7 +647,7 @@ export default { return false } - this.getRule(this.personChecked, this.houseChecked, this.staticChecked) + this.getRule() if (!this.okflag) { return false } @@ -930,6 +941,18 @@ export default { }, addPerson () { + + // let array = this.resiRuleList[this.resiRuleList.length - 1] + + // if (array.itemGroupId === '' || + // array.itemId === '' || + // array.queryType === '' || + // array.colKey === '' || + // array.colVal === '') { + // this.$message.info('请将上一条填写完整') + // return false + // } + let obj = { ruleDesc: '',//规则描述文字,例如:基础信息性别等于女 nextLogicalRel: '',//与上一条的关系;and、or @@ -958,6 +981,16 @@ export default { }, addHouse () { + // let array = this.houseRuleList[this.houseRuleList.length - 1] + + // if (array.itemGroupId === '' || + // array.itemId === '' || + // array.queryType === '' || + // array.colKey === '' || + // array.colVal === '') { + // this.$message.info('请将上一条填写完整') + // return false + // } let obj = { ruleDesc: '', nextLogicalRel: '',//与上一条的关系;and、or @@ -984,6 +1017,16 @@ export default { }, addStatic () { + // let array = this.statRuleList[this.statRuleList.length - 1] + + // if (array.itemGroupId === '' || + // array.itemId === '' || + // array.queryType === '' || + // array.colKey === '' || + // array.colVal === '') { + // this.$message.info('请将上一条填写完整') + // return false + // } let obj = { ruleDesc: '', nextLogicalRel: '',//与上一条的关系;and、or From 6af3e7cf876c29366f475274c5d4475eb4563356 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Wed, 27 Jul 2022 18:18:46 +0800 Subject: [PATCH 09/17] 11 --- .../modules/communityService/policy/rule.vue | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/modules/communityService/policy/rule.vue b/src/views/modules/communityService/policy/rule.vue index 141293471..5ede5c82f 100644 --- a/src/views/modules/communityService/policy/rule.vue +++ b/src/views/modules/communityService/policy/rule.vue @@ -32,7 +32,7 @@ + placeholder="请选择"> + placeholder="请选择"> + placeholder="请选择"> + placeholder="请选择"> + placeholder="请选择"> + placeholder="请选择"> + placeholder="请选择"> + placeholder="请选择"> + placeholder="请选择"> + placeholder="请选择"> + placeholder="请选择"> + placeholder="请选择"> + placeholder="请选择"> Date: Thu, 28 Jul 2022 09:30:00 +0800 Subject: [PATCH 10/17] 111 --- .../communityService/fuwujilu/addForm.vue | 25 ++++++++++++++++--- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/src/views/modules/communityService/fuwujilu/addForm.vue b/src/views/modules/communityService/fuwujilu/addForm.vue index 49d37065a..c019c48aa 100644 --- a/src/views/modules/communityService/fuwujilu/addForm.vue +++ b/src/views/modules/communityService/fuwujilu/addForm.vue @@ -389,7 +389,7 @@ export default { disabledDate: startDisabledDate }, - showFeedback: true, + showFeedback: false, serviceOptions: [], serviceOptiondList: [], policyList: [], @@ -399,7 +399,9 @@ export default { policyId: '', showPersonList: false, - ruleList: [] + ruleList: [], + + firstInitMap: true, } }, @@ -416,10 +418,15 @@ export default { components: { personList }, async mounted () { this.startLoading() - this.initMap() + + this.getDictOptions(); this.getPolicyList(); - this.$refs.ref_form_feedback.resetFields(); + if (this.showFeedback) { + this.initMap() + this.$refs.ref_form_feedback.resetFields(); + } + if (this.formType === 'add') { this.$refs.ref_form.resetFields(); await this.loadScopeTree() @@ -537,6 +544,13 @@ export default { handleChangeFeedback (val) { this.showFeedback = val + if (this.firstInitMap) { + this.$nextTick(() => { + this.initMap() + }) + + } + }, @@ -797,6 +811,7 @@ export default { // 地图初始化函数,本例取名为init,开发者可根据实际情况定义 initMap () { + // 定义地图中心点坐标 var center = new window.TMap.LatLng(36.0722275, 120.38945519) // 定义map变量,调用 TMap.Map() 构造函数创建地图 @@ -823,6 +838,8 @@ export default { }) this.handleMoveCenter() this.convert() + + this.firstInitMap = false }, setMarker (lat, lng) { From 6d44bcb02a14870f70921d0dd6d4b8738efd066e Mon Sep 17 00:00:00 2001 From: jiangyy Date: Thu, 28 Jul 2022 14:40:02 +0800 Subject: [PATCH 11/17] 1111 --- .../scss/modules/management/form-main.scss | 4 + .../communityService/policy/addPolicy.vue | 117 ++++++++++-------- .../modules/communityService/policy/rule.vue | 5 + 3 files changed, 72 insertions(+), 54 deletions(-) diff --git a/src/assets/scss/modules/management/form-main.scss b/src/assets/scss/modules/management/form-main.scss index 60f243942..b05026758 100644 --- a/src/assets/scss/modules/management/form-main.scss +++ b/src/assets/scss/modules/management/form-main.scss @@ -15,6 +15,10 @@ width: 220px; } + .item_width_3{ + width: 780px; + } + .list_item_width_1 { width: 165px; } diff --git a/src/views/modules/communityService/policy/addPolicy.vue b/src/views/modules/communityService/policy/addPolicy.vue index 4f2b7c3da..5b6718dcd 100644 --- a/src/views/modules/communityService/policy/addPolicy.vue +++ b/src/views/modules/communityService/policy/addPolicy.vue @@ -61,11 +61,11 @@ prop="content" label-width="150px" style="display: block"> - @@ -399,74 +399,82 @@ export default { let refObj = this.$refs['ref_rule' + index][0] - refObj.getRule(true, true, true) + refObj.getRule() if (refObj.okflag) { - if (refObj.personChecked) { - oneRule.resiRuleList = refObj.resiRuleList - oneRule.resiRuleList.forEach(element => { - element.itemList = [] - element.colOption = [] - - if (!element.colValLabel) { - element.colValLabel = element.colVal - } - if (!element.nextLogicalRelName) { - element.nextLogicalRelName = '' - } - - element.ruleDesc = element.itemGroupName + element.itemLabel + element.queryTypeName + element.colValLabel + element.nextLogicalRelName - - }); + + if (!refObj.personChecked && !refObj.houseChecked && !refObj.staticChecked) { + this.$message.error('请选择匹配规则' + (index + 1)) + isOk = false + break } else { - oneRule.resiRuleList = [] - } - if (refObj.houseChecked) { + if (refObj.personChecked) { + oneRule.resiRuleList = refObj.resiRuleList + oneRule.resiRuleList.forEach(element => { + element.itemList = [] + element.colOption = [] - oneRule.houseRuleList = refObj.houseRuleList - oneRule.houseRuleList.forEach(element => { - element.itemList = [] - element.colOption = [] + if (!element.colValLabel) { + element.colValLabel = element.colVal + } + if (!element.nextLogicalRelName) { + element.nextLogicalRelName = '' + } - if (!element.colValLabel) { - element.colValLabel = element.colVal - } - if (!element.nextLogicalRelName) { - element.nextLogicalRelName = '' - } + element.ruleDesc = element.itemGroupName + element.itemLabel + element.queryTypeName + element.colValLabel + element.nextLogicalRelName - element.ruleDesc = element.itemGroupName + element.itemLabel + element.queryTypeName + element.colValLabel + element.nextLogicalRelName + }); + } else { + oneRule.resiRuleList = [] + } - }); - } else { - oneRule.houseRuleList = [] - } + if (refObj.houseChecked) { - if (refObj.staticChecked) { + oneRule.houseRuleList = refObj.houseRuleList + oneRule.houseRuleList.forEach(element => { + element.itemList = [] + element.colOption = [] - oneRule.statRuleList = refObj.statRuleList + if (!element.colValLabel) { + element.colValLabel = element.colVal + } + if (!element.nextLogicalRelName) { + element.nextLogicalRelName = '' + } - oneRule.statRuleList.forEach(element => { - element.itemList = [] - element.colOption = [] + element.ruleDesc = element.itemGroupName + element.itemLabel + element.queryTypeName + element.colValLabel + element.nextLogicalRelName - if (!element.colValLabel) { - element.colValLabel = element.colVal - } - if (!element.nextLogicalRelName) { - element.nextLogicalRelName = '' - } + }); + } else { + oneRule.houseRuleList = [] + } - element.ruleDesc = element.itemGroupName + element.itemLabel + element.queryTypeName + element.colValLabel + element.nextLogicalRelName + if (refObj.staticChecked) { - }); + oneRule.statRuleList = refObj.statRuleList - } else { - oneRule.statRuleList = [] - } + oneRule.statRuleList.forEach(element => { + element.itemList = [] + element.colOption = [] - isOk = true + if (!element.colValLabel) { + element.colValLabel = element.colVal + } + if (!element.nextLogicalRelName) { + element.nextLogicalRelName = '' + } + + element.ruleDesc = element.itemGroupName + element.itemLabel + element.queryTypeName + element.colValLabel + element.nextLogicalRelName + + }); + + } else { + oneRule.statRuleList = [] + } + + isOk = true + } } else { isOk = false @@ -482,6 +490,7 @@ export default { // this.formData.ruleList = this.ruleList console.log(this.formData.ruleList) + // return false diff --git a/src/views/modules/communityService/policy/rule.vue b/src/views/modules/communityService/policy/rule.vue index 5ede5c82f..5eb178edb 100644 --- a/src/views/modules/communityService/policy/rule.vue +++ b/src/views/modules/communityService/policy/rule.vue @@ -464,8 +464,11 @@ export default { }, 500); return false } + + this.resiRuleList = resiRuleList if (this.resiRuleList && this.resiRuleList.length > 0) { + this.personChecked = true for (let i = 0; i < this.resiRuleList.length; i++) { let element = this.resiRuleList[i] @@ -490,6 +493,7 @@ export default { this.houseRuleList = houseRuleList if (this.houseRuleList && this.houseRuleList.length > 0) { + this.houseChecked = true this.houseRuleList.forEach((element, index) => { let selHouseItem = this.houseItemList.filter((item) => @@ -504,6 +508,7 @@ export default { } this.statRuleList = statRuleList if (this.statRuleList && this.statRuleList.length > 0) { + this.staticChecked = true this.statRuleList.forEach((element, index) => { let selStaticItem = this.staticItemList.filter((item) => From 2e7d1e59d04b0ea8a973d3f6e49915b0fe785fe0 Mon Sep 17 00:00:00 2001 From: zhaoyongnian <541231643@qq.com> Date: Thu, 28 Jul 2022 18:08:20 +0800 Subject: [PATCH 12/17] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=8F=90=E4=BA=A4=20?= =?UTF-8?q?=E9=A1=BA=E5=BE=B7=E5=B1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/visual/shundeju/controlCount.vue | 629 ++++++++++++++++++ .../modules/visual/shundeju/screen-table.vue | 346 ++++++++++ 2 files changed, 975 insertions(+) create mode 100644 src/views/modules/visual/shundeju/controlCount.vue create mode 100644 src/views/modules/visual/shundeju/screen-table.vue diff --git a/src/views/modules/visual/shundeju/controlCount.vue b/src/views/modules/visual/shundeju/controlCount.vue new file mode 100644 index 000000000..0487f9876 --- /dev/null +++ b/src/views/modules/visual/shundeju/controlCount.vue @@ -0,0 +1,629 @@ + + + + + + diff --git a/src/views/modules/visual/shundeju/screen-table.vue b/src/views/modules/visual/shundeju/screen-table.vue new file mode 100644 index 000000000..716875d53 --- /dev/null +++ b/src/views/modules/visual/shundeju/screen-table.vue @@ -0,0 +1,346 @@ + + + + + From 47568499114d0eaebbd43b115f5ea6bec694a52f Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Fri, 29 Jul 2022 09:11:30 +0800 Subject: [PATCH 13/17] add --- .../plugins/visit/visitor-add-or-update.vue | 144 +++++++ .../modules/plugins/visit/visitvisitor.vue | 351 ++++++++++++++++++ 2 files changed, 495 insertions(+) create mode 100644 src/views/modules/plugins/visit/visitor-add-or-update.vue create mode 100644 src/views/modules/plugins/visit/visitvisitor.vue diff --git a/src/views/modules/plugins/visit/visitor-add-or-update.vue b/src/views/modules/plugins/visit/visitor-add-or-update.vue new file mode 100644 index 000000000..528af1fb9 --- /dev/null +++ b/src/views/modules/plugins/visit/visitor-add-or-update.vue @@ -0,0 +1,144 @@ + + + diff --git a/src/views/modules/plugins/visit/visitvisitor.vue b/src/views/modules/plugins/visit/visitvisitor.vue new file mode 100644 index 000000000..f03af3947 --- /dev/null +++ b/src/views/modules/plugins/visit/visitvisitor.vue @@ -0,0 +1,351 @@ + + + + + + From 541adffce905b0a7fff5b4d7737ab41c51625e4e Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Fri, 29 Jul 2022 15:37:45 +0800 Subject: [PATCH 14/17] =?UTF-8?q?=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/plugins/visit/visitvisitor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/modules/plugins/visit/visitvisitor.vue b/src/views/modules/plugins/visit/visitvisitor.vue index f03af3947..b51e5d20d 100644 --- a/src/views/modules/plugins/visit/visitvisitor.vue +++ b/src/views/modules/plugins/visit/visitvisitor.vue @@ -122,7 +122,7 @@ - + From 950a2a302b183958c51383ed10f830160f900d3d Mon Sep 17 00:00:00 2001 From: zhaoyongnian <541231643@qq.com> Date: Fri, 29 Jul 2022 15:41:32 +0800 Subject: [PATCH 15/17] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/visual/shundeju/controlCount.vue | 2 +- src/views/modules/visual/shundeju/screen-table.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/modules/visual/shundeju/controlCount.vue b/src/views/modules/visual/shundeju/controlCount.vue index 0487f9876..42fb6e9aa 100644 --- a/src/views/modules/visual/shundeju/controlCount.vue +++ b/src/views/modules/visual/shundeju/controlCount.vue @@ -131,7 +131,7 @@ export default { ], headerList: [ { title: "姓名", coulmn: 'name' }, - { title: "头像", coulmn: 'faceImg' }, + { title: "人脸", coulmn: 'faceImg' }, { title: "身份证", coulmn: 'idCard' }, { title: "性别", coulmn: 'gender' }, { title: "手机号", coulmn: 'mobile' }, diff --git a/src/views/modules/visual/shundeju/screen-table.vue b/src/views/modules/visual/shundeju/screen-table.vue index 716875d53..041d687b3 100644 --- a/src/views/modules/visual/shundeju/screen-table.vue +++ b/src/views/modules/visual/shundeju/screen-table.vue @@ -35,7 +35,7 @@ :src= "value[item.coulmn]" alt="" srcset="" - style="width: 50px;height: 50px;" + style="width: 40px;height: 40px;" />
From 2ecaffa49852c2ac9291beb2d0829aa9ed5692d1 Mon Sep 17 00:00:00 2001 From: HAHA Date: Mon, 1 Aug 2022 17:43:53 +0800 Subject: [PATCH 16/17] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=80=A7=E5=88=AB?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/base/organization/organization.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue index 2d786fa23..7630c8b8b 100644 --- a/src/views/modules/base/organization/organization.vue +++ b/src/views/modules/base/organization/organization.vue @@ -1390,11 +1390,13 @@ export default { async updatePeo () { const url = "/gov/org/staff/editstaff" + console.log(this.peoForm.gender) + let params = { staffId: this.userStaffId, name: this.peoForm.name, mobile: this.peoForm.mobile, - gender: this.peoForm.gender === '男' ? 1 : 0, + gender:this.peoForm.gender, workType: this.peoForm.post, roles: this.peoForm.duty, newRoles: this.peoForm.newRoles, From 3923ac5c68d111484719a9eb28dd3544f7bce57b Mon Sep 17 00:00:00 2001 From: HAHA Date: Tue, 2 Aug 2022 10:20:13 +0800 Subject: [PATCH 17/17] =?UTF-8?q?=E8=A7=92=E8=89=B2=EF=BC=8C=E6=80=A7?= =?UTF-8?q?=E5=88=AB=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83=E6=B2=A1=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/base/organization/organization.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue index 7630c8b8b..caf9fbcbe 100644 --- a/src/views/modules/base/organization/organization.vue +++ b/src/views/modules/base/organization/organization.vue @@ -1392,6 +1392,16 @@ export default { console.log(this.peoForm.gender) + if(this.peoForm.gender === '男'){ + this.peoForm.gender = 1 + } else if (this.peoForm.gender === '女') { + this.peoForm.gender = 2 + } else if (this.peoForm.gender === 1) { + this.peoForm.gender = 1 + } else if (this.peoForm.gender === 2) { + this.peoForm.gender = 2 + } + let params = { staffId: this.userStaffId, name: this.peoForm.name,