From 994aa9f59619bd2f38f8049a3d0eb12476f0e63b Mon Sep 17 00:00:00 2001 From: jiangyy Date: Thu, 9 Jun 2022 15:29:24 +0800 Subject: [PATCH 01/15] =?UTF-8?q?=E7=A4=BE=E5=8C=BA=E8=87=AA=E7=BB=84?= =?UTF-8?q?=E7=BB=87=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/communityService/sqzzz/index.vue | 381 ++++++++---------- 1 file changed, 174 insertions(+), 207 deletions(-) diff --git a/src/views/modules/communityService/sqzzz/index.vue b/src/views/modules/communityService/sqzzz/index.vue index aeeb69a5..93edef7a 100644 --- a/src/views/modules/communityService/sqzzz/index.vue +++ b/src/views/modules/communityService/sqzzz/index.vue @@ -1,149 +1,135 @@ @@ -244,7 +209,7 @@ import scoreRecord from "../../../components/scoreRecord.vue"; export default { components: { editForm, scoreRecord }, - data() { + data () { return { openSearch: false, @@ -274,7 +239,7 @@ export default { }; }, computed: { - maxTableHeight() { + maxTableHeight () { return this.$store.state.inIframe ? this.clientHeight - 360 + this.iframeHeigh : this.clientHeight - 360; @@ -292,11 +257,11 @@ export default { } }, }, - mounted() { + mounted () { this.getTableData(); }, methods: { - async handleExportModule() { + async handleExportModule () { let url = "/heart/iccommunityselforganization/import-template-download"; let params = {}; @@ -333,18 +298,18 @@ export default { }); }, // 上传大图标成功 - handleExcelSuccess(res, file) { + handleExcelSuccess (res, file) { if (res.code === 0 && res.msg === "success") { console.log("resss---ppp", res); } else { this.$message.error(res.msg); } }, - handleProgress(event, file, fileList) { + handleProgress (event, file, fileList) { console.log("percentage", file.percentage); }, - beforeExcelUpload(file) { + beforeExcelUpload (file) { console.log("file", file); const isType = file.type === "application/vnd.ms-excel"; const isTypeComputer = @@ -361,7 +326,7 @@ export default { } return fileType && isLt1M; }, - async uploadHttpRequest(file) { + async uploadHttpRequest (file) { this.importLoading = true; this.importBtnTitle = "正在上传中..."; this.$message({ @@ -416,38 +381,38 @@ export default { this.$refs.upload.clearFiles(); }, - handleSizeChange(val) { + handleSizeChange (val) { console.log(`每页 ${val} 条`); this.pageSize = val; window.localStorage.setItem("pageSize", val); this.getTableData(); }, - handleCurrentChange(val) { + handleCurrentChange (val) { console.log(`当前页: ${val}`); this.pageNo = val; this.getTableData(); }, - handleClose() { + handleClose () { this.formShow = false; }, - handleSearch(val) { + handleSearch (val) { console.log(this.fmData); this.pageNo = 1; this.getTableData(); }, - resetForm(formName) { + resetForm (formName) { this.$refs[formName].resetFields(); this.handleSearch(); }, - async handleAdd() { + async handleAdd () { this.formShow = true; await nextTick(); console.log(this.$refs); this.$refs.eleEditForm.initForm("add"); }, - async handleChu() { + async handleChu () { const url = "/heart/iccommunityselforganization/exportcommunityselforganization"; const { pageSize, pageNo, fmData } = this; @@ -483,23 +448,23 @@ export default { }); }, - async handleWatch(rowIndex) { + async handleWatch (rowIndex) { this.formShow = true; await nextTick(); this.$refs.eleEditForm.initForm("detail", this.tableData[rowIndex]); }, - async handleEdit(rowIndex) { + async handleEdit (rowIndex) { this.formShow = true; await nextTick(); this.$refs.eleEditForm.initForm("edit", this.tableData[rowIndex]); }, - handleEditSuccess() { + handleEditSuccess () { this.handleClose(); this.getTableData(); }, - async handleDel(rowData, rowIndex) { + async handleDel (rowData, rowIndex) { console.log(rowData, rowIndex); const url = "/heart/iccommunityselforganization/delcommunityselforganization"; @@ -513,11 +478,12 @@ export default { this.$message.success("删除成功!"); this.getTableData(); } else { - this.$message.success("操作失败!"); + this.$message.error(msg) + // this.$message.success("操作失败!"); } }, - async getTableData() { + async getTableData () { const url = "/heart/iccommunityselforganization/communityselforganizationlist"; const { pageSize, pageNo, fmData } = this; @@ -531,22 +497,23 @@ export default { this.total = data.total || 0; this.tableData = data.list ? data.list.map((item) => { - return item; - }) + return item; + }) : []; } else { + this.$message.error(msg) } }, //积分记录 - handleScore(row) { + handleScore (row) { this.scoreDiaShow = true; this.$nextTick(() => { this.$refs.ref_score.initForm(row.orgId); }); }, - diaClose() { + diaClose () { this.scoreDiaShow = false; }, }, From d1bfdcb1f13bc41e1f8f070d2132ead628fce162 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Thu, 9 Jun 2022 17:22:09 +0800 Subject: [PATCH 02/15] =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/shequzhili/event copy/cpts/process-form-project.vue | 2 +- .../modules/shequzhili/event copy/cpts/process-form-replay.vue | 2 +- src/views/modules/shequzhili/event copy/eventList.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/modules/shequzhili/event copy/cpts/process-form-project.vue b/src/views/modules/shequzhili/event copy/cpts/process-form-project.vue index 8309e930..58e96624 100644 --- a/src/views/modules/shequzhili/event copy/cpts/process-form-project.vue +++ b/src/views/modules/shequzhili/event copy/cpts/process-form-project.vue @@ -188,7 +188,7 @@ import { isCard } from "@/utils/validate"; let loading; // 加载动画 function iniFmData () { return { - operationType: '1',//处理方式[0:已回复 1:已转项目 2:已转需求] + operationType: '1',//处理方式[0:已回复 1:已转项目 2:已转服务] publicReply: '',//项目方案 1000 internalRemark: '',// 内部备注 1000 gridId: '',// diff --git a/src/views/modules/shequzhili/event copy/cpts/process-form-replay.vue b/src/views/modules/shequzhili/event copy/cpts/process-form-replay.vue index d01d4879..461aeb07 100644 --- a/src/views/modules/shequzhili/event copy/cpts/process-form-replay.vue +++ b/src/views/modules/shequzhili/event copy/cpts/process-form-replay.vue @@ -58,7 +58,7 @@ export default { return { btnDisable: false, formData: { - operationType: '0',//处理方式[0:已回复 1:已转项目 2:已转需求] + operationType: '0',//处理方式[0:已回复 1:已转项目 2:已转服务] content: '', status: '' }, diff --git a/src/views/modules/shequzhili/event copy/eventList.vue b/src/views/modules/shequzhili/event copy/eventList.vue index 2664af1d..6f0556be 100644 --- a/src/views/modules/shequzhili/event copy/eventList.vue +++ b/src/views/modules/shequzhili/event copy/eventList.vue @@ -609,7 +609,7 @@ export default { this.tableData.forEach(item => { if (item.operationType === '2') { - item.operationTypeShow = '已转需求' + item.operationTypeShow = '已转服务' } if (item.operationType === '1') { item.operationTypeShow = '已立项' From fd502e09faa03869bdc6b045ac3af85006afdc54 Mon Sep 17 00:00:00 2001 From: jianjun Date: Thu, 9 Jun 2022 21:33:09 +0800 Subject: [PATCH 03/15] =?UTF-8?q?=E7=83=9F=E5=8F=B0=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.production b/.env.production index 6592f042..fca31399 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ NODE_ENV=production -VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api +VUE_APP_API_SERVER = https://epmet-yantai.elinkservice.cn/api VUE_APP_NODE_ENV=prod -VUE_APP_PUBLIC_PATH=epmet-oper \ No newline at end of file +VUE_APP_PUBLIC_PATH=epmet-oper From 9249db75e0c25e819369d982c903619f1f475bef Mon Sep 17 00:00:00 2001 From: jianjun Date: Thu, 9 Jun 2022 21:43:01 +0800 Subject: [PATCH 04/15] =?UTF-8?q?Revert=20"=E7=83=9F=E5=8F=B0=E5=9C=B0?= =?UTF-8?q?=E5=9D=80"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fd502e09 --- .env.production | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.production b/.env.production index fca31399..6592f042 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ NODE_ENV=production -VUE_APP_API_SERVER = https://epmet-yantai.elinkservice.cn/api +VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api VUE_APP_NODE_ENV=prod -VUE_APP_PUBLIC_PATH=epmet-oper +VUE_APP_PUBLIC_PATH=epmet-oper \ No newline at end of file From b67caa4836e789055735d6c21a260871322a6652 Mon Sep 17 00:00:00 2001 From: jianjun Date: Thu, 9 Jun 2022 21:43:13 +0800 Subject: [PATCH 05/15] =?UTF-8?q?=E7=83=9F=E5=8F=B0=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 +- src/views/sso-login.html | 108 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+), 2 deletions(-) create mode 100644 src/views/sso-login.html diff --git a/.env.production b/.env.production index 6592f042..fca31399 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ NODE_ENV=production -VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api +VUE_APP_API_SERVER = https://epmet-yantai.elinkservice.cn/api VUE_APP_NODE_ENV=prod -VUE_APP_PUBLIC_PATH=epmet-oper \ No newline at end of file +VUE_APP_PUBLIC_PATH=epmet-oper diff --git a/src/views/sso-login.html b/src/views/sso-login.html new file mode 100644 index 00000000..fc2380a4 --- /dev/null +++ b/src/views/sso-login.html @@ -0,0 +1,108 @@ + + + + + Sa-Token-SSO-Client端-登录页 + + + + + + + + + + From 7e2a48e5059f666ca1d411a8dbe5a1cd3efaa49c Mon Sep 17 00:00:00 2001 From: jianjun Date: Thu, 9 Jun 2022 21:43:39 +0800 Subject: [PATCH 06/15] =?UTF-8?q?=E7=83=9F=E5=8F=B0=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.production b/.env.production index fca31399..5b72f6d9 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ NODE_ENV=production -VUE_APP_API_SERVER = https://epmet-yantai.elinkservice.cn/api +VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api VUE_APP_NODE_ENV=prod VUE_APP_PUBLIC_PATH=epmet-oper From 5ec4b37a0e0da173552ae5da66d08a476dd10633 Mon Sep 17 00:00:00 2001 From: jianjun Date: Thu, 9 Jun 2022 21:45:48 +0800 Subject: [PATCH 07/15] =?UTF-8?q?=E5=A4=9A=E4=BD=99=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sso-login.html | 108 --------------------------------------- 1 file changed, 108 deletions(-) delete mode 100644 src/views/sso-login.html diff --git a/src/views/sso-login.html b/src/views/sso-login.html deleted file mode 100644 index fc2380a4..00000000 --- a/src/views/sso-login.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - Sa-Token-SSO-Client端-登录页 - - - - - - - - - - From 06dfcb2dd02e54022b720a57252d831af0b1d66d Mon Sep 17 00:00:00 2001 From: jiangyy Date: Fri, 10 Jun 2022 09:16:54 +0800 Subject: [PATCH 08/15] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E4=BA=BA=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E9=9C=80=E6=B1=82=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shequzhili/event copy/cpts/process-form-demand.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/modules/shequzhili/event copy/cpts/process-form-demand.vue b/src/views/modules/shequzhili/event copy/cpts/process-form-demand.vue index adc0abe1..3f0f0728 100644 --- a/src/views/modules/shequzhili/event copy/cpts/process-form-demand.vue +++ b/src/views/modules/shequzhili/event copy/cpts/process-form-demand.vue @@ -52,7 +52,7 @@ - Date: Fri, 10 Jun 2022 14:04:31 +0800 Subject: [PATCH 09/15] =?UTF-8?q?=E9=9F=B3=E9=A2=91=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scss/modules/visual/incident-info.scss | 24 +- .../shequzhili/event copy/cpts/add.vue | 757 ------------------ .../event copy/cpts/event-detail.vue | 350 -------- .../shequzhili/event copy/cpts/event-info.vue | 624 --------------- .../event copy/cpts/process-form-demand.vue | 665 --------------- .../event copy/cpts/process-form-project.vue | 603 -------------- .../event copy/cpts/process-form-replay.vue | 236 ------ .../event copy/cpts/process-form.vue | 236 ------ .../shequzhili/event copy/eventList.vue | 663 --------------- .../shequzhili/event/cpts/event-detail.vue | 4 +- .../modules/shequzhili/event/eventList.vue | 2 +- .../shijianchuli/event-info.vue | 10 +- 12 files changed, 23 insertions(+), 4151 deletions(-) delete mode 100644 src/views/modules/shequzhili/event copy/cpts/add.vue delete mode 100644 src/views/modules/shequzhili/event copy/cpts/event-detail.vue delete mode 100644 src/views/modules/shequzhili/event copy/cpts/event-info.vue delete mode 100644 src/views/modules/shequzhili/event copy/cpts/process-form-demand.vue delete mode 100644 src/views/modules/shequzhili/event copy/cpts/process-form-project.vue delete mode 100644 src/views/modules/shequzhili/event copy/cpts/process-form-replay.vue delete mode 100644 src/views/modules/shequzhili/event copy/cpts/process-form.vue delete mode 100644 src/views/modules/shequzhili/event copy/eventList.vue diff --git a/src/assets/scss/modules/visual/incident-info.scss b/src/assets/scss/modules/visual/incident-info.scss index 1ca5a43a..ed3aacad 100644 --- a/src/assets/scss/modules/visual/incident-info.scss +++ b/src/assets/scss/modules/visual/incident-info.scss @@ -103,17 +103,7 @@ .info-content { margin: 20px 0; } - .info-pics { - display: flex; - margin: 20px 0; - img { - display: block; - width: 32%; - height: 90px; - margin-right: 9px; - object-fit: cover; - } - } + .info-prop { position: relative; @@ -144,6 +134,18 @@ border-radius: 3px; margin-right: 10px; } + + .info-pics { + display: flex; + margin: 20px 0; + img { + display: block; + width: 32%; + height: 90px; + margin-right: 9px; + object-fit: cover; + } + } } } diff --git a/src/views/modules/shequzhili/event copy/cpts/add.vue b/src/views/modules/shequzhili/event copy/cpts/add.vue deleted file mode 100644 index ffa69e7a..00000000 --- a/src/views/modules/shequzhili/event copy/cpts/add.vue +++ /dev/null @@ -1,757 +0,0 @@ - - - - - - - diff --git a/src/views/modules/shequzhili/event copy/cpts/event-detail.vue b/src/views/modules/shequzhili/event copy/cpts/event-detail.vue deleted file mode 100644 index c24ccba6..00000000 --- a/src/views/modules/shequzhili/event copy/cpts/event-detail.vue +++ /dev/null @@ -1,350 +0,0 @@ - - - - - diff --git a/src/views/modules/shequzhili/event copy/cpts/event-info.vue b/src/views/modules/shequzhili/event copy/cpts/event-info.vue deleted file mode 100644 index 79a35d6a..00000000 --- a/src/views/modules/shequzhili/event copy/cpts/event-info.vue +++ /dev/null @@ -1,624 +0,0 @@ - - - - - diff --git a/src/views/modules/shequzhili/event copy/cpts/process-form-demand.vue b/src/views/modules/shequzhili/event copy/cpts/process-form-demand.vue deleted file mode 100644 index 3f0f0728..00000000 --- a/src/views/modules/shequzhili/event copy/cpts/process-form-demand.vue +++ /dev/null @@ -1,665 +0,0 @@ - - - - - - - - - - diff --git a/src/views/modules/shequzhili/event copy/cpts/process-form-project.vue b/src/views/modules/shequzhili/event copy/cpts/process-form-project.vue deleted file mode 100644 index 58e96624..00000000 --- a/src/views/modules/shequzhili/event copy/cpts/process-form-project.vue +++ /dev/null @@ -1,603 +0,0 @@ - - - - - - - - - - diff --git a/src/views/modules/shequzhili/event copy/cpts/process-form-replay.vue b/src/views/modules/shequzhili/event copy/cpts/process-form-replay.vue deleted file mode 100644 index 461aeb07..00000000 --- a/src/views/modules/shequzhili/event copy/cpts/process-form-replay.vue +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - - - - diff --git a/src/views/modules/shequzhili/event copy/cpts/process-form.vue b/src/views/modules/shequzhili/event copy/cpts/process-form.vue deleted file mode 100644 index 754af4c7..00000000 --- a/src/views/modules/shequzhili/event copy/cpts/process-form.vue +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - - - - diff --git a/src/views/modules/shequzhili/event copy/eventList.vue b/src/views/modules/shequzhili/event copy/eventList.vue deleted file mode 100644 index 6f0556be..00000000 --- a/src/views/modules/shequzhili/event copy/eventList.vue +++ /dev/null @@ -1,663 +0,0 @@ - - - - - diff --git a/src/views/modules/shequzhili/event/cpts/event-detail.vue b/src/views/modules/shequzhili/event/cpts/event-detail.vue index 13709ebd..2158a7bd 100644 --- a/src/views/modules/shequzhili/event/cpts/event-detail.vue +++ b/src/views/modules/shequzhili/event/cpts/event-detail.vue @@ -31,9 +31,9 @@ class="info-prop"> 语音: diff --git a/src/views/modules/shequzhili/event/eventList.vue b/src/views/modules/shequzhili/event/eventList.vue index 2664af1d..fd1f74c0 100644 --- a/src/views/modules/shequzhili/event/eventList.vue +++ b/src/views/modules/shequzhili/event/eventList.vue @@ -169,7 +169,7 @@ width="80" label="音频">