From c63b364c9410a64b6b7fc2498010d6854499fa02 Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Mon, 19 Jul 2021 16:26:56 +0800
Subject: [PATCH 1/8] commit
---
.../standardForComments/pags/consultationDetails.vue | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue
index 2be14000d..1167efc10 100644
--- a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue
+++ b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue
@@ -42,20 +42,24 @@
From 41cd49ee036d60e466cdc3f035ebb3d17f6df2e5 Mon Sep 17 00:00:00 2001
From: super_liu <396572590@qq.com>
Date: Mon, 19 Jul 2021 16:28:09 +0800
Subject: [PATCH 2/8] =?UTF-8?q?feat:=20=E9=A6=96=E9=A1=B5=E6=A0=87?=
=?UTF-8?q?=E5=87=86=E5=8F=91=E5=B8=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/home1/components/release/index.vue | 7 +++----
src/pages/home1/index.vue | 20 +++++++++++++++++++-
2 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/src/pages/home1/components/release/index.vue b/src/pages/home1/components/release/index.vue
index ae97964bb..1e38acb4f 100644
--- a/src/pages/home1/components/release/index.vue
+++ b/src/pages/home1/components/release/index.vue
@@ -46,12 +46,11 @@ export default {
//获取数据
getAdvice() {
let obj = {}
- obj.msgType = 'RESOURCE'
- obj.rowLimit = 8
- this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', obj, {
+ obj.limit = 8
+ this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoByList', obj, {
_this: this
}, res => {
- this.standardReleaseList = res.data.list
+ this.standardReleaseList = res.data
}, e => {
})
},
diff --git a/src/pages/home1/index.vue b/src/pages/home1/index.vue
index 7d097d8de..f8b5613b0 100644
--- a/src/pages/home1/index.vue
+++ b/src/pages/home1/index.vue
@@ -110,7 +110,25 @@ export default {
})
},
MORE() {
- this.$router.push({name: 'standardForComments'})
+ switch (this.activeName) {
+ case 'solicitOpinions':
+ this.$router.push({name: 'standardForComments'})
+ break
+ case 'release':
+ this.$confirm('请选择国内/海外标准', {
+ confirmButtonText: '国内标准',
+ cancelButtonText: '海外标准',
+ type: 'warning',
+ center: true
+ }).then(() => {
+ this.$router.push({name: 'domesticStandardsAndRegulations'})
+ }).catch(() => {
+ this.$router.push({name: 'foreignStandardsAndRegulations'})
+ });
+ break
+ default:
+ break
+ }
}
},
}
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 3/8] =?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 4/8] 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 5/8] =?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 6/8] =?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 7/8] =?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 8/8] =?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 }}