-
-
+
+
-
+
@@ -132,6 +132,14 @@ export default {
partCode: '',
content: '',
},
+ opinionContentRules: {
+ partCode: [
+ { required: true, message: '请输入章节编号', trigger: 'blur' },
+ ],
+ content: [
+ { required: true, message: '请输入修改意见内容(包括理由或依据)', trigger: 'blur' }
+ ],
+ },
standinfoList: [], // 详情列表
form: {
cid: this.$route.query.item.cid,
@@ -228,32 +236,36 @@ export default {
},
//点击抽屉按钮提交事件
saveUserInfo() {
- var url = ''
- var form = {
- cid: this.$route.query.item.cid,
- content: this.opinionContent.content,
- partCode: this.opinionContent.partCode,
- userId: this.$store.getters.userInfo.userId,
- userName: this.$store.getters.userInfo.account,
- deptName: this.$store.getters.userInfo.orgName,
- deptId: this.$store.getters.userInfo.orgId
- }
- if (this.type === 'edit') {
- form.id = this.id
- form.autUserId = this.$store.getters.userInfo.userId
- url = 'slrs/sar-public-idea-all/updateStand'
- } else {
- url = 'slrs/sar-public-idea-all/insetStand'
- }
- this.$http.post(url, form, {
- _this: this
- }, res => {
- if (res.respCode === '200') {
- this.form.page = 1
- this.getList()
- }
+ this.$refs['formAdd'].validate((valid) => {
+ if (valid) {
+ var url = ''
+ var form = {
+ cid: this.$route.query.item.cid,
+ content: this.opinionContent.content,
+ partCode: this.opinionContent.partCode,
+ userId: this.$store.getters.userInfo.userId,
+ userName: this.$store.getters.userInfo.account,
+ deptName: this.$store.getters.userInfo.orgName,
+ deptId: this.$store.getters.userInfo.orgId
+ }
+ if (this.type === 'edit') {
+ form.id = this.id
+ form.autUserId = this.$store.getters.userInfo.userId
+ url = 'slrs/sar-public-idea-all/updateStand'
+ } else {
+ url = 'slrs/sar-public-idea-all/insetStand'
+ }
+ this.$http.post(url, form, {
+ _this: this
+ }, res => {
+ if (res.respCode === '200') {
+ this.form.page = 1
+ this.getList()
+ }
+ })
+ this.isDialog = false
+ }
})
- this.isDialog = false
},
//点击抽屉按钮取消事件
closeDrawer() {
diff --git a/src/router/index.js b/src/router/index.js
index 99a83b87c..d46cfc24f 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -591,6 +591,15 @@ const routes = [
title: '标准征求意见流程'
}
},
+ {
+ path: '/bzzqyjStep1-1',
+ name: 'bzzqyjStep1-1',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue'),
+ meta: {
+ requireAuth: true,
+ title: '标准征求意见流程'
+ }
+ },
{
path: '/bzzqyjStep2',
name: 'bzzqyjStep2',
From 677dc31b815feb612f97a0a347f8256466cae25f Mon Sep 17 00:00:00 2001
From: fanlin
Date: Tue, 27 Jul 2021 10:07:28 +0800
Subject: [PATCH 3/3] =?UTF-8?q?bug:=20=20=E5=9B=BD=E5=86=85=E5=A4=96?=
=?UTF-8?q?=E6=A0=87=E5=87=86=E6=B3=95=E8=A7=84=EF=BC=8C=E7=BC=96=E8=BE=91?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=89=8B=E5=8A=A8=E6=9F=A5=E6=89=BE=EF=BC=8C?=
=?UTF-8?q?=E7=82=B9=E5=87=BB=E9=87=8D=E7=BD=AE=E6=8C=89=E9=92=AE=E5=90=8E?=
=?UTF-8?q?=EF=BC=8C=E5=88=97=E8=A1=A8=E6=95=B0=E6=8D=AE=E6=95=B0=E9=87=8F?=
=?UTF-8?q?=E5=8F=98=E5=B0=91=E4=BA=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/CustomFormComponents/InputForStandards.vue | 2 +-
.../CustomFormComponents/InputForStandardsForForeign.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/CustomFormComponents/InputForStandards.vue b/src/components/CustomFormComponents/InputForStandards.vue
index 0afef8433..3b9d5a974 100644
--- a/src/components/CustomFormComponents/InputForStandards.vue
+++ b/src/components/CustomFormComponents/InputForStandards.vue
@@ -361,7 +361,7 @@ export default {
page: 1,
pageSize: this.$store.getters.userInfo.configContent,
total: 0,
- standType: 'INLAND',
+ standType: 'ALL',
quoteIdList: '',
validFlag: '0'
}
diff --git a/src/components/CustomFormComponents/InputForStandardsForForeign.vue b/src/components/CustomFormComponents/InputForStandardsForForeign.vue
index 08d4408ee..303fce717 100644
--- a/src/components/CustomFormComponents/InputForStandardsForForeign.vue
+++ b/src/components/CustomFormComponents/InputForStandardsForForeign.vue
@@ -329,7 +329,7 @@ export default {
page: 1,
pageSize: this.$store.getters.userInfo.configContent,
total: 0,
- standType: 'FOREIGN',
+ standType: 'ALL',
quoteIdList: '',
validFlag: '0'
}