From b12cb8a491844304605a91dc357acff856437214 Mon Sep 17 00:00:00 2001 From: Jaunty <15613469426@163.com> Date: Mon, 12 Jul 2021 17:53:03 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E9=93=BE=E6=8E=A5=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/config/pages/linkManage/index.vue | 240 ++++++-------------- 1 file changed, 71 insertions(+), 169 deletions(-) diff --git a/src/pages/config/pages/linkManage/index.vue b/src/pages/config/pages/linkManage/index.vue index 969a74df0..df2ef0f22 100644 --- a/src/pages/config/pages/linkManage/index.vue +++ b/src/pages/config/pages/linkManage/index.vue @@ -8,11 +8,11 @@ @click="addLink" v-btn-permission="'980cb239683de9e29ee5335cec98e5b4'" size="mini">新增 - - - - - + 顺序调整
- + + + + + { + if (res.ok) { + }else { + this.$message.warning(res.message) + } + }) + }, //头部删除按钮 - deleteAllLink(row) { + deleteAllLink() { + this.selectId=[] + for (var i=0;i { if (res.ok) { this.$message.success('删除成功') this.getLink() + }else { + this.$message.warning(res.message) } }) } @@ -310,9 +207,8 @@ this.$refs['sarStandardsInfoForm'].validate((valid) => { if (valid) { if (this.type === 1) { - this.$http.post('sarUrl/tsUrl/add', { - name: this.sarStandardsInfoEO.name, - url: this.sarStandardsInfoEO.url, + this.$http.postData('/sarUrl/tsUrl/add', { + ...this.sarStandardsInfoEO, }, { _this: this, loading: 'Loading' @@ -326,7 +222,8 @@ } }) } else { - this.$http.put('sarUrl/tsUrl/edit', { + // 编辑 + this.$http.putData('/sarUrl/tsUrl/edit', { id: this.editId, name: this.sarStandardsInfoEO.name, url: this.sarStandardsInfoEO.url, @@ -365,10 +262,15 @@ deleteLink (row) { this.$http.delete('sarUrl/tsUrl/delete', { id: row.id - }, {}, res => { + }, { + _this: this, + loading: 'Loading' + }, res => { if (res.ok) { this.$message.success('删除成功') this.getLink() + }else { + this.$message.warning(res.message) } }) }, @@ -379,7 +281,7 @@ this.editId = row.id this.sarStandardsInfoEO.name = row.name this.sarStandardsInfoEO.url = row.url - this.sarStandardsInfoEO.orderBy = row.orderBy + this.sarStandardsInfoEO.sortId = row.sortId this.dialogTitle = '修改链接' this.modalshowflag = true }, @@ -391,12 +293,12 @@ // 获取链接数据 getLink () { - this.$http.get('sarUrl/tsUrl', {}, { - _this: this, - loading: 'Loading' - }, res=> { - this.data = res.data - console.log(data); + this.$http.get('sarUrl/tsUrl', { + }, { + _this: this, + loading: 'Loading' + }, res=> { + this.linkList = res.data }) }, }, @@ -407,14 +309,14 @@ \ No newline at end of file From 46d2d874948a28aedb1d19e7ab1b68165a17b94f Mon Sep 17 00:00:00 2001 From: Jaunty <15613469426@163.com> Date: Tue, 13 Jul 2021 14:02:04 +0800 Subject: [PATCH 02/13] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9=EF=BC=8C=E6=A0=87?= =?UTF-8?q?=E5=87=86=E6=B3=95=E8=A7=84=E7=9A=84=E6=96=B0=E5=A2=9E=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E6=90=9C=E7=B4=A2=E6=8E=A5=E5=8F=A3=E6=9A=82=E6=97=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home1/components/empennage/index.vue | 42 +- .../pages/creatProcess/bzqdfb/step1.vue | 1 - .../pages/addEdit.vue | 1195 +++++++++++------ .../pages/details.vue | 3 - .../domesticStandardsAndRegulations/index.vue | 2 - .../components/ProcessFooter.vue | 324 +++++ .../components/ProcessHeader.vue | 89 ++ .../components/ProcessTitle.vue | 32 + .../localProductsOrProjectLibrary/index.vue | 22 - .../pages/details.vue | 594 +++++--- 10 files changed, 1647 insertions(+), 657 deletions(-) create mode 100644 src/pages/regulatoryRepository/localProductsOrProjectLibrary/components/ProcessFooter.vue create mode 100644 src/pages/regulatoryRepository/localProductsOrProjectLibrary/components/ProcessHeader.vue create mode 100644 src/pages/regulatoryRepository/localProductsOrProjectLibrary/components/ProcessTitle.vue diff --git a/src/pages/home1/components/empennage/index.vue b/src/pages/home1/components/empennage/index.vue index 7779c5cf0..fc4e71fc0 100644 --- a/src/pages/home1/components/empennage/index.vue +++ b/src/pages/home1/components/empennage/index.vue @@ -2,8 +2,8 @@ @@ -148,36 +205,21 @@ name: "bzjdStep3", data() { return { + sarType: '', itemList: [], loading: false, commentText: '', taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, - roleRow: {}, - nodeList: [], - type: '', - defaultProps: { - children: 'children', - label: 'name' - }, - treeData: [], // 人员数据 - modalshowflag: false, // drawer开关 - drawerTitle: '', //drawer标题 textarea: '', // 意见 - ListModel: false, // 新增编辑抽屉开关 active: '1', // 默认显示 isSubmit: false, saveLoading: false, form: { - number: '', // 编号 - name: '', // 结束日期 - zxUserId: '', - zxUserIdName: '' - }, - formRules: { - zxUserId: [ - { required: true, message: '请选择执行人', trigger: 'change' }, - ] + number: '', + name: '', + number1: '', + name1: '' }, json: {} } @@ -189,36 +231,6 @@ }, methods: { handleSelectionChange () {}, - saveUserInfo () { - var idList = '' - var nameList = '' - this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes()).forEach( item => { - if (nameList.length > 0) { - nameList += ',' - idList += ',' - } - idList += item.id - nameList += item.name - }) - this.form.zxUserId = idList - this.form.zxUserIdName = nameList - this.modalshowflag = false - }, - cancleUserInfo () { - this.modalshowflag = false - }, - choiceZRR () { - this.nodeList = [] - if (this.form.zxUserId.length > 0) { - this.nodeList = this.form.zxUserId.split(',') - } - this.modalshowflag = true - }, - getTree () { - this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { - this.treeData = res.data - }) - }, handleTabs(name) { this.active = name }, @@ -261,15 +273,20 @@ let data = JSON.parse(res.mesg) this.form.number = data.number this.form.name = data.name + this.form.number1 = data.number1 + this.form.name1 = data.name1 + this.sarType = data.standInData this.json = data this.itemList = JSON.parse(data.itemList) + this.itemList.forEach( item => { + item.deptName = this.$store.getters.userInfo.orgName + }) }).catch(e => { }) }) }, }, mounted () { - this.getTree() this.getData() } } From 1f05451a701130d24cb07da3d45f95007677ab45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Fri, 16 Jul 2021 14:02:04 +0800 Subject: [PATCH 08/13] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B8=85=E5=8D=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzqdfb/step1.vue | 114 ++++++++++++++++-- .../pages/creatProcess/xmpg/step1.vue | 14 ++- .../page/listOfCountries.vue | 1 - src/sysConfig/index.js | 2 +- 4 files changed, 116 insertions(+), 15 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue index b356531af..a3b48f73e 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue @@ -145,6 +145,7 @@ prop="code" fixed="left" width="180px" + align="center" label="标准号">