diff --git a/src/pages/config/pages/attributeCustom/components/stand.vue b/src/pages/config/pages/attributeCustom/components/stand.vue index 7e73e4779..42917deb2 100644 --- a/src/pages/config/pages/attributeCustom/components/stand.vue +++ b/src/pages/config/pages/attributeCustom/components/stand.vue @@ -2,8 +2,8 @@ @@ -191,6 +172,9 @@ export default { name: "bzdyStep1", data() { return { + roleRow: {}, + nodeList: [], + type: '', defaultProps: { children: 'children', label: 'name' @@ -206,20 +190,45 @@ export default { saveLoading: false, form: { title: '', // 调研标题 - year: '', // 完成时间 + date: '', // 完成时间 model: '', // 上传模板 }, - data: [], // 标准列表数据 - ListForm: {}, // 新增数据 - user1: '', - user2: '', - user3: '', - user4: '', - user5: '', - user6: '', - user7: '', - user8: '', - user9: '', + formRules: { + title: [ + { required: true, message: '请输入调研标题', trigger: 'blur' }, + ], + date: [ + { type: 'date', required: true, message: '请选择完成时间', trigger: 'change' } + ] + }, + roleForm: { + startUserName: this.$store.getters.userInfo.userName, + startUser: this.$store.getters.userInfo.userId, + dockUser: '', + responUserList: '', + ministerUser: '', + directorUser: '', + presidentUser: '', + dockUserName: '', + responUserListName: '', + ministerUserName: '', + directorUserName: '', + presidentUserName: '' + }, + roleFormRules: { + dockUserName: [ + { required: true, message: '请输入调研标题', trigger: 'change' }, + ], + ministerUserName: [ + { required: true, message: '请输入调研标题', trigger: 'change' }, + ], + directorUserName: [ + { required: true, message: '请输入调研标题', trigger: 'change' }, + ], + presidentUserName: [ + { required: true, message: '请输入调研标题', trigger: 'change' }, + ] + } } }, components: { @@ -228,15 +237,39 @@ export default { ProcessTitle }, methods: { + saveUserInfo () { + if (this.type === 'dockUser') { + this.roleForm.dockUser = this.roleRow.id + this.roleForm.dockUserName = this.roleRow.name + } else if (this.type === 'ministerUser') { + this.roleForm.ministerUser = this.roleRow.id + this.roleForm.ministerUserName = this.roleRow.name + } else if (this.type === 'directorUser') { + this.roleForm.directorUser = this.roleRow.id + this.roleForm.directorUserName = this.roleRow.name + } else if (this.type === 'presidentUser') { + this.roleForm.presidentUser = this.roleRow.id + this.roleForm.presidentUserName = this.roleRow.name + } + this.modalshowflag = false + }, + cancleUserInfo () { + this.modalshowflag = false + }, drawerCheck (data) { var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes()); if(getlist.length == 1) { + this.roleRow = getlist[0] }else { this.$refs.tree.setCheckedKeys([data.id]); + this.roleRow = this.$refs.tree.getCheckedNodes()[0] } }, - choiceZRR () { - this.drawerTitle = '选择责任人' + choiceZRR (type, title, id) { + this.nodeList = [] + this.nodeList.push(id) + this.type = type + this.drawerTitle = title this.modalshowflag = true }, getTree () { @@ -244,25 +277,42 @@ export default { this.treeData = res.data }) }, - closeDrawer() { - this.ListModel = false - }, - OkDrawer() { - this.ListModel = false - var item = { - remarks: '123' - } - this.data.push(item) - }, - addList() { - this.title = '新增标准' - this.ListModel = true - }, handleTabs(name) { this.active = name }, handleSave() {}, handleSubmit() { + this.$refs['qbkwForm'].validate((valid) => { + if (valid) { + this.$refs['Form'].validate((valid) => { + if (valid) { + this.$http.get('lawss/activiti/startProcess', { + type: '2' + }, {}, res => { + if (res.ok) { + var json = Object.assign(this.form, this.roleForm) + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskId: res.data, + userId: this.$store.getters.userInfo.userId + }, {}, res => { + if (res.success) { + this.$message.success('流程发起成功') + this.$router.push('/processCenter') + } + }) + } else { + this.$message.warning('流程启动失败') + } + }) + } else { + return this.$message.warning('请完善人员信息') + } + }) + } else { + return this.$message.warning('请完善基础信息') + } + }) } }, mounted () { diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue new file mode 100644 index 000000000..74895baf8 --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue @@ -0,0 +1,283 @@ + + + + + diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue new file mode 100644 index 000000000..9f155917c --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue @@ -0,0 +1,295 @@ + + + + + diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue index 4fce8a626..29e7bb6c0 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue @@ -22,39 +22,59 @@ - + 国家/地区清单 项目清单 其他清单 - 带入 + 选择清单 - + - - - {{ opt.label }} - - - - + + + + - - 点击上传 + + + + 点击上传 + + + - - + + @@ -66,16 +86,17 @@
- 清单列表
添加 批量删除
+ + + + prop="issueTime" + sortable + label="发布日期"> + prop="xcxssrq" + sortable + label="新车型实施日期"> + show-overflow-tooltip + prop="zccssrq" + sortable + label="在产车实施日期"> - - - - - - + show-overflow-tooltip + prop="textStatus" + width="120px" + label="文本状态"> -
+
- - -

标准/政策法规工程师

-
- -
-
-
- - -

责任人

-
- - - -
-
-
- - -

责任人

-
- -
-
-
- - -

业务经理

-
- -
-
-
+ + + + +

标准/政策法规工程师

+
+ + +
+
+
+
+ + + +

填写会签意见

+
+ + + +
+
+
+
+ + + +

标准/政策法规工程师

+
+ + +
+
+
+
+ + + +

业务经理

+
+ + +
+
+
+
+
- + - +
+
+ - - - - - - - - - - - - diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue index c77d00327..962916e6d 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue @@ -102,8 +102,9 @@ label="清单状态" align="center"> 新增 + + + + + + +

- - - - - - - + + - - @@ -255,7 +253,7 @@ :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', fontWeight: 'bold', height: '48px'}" @selection-change="accessSarTypeSelect" - ref="selection" + ref="searchTable" > 导出 删除
- - - - + label="发布日期"> + label="新车型实施日期"> - - + prop="zccssrq" + sortable + label="在产车实施日期"> @@ -477,25 +446,27 @@ export default { CustomRoleTree }, data () { - let validatePass = (rule, value, callback) => { - let list = [] - if (this.sarAccessInfoListADMIN.length > 0) { - for (let a = 0; a < this.sarAccessInfoListADMIN.length;a++) { - list.push(this.sarAccessInfoListADMIN[a].code) - } - } - if (this.sarAccessInfoList.length > 0) { - for (let b = 0; b < this.sarAccessInfoList.length;b++) { - list.push(this.sarAccessInfoList[b].code) - } - } - for (let c = 0; c < list.length; c++) { - if (value === list[c]) { - callback(new Error('此标准号已存在')) - } - } - } + // let validatePass = (rule, value, callback) => { + // let list = [] + // //sarAccessInfoListADMIN 可能不存在 + // if (this.sarAccessInfoListADMIN.length > 0) { + // for (let a = 0; a < this.sarAccessInfoListADMIN.length;a++) { + // list.push(this.sarAccessInfoListADMIN[a].code) + // } + // } + // if (this.sarAccessInfoList.length > 0) { + // for (let b = 0; b < this.sarAccessInfoList.length;b++) { + // list.push(this.sarAccessInfoList[b].code) + // } + // } + // for (let c = 0; c < list.length; c++) { + // if (value === list[c]) { + // callback(new Error('此标准号已存在')) + // } + // } + // } return { + selectSearch : [], // 新增、编辑 基础信息字段 sarAccessEO: { id: '', @@ -505,7 +476,8 @@ export default { energyKind: '', type: '', relateFile: '', - remark: '' // 清单说明 + remark: '', // 清单说明 + applicationScope: '' //适用领域 }, fileInfoList: [], // 上传的附件 uploadFileListPath: 'api/att/attFile/upload', // 上传的地址 @@ -525,6 +497,7 @@ export default { disabledFlag: false, regionOptions: [], // 基础信息 区域list drawerCountryOptions: [], // 基础信息 国家list + applyOptions: [], //基础信息适用领域list applyArcticOptions: [], // 基础车型 适用车型list energyKindOptions: [], // 能源种类list accessSarTypeOptions: [], // 要求类型list @@ -545,12 +518,12 @@ export default { sarAccessInfoSearch: { id: '', countryArea: '', // 国家 + applicationScope: '', //适用区域 keywords: '', // 关键字 detailedListName: '', //清单名称 applyArctic: '', // 能源种类 askType: '', // 监管类型 dataSource: 'INLAND_STAND', // 数据来源 - accessSarType: 'SKILL', // 清单类型 page: 1, pageSize: this.$store.getters.userInfo.configContent, validFlag: 0, @@ -562,9 +535,7 @@ export default { importmodalFlag: false, // 导入model 状态 searching: false, sarAccessInfoList: [], // 清单条目 技术要求table 数据 - sarAccessInfoListADMIN: [], // 清单条目 行政要求table数据 sarAccessInfoListArry: [], // 清单条目 table选中数据 - // sarAccessInfoListADMINArry: [], // 清单条目 行政要求table选中数据 moreSearchShow: false, // 多属性搜索 状态 loadData: false, // 提交按钮loading效果 drawerPage: 1, // 数据搜索table页码 @@ -627,56 +598,6 @@ export default { {required: true, type: 'string', message: '英文名称不能为空', trigger: 'blur'}, {type: 'string', max: 1000, message: '英文名称不能超过1000个字符', trigger: 'change'} ], - // synopsis: [ - // {required: true, type: 'string', message: '法规说明不能为空', trigger: 'blur'}, - // {type: 'string', max: 1000, message: '法规说明不能超过1000个字符', trigger: 'change'} - // ], - // newPutTime: [ - // {required: true, message: '新车型实施日期不能为空', trigger: 'change'} - // ], - // prodPutTime: [ - // {required: true, message: '在产车实施日期不能为空', trigger: 'change'} - // ], - // eopPutTime: [ - // {required: true, message: 'eop实施日期不能为空', trigger: 'change'} - // ], - // newPutTextTime: [ - // {required: true, message: '新车型实施日期(项目)不能为空', trigger: 'change'} - // ], - // prodPutTextTime: [ - // {required: true, message: '在产车实施日期(项目)不能为空', trigger: 'change'} - // ], - // eopPutTextTime: [ - // {required: true, message: 'eop实施日期(项目)不能为空', trigger: 'change'} - // ], - performInfo: [ - // {required: true, type: 'string', message: '实施说明不能为空', trigger: 'blur'}, - {type: 'string', max: 1000, message: '实施说明不能超过1000个字符', trigger: 'change'} - ], - // ZRBM: [ - // {required: true, type: 'string', message: '责任部门不能为空', trigger: 'change'} - // ], - // XGBM: [ - // {required: true, message: '相关部门不能为空', trigger: 'change'} - // ], - // FO: [ - // {required: true, type: 'string', message: 'FO不能为空', trigger: 'change'} - // ], - // proEssessUserId: [ - // {required: true, type: 'string', message: '项目评估角色不能为空', trigger: 'change'} - // ], - askNature: [ - {required: true, message: '监管类型不能为空', trigger: 'change'} - ], - // applyArctic: [ - // {required: true, message: '适用车辆类型不能为空', trigger: 'change'} - // ], - accessType: [ - {required: true, type: 'string', message: '入库模块不能为空', trigger: 'change'} - ], - authObjId: [ - {required: true, type: 'string', message: '认证对象不能为空', trigger: 'change'} - ] }, // 认证对象下拉数据 authObjOptions: [ @@ -711,10 +632,6 @@ export default { addEditTitle: '新增', isDisabled: false, isListType: false, // 清单类型 - listTypeOptions: [ - {value: 'SKILL', label: '技术要求清单'}, - {value: 'ADMIN', label: '行政要求清单'} - ], reloadAddForm: false, formFieldList: [], orgData: [], @@ -919,7 +836,6 @@ export default { this.sarAccessInfoSearch.advanceSearchVOStr = '' this.sarAccessInfoSearch.applyArctic = '' // 能源种类 this.sarAccessInfoSearch.keywords = '' // 关键字 - this.sarAccessInfoSearch.accessSarType = 'SKILL' // 清单类型 this.sarAccessInfoSearch.askType = '' // 监管类型 this.sarAccessInfoSearch.detailedListName = '' // 清单名称 this.sarAccessInfoSearch.dataSource = 'INLAND_STAND' // 数据来源 @@ -1085,168 +1001,36 @@ export default { * 判断是否添加重复数据 */ addSarAccess () { - if (this.isListType) { - if (this.accessSarTypeList.length > 0) { - let ids = [] - this.accessSarTypeList.map(item => { - ids.push(item.id) - }) - // 根据准入id查询标准法规详情 - this.$http.get('lawss/sarSarAccessInfo/selectSarAccessInfoByAccessId', { - accessId: ids.join(',') - }, { - _this: this - }, res => { - let SKLLLArr = [...this.sarAccessInfoList] - let ADMINArr = [...this.sarAccessInfoListADMIN] - // 循环追加数据 - res.data.SKILL.map(item => { - SKLLLArr.push(item) - }) - res.data.ADMIN.map(item => { - ADMINArr.push(item) - }) - if (this.sarAccessInfoSearch.accessSarType === 'SKILL') { - // 数组去重 - let hash = {} - SKLLLArr = SKLLLArr.reduce((preVal, curVal) => { - hash[curVal.resId] ? '' : hash[curVal.resId] = true && preVal.push(curVal) - return preVal - }, []) - this.sarAccessInfoList = SKLLLArr - } else { - // 数组去重 - let hash = {} - ADMINArr = ADMINArr.reduce((preVal, curVal) => { - hash[curVal.resId] ? '' : hash[curVal.resId] = true && preVal.push(curVal) - return preVal - }, []) - this.sarAccessInfoListADMIN = ADMINArr - } - this.$refs.selection.clearSelection() - }, e => { - }) - } else { - this.$message.error('请选中需要添加到 清单条目 的数据') - } - } else { + //判断是否是清单类型 if (this.selectedAccInfoSearchList.length > 0) { // 追加字段 this.selectedAccInfoSearchList.map(item => { - Object.keys(item.attrInfoMap || {}).forEach((key) => { - if (item.attrInfoMap[key]) { - // applyArctic - item[key] = item.attrInfoMap[key] - if (key === 'YQLX') { - item.askType = item.attrInfoMap[key] - } - if (key === 'CLLX') { - item.applyArctic = item.attrInfoMap[key] - } - if (key === 'ZRLX') { - item.askNature = item.attrInfoMap[key] - } - } + let addList; + addList = this.sarAccessInfoList.findIndex(items => { + return items.id == item.id }) - return item + if(addList > -1){ + this.$message.warning('请勿添加重复数据') + } else( + this.sarAccessInfoList.push(item) + ) }) - // 判断tab页 - if (this.activeName === 'SKILL') { - let repeatDataMsg = '不能添加重复数据:' - let repeatData = '' - if (this.sarAccessInfoList.length > 0) { - for (let i = 0; i < this.selectedAccInfoSearchList.length; i++) { - for (let t in this.sarAccessInfoList) { - if (this.sarAccessInfoList[t].resId === this.selectedAccInfoSearchList[i].resId) { - repeatData += this.selectedAccInfoSearchList[i].code - break - } - } - } - } - if (repeatData !== '') { - this.$message.error(repeatDataMsg + repeatData) - } else { - if (this.sarAccessInfoList.length > 0) { - for (let i = 0; i < this.selectedAccInfoSearchList.length; i++) { - this.sarAccessInfoList.push(this.selectedAccInfoSearchList[i]) - // this.pushFormItem(this.sarAccessInfoList, i) - this.sarAccessInfoList[this.sarAccessInfoList.length - 1].uuid = this.number - this.number++ - } - } else { - for (let i = 0; i < this.selectedAccInfoSearchList.length; i++) { - this.sarAccessInfoList.push(this.selectedAccInfoSearchList[i]) - // this.pushFormItem(this.sarAccessInfoList, i) - this.sarAccessInfoList[i].uuid = this.number - this.number++ - } - } - this.selectedAccInfoSearchList = [] - this.$refs.selection.clearSelection() - this.selectLawsStands() - } - } else { - let repeatDataMsg = '不能添加重复数据:' - let repeatData = '' - if (this.sarAccessInfoListADMIN.length > 0) { - for (let i = 0; i < this.selectedAccInfoSearchList.length; i++) { - for (let t in this.sarAccessInfoListADMIN) { - if (this.sarAccessInfoListADMIN[t].resId === this.selectedAccInfoSearchList[i].resId) { - repeatData += this.selectedAccInfoSearchList[i].code - break - } - } - } - } - if (repeatData !== '') { - this.$message.error(repeatDataMsg + repeatData) - } else { - if (this.sarAccessInfoListADMIN.length > 0) { - for (let i = 0; i < this.selectedAccInfoSearchList.length; i++) { - this.sarAccessInfoListADMIN.push(this.selectedAccInfoSearchList[i]) - // this.pushFormItem(this.sarAccessInfoListADMIN, i) - this.sarAccessInfoListADMIN[this.sarAccessInfoListADMIN.length - 1].uuid = this.number - this.number++ - } - } else { - for (let i = 0; i < this.selectedAccInfoSearchList.length; i++) { - this.sarAccessInfoListADMIN.push(this.selectedAccInfoSearchList[i]) - // this.pushFormItem(this.sarAccessInfoListADMIN, i) - this.sarAccessInfoListADMIN[i].uuid = this.number - this.number++ - } - } - this.selectedAccInfoSearchList = [] - this.$refs.selection.clearSelection() - this.selectLawsStands() - } - } + this.selectedAccInfoSearchList = [] + this.$refs.entryTable.clearSelection() + this.$refs.searchTable.clearSelection() } else { this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)') } - } - }, - // 追加 添加的数据 - pushFormItem (form, i) { - form[i].authDelive = this.addForm.authDelive // 认证交付物 - form[i].authObj = this.addForm.authObj // 认证对象 - form[i].authObjId = this.addForm.authObjId // 认证对象ID - form[i].authDepart = this.addForm.authDepart // 认证责任部门 - form[i].authDepartId = this.addForm.authDepartId // 认证责任部门Id - form[i].prodPutTime = this.$dateFormat(this.addForm.prodPutTime, 'yyyy-MM-dd') // 在产车实施日期 - // form[i].putTime = this.$dateFormat(this.addForm.putTime, 'yyyy-MM-dd') // 标准实施日期 - form[i].eopPutTime = this.$dateFormat(this.addForm.eopPutTime, 'yyyy-MM-dd') // eop实施日期 - form[i].askNature = this.addForm.askNature // askNature }, // 上移 事件 moveUp () { // i 全部对象数组的下标 // s 选中对象数组的下标 - // 判断上移的table - if (this.activeName === 'SKILL') { let sarAccessInfoListArry = JSON.parse(JSON.stringify(this.sarAccessInfoListArry)) if (sarAccessInfoListArry.length === 1) { + //数组交换下标 + console.log('s', sarAccessInfoListArry); + console.log('i',this.sarAccessInfoList); for (var s in sarAccessInfoListArry) { for (var i in this.sarAccessInfoList) { if (sarAccessInfoListArry[s].resId === this.sarAccessInfoList[i].resId) { @@ -1267,37 +1051,11 @@ export default { } else { this.$message.error('请选择单一数据进行移动!') } - } else { - let sarAccessInfoListArry = JSON.parse(JSON.stringify(this.sarAccessInfoListArry)) - if (sarAccessInfoListArry.length === 1) { - for (var z in sarAccessInfoListArry) { - for (var x in this.sarAccessInfoListADMIN) { - if (sarAccessInfoListArry[z].resId === this.sarAccessInfoListADMIN[x].resId) { - if (Number(x) !== 0) { - let tempOption = this.sarAccessInfoListADMIN[x - 1] - this.$set(this.sarAccessInfoListADMIN, x - 1, this.sarAccessInfoListADMIN[x]) - this.$set(this.sarAccessInfoListADMIN, x, tempOption) - // this.sarAccessInfoListArry = [] - return - } else { - this.$message.error('数据已经是第一个,请选择其他数据上移!') - } - } - } - } - } else if (this.sarAccessInfoListArry.length === 0) { - this.$message.error('请选择需要移动的数据!') - } else { - this.$message.error('请选择单一数据进行移动!') - } - } }, // 下移事件 moveDown () { // y 全部对象数组的下标 // t 选中对象数组的下标 - // 判断上移的table - if (this.activeName === 'SKILL') { if (this.sarAccessInfoListArry.length === 1) { for (var t in this.sarAccessInfoListArry) { for (var y in this.sarAccessInfoList) { @@ -1320,30 +1078,6 @@ export default { } else { this.$message.error('请选择单一数据进行移动!') } - } else { - if (this.sarAccessInfoListArry.length === 1) { - for (var u in this.sarAccessInfoListArry) { - for (var p in this.sarAccessInfoListADMIN) { - if (this.sarAccessInfoListArry[u].resId === this.sarAccessInfoListADMIN[p].resId) { - var a = this.sarAccessInfoListADMIN.length - 1 - if (Number(p) !== Number(a)) { - var q = parseInt(p) + 1 - var tempOption2 = this.sarAccessInfoListADMIN[parseInt(q)] - this.$set(this.sarAccessInfoListADMIN, parseInt(q), this.sarAccessInfoListADMIN[parseInt(p)]) - this.$set(this.sarAccessInfoListADMIN, parseInt(p), tempOption2) - return - } else { - this.$message.error('数据已经是最后一个,请选择其他数据进行移动!') - } - } - } - } - } else if (this.sarAccessInfoListArry.length === 0) { - this.$message.error('请选择需要移动的数据!') - } else { - this.$message.error('请选择单一数据进行移动!') - } - } }, // 点击清单条目导入按钮事件 importmodalFlags () { @@ -1361,8 +1095,6 @@ export default { * 删除不想添加的AccessInfo信息 */ deleteSelectSarAccessInfo () { - // 判断当前在哪个tab页 - if (this.activeName === 'SKILL') { if (this.sarAccessInfoListArry.length > 0) { this.$confirm('确认删除选中数据?', '确认删除', { confirmButtonText: '确定', @@ -1381,34 +1113,11 @@ export default { } } this.sarAccessInfoListArry = [] - this.$refs.tableSKILL.clearSelection() + this.$refs.entryTable.clearSelection() }).catch(() => {}) } else { this.$message.error('请选择需要删除的清单条目!') } - } else { - if (this.sarAccessInfoListArry.length > 0) { - this.$confirm('确认删除选中数据?', '确认删除', { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning' - }).then(() => { - // i 全部对象数组的下标 - // s 选中对象数组的下标 - for (var s in this.sarAccessInfoListArry) { - for (var i in this.sarAccessInfoListADMIN) { - if (this.sarAccessInfoListArry[s].uuid === this.sarAccessInfoListADMIN[i].uuid) { - this.sarAccessInfoListADMIN.splice(i, 1) - } - } - } - this.sarAccessInfoListArry = [] - this.$refs.tableADMIN.clearSelection() - }).catch(() => {}) - } else { - this.$message.error('请选择需要删除的清单条目!') - } - } }, // 清单条目 table select事件 sarAccessInfoSelect (selectData) { @@ -1424,110 +1133,70 @@ export default { saveSarAccess () { this.$refs['sarAccessForm'].validate((valid) => { if (valid) { - // 验证认证对象和监控类型不能为空 - for (let i = 0; i < this.sarAccessInfoList.length;i++){ - if (this.sarAccessInfoList[i].authObjId==null){ - return this.$message.error('认证对象不能为空'); - } else if(this.sarAccessInfoList[i].askNature==null){ - return this.$message.error('监管类型不能为空'); - } - } - for (let i = 0; i < this.sarAccessInfoListADMIN.length;i++){ - if (this.sarAccessInfoListADMIN[i].authObjId==null){ - return this.$message.error('认证对象不能为空'); - } else if(this.sarAccessInfoListADMIN[i].askNature==null){ - return this.$message.error('监管类型不能为空'); + let rowlist = [] + for (let i = 0; i < this.sarAccessInfoList.length; i++) { + rowlist.push(this.sarAccessInfoList[i].id) } - } - - // if (!this.sarAccessEO.id) { - let rowlist = [] - let rowList2 = [] - for (let i = 0; i < this.sarAccessInfoList.length; i++) { - rowlist.push(this.sarAccessInfoList[i]) - } - for (let i = 0; i < this.sarAccessInfoListADMIN.length; i++) { - rowList2.push(this.sarAccessInfoListADMIN[i]) - } - let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO)) - sarAccessEO.inforlist = JSON.stringify(rowlist) - sarAccessEO.adminInfoList = JSON.stringify(rowList2) - sarAccessEO.countryArea = sarAccessEO.countryArea.join(',') - // 判断是否有附件 - if (this.fileInfoList.length > 0) { - let relateFile = [] - this.fileInfoList.map(item => { - relateFile.push(item.id) - }) - sarAccessEO.relateFile = relateFile.join(',') - } - if (!sarAccessEO.id) { - // 新增 - sarAccessEO.state = '1' - sarAccessEO.version = 0 - this.$http.post('sarLawsDetailedList/sar-laws-detailed-list/insertList', sarAccessEO, { - _this: this, - loading: 'loadData' - }, res => { - if (res.ok) { - this.isNext = true - this.$router.push({ - name: 'AccessStandardsAndRegulations' - }) - } - }, e => { - }) - } else { - // 编辑 - this.$http.putData('sarLawsDetailedList/sar-laws-detailed-list/updateList', sarAccessEO, { - _this: this, - loading: 'loadData' - }, res => { - if (res.ok) { - this.isNext = true - this.$router.push({ - name: 'AccessStandardsAndRegulations' - }) - } - }, e => { - }) - } - } else { + rowlist = rowlist.join(',') + let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO)) + sarAccessEO.inforlist = JSON.stringify(rowlist) + sarAccessEO.countryArea = sarAccessEO.countryArea.join(',') + sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',') + // 判断是否有附件 + if (this.fileInfoList.length > 0) { + let relateFile = [] + this.fileInfoList.map(item => { + relateFile.push(item.id) + }) + sarAccessEO.relateFile = relateFile.join(',') + } + if (!sarAccessEO.id) { + // 新增 + sarAccessEO.state = '1' + sarAccessEO.version = 0 + this.$http.post('sarLawsDetailedList/sar-laws-detailed-list/insertList', sarAccessEO, { + _this: this, + loading: 'loadData' + }, res => { + if (res.ok) { + this.isNext = true + this.$router.push({ + name: 'AccessStandardsAndRegulations' + }) + } + }, e => { + }) + } else { + // 编辑 + this.$http.putData('sarLawsDetailedList/sar-laws-detailed-list/updateList', sarAccessEO, { + _this: this, + loading: 'loadData' + }, res => { + if (res.ok) { + this.isNext = true + this.$router.push({ + name: 'AccessStandardsAndRegulations' + }) + } + }, e => { + }) + } + }else { this.$message.error('请检查表单是否填写正确') } }) }, // 查询数据搜索 table 数据 selectLawsStands () { - if (this.isListType) { - console.log('1505'); - this.$http.get('lawss/sarSarAccess/page', this.sarAccessInfoSearch, { - _this: this, - loading: 'dataLoading' - }, res => { - this.sarAccessInfoSearchList = res.data.list - this.drawerTotal = res.data.count - }, e => { + this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.sarAccessInfoSearch, { + _this: this + }, res =>{ + this.sarAccessInfoSearchList = res.data.list + this.$nextTick(() => { }) - } else { - this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.sarAccessInfoSearch, { - _this: this, - loading: 'dataLoading' - }, res => { - res.data.list[0].list.map(item => { - item.newPutTextTime = null - item.prodPutTextTime = null - item.eopPutTextTime = null - item.ZRBMName = item.dutyDepart - item.ZRBM = item.dutyDepartId - item.FOName = item.foUser - item.FO = item.foUserId - }) - this.sarAccessInfoSearchList = res.data.list[0].list - this.drawerTotal = res.data.count - }, e => { - }) - } + }, e => { + + }) }, // 数据搜索table判断checked状态 selectable (row) { @@ -1536,6 +1205,10 @@ export default { // 数据搜索 table select事件 sarAccessInfoSearchSelect (selectData) { this.selectedAccInfoSearchList = selectData + this.selectSearch = [] + for(let i = 0; i 0) { exportList = this.sarAccessInfoListArry } else { - // 判断导出的是技术要求清单还是行政要求清单 - if (this.activeName === 'SKILL') { exportList = this.sarAccessInfoList - } else { - exportList = this.sarAccessInfoListADMIN - } } if (exportList != null && exportList.length > 0) { let accIdAndrestype = [] @@ -1625,15 +1279,6 @@ export default { var a var b = '' if (response.data) { - // for (var s in this.sarAccessInfoList) { - // for (var i in response.data) { - // if (this.sarAccessInfoList[s].resId === response.data[i].resId) { - // // ('在全部对象中的位置' + i) - // response.data.splice(i, 1) - // b = '数据重复添加,现已自动清除! 2' - // } - // } - // } for (var sADMIN in this.sarAccessInfoListADMIN) { for (var iADMIN in response.data) { if (this.sarAccessInfoListADMIN[sADMIN].code === response.data[iADMIN].code) { @@ -1645,17 +1290,8 @@ export default { } if (response.data.length > 0) { for (let i = 0; i < response.data.length; i++) { - if (response.data[i].accessSarType === 'ADMIN') { - this.sarAccessInfoListADMIN.push(response.data[i]) - } else if (response.data[i].accessSarType === 'SKILL') { this.sarAccessInfoList.push(response.data[i]) } - // if (this.activeName === 'SKILL') { - // this.sarAccessInfoList.push(response.data[i]) - // } else { - // this.sarAccessInfoListADMIN.push(response.data[i]) - // } - } } a = response.data.length } @@ -1664,7 +1300,6 @@ export default { this.importmodalFlag = false } else { this.$message.success(response.message + b + '导入' + a + '条数据!') - // this.$message.success(b + '共导入' + a + '条数据!') this.importmodalFlag = false this.selectLawsStands() } @@ -1705,73 +1340,6 @@ export default { this.$refs['addEntryForm'].resetFields() }) }, - // 点击清单条目 编辑按钮 事件 - editEntry () { - if (this.sarAccessInfoListArry.length === 0) { - this.$message.warning('请选择要编辑的数据') - } else if (this.sarAccessInfoListArry.length > 1) { - this.$message.warning('只能选择一条数据') - } else { - this.editAddType = 2 - this.addEditTitle = '编辑' - this.$nextTick(() => { - // this.addEntryForm = - const formData = JSON.parse(JSON.stringify(this.sarAccessInfoListArry[0])) - const gxhbq = formData.GXHBQ - delete formData.GXHBQ - this.addEntryForm = { - ...formData, - GXHBQ: gxhbq ? gxhbq.split(',') : [], - askNature: formData.askNature ? formData.askNature.split(',') : [] - } - if (!this.addEntryForm.resId && this.addEntryForm.sarType === 'TEMP') { - this.isDisabled = false - } else { - this.isDisabled = true - } - // 转换因后台无法返回大写字段,重新赋值 - this.addEntryForm.FOName = this.addEntryForm.FOName || this.addEntryForm.foname - this.addEntryForm.FO = this.addEntryForm.FO || this.addEntryForm.fo - this.addEntryForm.ZRBMName = this.addEntryForm.ZRBMName || this.addEntryForm.zrbmname - this.addEntryForm.ZRBM = this.addEntryForm.ZRBM || this.addEntryForm.zrbm - this.addEntryForm.XGBMName = this.addEntryForm.XGBMName || this.addEntryForm.xgbmname - this.addEntryForm.XGBM = this.addEntryForm.XGBM || this.addEntryForm.xgbm - // this.addEntryForm.GXHBQ = this.addEntryForm.GXHBQ || this.addEntryForm.gxhbq - this.addEntryForm.applyArctic = this.addEntryForm.applyArctic ? this.addEntryForm.applyArctic.split(',') : [] - // this.addEntryForm.GXHBQ = this.addEntryForm.gxhbq ? this.addEntryForm.gxhbq.split(',') : [] - // this.addEntryForm.GXHBQ = '' - // delete this.addEntryForm.gxhbq - // 在产车实施日期项目赋值 - if (!this.addEntryForm.prodPutTextTime || this.addEntryForm.prodPutTextTime === '') { - this.addEntryForm.prodPutTextTime = !['N/A', 'TBD', '已实施', ''].includes(this.addEntryForm.ZCCSSRQ) ? this.getEarliestDate(this.addEntryForm.ZCCSSRQ, 'datePicker') : '' - } else { - this.addEntryForm.prodPutTextTime = this.addEntryForm.prodPutTextTime !== '' && this.addEntryForm.prodPutTextTime !== null ? this.getEarliestDate(this.addEntryForm.prodPutTextTime, 'datePicker') : '' - } - - // 新车型实施日期赋值 - if (!this.addEntryForm.newPutTextTime || this.addEntryForm.newPutTextTime === '') { - this.addEntryForm.newPutTextTime = !['N/A', 'TBD', '已实施', ''].includes(this.addEntryForm.XCXSSRQ) ? this.getEarliestDate(this.addEntryForm.XCXSSRQ, 'datePicker') : '' - } else { - this.addEntryForm.newPutTextTime = this.addEntryForm.newPutTextTime !== '' && this.addEntryForm.newPutTextTime !== null ? this.getEarliestDate(this.addEntryForm.newPutTextTime, 'datePicker') : '' - } - - // EOP实施日期赋值 - if (!this.addEntryForm.eopPutTextTime || this.addEntryForm.eopPutTextTime === '') { - this.addEntryForm.eopPutTextTime = !['N/A', 'TBD', '已实施', ''].includes(this.addEntryForm.EOPSSRQ) ? this.getEarliestDate(this.addEntryForm.EOPSSRQ, 'datePicker') : '' - } else { - this.addEntryForm.eopPutTextTime = this.addEntryForm.eopPutTextTime !== '' && this.addEntryForm.eopPutTextTime !== null ? this.getEarliestDate(this.addEntryForm.eopPutTextTime, 'datePicker') : '' - } - this.sarAccessInfoListArry = [] - this.$refs.tableSKILL.clearSelection() - this.$refs.tableADMIN.clearSelection() - - setTimeout(() => { - this.$refs.addEntryForm.clearValidate() - }, 1) - // clearFiles - }) - } - }, // 请求部门结构树 getOrgTreeSource () { this.$http.get('sys/org/getTree', {}, {_this: this}, @@ -1831,33 +1399,18 @@ export default { nowstandinfo.askNature = nowstandinfo.askNature.join(',') // 判断新增还是编辑 if (this.editAddType === 1) { - if (this.activeName === 'SKILL') { this.sarAccessInfoList.push(nowstandinfo) this.sarAccessInfoList[this.sarAccessInfoList.length - 1].uuid = this.number this.number++ - } else { - this.sarAccessInfoListADMIN.push(nowstandinfo) - this.sarAccessInfoListADMIN[this.sarAccessInfoListADMIN.length - 1].uuid = this.number - this.number++ - } this.isSubmit = false this.$message.success('添加成功') } else { - if (this.activeName === 'SKILL') { this.sarAccessInfoList.map((item, index) => { if (item.uuid === nowstandinfo.uuid) { // this.sarAccessInfoList[index] = nowstandinfo this.$set(this.sarAccessInfoList, index, nowstandinfo) } }) - } else { - this.sarAccessInfoListADMIN.map((item, index) => { - if (item.uuid === nowstandinfo.uuid) { - // this.sarAccessInfoListADMIN[index] = nowstandinfo - this.$set(this.sarAccessInfoListADMIN, index, nowstandinfo) - } - }) - } this.isSubmit = false this.$message.success('编辑成功') } @@ -1897,40 +1450,6 @@ export default { this.isSubmit = false this.$refs['addEntryForm'].resetFields() }, - // 根据准入id查询标准法规详情 - selectInfobyAccid () { - this.$http.get('lawss/sarSarAccessInfo/selectSarAccessInfoByAccessId', { - accessId: this.$route.query.id, - validFlag: 0 - }, { - _this: this - }, res => { - res.data.SKILL.map((item, index) => { - item.uuid = this.number - item.GXHBQ = item.gxhbq - item.eopPutTime = item.eopPutTextTime - item.newPutTime = item.newPutTextTime - item.prodPutTime = item.prodPutTextTime - this.number++ - }) - res.data.ADMIN.map((item, index) => { - item.uuid = this.number - item.GXHBQ = item.gxhbq - item.eopPutTime = item.eopPutTextTime - item.newPutTime = item.newPutTextTime - item.prodPutTime = item.prodPutTextTime - this.number++ - }) - this.sarAccessInfoList = res.data.SKILL - this.sarAccessInfoListADMIN = res.data.ADMIN - this.$nextTick(() => { - this.$refs.tableSKILL.doLayout() - this.$refs.tableADMIN.doLayout() - }) - // this.sarAccessInfoList = res.data.list - }, e => { - }) - }, /** * 赋值内容到入库标准抽屉内 * item 清单行数据 @@ -2085,19 +1604,11 @@ export default { // 新增、编辑标准时验证标准编号是否重复 validCode (rule, value, callback) { let find = 0 - if (this.activeName === 'SKILL') { this.sarAccessInfoList.map(item => { if (item.code === value) { find++ } }) - } else { - this.sarAccessInfoListADMIN.map(item => { - if (item.code === value) { - find++ - } - }) - } if (find > 1 && this.editAddType === 2) { return callback(new Error('标准编号已存在')) } else if (find > 0 && this.editAddType === 1) { @@ -2123,21 +1634,6 @@ export default { }) return askTypeName }, - // 表格回显适用车辆类型 - getApplyArctic (val) { - if (val) { - val = val.split(',') - let applyArcticName = [] - this.energyKindOptions.map(item => { - val.map(items => { - if (item.value === items) { - applyArcticName.push(item.label) - } - }) - }) - return applyArcticName.join(',') - } - }, // 表格回显监管类型 getAskNature (val) { if (!val) { @@ -2149,39 +1645,6 @@ export default { return askTypeName.join(',') }, - // 标签回显适用车辆类型 - getGXHBQ (val) { - if (val) { - val = val.split(',') - let GXHBQName = [] - this.GXHBQOptions.map(item => { - val.map(items => { - if (item.value === items) { - GXHBQName.push(item.label) - } - }) - }) - return GXHBQName.join(',') - } - }, - - /** - * @description: 获取最早日期 - * @date: 2021-02-27 16:56:30 - * @auth: chenxiaoxi - */ - getEarliestDate(date, isDatePickerUse) { - if (!date) { return } - const dateList = date.split(',') - const dateTimeList = [] - dateList.map(date => { - dateTimeList.push(new Date(date).getTime()) - }) - const dateTimeSortList = dateTimeList.sort(function(a, b) { - return a - b - }) - return isDatePickerUse !== undefined ? new Date(dateTimeSortList[0]) : this.$moment(dateTimeSortList[0]).format('YYYY-MM-DD') - }, onChecked () { this.sarStandardsInfoEO.FO = '' this.sarStandardsInfoEO.XMPGJS = '' @@ -2189,6 +1652,15 @@ export default { formatText(str) { return formatText(str) }, + getData() { + this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById', {id: this.zqaId}, { + _this: this + }, res => { + this.sarAccessInfoList = res.data + }, e => { + + }) + } }, watch: { // 监听 清单类型 @@ -2204,6 +1676,8 @@ export default { ...mapGetters(['getAccessStandardRegRow']), }, mounted () { + this.zqaId =this.$route.query.id; + // this.getData() this.getDept() // 从数据库中查询各下拉框数据 this.$http.get('sys/dictype/getDicTypeListCode', '', { @@ -2214,6 +1688,7 @@ export default { this.applyArcticOptions = res.data.PRODUCTTYPE || [] // 基础车型 适用车型list this.energyKindOptions = res.data.ENERGYTYPES || [] // 能源种类list this.drawerCountryOptions = res.data.COUNTRY // 国家、地区list + this.applyOptions = res.data.COUNTRY //适用区域list this.standNatureOptions = res.data.SARPROPERTY // 新增 标准性质 this.accessSarTypeOptions = res.data.REQUESTTYPE // 数据搜索 要求类型 this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 @@ -2231,13 +1706,14 @@ export default { this.$nextTick(() => { this.sarAccessEO.type = accessRow.type this.sarAccessEO.countryArea = accessRow.countryArea.split(',') + this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',') this.sarAccessEO.detailedListName = accessRow.detailedListName this.sarAccessEO.id = accessRow.id this.sarAccessEO.remark = accessRow.remark || '' this.sarAccessEO.relateFile = accessRow.relateFile this.sarAccessInfoSearch.validFlag = 0 this.getFileInfo() - this.selectInfobyAccid() + this.getData() this.selectLawsStands() }) } else { diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue index fd8d643cb..b7a1cda74 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue @@ -111,70 +111,41 @@ align="center"> - - - - + label="发布日期"> + label="新车型实施日期"> + label="在产车实施日期"> - - - - diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue index 3305b5ed3..e0b693f37 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue @@ -13,6 +13,24 @@ + + + + + +

+ prop="isSubTime" + sortable + label="发布日期"> - - 导出 删除 @@ -327,59 +335,31 @@ - - + prop="isSubTime" + sortable + label="发布日期"> - - + label="新车型实施日期"> + label="在产车实施日期"> - - @@ -490,8 +470,10 @@ export default { energyKind: '', type: '', relateFile: '', - remark: '' // 清单说明 + remark: '' ,// 清单说明 + applicationScope: '' , //适用领域 }, + applyOptions: [], //适用领域list fileInfoList: [], // 上传的附件 uploadFileListPath: 'api/att/attFile/upload', // 上传的地址 // 新增、编辑 基础信息验证条件 @@ -711,7 +693,7 @@ export default { accessType: '', id: '', standType: 'INLAND', // 标准分类 - // country: 'CN', // 适用区域 + country: 'CN', // 适用区域 standSort: '', // 标准类别 standNumber: '', // 标准编号 standYear: '', // 标准年份 @@ -2184,7 +2166,8 @@ export default { this.regionOptions = res.data.REGION // 基础信息 区域list this.applyArcticOptions = res.data.PRODUCTTYPE || [] // 基础车型 适用车型list this.energyKindOptions = res.data.ENERGYTYPES || [] // 能源种类list - this.drawerCountryOptions = res.data.COUNTRY // 国家、地区list + this.applicationScope = res.data.COUNTRY // 国家、地区list + this.applyOptions = res.data.COUNTRY //适用领域 list this.standNatureOptions = res.data.SARPROPERTY // 新增 标准性质 this.accessSarTypeOptions = res.data.REQUESTTYPE // 数据搜索 要求类型 this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue index 483dbe70e..fa81df038 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue @@ -13,6 +13,24 @@ + + + + + +

+ prop="isSubTime" + sortable + label="发布日期"> - - - - + prop="isSubTime" + sortable + label="发布日期"> - - + label="新车型实施日期"> + label="在产车实施日期"> - - @@ -490,9 +470,11 @@ export default { energyKind: '', type: '', relateFile: '', - remark: '' // 清单说明 + remark: '' ,// 清单说明 + applicationScope: '', //适用领域 }, fileInfoList: [], // 上传的附件 + applyOptions:[], //适用领域 uploadFileListPath: 'api/att/attFile/upload', // 上传的地址 // 新增、编辑 基础信息验证条件 sarAccessEORules: { @@ -616,56 +598,6 @@ export default { {required: true, type: 'string', message: '英文名称不能为空', trigger: 'blur'}, {type: 'string', max: 1000, message: '英文名称不能超过1000个字符', trigger: 'change'} ], - // synopsis: [ - // {required: true, type: 'string', message: '法规说明不能为空', trigger: 'blur'}, - // {type: 'string', max: 1000, message: '法规说明不能超过1000个字符', trigger: 'change'} - // ], - // newPutTime: [ - // {required: true, message: '新车型实施日期不能为空', trigger: 'change'} - // ], - // prodPutTime: [ - // {required: true, message: '在产车实施日期不能为空', trigger: 'change'} - // ], - // eopPutTime: [ - // {required: true, message: 'eop实施日期不能为空', trigger: 'change'} - // ], - // newPutTextTime: [ - // {required: true, message: '新车型实施日期(项目)不能为空', trigger: 'change'} - // ], - // prodPutTextTime: [ - // {required: true, message: '在产车实施日期(项目)不能为空', trigger: 'change'} - // ], - // eopPutTextTime: [ - // {required: true, message: 'eop实施日期(项目)不能为空', trigger: 'change'} - // ], - performInfo: [ - // {required: true, type: 'string', message: '实施说明不能为空', trigger: 'blur'}, - {type: 'string', max: 1000, message: '实施说明不能超过1000个字符', trigger: 'change'} - ], - // ZRBM: [ - // {required: true, type: 'string', message: '责任部门不能为空', trigger: 'change'} - // ], - // XGBM: [ - // {required: true, message: '相关部门不能为空', trigger: 'change'} - // ], - // FO: [ - // {required: true, type: 'string', message: 'FO不能为空', trigger: 'change'} - // ], - // proEssessUserId: [ - // {required: true, type: 'string', message: '项目评估角色不能为空', trigger: 'change'} - // ], - askNature: [ - {required: true, message: '监管类型不能为空', trigger: 'change'} - ], - // applyArctic: [ - // {required: true, message: '适用车辆类型不能为空', trigger: 'change'} - // ], - accessType: [ - {required: true, type: 'string', message: '入库模块不能为空', trigger: 'change'} - ], - authObjId: [ - {required: true, type: 'string', message: '认证对象不能为空', trigger: 'change'} - ] }, // 认证对象下拉数据 authObjOptions: [ @@ -2185,7 +2117,7 @@ export default { this.regionOptions = res.data.REGION // 基础信息 区域list this.applyArcticOptions = res.data.PRODUCTTYPE || [] // 基础车型 适用车型list this.energyKindOptions = res.data.ENERGYTYPES || [] // 能源种类list - this.drawerCountryOptions = res.data.COUNTRY // 国家、地区list + this.applyOptions = res.data.COUNTRY // 国家、地区list this.standNatureOptions = res.data.SARPROPERTY // 新增 标准性质 this.accessSarTypeOptions = res.data.REQUESTTYPE // 数据搜索 要求类型 this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 66c1c4855..5dca0201d 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -3,26 +3,17 @@
- + +
@@ -142,7 +133,7 @@