From 76d4cf782e118fae34a6f04784c71f80a0f98337 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com>
Date: Fri, 13 Aug 2021 21:34:18 +0800
Subject: [PATCH 1/7] commit
---
.../processCenter/pages/creatProcess/bzqdfb/step1-1.vue | 2 +-
.../processCenter/pages/creatProcess/bzqdfb/step1-3.vue | 2 +-
.../processCenter/pages/creatProcess/bzqdfb/step1.vue | 6 +++++-
.../processCenter/pages/creatProcess/bzqdfb/step3.vue | 2 +-
.../processCenter/pages/creatProcess/wfhxzg/step1.vue | 4 ++--
.../processCenter/pages/creatProcess/xmpg/step1-1.vue | 2 +-
.../processCenter/pages/creatProcess/xmpg/step1.vue | 2 +-
.../processCenter/pages/creatProcess/xmpg2/step1.vue | 9 +++++++--
.../processCenter/pages/creatProcess/xmpg2/step5.vue | 1 +
.../accessStandardsAndRegulations/pages/addEdit.vue | 4 ++--
.../accessStandardsAndRegulations/pages/otherAddEit.vue | 4 ++--
.../pages/projectAddEit.vue | 4 ++--
.../localProductsOrProjectLibrary/pages/details.vue | 7 ++++++-
13 files changed, 32 insertions(+), 17 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-1.vue
index b5a354cbf..f914cb989 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-1.vue
@@ -1035,7 +1035,7 @@ export default {
this.selectList.map(item => {
let index;
index = this.dataList.findIndex(items => {
- return items.id = item;
+ return items.id === item;
});
if (index > -1) {
this.dataList.splice(index, 1);
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue
index 7551a83f2..29e3b1b73 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1-3.vue
@@ -595,7 +595,7 @@ export default {
this.selectList.map(item => {
let index;
index = this.dataList.findIndex(items => {
- return items.id = item;
+ return items.id === item;
});
if (index > -1) {
this.dataList.splice(index, 1);
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue
index bb41705bd..d9fbcfd23 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue
@@ -994,6 +994,8 @@ export default {
},
// 点击批量删除事件
deleteList() {
+ console.log(this.selectList);
+ console.log(this.dataList);
if (this.selectList.length < 1) {
this.$message.warning("请选择一条数据进行删除");
} else {
@@ -1007,10 +1009,12 @@ export default {
this.selectList.map(item => {
let index;
index = this.dataList.findIndex(items => {
- return items.id = item;
+ return items.id === item;
});
+ console.log(index);
if (index > -1) {
this.dataList.splice(index, 1);
+ console.log(this.dataList);
}
exits.push(item);
});
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue
index 3fc280f48..04d2e535d 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue
@@ -598,7 +598,7 @@ export default {
this.selectList.map(item => {
let index;
index = this.dataList.findIndex(items => {
- return items.id = item;
+ return items.id === item;
});
if (index > -1) {
this.dataList.splice(index, 1);
diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
index d3f760def..dce75e757 100644
--- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
@@ -394,7 +394,7 @@ export default {
this.deleteDataList.map(item => {
let index;
index = this.dataList.findIndex(items => {
- return items.id = item;
+ return items.id === item;
});
if (index > -1) {
this.dataList.splice(index, 1);
@@ -430,7 +430,7 @@ export default {
this.selectedList.map(item => {
let addList;
addList = this.dataList.findIndex(items => {
- return items.id == item.id
+ return items.id === item.id
})
if(addList > -1){
// this.$refs.accessTypeSelect.clearSelection()
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue
index 454d4c8bc..c38ec4a01 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue
@@ -631,7 +631,7 @@ export default {
this.selectList.map(item => {
let index;
index = this.dataList.findIndex(items => {
- return items.productLine = item;
+ return items.productLine === item;
});
if (index > -1) {
this.dataList.splice(index, 1);
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
index 1d9ea32d5..3f3b33a3b 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
@@ -605,7 +605,7 @@ export default {
this.selectList.map(item => {
let index;
index = this.dataList.findIndex(items => {
- return items.productLine = item;
+ return items.productLine === item;
});
if (index > -1) {
this.dataList.splice(index, 1);
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue
index 296f65bc7..93412800f 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue
@@ -450,8 +450,13 @@ export default {
}, {
_this: this
}, res => {
- this.ProjectDatas = res.data.Maintenance.records;
- this.total = res.data.Maintenance.total;
+ if(res.data === null){
+ this.ProjectDatas = ''
+ this.total = 0
+ }else{
+ this.ProjectDatas = res.data.Maintenance.records;
+ this.total = res.data.Maintenance.total;
+ }
});
},
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue
index d53cb2820..80c2f261d 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue
@@ -421,6 +421,7 @@ export default {
//标准表格选择框改变
selectStandChange(data) {
this.selectList = data;
+ console.log(this.selectList);
},
getTree() {
this.$http.get("SarInstitution/institution/institutionAndUser", {}, {}, res => {
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
index 0b3225713..c591e0cb6 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
@@ -1124,7 +1124,7 @@ export default {
this.selectedAccInfoSearchList.map(item => {
let addList;
addList = this.sarAccessInfoList.findIndex(items => {
- return items.id == item.id
+ return items.id === item.id
})
if(addList > -1){
// this.$refs.accessTypeSelect.clearSelection()
@@ -1211,7 +1211,7 @@ export default {
this.sarAccessInfoListArry.map(item => {
let index
index = this.sarAccessInfoList.findIndex(items => {
- return items.id = item
+ return items.id === item
})
if (index > -1) {
this.sarAccessInfoList.splice(index, 1)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue
index ce62849a4..a3ced34d9 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue
@@ -1093,7 +1093,7 @@ export default {
let addList;
addList = this.sarAccessInfoList.findIndex(items => {
- return items.id == item.id
+ return items.id === item.id
})
if(addList > -1){
// this.$refs.accessTypeSelect.clearSelection()
@@ -1183,7 +1183,7 @@ export default {
this.sarAccessInfoListArry.map(item => {
let index
index = this.sarAccessInfoList.findIndex(items => {
- return items.id = item
+ return items.id === item
})
if (index > -1) {
this.sarAccessInfoList.splice(index, 1)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
index 31fa260f8..ac931a8aa 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
@@ -1092,7 +1092,7 @@ export default {
this.selectedAccInfoSearchList.map(item => {
let addList;
addList = this.sarAccessInfoList.findIndex(items => {
- return items.id == item.id
+ return items.id === item.id
})
if(addList > -1){
// this.$refs.accessTypeSelect.clearSelection()
@@ -1182,7 +1182,7 @@ export default {
this.sarAccessInfoListArry.map(item => {
let index
index = this.sarAccessInfoList.findIndex(items => {
- return items.id = item
+ return items.id === item
})
if (index > -1) {
this.sarAccessInfoList.splice(index, 1)
diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
index 03148760b..3b1616db0 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
@@ -631,7 +631,7 @@ export default {
this.selectList.map(item => {
let index;
index = this.dataList.findIndex(items => {
- return items.id = item;
+ return items.id === item;
});
if (index > -1) {
this.dataList.splice(index, 1);
@@ -743,6 +743,11 @@ export default {
}, {
_this: this
}, res => {
+ if(res.data === null){
+ this.standardData = ''
+ this.totalDo =''
+ this.standModel = true;
+ }
this.standardData = res.data.records
this.totalDo = res.data.total
this.standModel = true;
From 1217719f7aa1619a21cbb430e72242cd8e05f461 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com>
Date: Fri, 13 Aug 2021 23:03:56 +0800
Subject: [PATCH 2/7] =?UTF-8?q?=E9=80=89=E6=8B=A9=E8=B4=A3=E4=BB=BB?=
=?UTF-8?q?=E4=BA=BA=E6=A1=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/xmpg2/step5.vue | 118 ++++++++++--------
1 file changed, 64 insertions(+), 54 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue
index 80c2f261d..2828bd0e0 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue
@@ -44,7 +44,7 @@
-
-
- {{ scope.row.workPeople ? scope.row.workPeople : "" }}
-
+
+
+
+
+
+
+
+
@@ -253,7 +258,8 @@ export default {
detailData: [], //流程历史数据
userId: this.$store.getters.userInfo.userId,
taskIds: this.$route.query.taskIds,
- pId: this.$route.query.prcId
+ pId: this.$route.query.prcId,
+ selectedId:'',
};
},
methods: {
@@ -316,7 +322,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);
@@ -408,20 +413,32 @@ export default {
}, e => {
});
},
- //批量分发按钮
- batchOperation(id) {
- if (this.selectList.length === 0) {
- this.$message.warning("请至少选择一条数据进行批量分发");
- } else {
+ //批量分发按钮
+ choiceZRRS(row, type, index) {
+ this.selectedId=row.id
+ this.type = type;
+ if (type === 1) {
+ this.drawerTitle = "选择责任人";
this.nodeList = [];
- this.nodeList.push(id);
+ this.zrIndex = index;
+ this.zrType = type;
+ this.nodeList.push(row);
this.modalshowflag = true;
+ } else if (type === 2) {
+ // 批量
+ if (this.selectList.length > 0) {
+ this.zrType = type;
+ this.nodeList = [];
+ this.modalshowflag = true;
+ this.drawerTitle = "批量选择责任人";
+ } else {
+ this.$message.warning("请选择要分发的数据");
+ }
}
},
//标准表格选择框改变
selectStandChange(data) {
this.selectList = data;
- console.log(this.selectList);
},
getTree() {
this.$http.get("SarInstitution/institution/institutionAndUser", {}, {}, res => {
@@ -438,47 +455,40 @@ export default {
}
},
checkedRole(data) {
- console.log(data[0].name);
- // 选取负责人时的操作
- let deposit = new Map();
- let mis2 = new Map();
- this.selectList.forEach(item => {
- item.workPeople = data[0].name;
- item.workPeopleId = data[0].id;
- if (item.children) {
- item.children.forEach(items => {
- deposit.set(items.standId, items);
- });
- }
- mis2.set(item.standId, item);
- });
- this.dataList.forEach((item, index) => {
- if (mis2.get(item.standId)) {
- if (item.children) {
- item.children.forEach(i => {
- i.workPeopleId = undefined;
- i.workPeople = undefined;
- });
- } else {
- const newItem = JSON.parse(JSON.stringify(item));
- newItem.workPeopleId = data[0].id;
- newItem.workPeople = data[0].name;
- this.$set(this.dataList, index, newItem);
+ //单选操作
+ if (this.type === 1) {
+ this.dataList.forEach(item => {
+ if(item.children){
+ item.children.forEach(items => {
+ if(items.id === this.selectedId){
+ items.workPeople = data[0].name
+ items.workPeopleId = data[0].id
+ // this.$set(items,'workPeople',data[0].name)
+ //this.$set(items,'workPeopleId',data[0].id)
+ }
+ })
}
- } else {
- if (item.children) {
- item.children.forEach((items, childIndex) => {
- if (deposit.get(items.standId)) {
- const childItems = JSON.parse(JSON.stringify(items));
- childItems.workPeopleId = deposit.get(items.standId).workPeopleId;
- childItems.workPeople = deposit.get(items.standId).workPeople;
- this.$set(this.dataList[index].children, childIndex, childItems);
- }
- });
- }
- }
- });
- this.$refs.myTable.clearSelection();
+ })
+ this.dataList = JSON.parse(JSON.stringify(this.dataList))
+ } else if (this.type === 2) {
+ this.selectList.forEach(item =>{
+ this.dataList.map(items=>{
+ if(item.id==items.id){
+ items.workPeople = data[0].name
+ items.workPeopleId = data[0].id
+ }
+ if(items.children.length){
+ items.children.map(childrenItem=>{
+ if(childrenItem.id==item.id){
+ childrenItem.workPeople = data[0].name
+ childrenItem.workPeopleId = data[0].id
+ }
+ })
+ }
+ })
+ })
+ this.dataList = JSON.parse(JSON.stringify(this.dataList))
+ }
this.modalshowflag = false;
},
cancleUserInfo() {
From 8a229ffa750a72ec0c0008b8e4fcf5cc370e8810 Mon Sep 17 00:00:00 2001
From: yanyizhou <2311759275@qq.com>
Date: Mon, 16 Aug 2021 09:19:52 +0800
Subject: [PATCH 3/7] commit
---
src/pages/regulatoryRepository/partCodeApply/index.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/pages/regulatoryRepository/partCodeApply/index.vue b/src/pages/regulatoryRepository/partCodeApply/index.vue
index 315258947..b245f5a95 100644
--- a/src/pages/regulatoryRepository/partCodeApply/index.vue
+++ b/src/pages/regulatoryRepository/partCodeApply/index.vue
@@ -14,8 +14,8 @@
-
-
+
+
@@ -254,7 +254,7 @@ export default {
.search-area {
/deep/ .el-input__inner {
- width: 185px;
+ width: 200px;
}
}
From 377a72f38a46f10fdfde6ed1a36f82f4a14f24e7 Mon Sep 17 00:00:00 2001
From: shen_yan_pu <1975145892@qq.com>
Date: Mon, 16 Aug 2021 09:54:27 +0800
Subject: [PATCH 4/7] =?UTF-8?q?=E6=A0=87=E5=87=86=E6=B8=85=E5=8D=95?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=88=97=E8=A1=A8=E6=B8=85=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/addEdit.vue | 10 +++++++++-
.../pages/otherAddEit.vue | 10 +++++++++-
.../pages/projectAddEit.vue | 14 +++++++++++++-
3 files changed, 31 insertions(+), 3 deletions(-)
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
index c591e0cb6..039d01430 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
@@ -178,6 +178,7 @@
show-overflow-tooltip
fixed="left"
width="180px"
+ align="center"
label="标准号">
{{ scope.row.standNumber }}
@@ -185,6 +186,7 @@
@@ -194,6 +196,7 @@
{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}
@@ -202,6 +205,7 @@
{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}
@@ -211,6 +215,7 @@
show-overflow-tooltip
prop="zccssrqgj"
sortable
+ align="center"
label="在产车实施日期">
{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format('YYYY-MM-DD') : '' }}
@@ -220,6 +225,7 @@
show-overflow-tooltip
prop="textStatus"
width="120px"
+ align="center"
label="文本状态">
{{ textStatusMap[scope.row.textStatus] }}
@@ -268,6 +274,7 @@
show-overflow-tooltip
width="180px"
fixed="left"
+ align="center"
label="标准号">
{{ scope.row.standNumber }}
@@ -276,6 +283,7 @@
@@ -380,7 +388,7 @@
width="210px"
label="卡车VPPS中文名称">
-
+
{{ scope.row.standNumber }}
@@ -170,6 +171,7 @@
@@ -178,6 +180,7 @@
@@ -187,6 +190,7 @@
{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}
@@ -195,6 +199,7 @@
@@ -204,6 +209,7 @@
@@ -251,6 +257,7 @@
prop="standNumber"
show-overflow-tooltip
width="180px"
+ align="center"
fixed="left"
label="标准号">
@@ -259,6 +266,7 @@
@@ -364,7 +372,7 @@
width="210px"
label="卡车VPPS中文名称">
-
+
@@ -208,6 +209,7 @@
@@ -216,17 +218,20 @@
{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}
@@ -235,6 +240,7 @@
{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}
@@ -244,6 +250,7 @@
show-overflow-tooltip
prop="zccssrqgj"
sortable
+ align="center"
label="在产车实施日期">
{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format('YYYY-MM-DD') : '' }}
@@ -253,6 +260,7 @@
show-overflow-tooltip
prop="textStatus"
width="120px"
+ align="center"
label="文本状态">
{{ textStatusMap[scope.row.textStatus] }}
@@ -300,6 +308,7 @@
show-overflow-tooltip
width="180px"
fixed="left"
+ align="center"
label="标准号">
{{ scope.row.standNumber }}
@@ -308,6 +317,7 @@
@@ -412,7 +422,7 @@
width="210px"
label="卡车VPPS中文名称">
-
+
{
})
},
+ // 查询按钮
selectLawsStands () {
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
this.sarAccessInfoSearch.standType = 'INLAND'
@@ -1402,6 +1413,7 @@ export default {
}, e => {
})
},
+ // 高级查询-查询按钮
selectBtn() {
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
this.sarAccessInfoSearch.standType = 'INLAND'
From 795c722ebcc1304458949c2ed0362bfe847cc4cd Mon Sep 17 00:00:00 2001
From: shen_yan_pu <1975145892@qq.com>
Date: Mon, 16 Aug 2021 11:27:02 +0800
Subject: [PATCH 5/7] =?UTF-8?q?=E6=A0=87=E5=87=86=E6=B8=85=E5=8D=95?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=88=97=E8=A1=A8=E5=88=A0=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/bzqdfb/step1.vue | 4 ----
.../pages/addEdit.vue | 20 ++++++++++---------
.../pages/otherAddEit.vue | 19 +++++++++---------
.../pages/projectAddEit.vue | 20 +++++++++++--------
4 files changed, 33 insertions(+), 30 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue
index d9fbcfd23..b30151c13 100644
--- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue
@@ -994,8 +994,6 @@ export default {
},
// 点击批量删除事件
deleteList() {
- console.log(this.selectList);
- console.log(this.dataList);
if (this.selectList.length < 1) {
this.$message.warning("请选择一条数据进行删除");
} else {
@@ -1011,10 +1009,8 @@ export default {
index = this.dataList.findIndex(items => {
return items.id === item;
});
- console.log(index);
if (index > -1) {
this.dataList.splice(index, 1);
- console.log(this.dataList);
}
exits.push(item);
});
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
index 039d01430..5355d49b4 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
@@ -177,8 +177,8 @@
prop="code"
show-overflow-tooltip
fixed="left"
- width="180px"
align="center"
+ width="180px"
label="标准号">
{{ scope.row.standNumber }}
@@ -641,6 +641,7 @@ export default {
zrbmOptions: [], // 责任部门
categoryOptions: [], // 能源类型
energyKindOptions: [], // 能源种类list
+ CycxOptions: [],
sycpxOptions: [], // 适用产品线
applyArcticOptions: [], // 基础车型 适用车型list
/** ******************************/
@@ -900,7 +901,7 @@ export default {
// 责任部门数据字典
this.zrbmOptions = res.data.ZRBMCLASS
// 能源类型数据字典
- this.energyKindOptions = res.data.ENERGYTYPES
+ this.CycxOptions = res.data.CLLX
// this.categoryOptions = res.data.NYLXCLASS // 能源类型
// 适用车型数据字典
this.applyArcticOptions = res.data.PRODUCTTYPE
@@ -1235,10 +1236,10 @@ export default {
},
// 清单条目 table select事件
sarAccessInfoSelect (selectData) {
- this.sarAccessInfoListArry = selectData
- /* let sarAccessInfoListArryId = []
- for(let i=0; i {
})
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
index 5a49379e3..3a31323d0 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
@@ -18,7 +18,7 @@
size="small"
>
删除
@@ -670,6 +669,7 @@ export default {
zrbmOptions: [], // 责任部门
categoryOptions: [], // 能源类型
energyKindOptions: [], // 能源种类list
+ CycxOptions: [],
sycpxOptions: [], // 适用产品线
applyArcticOptions: [], // 基础车型 适用车型list
syrzOptions: [],
@@ -936,7 +936,7 @@ export default {
// 责任部门数据字典
this.zrbmOptions = res.data.ZRBMCLASS
// 能源类型数据字典
- this.energyKindOptions = res.data.ENERGYTYPES
+ this.CycxOptions = res.data.CLLX
// this.categoryOptions = res.data.NYLXCLASS // 能源类型
// 适用车型数据字典
this.applyArcticOptions = res.data.PRODUCTTYPE
@@ -1180,7 +1180,10 @@ export default {
},
// 清单条目 table select事件
sarAccessInfoSelect (selectData) {
- this.sarAccessInfoListArry = selectData
+ this.sarAccessInfoListArry = []
+ for (let i = 0; i < selectData.length; i++) {
+ this.sarAccessInfoListArry.push(selectData[i].id);
+ }
},
// 点击取消按钮 返回事件
backCancal () {
@@ -1304,10 +1307,10 @@ export default {
// 适用车型转换
if (item.typeApplicable !== null) {
let k = (item.typeApplicable || "").split(',')
- for (let i in this.energyKindOptions) {
+ for (let i in this.CycxOptions) {
for (let m = 0; m< k.length; m++) {
- if (this.energyKindOptions[i].value === k[m]) {
- k[m] = this.energyKindOptions[i].label
+ if (this.CycxOptions[i].value === k[m]) {
+ k[m] = this.CycxOptions[i].label
}
item.typeApplicable = k.join(',')
}
@@ -1929,6 +1932,7 @@ export default {
this.regionOptions = res.data.REGION // 基础信息 区域list
this.applyArcticOptions = res.data.PRODUCTTYPE || [] // 基础车型 适用车型list
this.energyKindOptions = res.data.ENERGYTYPES || [] // 能源种类list
+ this.CycxOptions = res.data.CLLX || [] // 能源种类list
this.drawerCountryOptions = res.data.COUNTRY // 国家、地区list
this.applyOptions = res.data.COUNTRY //适用区域list
this.standNatureOptions = res.data.SARPROPERTY // 新增 标准性质
From ab1d7b132aaca00849b0a2c5e2051501422a4fa8 Mon Sep 17 00:00:00 2001
From: yanyizhou <2311759275@qq.com>
Date: Mon, 16 Aug 2021 13:51:11 +0800
Subject: [PATCH 6/7] commit
---
src/pages/home1/components/release/index.vue | 17 ++++++++++++++++-
.../pages/creatProcess/bzrk/step1.vue | 7 ++++++-
.../domesticStandardsAndRegulations/index.vue | 4 ++--
3 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/src/pages/home1/components/release/index.vue b/src/pages/home1/components/release/index.vue
index ec017fa9b..dda733226 100644
--- a/src/pages/home1/components/release/index.vue
+++ b/src/pages/home1/components/release/index.vue
@@ -2,7 +2,7 @@
- -
+
-
{{ item.standName }}
{{item.issueTime }}
@@ -19,6 +19,7 @@ export default {
return {
putTime: '',
standardReleaseList: [], //标准发布数据
+ updateTime:""
}
},
computed: {},
@@ -26,8 +27,22 @@ export default {
mounted() {
this.getDate()
this.getAdvice()
+ this.addDate()
},
methods: {
+ //获取当前年月日
+ addDate(){
+ const nowDate = new Date();
+ const date = {
+ year: nowDate.getFullYear(),
+ month: nowDate.getMonth() + 1,
+ date: nowDate.getDate(),
+ }
+ const newmonth = date.month>10?date.month:'0'+date.month
+ const day = date.date>10?date.date:'0'+date.date
+ this.updateTime = date.year + '-' + newmonth + '-' + day
+ console.log("当前时间"+this.updateTime)
+ },
// 点击查看
handlePreview (item) {
let routeUrl = this.$router.resolve({
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
index 7c63493a8..bb62223f3 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
@@ -122,6 +122,7 @@
clearable
>
+
取消
+ @click="clearAllSearch('sarStandardsSearch')">清空
@@ -2824,7 +2824,7 @@ export default {
// 高级检索
selectMoreBtn () {
this.isAdvancedSearch = true
- this.sarStandardsSearch = []
+ // this.sarStandardsSearch = []
},
treeCollapse () {
this.sideClose = !this.sideClose
From 1cdcf8a44c05700e42a032a11a29fc547dc490ed Mon Sep 17 00:00:00 2001
From: yanyizhou <2311759275@qq.com>
Date: Mon, 16 Aug 2021 14:10:04 +0800
Subject: [PATCH 7/7] =?UTF-8?q?=20=E6=B5=B7=E5=A4=96=E6=A0=87=E5=87=86?=
=?UTF-8?q?=E6=B3=95=E8=A7=84--=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E7=9A=84=E5=BF=85=E5=A1=AB=E9=A1=B9=E4=B8=8D=E5=AF=B9=EF=BC=8C?=
=?UTF-8?q?=E5=8F=82=E8=80=83=E6=9C=9F=E6=9C=9B=EF=BC=8C=E5=9B=BD=E5=AE=B6?=
=?UTF-8?q?/=E5=9C=B0=E5=8C=BA=E4=B8=8D=E6=98=AF=E5=BF=85=E5=A1=AB?=
=?UTF-8?q?=E9=A1=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../foreignStandardsAndRegulations/index.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
index 80470a2e3..5adcb7f01 100644
--- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
@@ -622,8 +622,8 @@
-
-
+
+