diff --git a/.env.development b/.env.development index e6ba13a97..7dca7678b 100644 --- a/.env.development +++ b/.env.development @@ -8,7 +8,8 @@ VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn:41080/api # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api -# VUE_APP_NODE_ENV=dev_sdtdt -VUE_APP_NODE_ENV=dev +VUE_APP_NODE_ENV=dev_sdtdt +# VUE_APP_NODE_ENV=dev #项目根路径 -VUE_APP_PUBLIC_PATH=epmet-oper \ No newline at end of file +VUE_APP_PUBLIC_PATH=epmet-oper +VUE_APP_CUSTOMER=yantai \ No newline at end of file diff --git a/src/assets/scss/main-shuju.scss b/src/assets/scss/main-shuju.scss index a87d382e7..a74a552f5 100644 --- a/src/assets/scss/main-shuju.scss +++ b/src/assets/scss/main-shuju.scss @@ -159,13 +159,6 @@ } } } - - &.z-iframe { - padding-top: 0; - .aui-content--tabs { - padding-top: 0; - } - } } /* Navbar diff --git a/src/assets/scss/modules/management/detail-main.scss b/src/assets/scss/modules/management/detail-main.scss index 31f16237f..0767b7768 100644 --- a/src/assets/scss/modules/management/detail-main.scss +++ b/src/assets/scss/modules/management/detail-main.scss @@ -147,6 +147,9 @@ .info-title-5{ flex: 0 0 130px; } + .info-title-6{ + flex: 0 0 240px; + } > span, > div { diff --git a/src/assets/scss/modules/management/epidemic.scss b/src/assets/scss/modules/management/epidemic.scss index f8ff057cd..7106aa787 100644 --- a/src/assets/scss/modules/management/epidemic.scss +++ b/src/assets/scss/modules/management/epidemic.scss @@ -16,6 +16,12 @@ .item_width_3 { width: 180px; } + .item_width_4 { + width: 350px; + } + .item_width_5 { + width: 450px; + } .btn-selperson { margin-left: 20px; diff --git a/src/utils/index.js b/src/utils/index.js index ec577e6cb..9567f50d6 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -43,10 +43,8 @@ export function getDictLabel(dictType, dictValue) { * 清除登录信息 */ export function clearLoginInfo() { - console.log('==========clearLoginInfo') store.commit("resetStore"); localStorage.removeItem("token"); - localStorage.setItem('thePageAtExit', location.href); window.SITE_CONFIG["dynamicMenuRoutesHasAdded"] = false; } @@ -166,11 +164,7 @@ export function computedCard(idCard) { if (sex % 2 === 0) sex = "0"; // 性别代码 1代表男,0代表女,暂时不涉及其他类型性别 else sex = "1"; - return { - age, - sex, - birth - }; + return { age, sex, birth }; } // 将数组分成小块数组的集合 export function spliceIntoChunks(arr, chunkSize) { @@ -209,4 +203,4 @@ export function encryptedData(key, data) { encryptor.setPublicKey(key); // 加密数据 return encryptor.encrypt(data); -} \ No newline at end of file +} diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue index 67be62ad2..7c635a4e7 100644 --- a/src/views/modules/base/community/communityTable.vue +++ b/src/views/modules/base/community/communityTable.vue @@ -647,6 +647,7 @@ export default { } }, async handleDownQr (row, type) { + let title = row.label + '二维码.png' // const url = window.SITE_CONFIG['apiURL'] + `/gov/org/icneighborhood/createQrCode/${row.neighborHoodId}` const url = '/gov/org/agency/create-qrcode' const _id = type == 'community' ? row.id : row.neighborHoodId @@ -661,10 +662,10 @@ export default { responseType: 'blob' }).then(res => { console.log('res----1r', res) - if (res.headers["content-disposition"]) { - let fileName = window.decodeURI(res.headers["content-disposition"].split(";")[1].split("=")[1]) - console.log('filename', fileName) - this.download(res.data, fileName) //释放掉blob对象 + if (res.data) { + // let fileName = window.decodeURI(res.headers["content-disposition"].split(";")[1].split("=")[1]) + // console.log('filename', fileName) + this.download(res.data, title) //释放掉blob对象 } else this.$message.error('下载失败') // this.download(res.data, '1.png') }) diff --git a/src/views/modules/base/epidemic/antiInfo.vue b/src/views/modules/base/epidemic/antiInfo.vue index c87b14164..22eef0ace 100644 --- a/src/views/modules/base/epidemic/antiInfo.vue +++ b/src/views/modules/base/epidemic/antiInfo.vue @@ -9,7 +9,14 @@
- + { + this.btnAuths[item.permissions] = true; + }); + } + }, + async handleTuomin () { + const url = "/data/aggregator/epmetuser/detailByType"; + const { data, code, msg } = await requestPost(url, { + id: this.selRowId, + type: "JMFYXX", + }); + + if (code === 0) { + this.$set(this.formDetail, 'showMobile', data.mobile) + this.$set(this.formDetail, 'showIdCard', data.idCard) + } else { + this.$message.error(msg); } }, @@ -620,6 +659,30 @@ export default { this.searchForm.unitId = '' this.searchForm.houseId = '' }, + + handleChangeAgency (val) { + let obj = this.$refs["myCascader"].getCheckedNodes()[0].data + if (obj) { + if (obj.level === 'grid') { + this.searchForm.gridId = this.agencyIdArray.length > 0 ? this.agencyIdArray[this.agencyIdArray.length - 1] : ''; + this.searchForm.agencyId = '' + } else { + this.searchForm.agencyId = this.agencyIdArray.length > 0 ? this.agencyIdArray[this.agencyIdArray.length - 1] : ''; + this.searchForm.gridId = '' + } + + } else { + this.searchForm.agencyId = '' + this.searchForm.gridId = '' + } + + this.searchForm.neighborId = '' + this.searchForm.buildingId = '' + this.searchForm.unitId = '' + this.searchForm.houseId = '' + this.getValiheList() + }, + handleChangeGrid (val) { console.log('val', val) this.searchForm.neighborId = '' @@ -646,6 +709,23 @@ export default { this.searchForm.houseId = '' this.getHouseList() }, + getOrgTreeList () { + const { user } = this.$store.state + this.$http + .post('/gov/org/customeragency/agencygridtree', {}) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } else { + console.log('获取组织树成功', res.data) + this.orgOptions = [] + this.orgOptions.push(res.data) + } + }) + .catch(() => { + return this.$message.error('网络错误') + }) + }, getGridList () { const { user } = this.$store.state this.$http @@ -665,9 +745,9 @@ export default { getValiheList () { const { user } = this.$store.state this.$http - .post('/gov/org/icneighborhood/neighborhoodoption', { + .post('/gov/org/icneighborhood/neighborhood-options', { gridId: this.searchForm.gridId, - agencyId: '' + agencyId: this.searchForm.agencyId // agencyId: user.agencyId }) .then(({ data: res }) => { @@ -863,6 +943,7 @@ export default { //重置搜索条件 resetSearch () { this.timeRange = [] + this.agencyIdArray = [] this.$refs.ref_searchform.resetFields() this.searchForm.buildingId = '' this.searchForm.unitId = '' diff --git a/src/views/modules/base/epidemic/epidRisk/risk.vue b/src/views/modules/base/epidemic/epidRisk/risk.vue new file mode 100644 index 000000000..967a06f93 --- /dev/null +++ b/src/views/modules/base/epidemic/epidRisk/risk.vue @@ -0,0 +1,680 @@ + + + + + + diff --git a/src/views/modules/base/epidemic/epidRisk/riskDetail.vue b/src/views/modules/base/epidemic/epidRisk/riskDetail.vue new file mode 100644 index 000000000..7ae53ee3d --- /dev/null +++ b/src/views/modules/base/epidemic/epidRisk/riskDetail.vue @@ -0,0 +1,216 @@ + + + + + + + + diff --git a/src/views/modules/base/epidemic/epidRisk/riskForm.vue b/src/views/modules/base/epidemic/epidRisk/riskForm.vue new file mode 100644 index 000000000..b62e1ee15 --- /dev/null +++ b/src/views/modules/base/epidemic/epidRisk/riskForm.vue @@ -0,0 +1,311 @@ + + + + + + + + + + diff --git a/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue b/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue index 1912e820b..9980607b0 100644 --- a/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue +++ b/src/views/modules/base/epidemic/natFocus/natFocusAdd.vue @@ -1,129 +1,225 @@ @@ -554,7 +699,7 @@ import inputRange from "@/views/components/rangeInput.vue"; let loading; // 加载动画 export default { - data() { + data () { return { activeName: "first", @@ -597,7 +742,21 @@ export default { channel: [], content: "", isolatedState: "", + gkStartTime: '', + gkEndTime: '', + gbName: '', + gbMobile: '', + gridManager: '', + gridManagerMobile: '', + healthWorker: '', + healthWorkerMobile: '', + policeName: '', + policeMobile: '', + volunteerName: '', + volunteerMobile: '', }, + gkTimeRange1: [], + gkTimeRange2: [], formData2: { attentionType: 2, @@ -607,6 +766,18 @@ export default { channel: [], content: "", isolatedState: "", + gkStartTime: '', + gkEndTime: '', + gbName: '', + gbMobile: '', + gridManager: '', + gridManagerMobile: '', + healthWorker: '', + healthWorkerMobile: '', + policeName: '', + policeMobile: '', + volunteerName: '', + volunteerMobile: '', }, tableData: [], total: 0, @@ -624,7 +795,7 @@ export default { components: { inputRange }, - async mounted() { + async mounted () { const { user } = this.$store.state; this.agencyId = user.agencyId; //获取网格下拉框数据 @@ -636,14 +807,32 @@ export default { }, methods: { - handleChannelChange1(val) { + handleGkTimeChange1 (time) { + if (time) { + this.formData1.gkStartTime = time[0]; + this.formData1.gkEndTime = time[1]; + } else { + this.formData1.gkStartTime = ""; + this.formData1.gkEndTime = ""; + } + }, + handleGkTimeChange2 (time) { + if (time) { + this.formData2.gkStartTime = time[0]; + this.formData2.gkEndTime = time[1]; + } else { + this.formData2.gkStartTime = ""; + this.formData2.gkEndTime = ""; + } + }, + handleChannelChange1 (val) { this.formData1.content = ""; }, - handleChannelChange2(val) { + handleChannelChange2 (val) { this.formData2.content = ""; }, - async initForm() { + async initForm () { this.tableData = []; this.$refs["ref_form1"].resetFields(); this.$refs["ref_form2"].resetFields(); @@ -651,12 +840,12 @@ export default { // await this.loadTable() }, - handleSearch() { + handleSearch () { this.selectionAll = []; this.loadTable(); }, - async loadTable() { + async loadTable () { this.tableLoading = true; const url = "/epmetuser/epidemicPrevention/user-list"; @@ -683,7 +872,7 @@ export default { this.tableLoading = false; }, - handleTimeChange(time) { + handleTimeChange (time) { if (time) { this.formData.startDate = time[0]; this.formData.endDate = time[1]; @@ -693,7 +882,7 @@ export default { } }, - handleSelectTable(selection, row) { + handleSelectTable (selection, row) { row.isSel = !row.isSel; if (row.isSel) { @@ -709,7 +898,7 @@ export default { } }, - handleSelAll(selection) { + handleSelAll (selection) { let selFlag = selection.length > 0; //全选选中 还是 全选不选中 for (let i = 0; i < this.tableData.length; i++) { let tableItem = this.tableData[i]; @@ -733,7 +922,7 @@ export default { }, //删除标签 - handleCloseTag(tag, index) { + handleCloseTag (tag, index) { for (let i = 0; i < this.tableData.length; i++) { let tableItem = this.tableData[i]; if (tag.idCard === tableItem.idCard) { @@ -754,7 +943,7 @@ export default { }, //回显列表选中的行 - analysisTableSelection() { + analysisTableSelection () { this.$nextTick(() => { this.tableData.forEach((tableItem) => { for (let j = 0; j < this.selectionAll.length; j++) { @@ -772,9 +961,9 @@ export default { }); }, - handleClick() {}, + handleClick () { }, - handleAgeChange(val) { + handleAgeChange (val) { console.log("val----age---", val); if (val.start) { const e = this.computedBirth(val.start); @@ -790,7 +979,7 @@ export default { } }, - computedBirth(age) { + computedBirth (age) { let now = new Date(); let nowYear = now.getFullYear(); let nowMonth = now.getMonth() + 1; @@ -806,21 +995,21 @@ export default { return subYear + "-" + nowMonth + "-" + nowDay; }, - handleClearVillage() { + handleClearVillage () { this.formDataSearch.buildingId = ""; this.formDataSearch.unitId = ""; this.formDataSearch.houseId = ""; }, - handleClearBuild() { + handleClearBuild () { this.formDataSearch.buildingId = ""; this.formDataSearch.unitId = ""; this.formDataSearch.houseId = ""; }, - handleClearDan() { + handleClearDan () { this.formDataSearch.unitId = ""; this.formDataSearch.houseId = ""; }, - handleChangeGrid(val) { + handleChangeGrid (val) { console.log("val", val); this.formDataSearch.neighborId = ""; this.formDataSearch.buildingId = ""; @@ -828,26 +1017,26 @@ export default { this.formDataSearch.houseId = ""; this.getValiheList(); }, - handleChangeV(val) { + handleChangeV (val) { console.log("val", val); this.formDataSearch.buildingId = ""; this.formDataSearch.unitId = ""; this.formDataSearch.houseId = ""; this.getBuildList(); }, - handleChangeB(val) { + handleChangeB (val) { console.log("val", val); this.formDataSearch.unitId = ""; this.formDataSearch.houseId = ""; this.getUniList(); }, - handleChangeD(val) { + handleChangeD (val) { console.log("val", val); this.formDataSearch.houseId = ""; this.getHouseList(); }, - async loadGrid() { + async loadGrid () { const url = "/gov/org/customergrid/gridoption"; let params = { @@ -862,7 +1051,7 @@ export default { this.$message.error(msg); } }, - getValiheList() { + getValiheList () { const { user } = this.$store.state; this.$http .post("/gov/org/icneighborhood/neighborhoodoption", { @@ -882,7 +1071,7 @@ export default { return this.$message.error("网络错误"); }); }, - getBuildList() { + getBuildList () { this.$http .post("/gov/org/icbuilding/buildingoption", { neighborHoodId: this.formDataSearch.neighborId, @@ -899,7 +1088,7 @@ export default { return this.$message.error("网络错误"); }); }, - getUniList() { + getUniList () { this.$http .post("/gov/org/icbuildingunit/unitoption", { buildingId: this.formDataSearch.buildingId, @@ -916,7 +1105,7 @@ export default { return this.$message.error("网络错误"); }); }, - getHouseList() { + getHouseList () { this.$http .post("/gov/org/ichouse/houseoption", { unitId: this.formDataSearch.unitId, @@ -934,7 +1123,7 @@ export default { }); }, - handleComfirm() { + handleComfirm () { if (this.activeName === "first") { this.$refs["ref_form1"].validate((valid, messageObj) => { if (!valid) { @@ -954,7 +1143,7 @@ export default { } }, - async handleVero() { + async handleVero () { let list = []; if (this.activeName === "first") { list.push(this.formData1); @@ -1051,7 +1240,7 @@ export default { } }, - async getFmOptions(field, url, params, cookFn) { + async getFmOptions (field, url, params, cookFn) { const { data, code, msg } = await requestPost(url, { ...params, }); @@ -1064,12 +1253,12 @@ export default { } }, - handleCancle() { + handleCancle () { this.resetData(); this.$emit("dialogCancle"); }, - resetSearch() { + resetSearch () { this.formDataSearch = { gridId: "", natCount: undefined, @@ -1080,7 +1269,7 @@ export default { this.timeRange = []; }, - resetData() { + resetData () { this.formData1 = { name: "", idCard: "", @@ -1092,7 +1281,20 @@ export default { content: "", attentionType: 2, isolatedState: "", + gkStartTime: '', + gkEndTime: '', + gbName: '', + gbMobile: '', + gridManager: '', + gridManagerMobile: '', + healthWorker: '', + healthWorkerMobile: '', + policeName: '', + policeMobile: '', + volunteerName: '', + volunteerMobile: '', }; + this.gkTimeRange1 = []; this.formData2 = { attentionType: 2, @@ -1102,7 +1304,20 @@ export default { channel: [], content: "", isolatedState: "", + gkStartTime: '', + gkEndTime: '', + gbName: '', + gbMobile: '', + gridManager: '', + gridManagerMobile: '', + healthWorker: '', + healthWorkerMobile: '', + policeName: '', + policeMobile: '', + volunteerName: '', + volunteerMobile: '', }; + this.gkTimeRange2 = []; this.formDataSearch = { gridId: "", natCount: undefined, @@ -1111,18 +1326,18 @@ export default { this.selectionAll = []; //选中的人员 }, - handleSizeChange(val) { + handleSizeChange (val) { this.pageSize = val; this.pageNo = 1; this.loadTable(); }, - handleCurrentChange(val) { + handleCurrentChange (val) { this.pageNo = val; this.loadTable(); }, // 开启加载动画 - startLoading() { + startLoading () { loading = Loading.service({ lock: true, // 是否锁定 text: "正在加载……", // 加载中需要显示的文字 @@ -1130,7 +1345,7 @@ export default { }); }, // 结束加载动画 - endLoading() { + endLoading () { // clearTimeout(timer); if (loading) { loading.close(); @@ -1138,12 +1353,12 @@ export default { }, }, computed: { - tableHeight() { + tableHeight () { return 300; }, ...mapGetters(["clientHeight", "iframeHeight"]), - dataRule1() { + dataRule1 () { return { name: [{ required: true, message: "姓名不能为空", trigger: "blur" }], idCard: [ @@ -1159,10 +1374,14 @@ export default { }, }, props: { - // serviceList: { - // type: Array, - // default: [] - // }, + isPanshi: { + type: Boolean, + default: false + }, + reasonTitle: { + type: String, + default: '关注原因' + }, }, }; diff --git a/src/views/modules/base/epidemic/natFocus/natFocusEdit.vue b/src/views/modules/base/epidemic/natFocus/natFocusEdit.vue index c80f883ed..81c0cafbb 100644 --- a/src/views/modules/base/epidemic/natFocus/natFocusEdit.vue +++ b/src/views/modules/base/epidemic/natFocus/natFocusEdit.vue @@ -7,148 +7,305 @@ class="diy-button--search" @click="handleTuomin">显示脱敏信息
- - - {{ formData.name }} - - - - - {{ formData.mobile }} - - - - {{ formData.idCard }} - - - - - - - - - - - - - - - - - - 小程序通知 - - - - - - - - + + + + + + + +
- 姓名: + 姓名: {{ formData.name||'--' }}
- 手机号: + 手机号: {{ formData.showMobile||'--' }}
- 证件号: + 证件号: {{ formData.showIdCard||'--' }}
- 关注原因: + {{reasonTitle}}: {{ formData.reason||'--' }}
- 隔离状态: + 隔离状态: {{ formData.isolatedStateShow||'--' }}
+
+ 管控时间: + {{ formData.gkTime||'--' }} +
+
+ 镇(街)干部及联系方式: + {{ formData.gb||'--' }} +
+
+ 村(社区)网格管理员及联系方式: + {{ formData.gridManagerShow||'--' }} +
+
+ 基层医务工作者及联系方式: + {{ formData.healthWorkerShow||'--' }} +
+
+ 民警及联系方式: + {{ formData.policeShow||'--' }} +
+
+ 志愿者及联系方式: + {{ formData.volunteerShow||'--' }} +
- 备注: + 备注: {{ formData.remark||'--' }}
@@ -189,8 +346,19 @@ function iniGetFmData () { isSelChannel: false, channel: [], content: "", - isolatedState: "", //隔离状态 + gkStartTime: '', + gkEndTime: '', + gbName: '', + gbMobile: '', + gridManager: '', + gridManagerMobile: '', + healthWorker: '', + healthWorkerMobile: '', + policeName: '', + policeMobile: '', + volunteerName: '', + volunteerMobile: '', }; } @@ -208,6 +376,7 @@ export default { options: { isolatedState: [], }, + gkTimeRange: [], }; }, @@ -238,6 +407,17 @@ export default { } }, + + handleGkTimeChange (time) { + if (time) { + this.formData.gkStartTime = time[0]; + this.formData.gkEndTime = time[1]; + } else { + this.formData.gkStartTime = ""; + this.formData.gkEndTime = ""; + } + }, + handleChannelChange (val) { this.formData.content = ""; }, @@ -253,6 +433,7 @@ export default { row.attentionType = 2; row.isSelChannel = false; this.formData = JSON.parse(JSON.stringify(row)); + this.gkTimeRange = row.gkTimeRange this.veroId = row.id this.options.isolatedState.forEach(element => { if (this.formData.isolatedState === element.value) { @@ -389,6 +570,14 @@ export default { type: String, default: '', }, + isPanshi: { + type: Boolean, + default: false + }, + reasonTitle: { + type: String, + default: '关注原因' + }, }, }; diff --git a/src/views/modules/base/epidemic/natFocus/natFocusList.vue b/src/views/modules/base/epidemic/natFocus/natFocusList.vue index bf4ff1a2e..4c5f3e83d 100644 --- a/src/views/modules/base/epidemic/natFocus/natFocusList.vue +++ b/src/views/modules/base/epidemic/natFocus/natFocusList.vue @@ -34,13 +34,13 @@ placeholder="请输入身份证号或护照号"> - + :placeholder="'请输入'+reasonTitle"> + @@ -362,6 +408,8 @@ @@ -432,6 +480,9 @@ export default { pageSize: 20, pageNo: 1, tableLoading: false, + customerId: '', + isPanshi: false, + reasonTitle: '关注原因', selection: [], @@ -506,6 +557,15 @@ export default { }, async mounted () { + //磐石街道:1580460084738760705 + this.customerId = localStorage.getItem("customerId"); + this.isPanshi = false + this.reasonTitle = '关注原因' + if (this.customerId === '1580460084738760705') { + this.isPanshi = true + this.reasonTitle = '隔离原因' + } + console.log('customerId', this.customerId) this.updateBtnAuths(); for (let i = 0; i < 11; i++) { @@ -811,6 +871,8 @@ export default { row.idCard = data.idCard; row.showMobile = data.showMobile; row.showIdCard = data.showIdCard; + if (row.gkStartTime && row.gkEndTime) + row.gkTimeRange = [row.gkStartTime, row.gkEndTime] } return row; }, @@ -878,27 +940,27 @@ export default { type: "warning", }).then(async () => { - let delUrl = "/epmetuser/icEpidemicSpecialAttention/delete"; - const { data, code, msg } = await requestPost(delUrl, [row.id]); - - if (code === 0) { - this.$message({ - type: "success", - message: "删除成功", - }); - this.loadTable(); - } else { - this.$message.error(msg); - } - }) - .catch((err) => { - if (err == "cancel") { - // this.$message({ - // type: "info", - // message: "已取消删除" - // }); - } + let delUrl = "/epmetuser/icEpidemicSpecialAttention/delete"; + const { data, code, msg } = await requestPost(delUrl, [row.id]); + + if (code === 0) { + this.$message({ + type: "success", + message: "删除成功", }); + this.loadTable(); + } else { + this.$message.error(msg); + } + }) + .catch((err) => { + if (err == "cancel") { + // this.$message({ + // type: "info", + // message: "已取消删除" + // }); + } + }); }, async deleteFocus (row) { diff --git a/src/views/modules/base/epidemic/natFocus/natFocusListHistory.vue b/src/views/modules/base/epidemic/natFocus/natFocusListHistory.vue index 6474e636e..ff1f92040 100644 --- a/src/views/modules/base/epidemic/natFocus/natFocusListHistory.vue +++ b/src/views/modules/base/epidemic/natFocus/natFocusListHistory.vue @@ -34,13 +34,13 @@ placeholder="请输入身份证号或护照号"> - + :placeholder="'请输入'+reasonTitle"> + + @@ -378,6 +425,9 @@ export default { pageSize: 20, pageNo: 1, tableLoading: false, + customerId: '', + isPanshi: false, + reasonTitle: '关注原因', selection: [], @@ -449,6 +499,14 @@ export default { }, async mounted () { + //磐石街道:1580460084738760705 + this.customerId = localStorage.getItem("customerId"); + this.isPanshi = false + this.reasonTitle = '关注原因' + if (this.customerId === '1580460084738760705') { + this.isPanshi = true + this.reasonTitle = '隔离原因' + } this.updateBtnAuths(); for (let i = 0; i < 11; i++) { diff --git a/src/views/modules/base/epidemic/natFocus/nfVisiteList.vue b/src/views/modules/base/epidemic/natFocus/nfVisiteList.vue index a0dd6da8e..a95eec6df 100644 --- a/src/views/modules/base/epidemic/natFocus/nfVisiteList.vue +++ b/src/views/modules/base/epidemic/natFocus/nfVisiteList.vue @@ -149,10 +149,10 @@ export default { methods: { async initTable (row, origin) { - + console.log('row', row) this.formData.idCard = row.realIdCard this.formData.name = row.name - this.formData.mobile = row.mobile + this.formData.mobile = row.realMobile this.formData.origin = origin await this.loadTable() diff --git a/src/views/modules/base/epidemic/natInfo/noNatDetail.vue b/src/views/modules/base/epidemic/natInfo/noNatDetail.vue index 6f5160611..54c714ea2 100644 --- a/src/views/modules/base/epidemic/natInfo/noNatDetail.vue +++ b/src/views/modules/base/epidemic/natInfo/noNatDetail.vue @@ -26,6 +26,10 @@ {{ formData.idCard||'--' }}
+
+ 采样时间: + {{ formData.latestCyTime||'--' }} +
检测时间: {{ formData.latestNatTime||'--' }} diff --git a/src/views/modules/base/epidemic/natInfo/noNatList.vue b/src/views/modules/base/epidemic/natInfo/noNatList.vue index 30e32cd7f..06684267c 100644 --- a/src/views/modules/base/epidemic/natInfo/noNatList.vue +++ b/src/views/modules/base/epidemic/natInfo/noNatList.vue @@ -75,6 +75,17 @@ placeholder="选择时间"> + + + + + + + + + + + + + + 随访记录 - + 详细地址: {{ formData.detailAddress||'--' }}
+
+ 返回方式: + {{ formData.trafficTypeName||'--' }} +
来自地区: {{ formData.sourceAddress||'--' }}
+
+ 详细地址: + {{ formData.sourceDetailAddress||'--' }} +
+
+ 疫苗接种针次: + {{ formData.vaccineNumName||'--' }} +
+
+ 48小时核酸: + {{ formData.isNatRecordName||'--' }} +
来到本地时间: {{ formData.arriveDate||'--' }} @@ -83,7 +99,7 @@ export default { initLoading: false, - icNatId: '', + selId: '', formData: {}, } @@ -109,7 +125,7 @@ export default { const url = "/data/aggregator/epmetuser/detailByType"; const { data, code, msg } = await requestPost(url, { - id: this.icNatId, + id: this.selId, type: "routeFollow", }); @@ -126,11 +142,11 @@ export default { console.log('row----', row) this.formData.agencyId = this.agencyId - this.icNatId = row.id + this.selId = row.id await this.loadFormData(row.id) this.initLoading = true - console.log('formtype', type) + }, diff --git a/src/views/modules/base/epidemic/travelForm.vue b/src/views/modules/base/epidemic/travelForm.vue index 30ca0369e..8242f3af6 100644 --- a/src/views/modules/base/epidemic/travelForm.vue +++ b/src/views/modules/base/epidemic/travelForm.vue @@ -5,7 +5,6 @@ :inline="true" :model="formData" :rules="dataRule" - :disabled="formType==='detail'" class="form"> - - - + v-model="formData.name" + style="margin-right:10px;"> 添加到核酸检测关注名单 @@ -76,10 +75,9 @@ prop="mobile" label-width="150px" style="display: block"> - @@ -87,62 +85,129 @@ prop="idCard" label-width="150px" style="display: block"> - - - - diff --git a/src/views/modules/partymember/icpartyorgtree.vue b/src/views/modules/partymember/icpartyorgtree.vue index 4dd705c94..7b5f5450d 100644 --- a/src/views/modules/partymember/icpartyorgtree.vue +++ b/src/views/modules/partymember/icpartyorgtree.vue @@ -45,7 +45,7 @@ size="small" class="div-table-button--add">新增下级 修改 diff --git a/src/views/modules/plugins/rent/rentcontractreview.vue b/src/views/modules/plugins/rent/rentcontractreview.vue index 2654fdaec..a1d211e33 100644 --- a/src/views/modules/plugins/rent/rentcontractreview.vue +++ b/src/views/modules/plugins/rent/rentcontractreview.vue @@ -196,9 +196,9 @@ @@ -229,7 +229,7 @@ export default { mixinViewModuleOptions: { getDataListURL: '/pli/power/rentContractInfo/page', getDataListIsPage: true, - deleteURL: '/pli/power/rentContractInfo', + deleteURL: '/pli/power/rentContractInfo/delete', deleteIsBatch: true }, optionsV: [], diff --git a/src/views/modules/visual/communityGovern/zhongdianxingcheng/detail.vue b/src/views/modules/visual/communityGovern/zhongdianxingcheng/detail.vue new file mode 100644 index 000000000..5f33fa448 --- /dev/null +++ b/src/views/modules/visual/communityGovern/zhongdianxingcheng/detail.vue @@ -0,0 +1,195 @@ + + + + + + + + + diff --git a/src/views/modules/visual/communityGovern/zhongdianxingcheng/pieOption.js b/src/views/modules/visual/communityGovern/zhongdianxingcheng/pieOption.js new file mode 100644 index 000000000..ca2e35cd2 --- /dev/null +++ b/src/views/modules/visual/communityGovern/zhongdianxingcheng/pieOption.js @@ -0,0 +1,175 @@ + +export function pieOption (_charts) { + const center= ['50%', '240px'] + return { + title: { + text: '0', + top: 215, + left: 'center', + textStyle: { + width: '100%', + fontSize: 26, + color: '#FFFFFF', + fontWeight: 400 + }, + itemGap: 5, + subtext: '总数', + subtextStyle: { + fontSize: 18, + color: '#fff', + fontWeight: 400 + } + }, + tooltip: { + show: false + }, + legend: { + bottom: 150, + itemWidth: 20, + itemHeight: 10, + textStyle: { + color: '#D2E7FF', + fontSize: 14, + lineHeight: 20, + }, + + }, + series: [ + // 外侧圆环 + { + type: 'pie', + // 起始刻度的角度,默认为 90 度,即圆心的正上方。0 度为圆心的正右方。 + startAngle: 0, + hoverAnimation: false, + // tooltip: { + // }, + center: center, + radius: ['48%', '48.3%'], + label: { + show: false + }, + labelLine: { + show: false + }, + data: [{ + value: 360, + itemStyle: { + color: 'rgba(40, 101, 250, 0)', + width:0, + borderColor: 'rgba(40, 101, 250, 0.5)', + borderWidth: 1, + borderType: 'dotted' + } + } + ] + }, + + // 突出的 + { + hoverAnimation: false, + // name: 'Access From', + type: 'pie', + center: center, + radius: ['25%', '38%'], + avoidLabelOverlap: false, + // top: top + '%', + // height: '80%', + selectedMode: 'single', + left: 'center', + width: 480, + label: { + // show: false, + position: 'outside', + alignTo: 'edge', + // formatter: '{a|{c}}\n\n{name|{b}}', + formatter: '{a|{c}}\n{r|}\n{name|{b}}', + minMargin: 5, + edgeDistance: 1, + lineHeight: 15, + color: '#fff', + fontSize: 10, + // distanceToLabelLine: -60, + rich: { + name: { + padding: [0, 6, 0, 6] + }, + a: { + fontSize: 18, + color: '#fff', + padding: [0, 6, 6, 6] + }, + r: { + backgroundColor: 'auto', + borderRadius: 6, + width: 6, + height: 6, + // padding: [3, 3, 0, -12] + } + } + }, + labelLine: { + show: false, + smooth: 0.2, + length: 20, + length2: 0, + maxSurfaceAngle: 80 + }, + labelLayout: function (params) { + + const isLeft = params.labelRect.x < _charts.getWidth() / 2; + const points = params.labelLinePoints; + // Update the end point. + if (points) { + points[2][0] = isLeft + ? params.labelRect.x + : params.labelRect.x + params.labelRect.width; + } + + return { + labelLinePoints: points + }; + }, + itemStyle: { + color:function(params) { + return params.data.color + } + }, + data: [], + + }, + // 中间圆环 + { + type: 'pie', + // 起始刻度的角度,默认为 90 度,即圆心的正上方。0 度为圆心的正右方。 + startAngle: 0, + hoverAnimation: false, + center: center, + // tooltip: { + // }, + radius: ['0%', '20%'], + label: { + + show: false + + }, + labelLine: { + + show: false + + }, + data: [{ + value: 360, + itemStyle: { + normal: { + color: 'rgba(8, 37, 134, 1)', + + } + } + } + ] + }, + ] + + } + } + \ No newline at end of file diff --git a/src/views/modules/visual/communityGovern/zhongdianxingcheng/zhongdianxingcheng.vue b/src/views/modules/visual/communityGovern/zhongdianxingcheng/zhongdianxingcheng.vue new file mode 100644 index 000000000..c3084c377 --- /dev/null +++ b/src/views/modules/visual/communityGovern/zhongdianxingcheng/zhongdianxingcheng.vue @@ -0,0 +1,508 @@ + + + + + + + diff --git a/src/views/modules/visual/shundeju/controlCount.vue b/src/views/modules/visual/shundeju/controlCount.vue index ae3bb12ba..1c6a5928c 100644 --- a/src/views/modules/visual/shundeju/controlCount.vue +++ b/src/views/modules/visual/shundeju/controlCount.vue @@ -225,6 +225,7 @@ export default { } else { item.type = '未知' } + item.villageName = '顺德居小区' return { ...item, index: index + 1 diff --git a/src/views/pages/login.vue b/src/views/pages/login.vue index 3e77cdbde..8e39a89e2 100644 --- a/src/views/pages/login.vue +++ b/src/views/pages/login.vue @@ -154,16 +154,6 @@ export default { }, methods: { - // 登陆后跳转逻辑 - skipAfterLogin() { - let href = localStorage.getItem("thePageAtExit"); - if (href) { - localStorage.removeItem("thePageAtExit"); - location.href = href; - } else { - this.$router.replace({ name: "index" }); - } - }, // 获取公钥 getPubKey() { this.$http @@ -237,7 +227,7 @@ export default { localStorage.setItem("userType", "work"); localStorage.setItem("showHeader", "0"); localStorage.setItem("token", res.data.token); - this.skipAfterLogin(); + this.$router.replace({ name: "index" }); }) .catch(() => {}); // epmet-ext9.elinkservice.cn/platform-admin @@ -267,7 +257,7 @@ export default { localStorage.setItem("userType", "work"); localStorage.setItem("token", res.data.token); - this.skipAfterLogin(); + this.$router.replace({ name: "index" }); }) .catch(() => { this.endLoading();