From a4049c3e38fb32249c1eb9e83c0fd270ded1ad9a Mon Sep 17 00:00:00 2001
From: zqx0221 <2119066161@qq.com>
Date: Mon, 19 Jul 2021 15:58:58 +0800
Subject: [PATCH 01/13] =?UTF-8?q?fix:=E6=8A=80=E6=9C=AF=E8=AF=84=E4=BC=B0?=
=?UTF-8?q?=E7=BB=93=E6=9E=9C=E7=9A=84=E6=B8=85=E7=A9=BA=E6=8C=89=E9=92=AE?=
=?UTF-8?q?=E6=97=A0=E4=BD=9C=E7=94=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/standInvolveProjectDetail.vue | 1 +
.../pages/technologyInvolveProject.vue | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue
index 887a57d07..38125f7aa 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue
@@ -293,6 +293,7 @@ export default {
this.sarProject.country = ''
this.sarProject.standCode=''
this.sarProject.standName = ''
+ this.sarProject.standNumber=''
this.queryStandAndLaws()
}, // 外层清空条件查询
handleProjectCompliance (row) {
diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue
index daf87f17a..cbdf615b8 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue
@@ -264,6 +264,7 @@ name: "technologyInvolveProject",
this.sarProject.country = ''
this.sarProject.standCode=''
this.sarProject.standName = ''
+ this.sarProject.standNumber=''
this.queryStandAndLaws()
}, // 外层清空条件查询
handleProjectCompliance (row) {
From b4581b973392bfc9dc11c44e82f6ba48c280401d Mon Sep 17 00:00:00 2001
From: zqx0221 <2119066161@qq.com>
Date: Mon, 19 Jul 2021 16:34:05 +0800
Subject: [PATCH 02/13] =?UTF-8?q?fix:=E6=9C=BA=E6=9E=84=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=95=B0=E9=87=8F=E5=9B=9E=E6=98=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/config/pages/mechanismManage/index.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/pages/config/pages/mechanismManage/index.vue b/src/pages/config/pages/mechanismManage/index.vue
index a5be0b950..beb4d7667 100644
--- a/src/pages/config/pages/mechanismManage/index.vue
+++ b/src/pages/config/pages/mechanismManage/index.vue
@@ -264,6 +264,7 @@ export default {
item.NameList = NameList
})
this.data = res.data
+ this.total = res.data.length
})
},
pageChange (page) {
From 0898e5c590c0c65f3135cc01f0f60c2379a4a07e Mon Sep 17 00:00:00 2001
From: shen_yan_pu <1975145892@qq.com>
Date: Mon, 19 Jul 2021 16:49:17 +0800
Subject: [PATCH 03/13] =?UTF-8?q?=E6=A0=87=E5=87=86=E6=B3=95=E8=A7=84?=
=?UTF-8?q?=E6=B8=85=E5=8D=95=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../attributeCustom/components/stand.vue | 8 +-
.../config/pages/attributeCustom/index.vue | 4 +-
.../page/listOfCountries.vue | 10 +-
.../page/listOther.vue | 8 +-
.../page/listProject.vue | 10 +-
.../pages/addEdit.vue | 123 +++++++++++++-----
.../pages/details.vue | 6 +-
.../pages/otherAddEit.vue | 79 +++++++++--
.../pages/projectAddEit.vue | 79 +++++++++--
9 files changed, 255 insertions(+), 72 deletions(-)
diff --git a/src/pages/config/pages/attributeCustom/components/stand.vue b/src/pages/config/pages/attributeCustom/components/stand.vue
index ecdc08ebb..364112bcc 100644
--- a/src/pages/config/pages/attributeCustom/components/stand.vue
+++ b/src/pages/config/pages/attributeCustom/components/stand.vue
@@ -2,8 +2,8 @@
- 新增
- 展示区域管理
+ 新增
+ 展示区域管理
数据处理中
@@ -76,8 +76,8 @@
- 编辑
- 删除
+ 编辑
+ 删除
diff --git a/src/pages/config/pages/attributeCustom/index.vue b/src/pages/config/pages/attributeCustom/index.vue
index b07ad6d53..20a4f0102 100644
--- a/src/pages/config/pages/attributeCustom/index.vue
+++ b/src/pages/config/pages/attributeCustom/index.vue
@@ -6,11 +6,11 @@
-
+
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
index 138c08178..cb381e056 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
@@ -117,7 +117,7 @@
}}
-
@@ -126,7 +126,7 @@
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
}}
-
+ -->
{
this.sarAccessListDatas = res.data.records;
+ this.sarAccessListDatas.forEach(item => {
+ this.$set(item,'relateFile','')
+ })
this.sarAccessListTotal = res.data.total
}, e => {
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue
index 2bcab6947..403e5e87a 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue
@@ -108,7 +108,7 @@
}}
-
@@ -117,14 +117,14 @@
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
}}
-
+ -->
- {{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD hh:mm:ss') : scope.row.updateTime }}
+ {{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime }}
-
@@ -118,14 +118,14 @@
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
}}
-
+ -->
- {{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD hh:mm:ss') : scope.row.updateTime }}
+ {{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime }}
-
+
+ prop="issueTime"
+ align="center"
+ width="180px"
+ label="英文名称">
+ prop="issueTime"
+ align="center"
+ width="180px"
+ label="适用车型">
+ prop="issueTime"
+ align="center"
+ width="180px"
+ label="能源类型">
+ prop="issueTime"
+ sortable
+ align="center"
+ width="210px"
+ label="标准实施日期">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
上移
下移
@@ -484,7 +537,7 @@ export default {
type: '',
relateFile: '',
remark: '', // 清单说明
- applicationScope: '' //适用领域
+ // applicationScope: '' //适用领域
},
fileInfoList: [], // 上传的附件
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
@@ -525,7 +578,7 @@ export default {
sarAccessInfoSearch: {
id: '',
countryArea: '', // 国家
- applicationScope: '', //适用区域
+ // applicationScope: '', //适用区域
keywords: '', // 关键字
detailedListName: '', //清单名称
applyArctic: '', // 能源种类
@@ -790,6 +843,7 @@ export default {
uploadBackSuccess (res, file, fileList) {
if (res.ok) {
this.fileInfoList = fileList
+ console.log(this.fileInfoList)
this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id
this.$message.success('上传成功')
} else {
@@ -1122,7 +1176,7 @@ export default {
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
sarAccessEO.inforlist = JSON.stringify(rowlist)
sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
- sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
+ // sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
// 判断是否有附件
if (this.fileInfoList.length > 0) {
let relateFile = []
@@ -1130,6 +1184,7 @@ export default {
relateFile.push(item.id)
})
sarAccessEO.relateFile = relateFile.join(',')
+ console.log(sarAccessEO.relateFile)
}
if (!sarAccessEO.id) {
// 新增
@@ -1140,10 +1195,15 @@ export default {
loading: 'loadData'
}, res => {
if (res.ok) {
+ this.$message.success('新增成功')
this.isNext = true
this.$router.push({
- name: 'AccessStandardsAndRegulations'
+ name: 'AccessStandardsAndRegulations',
+ query: {
+ relateFile: sarAccessEO.relateFile
+ }
})
+ console.log(sarAccessEO)
}
}, e => {
})
@@ -1154,6 +1214,7 @@ export default {
loading: 'loadData'
}, res => {
if (res.ok) {
+ this.$message.success('编辑成功')
this.isNext = true
this.$router.push({
name: 'AccessStandardsAndRegulations'
@@ -1376,8 +1437,8 @@ export default {
this.sarAccessInfoList.push(nowstandinfo)
this.sarAccessInfoList[this.sarAccessInfoList.length - 1].uuid = this.number
this.number++
- this.isSubmit = false
this.$message.success('添加成功')
+ this.isSubmit = false
} else {
this.sarAccessInfoList.map((item, index) => {
if (item.uuid === nowstandinfo.uuid) {
@@ -1678,7 +1739,7 @@ export default {
this.$nextTick(() => {
this.sarAccessEO.type = accessRow.type
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
- this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
+ // this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
this.sarAccessEO.detailedListName = accessRow.detailedListName
this.sarAccessEO.id = accessRow.id
this.sarAccessEO.remark = accessRow.remark || ''
@@ -1768,4 +1829,4 @@ export default {
margin: 2px;
}
}
-
\ No newline at end of file
+
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
index 644a3cbf6..ff7774729 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
@@ -26,13 +26,13 @@
title="下载"
@click="downloadFile(item.id)"
class="icon-download"
- v-btn-permission="'E5QPKLR9CFVXTV64N32C'"
+ v-btn-permission="''"
/>
@@ -452,6 +452,7 @@ export default {
},
// 请求上传的文件信息
getFileInfo() {
+ console.log(this.sarAccessEO)
this.$http.get("att/attFile/getMultiFileInfos", {
fileIds: this.sarAccessEO.relateFile
}, {
@@ -564,6 +565,7 @@ export default {
mounted() {
this.$nextTick(() => {
let accessRow = JSON.parse(sessionStorage.getItem("accessRow"));
+ console.log(accessRow)
this.pageId = accessRow.id
this.sarAccessEO = accessRow;
this.selectInfobyAccid();
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue
index aece23601..e2308f462 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue
@@ -13,7 +13,7 @@
-
+
+ align="center"
+ width="180px"
+ label="英文名称">
+
+
+
+
+ align="center"
+ width="210px"
+ label="标准实施日期">
+
+
+
+
+ width="180px"
+ align="center"
+ label="适用产品线">
+
+
+
+
+
+
@@ -469,7 +522,7 @@ export default {
type: '',
relateFile: '',
remark: '', // 清单说明
- applicationScope: '' //适用领域
+ // applicationScope: '' //适用领域
},
fileInfoList: [], // 上传的附件
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
@@ -510,7 +563,7 @@ export default {
sarAccessInfoSearch: {
id: '',
countryArea: '', // 国家
- applicationScope: '', //适用区域
+ // applicationScope: '', //适用区域
keywords: '', // 关键字
detailedListName: '', //清单名称
applyArctic: '', // 能源种类
@@ -1107,7 +1160,7 @@ export default {
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
sarAccessEO.inforlist = JSON.stringify(rowlist)
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
- sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
+ // sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
// 判断是否有附件
if (this.fileInfoList.length > 0) {
let relateFile = []
@@ -1125,6 +1178,7 @@ export default {
loading: 'loadData'
}, res => {
if (res.ok) {
+ this.$message.success('新增成功')
this.isNext = true
this.$router.push({
name: 'AccessStandardsAndRegulations'
@@ -1139,6 +1193,7 @@ export default {
loading: 'loadData'
}, res => {
if (res.ok) {
+ this.$message.success('编辑成功')
this.isNext = true
this.$router.push({
name: 'AccessStandardsAndRegulations'
@@ -1669,7 +1724,7 @@ export default {
this.$nextTick(() => {
this.sarAccessEO.type = accessRow.type
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
- this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
+ // this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
this.sarAccessEO.detailedListName = accessRow.detailedListName
this.sarAccessEO.id = accessRow.id
this.sarAccessEO.remark = accessRow.remark || ''
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
index 7b9220a28..ebe26cb48 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
@@ -13,7 +13,7 @@
-
+
+ align="center"
+ width="180px"
+ label="英文名称">
+
+
+
+
+ align="center"
+ width="210px"
+ label="标准实施日期">
+
+
+
+
+ width="180px"
+ align="center"
+ label="适用产品线">
+
+
+
+
+
+
@@ -469,7 +522,7 @@ export default {
type: '',
relateFile: '',
remark: '', // 清单说明
- applicationScope: '' //适用领域
+ // applicationScope: '' //适用领域
},
fileInfoList: [], // 上传的附件
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
@@ -510,7 +563,7 @@ export default {
sarAccessInfoSearch: {
id: '',
countryArea: '', // 国家
- applicationScope: '', //适用区域
+ // applicationScope: '', //适用区域
keywords: '', // 关键字
detailedListName: '', //清单名称
applyArctic: '', // 能源种类
@@ -1108,7 +1161,7 @@ export default {
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
sarAccessEO.inforlist = JSON.stringify(rowlist)
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
- sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
+ // sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
// 判断是否有附件
if (this.fileInfoList.length > 0) {
let relateFile = []
@@ -1126,6 +1179,7 @@ export default {
loading: 'loadData'
}, res => {
if (res.ok) {
+ this.$message.success('新增成功')
this.isNext = true
this.$router.push({
name: 'AccessStandardsAndRegulations'
@@ -1140,6 +1194,7 @@ export default {
loading: 'loadData'
}, res => {
if (res.ok) {
+ this.$message.success('编辑成功')
this.isNext = true
this.$router.push({
name: 'AccessStandardsAndRegulations'
@@ -1670,7 +1725,7 @@ export default {
this.$nextTick(() => {
this.sarAccessEO.type = accessRow.type
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
- this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
+ // this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
this.sarAccessEO.detailedListName = accessRow.detailedListName
this.sarAccessEO.id = accessRow.id
this.sarAccessEO.remark = accessRow.remark || ''
From a76a1ab869d5af8554ca3c97a5d2ae60b0ce029c Mon Sep 17 00:00:00 2001
From: fanlin
Date: Mon, 19 Jul 2021 17:15:28 +0800
Subject: [PATCH 04/13] bug
---
.../details/otherStandardDetails/index.vue | 20 ++++++-
.../pages/creatProcess/bzrk/step1.vue | 57 ++++++++++++-------
.../domesticStandardsAndRegulations/index.vue | 46 +++++++++++----
.../foreignStandardsAndRegulations/index.vue | 43 +++++++++-----
4 files changed, 119 insertions(+), 47 deletions(-)
diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue
index c82632dd1..97452ae8a 100644
--- a/src/pages/details/otherStandardDetails/index.vue
+++ b/src/pages/details/otherStandardDetails/index.vue
@@ -52,7 +52,7 @@
- {{ sarStandardsInfoEO.textStatus || '-' }}
+ {{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}
{{ sarStandardsInfoEO.issueTime || '-' }}
{{sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-'}}
@@ -136,6 +136,13 @@
{{ '-' }}
+
+ {{ child.value ? child.value.substring(0,10) : '-' }}
+
{
+ this.$set(this.textStatusMap, item.value, item.label)
+ })
+ console.log(this.textStatusMap, '文本状态的值')
+ },
statusClick () {
let routeUrl = this.$router.resolve({
name: 'standInvolveProjectTwo',
@@ -2614,6 +2629,7 @@ export default {
this.emergyKindOptions = res.data.ENERGYTYPES
this.requestOptions = res.data.REQUESTTYPE
this.BZFGGXOUIUJ = res.data.BZFGGXOUIUJ // 企标覆盖关系
+ this.setMap(res.data.WBZTCLASS) // 文本状态
}, e => {
})
Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then((values) => {
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
index 72064daeb..bbf7f36b9 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
@@ -532,11 +532,15 @@
>
-
+
+
+
@@ -1244,15 +1248,15 @@
// 适用范围
txlb: '', // 体系类别
gkdw: '', // 归口管理部门
- qcdw: '', // 起草单位
- wssmr: '', // 我司署名人
+ qcdw: [], // 起草单位
+ wssmr: [], // 我司署名人
cysd: '', // 我司参与深度
- cllx: '', // 适用车型
- nylx: '',// 能源类型
- sycpx: '',// 适用产品线
- syrz: '', // 适用认证
- zrbm: '', // 责任部门
- zrgcs: '', // 责任工程师
+ cllx: [], // 适用车型
+ nylx: [],// 能源类型
+ sycpx: [],// 适用产品线
+ syrz: [], // 适用认证
+ zrbm: [], // 责任部门
+ zrgcs: [], // 责任工程师
cycvppsbm: '', // 关联模块--乘用车VPPS编码
cycvppscn: '', // 关联模块--乘用车vpps中文名称
kccvppsbm: '', // 关联模块--卡车VPPS编码
@@ -1334,6 +1338,7 @@
sycpxOptions: [], // 适用产品线
zrbmOptions: [], // 责任部门
zrgcsOptions: [], // 责任工程师
+ qcdwOption: [], // 起草单位
txlbOptions: [], // 体系类别
data: [], // 标准列表数据
ListForm: {}, // 新增数据
@@ -1446,15 +1451,15 @@
// 适用范围
txlb: '', // 体系类别
gkdw: '', // 归口管理部门
- qcdw: '', // 起草单位
- wssmr: '', // 我司署名人
+ qcdw: [], // 起草单位
+ wssmr: [], // 我司署名人
cysd: '', // 我司参与深度
- cllx: '', // 适用车型
- nylx: '',// 能源类型
- sycpx: '',// 适用产品线
- syrz: '', // 适用认证
- zrbm: '', // 责任部门
- zrgcs: '', // 责任工程师
+ cllx: [], // 适用车型
+ nylx: [],// 能源类型
+ sycpx: [],// 适用产品线
+ syrz: [], // 适用认证
+ zrbm: [], // 责任部门
+ zrgcs: [], // 责任工程师
cycvppsbm: '', // 关联模块--乘用车VPPS编码
cycvppscn: '', // 关联模块--乘用车vpps中文名称
kccvppsbm: '', // 关联模块--卡车VPPS编码
@@ -1491,6 +1496,14 @@
console.log(bringData)
const json = Object.assign(bringData, bringData.attrInfoCaseMap);
this.form = JSON.parse(JSON.stringify(json))
+ this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw.split(',')
+ this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr.split(',')
+ this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs.split(',')
+ this.form.zrbm = JSON.parse(JSON.stringify(json)).zrbm.split(',')
+ this.form.syrz = JSON.parse(JSON.stringify(json)).syrz.split(',')
+ this.form.sycpx = JSON.parse(JSON.stringify(json)).sycpx.split(',')
+ this.form.nylx = JSON.parse(JSON.stringify(json)).nylx.split(',')
+ this.form.cllx = JSON.parse(JSON.stringify(json)).cllx.split(',')
this.defaultCheckedKeys = [this.form.standSystem];
this.defaultCheckedKeys1 = [this.form.cycvppsbm];
this.defaultCheckedKeys2 = [this.form.kccvppsbm];
@@ -2014,7 +2027,7 @@
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
- this.txlbOptions = res.data.TXLBCLASS // 体系类别
+ this.qcdwOption = res.data.QCDW // 体系类别
})
this.busVsFunc()
this.modelFunc()
diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
index 9b46f8ae4..8f86564ea 100644
--- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
@@ -206,10 +206,13 @@
sortable="custom"
width="120px"
label="文本状态">
-
-
- 文本状态
-
+
+
+
+
+
+
+ {{ textStatusMap[scope.row.textStatus] }}
@@ -353,7 +356,7 @@
+ prop="textStatus" label-width="150px" class="add-form-item">
文本状态
-
+
-
+
@@ -648,6 +651,9 @@
label="文本状态"
width="130"
align="center">
+
+ {{ textStatusMap[scope.row.textStatus] }}
+
@@ -847,6 +853,9 @@
label="文本状态"
width="200"
align="center">
+
+ {{ textStatusMap[scope.row.textStatus] }}
+
@@ -1542,6 +1551,12 @@ export default {
standSort: [
{required: true, message: '标准类别不能为空', trigger: 'change'}
],
+ standNature: [
+ {required: true, message: '标准性质不能为空', trigger: 'change'}
+ ],
+ textStatus: [
+ {required: true, message: '文本状态不能为空', trigger: 'change'}
+ ],
standNumber: [
{required: true, type: 'string', message: '标准编号不能为空', trigger: 'change'},
{type: 'string', max: 100, message: '标准编号不能超过100个字符', trigger: 'change'},
@@ -1717,7 +1732,8 @@ export default {
orgData: [],
delLoading: false,
standState: '',
- orderBy :''
+ orderBy :'',
+ textStatusMap: {} // 文本状态id与name对应
}
},
methods: {
@@ -2123,7 +2139,8 @@ export default {
},
remove(node, data) {
- this.$confirm('是否删除菜单?', '提示', {
+ //通过 stahndinfoList 是否有数据进行判断
+ this.$confirm(this.stahndinfoList.length > 0 ? '该节点下有记录,是否删除?' : '是否删除菜单', '提示', {
confirmButtonText: '确定',
confirmButtonClass: 'common-button-primary',
cancelButtonText: '取消',
@@ -4011,6 +4028,13 @@ export default {
break
}
}
+ },
+ // 将文本状态的id与name对应
+ setMap(data){
+ data.forEach(item => {
+ this.$set(this.textStatusMap, item.value, item.label)
+ })
+ console.log(this.textStatusMap, '文本状态的值')
}
},
computed: {
@@ -4061,6 +4085,8 @@ export default {
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
this.getGzzOption()
+ this.setMap(this.standStateOptions)
+ console.log(this.standStateOptions, '文本状态')
}, e => {
})
this.getDomesticStandardTable(this.tableFlag)
diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
index 12f3fabf4..27831533d 100644
--- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
@@ -77,19 +77,18 @@
+ 查询
+ @click="clearAllSearch('standCommonlySearch')">清空
高级查询
@@ -198,14 +197,17 @@
-
-
- 标准状态
-
+ label="文本状态">
+
+
+
+
+
+
+ {{ textStatusMap[scope.row.textStatus] }}
@@ -697,10 +699,13 @@
align="center">
+
+ {{ textStatusMap[scope.row.textStatus] }}
+
@@ -895,10 +900,13 @@
+
+ {{ textStatusMap[scope.row.textStatus] }}
+
@@ -1094,6 +1102,7 @@ export default {
},
data () {
return {
+ textStatusMap: {}, // 文本状态id与name对应
treeList: [],
props: {
label: 'menuName',
@@ -1713,6 +1722,13 @@ export default {
watch: {
},
methods: {
+ // 将文本状态的id与name对应
+ setMap(data){
+ data.forEach(item => {
+ this.$set(this.textStatusMap, item.value, item.label)
+ })
+ console.log(this.textStatusMap, '文本状态的值')
+ },
popoverHideBusVs (checkedIds, checkedData) {
if(checkedData){
this.sarStandardsInfoEO.CYCVPPSBM = checkedData.code
@@ -3944,6 +3960,7 @@ export default {
this.categoryConfigOptions = res.data.CATEGORY
this.standAttributeList = res.data.RULETYPE
this.getGzzOption()
+ this.setMap(this.standStateOptions)
}, e => {
})
this.getDomesticStandardTable()
From fddba323f3913c9c879d591ddce2f8127667a43d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com>
Date: Mon, 19 Jul 2021 17:23:46 +0800
Subject: [PATCH 05/13] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E8=AF=84=E4=BC=B0?=
=?UTF-8?q?=E6=B5=81=E7=A8=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/xmpg/step1.vue | 133 +++++++++++-------
.../pages/creatProcess/xmpg/step2.vue | 6 +-
.../pages/creatProcess/xmpg/step3.vue | 10 +-
.../pages/creatProcess/xmpg/step4.vue | 14 +-
.../pages/creatProcess/xmpg/step5.vue | 15 +-
.../pages/creatProcess/xmpg/step6.vue | 6 +
.../pages/creatProcess/xmpg/step7.vue | 6 +
7 files changed, 128 insertions(+), 62 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
index 2b2e53f35..1d0ddabe1 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
@@ -163,41 +163,51 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+ 清空
+
+
+
+
{
if (valid) {
this.$refs['roleForm'].validate((valid) => {
@@ -660,7 +683,7 @@ export default {
}, {
_this: this
}, res => {
- console.log(res.data);
+ console.log(res)
this.listForm.breakdownList = res.data;
this.ListModel = false;
}, e => {
@@ -733,22 +756,24 @@ export default {
});
},
//获取标准数据
- getStandData() {
- this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", {
+ getStandData(){
+ this.$http.post('SarStandItems/sar-stand-items/findStand',{
page: this.page,
- pageSize: this.pageSize,
- }, {
- _this: this
+ size: this.pageSize,
+ ...this.standardSearch,
+ },{
+ _this: this,
}, res => {
- this.sarAccessListDatas = res.data.list;
- this.total = res.data.count;
+ this.sarAccessListDatas = res.records;
+ this.total = res.total
}, e => {
- });
+
+ })
},
clearSearch() {
- this.sarSarAccessEOSearch = {
+ this.standardSearch = {
standName: "",
- standNumber: ""
+ standType:"",
};
this.getStandData();
},
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue
index 5d6473957..54a8b1904 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue
@@ -241,7 +241,8 @@ export default {
id: "",
itemsName: "",
itemsNum: "",
- responsibleUnit: "",
+ responsibleUnit: "", //责任部门
+ responsibleEngineer: "", //责任工程师
standId: "",
svpps: ""
}],
@@ -316,6 +317,7 @@ export default {
*/
getFormFieldList (item) {
this.$nextTick(() => {
+ console.log(item.dataList)
this.listForm = JSON.parse(JSON.stringify(item))
this.listForm.prcNum = this.prcNum
this.listForm.prcName = this.prcName
@@ -323,6 +325,7 @@ export default {
this.listForm.dataList = item.dataList
this.dataList = item.dataList
this.dataList.distributePerson = item.dataList[0].distributePerson
+ this.listForm.breakdownList = item.breakdownList
})
},
@@ -342,6 +345,7 @@ export default {
this.listForm.standId = this.listForm.standId;
this.listForm.passFlag = '1';
this.listForm.signFlag = "";
+ this.listForm.breakdownList = this.listForm.breakdownList
const json = JSON.stringify(this.listForm);
this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds,
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
index bb12060ab..d7405a97f 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
@@ -101,11 +101,17 @@
prop="xCXSSRQ"
align="center"
label="新车型实施日期">
+
+ {{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}
+
+
+ {{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}
+
+
+ {{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}
+
+
+ {{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}
+
+
+ {{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}
+
+
+ {{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}
+
{
this.listForm = JSON.parse(JSON.stringify(item))
this.listForm.prcNum = this.prcNum
this.listForm.prcName = this.prcName
this.listForm['id'] = item.id
this.dataList = item.dataList
+ this.listForm.standName = item.standName
+ this.listForm.standNumber = item.standNumber
+ this.listForm.qualityEngineer = item.qualityEngineer
+ this.listForm.certifiedEngineer = item.certifiedEngineer
+ this.listForm.responsibleUnit = item.responsibleUnit
+ this.listForm.responsibleEngineer = item.responsibleEngineer
})
},
@@ -446,7 +458,6 @@ export default {
handleSubmit() {
this.listForm.applyUpdUserId = this.dataList[0].distributePersonId
this.listForm.commentText = this.commentText;
- this.listForm.standId = this.listForm.standId;
this.listForm.fenFlag = "1";
this.listForm.dataList = this.dataList
const json = JSON.stringify(this.listForm);
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
index e31352c56..70e1d284e 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
@@ -107,12 +107,18 @@
width="200"
align="center"
label="新车型实施日期">
+
+ {{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}
+
+
+ {{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}
+
+
+ {{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}
+
+
+ {{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}
+
Date: Mon, 19 Jul 2021 17:40:52 +0800
Subject: [PATCH 06/13] =?UTF-8?q?=E6=A0=87=E5=87=86=E6=B3=95=E8=A7=84?=
=?UTF-8?q?=E6=B8=85=E5=8D=95=E6=96=B0=E5=A2=9E=E7=BC=96=E8=BE=91=E5=AD=97?=
=?UTF-8?q?=E6=95=B0=E9=99=90=E5=88=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../accessStandardsAndRegulations/pages/addEdit.vue | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
index 31d926fe8..b077e7fbe 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
@@ -552,6 +552,9 @@ export default {
detailedListName: [
{required: true, message: '清单名称不能为空', trigger: 'blur'},
{type: 'string', max: 100, message: '表单名称不能超过100个字符', trigger: 'blur'}
+ ],
+ remark: [
+ {required: true,type: 'string', max: 500, message: '表单名称不能超过500个字符', trigger: 'blur'}
]
},
disabledFlag: false,
From 7a7dbc1149ca470b55a15b7700825ad4d22e6658 Mon Sep 17 00:00:00 2001
From: yangzijiao
Date: Mon, 19 Jul 2021 17:47:06 +0800
Subject: [PATCH 07/13] =?UTF-8?q?=E6=A0=87=E5=87=86=E6=B3=95=E8=A7=84?=
=?UTF-8?q?=E6=B8=85=E5=8D=95=E7=BC=96=E8=BE=91=E5=AD=97=E6=95=B0=E9=99=90?=
=?UTF-8?q?=E5=88=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../accessStandardsAndRegulations/pages/projectAddEit.vue | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
index ebe26cb48..567cf4556 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
@@ -532,7 +532,8 @@ export default {
{required: true, message: '国内/海外不能为空', trigger: 'change'}
],
projectName: [
- {required: true, message: '项目名称不能为空', trigger: 'change'}
+ {required: true, message: '项目名称不能为空', trigger: 'blur'},
+ {type: 'string', max: 100, message: '表单名称不能超过100个字符', trigger: 'blur'}
],
detailedListName: [
{required: true, message: '清单名称不能为空', trigger: 'blur'},
From 6f391017fef231eb344903486eb211201e0b826a Mon Sep 17 00:00:00 2001
From: shen_yan_pu <1975145892@qq.com>
Date: Tue, 20 Jul 2021 09:19:08 +0800
Subject: [PATCH 08/13] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=9B=B4=E6=96=B0?=
=?UTF-8?q?=E6=97=B6=E9=97=B4=E6=8E=92=E5=BA=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../accessStandardsAndRegulations/page/listOfCountries.vue | 6 +-----
.../accessStandardsAndRegulations/page/listOther.vue | 1 -
.../accessStandardsAndRegulations/page/listProject.vue | 1 -
3 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
index cb381e056..901e6f816 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
@@ -130,7 +130,6 @@
{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD hh:mm:ss') : scope.row.updateTime }}
@@ -268,10 +267,7 @@ export default {
}, {
_this: this
}, res => {
- this.sarAccessListDatas = res.data.records;
- this.sarAccessListDatas.forEach(item => {
- this.$set(item,'relateFile','')
- })
+ this.sarAccessListDatas = res.data.records
this.sarAccessListTotal = res.data.total
}, e => {
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue
index 403e5e87a..f168e45d8 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue
@@ -121,7 +121,6 @@
{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime }}
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue
index 168e3110f..6c669dccf 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue
@@ -122,7 +122,6 @@
{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime }}
From cabe3cf6c1f9b5e6b5a155de2b88ad3b44fc2fee Mon Sep 17 00:00:00 2001
From: shen_yan_pu <1975145892@qq.com>
Date: Tue, 20 Jul 2021 10:20:44 +0800
Subject: [PATCH 09/13] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=96=AD=E7=82=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../accessStandardsAndRegulations/pages/projectAddEit.vue | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
index 567cf4556..214ba8390 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
@@ -1151,7 +1151,6 @@ export default {
},
// 提交按钮 事件
saveSarAccess () {
- alert()
this.$refs['sarAccessForm'].validate((valid) => {
if (valid) {
let rowlist = []
From c3eb45833725b923b2898b151124b6b884166e97 Mon Sep 17 00:00:00 2001
From: shen_yan_pu <1975145892@qq.com>
Date: Tue, 20 Jul 2021 11:17:33 +0800
Subject: [PATCH 10/13] =?UTF-8?q?=E6=A0=87=E5=87=86=E6=B8=85=E5=8D=95?=
=?UTF-8?q?=E7=9A=84=E4=B8=8B=E8=BD=BD=E5=9B=9E=E6=98=BE=EF=BC=8C=E4=B8=8A?=
=?UTF-8?q?=E4=BC=A0=EF=BC=8C=E5=AF=BC=E5=87=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../page/listOfCountries.vue | 3 ++-
.../accessStandardsAndRegulations/pages/addEdit.vue | 13 ++++---------
.../accessStandardsAndRegulations/pages/details.vue | 8 ++++----
3 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
index 901e6f816..3b853fd65 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
@@ -345,7 +345,8 @@ export default {
this.$router.push({
name: "ListOfStandardsAndRegulationsDetails",
query: {
- id: item.id
+ id: item.id,
+ fileIds: item.fileIds
}
});
}
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
index b077e7fbe..cd0df1460 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
@@ -532,6 +532,7 @@ export default {
id: '',
sortKey: 1,
countryArea: '',
+ fileIds: '',
detailedListName: '',
energyKind: '',
type: '',
@@ -846,7 +847,6 @@ export default {
uploadBackSuccess (res, file, fileList) {
if (res.ok) {
this.fileInfoList = fileList
- console.log(this.fileInfoList)
this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id
this.$message.success('上传成功')
} else {
@@ -1186,8 +1186,7 @@ export default {
this.fileInfoList.map(item => {
relateFile.push(item.id)
})
- sarAccessEO.relateFile = relateFile.join(',')
- console.log(sarAccessEO.relateFile)
+ sarAccessEO.fileIds = relateFile.join(',')
}
if (!sarAccessEO.id) {
// 新增
@@ -1201,12 +1200,8 @@ export default {
this.$message.success('新增成功')
this.isNext = true
this.$router.push({
- name: 'AccessStandardsAndRegulations',
- query: {
- relateFile: sarAccessEO.relateFile
- }
+ name: 'AccessStandardsAndRegulations'
})
- console.log(sarAccessEO)
}
}, e => {
})
@@ -1604,7 +1599,7 @@ export default {
// 请求上传的文件信息
getFileInfo () {
this.$http.get('att/attFile/getMultiFileInfos', {
- fileIds: this.sarAccessEO.relateFile
+ fileIds: this.$route.query.fileIds
}, {
_this: this
}, res => {
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
index ff7774729..fbc1048fe 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
@@ -21,7 +21,7 @@
+ :key="item.id"> {{ item.name }}
import { interfaceUrl } from "@/sysConfig";
+import { exportFile } from '@/api/unqualProcess'
export default {
name: "AccessStandardDetails",
@@ -452,9 +453,8 @@ export default {
},
// 请求上传的文件信息
getFileInfo() {
- console.log(this.sarAccessEO)
this.$http.get("att/attFile/getMultiFileInfos", {
- fileIds: this.sarAccessEO.relateFile
+ fileIds: this.sarAccessEO.fileIds
}, {
_this: this
}, res => {
@@ -474,7 +474,7 @@ export default {
},
// 附件下载事件
fileDownLoad(attId) {
- window.location.href = "/api/att/attFile/downloadFile?fileId=" + attId;
+ window.location.href = "/api/att/attFile/downloadFile?fileId=" + attId
},
// 点击查看
handlePreview(item) {
From d680b991b073f188427e20c1d07fc8d21f66021d Mon Sep 17 00:00:00 2001
From: yangzijiao
Date: Tue, 20 Jul 2021 13:24:20 +0800
Subject: [PATCH 11/13] =?UTF-8?q?=E8=A7=92=E8=89=B2=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E3=80=81=E6=A0=87=E5=87=86=E5=86=85=E5=AE=B9=E8=87=AA=E5=8A=A8?=
=?UTF-8?q?=E8=AF=86=E5=88=AB=E3=80=81=E6=A0=87=E5=87=86=E6=B8=85=E5=8D=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/config/pages/roleManage/index.vue | 30 +++++++++++++++++--
.../localTool/standardRecognition/index.vue | 7 +++--
.../pages/addEdit.vue | 4 +--
3 files changed, 33 insertions(+), 8 deletions(-)
diff --git a/src/pages/config/pages/roleManage/index.vue b/src/pages/config/pages/roleManage/index.vue
index fb7287909..cc91e1c98 100644
--- a/src/pages/config/pages/roleManage/index.vue
+++ b/src/pages/config/pages/roleManage/index.vue
@@ -71,6 +71,9 @@
prop="useFlag"
label="角色状态"
width="170px">
+
+ {{ scope.row.useFlag===0?'禁用':'启用' }}
+
+
+
+
+
+
+
@@ -243,7 +257,8 @@ export default {
SuperiorRoleModel: false,
addFormRules: {
name: [
- { required: true, message: '请输入角色名称', trigger: 'blur' }
+ { required: true, message: '请输入角色名称', trigger: 'blur' },
+ {type: 'string', max: 100, message: '角色名称不能超过100个字符', trigger: 'blur'}
]
},
addForm: {
@@ -251,8 +266,19 @@ export default {
parentId: '', // 上级ID
remarks: '', // 角色描述
parent: '',
+ useFlag: '',
id: ''
},
+ options: [
+ {
+ value: "0",
+ label: "禁用",
+ },
+ {
+ value: "1",
+ label: "启用",
+ }
+ ],
addModel: false,
treeData3: [],
defaultProps3: {
diff --git a/src/pages/localTool/standardRecognition/index.vue b/src/pages/localTool/standardRecognition/index.vue
index ccc4f7be3..f4ece4368 100644
--- a/src/pages/localTool/standardRecognition/index.vue
+++ b/src/pages/localTool/standardRecognition/index.vue
@@ -259,10 +259,10 @@ export default {
},
],
fileType: [
- { required: true, message: "文本状态称不能为空", trigger: "blur" },
+ { required: true, message: "文本状态称不能为空", trigger: "change" },
],
fileName: [
- { required: true, message: '文件不能为空', trigger: 'blur' }
+ { required: true, message: '文件不能为空', trigger: 'change' }
]
},
options: [
@@ -515,7 +515,8 @@ export default {
message: "文件上传成功",
type: "success",
});
- // this.$refs['uploadFilesdfEo'].resetFields()
+ this.$refs['uploadFilesdfEo'].clearValidate('fileName')
+ this.$refs['uploadFilesdfEo'].clearValidate('standName')
} else {
this.defaultFileList = [];
this.uploadFilesdfEo.attId = "";
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
index b077e7fbe..8f3d3b831 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
@@ -421,6 +421,7 @@
下移
@@ -552,9 +553,6 @@ export default {
detailedListName: [
{required: true, message: '清单名称不能为空', trigger: 'blur'},
{type: 'string', max: 100, message: '表单名称不能超过100个字符', trigger: 'blur'}
- ],
- remark: [
- {required: true,type: 'string', max: 500, message: '表单名称不能超过500个字符', trigger: 'blur'}
]
},
disabledFlag: false,
From 91b9606885251ae93a67de17449bda8606ab41f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com>
Date: Tue, 20 Jul 2021 13:44:48 +0800
Subject: [PATCH 12/13] =?UTF-8?q?=E8=AF=84=E4=BC=B0=E6=B5=81=E7=A8=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/components/ProcessMixin.vue | 2 +-
.../pages/creatProcess/bzqdfb/step1.vue | 118 ++++++++++++------
.../pages/creatProcess/xmpg/step1.vue | 58 +++++----
.../pages/creatProcess/xmpg/step2.vue | 2 -
.../pages/creatProcess/xmpg/step3.vue | 70 ++++++-----
.../pages/creatProcess/xmpg/step4.vue | 1 -
.../pages/creatProcess/xmpg/step5.vue | 4 -
.../pages/creatProcess/xmpg/step6.vue | 5 +-
.../pages/creatProcess/xmpg/step7.vue | 3 -
9 files changed, 154 insertions(+), 109 deletions(-)
diff --git a/src/pages/processCenter/pages/components/ProcessMixin.vue b/src/pages/processCenter/pages/components/ProcessMixin.vue
index bd5db2fb6..ac50a05da 100644
--- a/src/pages/processCenter/pages/components/ProcessMixin.vue
+++ b/src/pages/processCenter/pages/components/ProcessMixin.vue
@@ -26,7 +26,7 @@ export default {
},
{
label: '项目合规评估流程',
- value: '7'
+ value: '5'
},
{
label: '未符合项整改流程',
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue
index 10019cd87..b4173dcee 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue
@@ -67,48 +67,48 @@
clearable
>
-
-
-
- {{ listForm.modelName }}
-
-
-
- 点击上传
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+ 点击上传
+
+
+
+
是
@@ -1111,6 +1111,46 @@ export default {
fileUpload () {
this.fileMadel = true
},
+ // 上传文件成功回调
+ uploadBackSuccess (res, file, fileList) {
+ console.log(file);
+ console.log(fileList)
+ if (res.ok) {
+ this.fileInfoList = fileList
+ this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id
+ this.$message.success('上传成功')
+ } else {
+ this.$message.error(res.message)
+ fileList.pop()
+ }
+ },
+ // 相关附件 上传之前钩子
+ beforeUpload (file) {
+ var filename = file.name
+ var index1 = filename.lastIndexOf('.')
+ var index2 = filename.length
+ var fileSuffix = filename.substring(index1, index2)
+ // const fileSuffix = file.name.split('.')[1] // 后缀名
+ //把后缀转大写
+ if(fileSuffix !== undefined && fileSuffix !== null){
+ fileSuffix = fileSuffix.toUpperCase()
+ }
+ // 判断上传文件格式
+ if (fileSuffix === '.PDF' || fileSuffix === '.DOC' || fileSuffix === '.DOCX' || fileSuffix === '.PPT'
+ || fileSuffix === '.PPTX'|| fileSuffix === '.XLS'|| fileSuffix === '.XLSX'
+ || fileSuffix === '.PNG'|| fileSuffix === '.JPG'|| fileSuffix === '.JPEG') {
+ return true
+ } else {
+ this.$message.error('文件' + file.name + '格式不正确,请上传pdf、doc、docx、ppt、pptx、xls、xlsx、png、jpg、jpeg等文件')
+ return false
+ }
+ // 判断文件上传大小
+ if (file.size / 1024 / 1024 > 300) {
+ this.$message.warning('文件' + file.name + '大小不能超过300M')
+ return false
+ }
+ return true
+ },
// 点击查看
handlePreview (item) {
let routeUrl = this.$router.resolve({
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
index 1d0ddabe1..d06cd4287 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
@@ -629,42 +629,49 @@ export default {
},
//提交事件
handleSubmit() {
- var json = Object.assign(this.listForm, this.roleForm)
- json.prcCreateUser = this.$store.getters.userInfo.userId;
- json.prcCreateUserName = this.$store.getters.userInfo.account;
- json.standId = this.listForm.standId;
- json.XCXSSRQ = this.sarAccessListDatas[0].xcxssrqgj
- json.ZCCSSRQ = this.sarAccessListDatas[0].zccssrqgj
- this.$refs['listForm'].validate((valid) => {
- if (valid) {
- this.$refs['roleForm'].validate((valid) => {
+ this.dataList.forEach(item => {
+ if(item.distributePerson === '' || item.distributePerson === null || item.distributePerson === undefined){
+ this.$message.warning('请选择分发责任人')
+ } else {
+ var json = Object.assign(this.listForm, this.roleForm)
+ json.prcCreateUser = this.$store.getters.userInfo.userId;
+ json.prcCreateUserName = this.$store.getters.userInfo.account;
+ json.standId = this.listForm.standId;
+ json.XCXSSRQ = this.sarAccessListDatas[0].xcxssrqgj
+ json.ZCCSSRQ = this.sarAccessListDatas[0].zccssrqgj
+ this.$refs['listForm'].validate((valid) => {
if (valid) {
- this.$http.get("lawss/activiti/startProcess", { type: "5" }, {
- _this: this
- }, res => {
- if (res.ok) {
- this.$http.post("lawss/activiti/completeTask", {
- taskIds: res.data,
- userId: this.$store.getters.userInfo.userId,
- json: JSON.stringify(json)
- }, {
+ this.$refs['roleForm'].validate((valid) => {
+ if (valid) {
+ this.$http.get("lawss/activiti/startProcess", { type: "5" }, {
_this: this
}, res => {
- if (res.success) {
- this.$message.success(res.message);
- this.$router.push("/processCenter");
+ if (res.ok) {
+ this.$http.post("lawss/activiti/completeTask", {
+ taskIds: res.data,
+ userId: this.$store.getters.userInfo.userId,
+ json: JSON.stringify(json)
+ }, {
+ _this: this
+ }, res => {
+ if (res.success) {
+ this.$message.success(res.message);
+ this.$router.push("/processCenter");
+ }
+ });
}
});
+ } else {
+ return this.$message.warning("请完善人员信息");
}
});
} else {
- return this.$message.warning("请完善人员信息");
+ return this.$message.warning("请完善基础信息");
}
});
- } else {
- return this.$message.warning("请完善基础信息");
}
- });
+ })
+
},
//选择拆分标准取消事件
closeDrawer() {
@@ -683,7 +690,6 @@ export default {
}, {
_this: this
}, res => {
- console.log(res)
this.listForm.breakdownList = res.data;
this.ListModel = false;
}, e => {
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue
index 54a8b1904..99f9a2305 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue
@@ -303,7 +303,6 @@ export default {
taskIds: this.taskIds,
pId: this.pId
}).then(res => {
- console.log(res.mesg);
if (res) {
const processForm = JSON.parse(res.mesg)
this.getFormFieldList(processForm)
@@ -317,7 +316,6 @@ export default {
*/
getFormFieldList (item) {
this.$nextTick(() => {
- console.log(item.dataList)
this.listForm = JSON.parse(JSON.stringify(item))
this.listForm.prcNum = this.prcNum
this.listForm.prcName = this.prcName
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
index d7405a97f..188a4aa17 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
@@ -364,7 +364,6 @@ export default {
taskIds: this.taskIds,
pId: this.pId
}).then(res => {
- console.log(res.mesg);
if (res) {
const processForm = JSON.parse(res.mesg);
this.getFormFieldList(processForm);
@@ -386,6 +385,7 @@ export default {
for (let i = 0; i < item.pepdtos.length; i++) {
for (let j = 0; j < item.pepdtos[i].breakdownList.length; j++) {
this.listForm.breakdownList.push({
+ itemId: new Date().getTime(),
itemsName: item.pepdtos[i].breakdownList[j].itemsName,
itemNum: item.pepdtos[i].breakdownList[j].itemsNum,
responsibleEngineer: item.pepdtos[i].breakdownList[j].responsibleEngineer,
@@ -406,14 +406,23 @@ export default {
zCCSSRQ: item.pepdtos[i].zCCSSRQ,
});
}
- console.log(item.pepdtos);
}
},
saveUserInfo() {
if (this.type === "implementer") {
+ // 如果有勾选的项
+ if (this.selectList.length) {
+ this.listForm.breakdownList.forEach((item, index) => {
+ if (this.selectList.includes(item.itemId)) {
+ this.listForm.breakdownList[index].implementerId = this.roleRow.id;
+ this.listForm.breakdownList[index].implementer = this.roleRow.name;
+ }
+ })
+ } else {
+ this.listForm.breakdownList[this.dsadadadsada].implementerId = this.roleRow.id;
+ this.listForm.breakdownList[this.dsadadadsada].implementer = this.roleRow.name;
+ }
this.listForm.implementer = this.roleRow.name;
- this.listForm.breakdownList[this.dsadadadsada].implementerId = this.roleRow.id;
- this.listForm.breakdownList[this.dsadadadsada].implementer = this.roleRow.name;
this.showColumn = false;
this.$nextTick(() => {
this.showColumn = true;
@@ -443,28 +452,34 @@ export default {
},
//提交事件
handleSubmit() {
- this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
- this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
- this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
- this.listForm.zrUserId = this.$store.getters.userInfo.userId;
- this.listForm.commentText = this.commentText;
- this.listForm.approvalOpinion = "";
- this.listForm.signFlag = "";
- const json = JSON.stringify(this.listForm.breakdownList);
- this.$http.post("lawss/activiti/completeTask", {
- taskIds: this.taskIds,
- userId: this.userId,
- json: json
- }, {
- _this: this
- }, res => {
- if (res.success) {
- this.$message.success(res.message);
- this.$router.push("/processCenter");
- }
- }, e => {
+ this.listForm.breakdownList.forEach(item => {
+ if(item.implementer === null || item.implementer === '' || item.implementer === undefined){
+ this.$message.warning('请选择落实人')
+ } else {
+ this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
+ this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
+ this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
+ this.listForm.zrUserId = this.$store.getters.userInfo.userId;
+ this.listForm.commentText = this.commentText;
+ this.listForm.approvalOpinion = "";
+ this.listForm.signFlag = "";
+ const json = JSON.stringify(this.listForm.breakdownList);
+ this.$http.post("lawss/activiti/completeTask", {
+ taskIds: this.taskIds,
+ userId: this.userId,
+ json: json
+ }, {
+ _this: this
+ }, res => {
+ if (res.success) {
+ this.$message.success(res.message);
+ this.$router.push("/processCenter");
+ }
+ }, e => {
- });
+ });
+ }
+ })
},
drawerCheck(data) {
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
@@ -477,10 +492,7 @@ export default {
},
//标准表格选择框改变
selectStandChange(data) {
- this.selectList = [];
- for (let i = 0; i < data.length; i++) {
- this.selectList.push(data[i].id);
- }
+ this.selectList = data.map(item => item.itemId)
},
selectThree() {
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue
index f371c800c..86f172357 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue
@@ -477,7 +477,6 @@ export default {
taskIds: this.taskIds,
pId: this.pId
}).then(res => {
- console.log(res.mesg);
if (res) {
const processForm = JSON.parse(res.mesg)
this.getFormFieldList(processForm)
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue
index adfeab03e..148f74c19 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue
@@ -419,7 +419,6 @@ export default {
taskIds: this.taskIds,
pId: this.pId
}).then(res => {
- console.log(res.mesg);
if (res) {
const processForm = JSON.parse(res.mesg)
this.getFormFieldList(processForm)
@@ -432,7 +431,6 @@ export default {
* @description: 动态表单读取
*/
getFormFieldList (item) {
- console.log(item);
this.$nextTick(() => {
this.listForm = JSON.parse(JSON.stringify(item))
this.listForm.prcNum = this.prcNum
@@ -461,7 +459,6 @@ export default {
this.listForm.fenFlag = "1";
this.listForm.dataList = this.dataList
const json = JSON.stringify(this.listForm);
- console.log(json);
this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds,
userId: this.userId,
@@ -504,7 +501,6 @@ export default {
mounted() {
this.processTable()
this.getData()
- // console.log(this.$store.getters.getHandleInfo);
}
};
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
index 70e1d284e..7673280e2 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
@@ -419,7 +419,6 @@ export default {
taskIds: this.taskIds,
pId: this.pId
}).then(res => {
- console.log(res.mesg);
if (res) {
const processForm = JSON.parse(res.mesg)
this.getFormFieldList(processForm)
@@ -432,13 +431,12 @@ export default {
* @description: 动态表单读取
*/
getFormFieldList (item) {
- console.log(item);
this.$nextTick(() => {
this.listForm = JSON.parse(JSON.stringify(item))
this.listForm.prcNum = this.prcNum
this.listForm.prcName = this.prcName
this.listForm['id'] = item.id
- this.dataList = item.step3DTOS
+ this.dataList = item.dataList
this.listForm.standName = item.step3DTOS[0].standName
this.listForm.standNumber = item.step3DTOS[0].standNumber
this.listForm.qualityEngineer = item.step3DTOS[0].qualityEngineer
@@ -503,7 +501,6 @@ export default {
mounted() {
this.processTable()
this.getData()
- // console.log(this.$store.getters.getHandleInfo);
}
};
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step7.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step7.vue
index cb0061ad1..93f152f05 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step7.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step7.vue
@@ -419,7 +419,6 @@ export default {
taskIds: this.taskIds,
pId: this.pId
}).then(res => {
- console.log(res.mesg);
if (res) {
const processForm = JSON.parse(res.mesg)
this.getFormFieldList(processForm)
@@ -432,7 +431,6 @@ export default {
* @description: 动态表单读取
*/
getFormFieldList (item) {
- console.log(item.dataList);
this.$nextTick(() => {
this.listForm = JSON.parse(JSON.stringify(item))
this.listForm.prcNum = this.prcNum
@@ -501,7 +499,6 @@ export default {
mounted() {
this.processTable()
this.getData()
- // console.log(this.$store.getters.getHandleInfo);
}
};
From 6b2edd514efd14e23f03f2af6357ced5b7883e01 Mon Sep 17 00:00:00 2001
From: shen_yan_pu <1975145892@qq.com>
Date: Tue, 20 Jul 2021 16:37:28 +0800
Subject: [PATCH 13/13] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=E7=9A=84=E5=AD=97=E6=AE=B5=E5=9B=9E=E6=98=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../page/listOfCountries.vue | 14 ++++
.../page/listOther.vue | 3 +-
.../page/listProject.vue | 3 +-
.../pages/addEdit.vue | 70 ++++++++++++++---
.../pages/details.vue | 76 +++++++++++++++----
.../pages/otherAddEit.vue | 73 ++++++++++++++----
.../pages/projectAddEit.vue | 73 ++++++++++++++----
7 files changed, 257 insertions(+), 55 deletions(-)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
index 3b853fd65..b505cde78 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
@@ -86,6 +86,12 @@
prop="countryArea"
label="国家/地区"
align="center">
+
+
+ {{ scope.row.countryArea }}
+
+ {{ countryAreaMap[scope.row.countryArea] }}
+
{
+ this.$set(this.countryAreaMap, item.value, item.label)
+ })
}
},
mounted() {
@@ -359,6 +372,7 @@ export default {
_this: this
}, res => {
this.countryOptions = res.data.COUNTRY;
+ this.setMap(this.countryOptions)
}, e => {
});
}
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue
index f168e45d8..a2ca95cd1 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOther.vue
@@ -352,7 +352,8 @@ export default {
this.$router.push({
name: "OtherAddEit",
query: {
- id: item.id
+ id: item.id,
+ fileIds: item.fileIds
}
});
}
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue
index 6c669dccf..505201a52 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listProject.vue
@@ -355,7 +355,8 @@ export default {
this.$router.push({
name: "ProjectAddEit",
query: {
- id: item.id
+ id: item.id,
+ fileIds: item.fileIds
}
});
}
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
index 22dd24b43..fe74d634f 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
@@ -242,6 +242,9 @@
prop="textStatus"
width="120px"
label="文本状态">
+
+ {{ textStatusMap[scope.row.textStatus] }}
+
+
+ {{ typeApplicableMap[scope.row.typeApplicable] }}
+
+
+ {{ nylxMap[scope.row.nylx] }}
+
+
+ {{ zrbmMap[scope.row.zrbm] }}
+
+
+ {{ sycpxMap[scope.row.sycpx] }}
+
+
+
-
+
{
})
+ },
+ // 将文本状态的id与name对应
+ setMap(data){
+ data.forEach(item => {
+ this.$set(this.textStatusMap, item.value, item.label)
+ this.$set(this.typeApplicableMap, item.value, item.label)
+ this.$set(this.nylxMap, item.value, item.label)
+ this.$set(this.zrbmMap, item.value, item.label)
+ this.$set(this.sycpxMap, item.value, item.label)
+ })
}
},
watch: {
@@ -1725,6 +1762,15 @@ export default {
this.ROLELIST = res.data.ROLELIST
this.GXHBQOptions = res.data.GXHBQXX
this.askNatureOptions = res.data.ACCESSTYPE
+ this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
+ this.categoryOptions = res.data.NYLXCLASS // 能源类型
+ this.textStatusOptions = res.data.WBZTCLASS
+ this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
+ this.setMap(this.textStatusOptions)
+ this.setMap(this.zrbmOptions)
+ this.setMap(this.categoryOptions)
+ this.setMap(this.sycpxOptions)
+ this.setMap(this.energyKindOptions)
this.getGzzOption()
}, e => {
})
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
index fbc1048fe..2699627a3 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
@@ -11,7 +11,10 @@
- {{ sarAccessEO.countryArea }}
+
+ {{ sarAccessEO.countryArea }}
+
+ {{ countryAreaMap[sarAccessEO.countryArea] }}
@@ -124,31 +127,35 @@
+
+ {{ typeApplicableMap[scope.row.typeApplicable] }}
+
+
+ {{ nylxMap[scope.row.nylx] }}
+
+
+ {{ zrbmMap[scope.row.zrbm] }}
+
+
+ {{ sycpxMap[scope.row.sycpx] }}
+
+
+
@@ -251,12 +271,17 @@