diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 233d6e12a..1404296b9 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -90,23 +90,23 @@ -
- {{ file.oldFileName }} - - -
+ + {{ file.oldFileName }} + + +
-
+ +
+ --> +
+ + + + + + + + + + 内容简介 +
+
+ + + + + + +
+ +
{{item.itemContent}}
+
+
+ +
+ +
+
+
+
+
+
+
+
@@ -1873,35 +1989,6 @@ export default { }) } }, - // 获取关联文件名称 - getFileName (row) { - this.referanceStandList = [] - if (row.referenceStand != null && row.referenceStand !== '') { - this.referanceStandList = row.referenceStand.split(',') - } - if (row.relevanceFile === null) { - this.standItemEO.FileNameList = [] - this.showItemInfoModal = true - return false - } else { - this.$http.get('att/attFile/getMultiFileInfos', { - fileIds: row.relevanceFile - }, { - _this: this - }, res => { - // let fileNameList = [] - // this.standItemEO.relevanceFileName = '' - // res.data.map((item) => { - // fileNameList.push(item.oldFileName) - // }) - // this.standItemEO.relevanceFileName = fileNameList.join(';') - this.standItemEO.FileNameList = res.data - this.showItemInfoModal = true - }, e => { - this.showItemInfoModal = true - }) - } - }, addSpecialRequest (item, index) { let specialObj = { description: '', @@ -2084,7 +2171,7 @@ export default { // this.clause(command[0]) // break case '属性': - this.attribute(command[0]) + this.attribute(command[2], command[0]) break case '编辑': this.editLawsInfo(command[2], command[0]) @@ -2154,9 +2241,65 @@ export default { this.showItemRequestDetails() }, // 点击表格 属性按钮事件 - attribute (row) { - this.getFileName(row) - this.showItemInfoEO = JSON.parse(JSON.stringify(row)) + attribute (index, row) { + this.isSubmit = false + this.standItemEO.id = row.id + this.showItemInfoModal = true + this.saveEditItemIndex = index + this.standItemEO = JSON.parse(JSON.stringify(row)) + if (this.standItemEO.applyArctic && !(this.standItemEO.applyArctic instanceof Array)) { + let a = this.standItemEO.applyArctic.split(',') + this.standItemEO.applyArctic = a // 适用车型 + } + if (this.standItemEO.newcarPutTime != null && this.standItemEO.newcarPutTime !== '') { + this.standItemEO.newcarPutTime = this.standItemEO.newcarPutTime.replace(new RegExp(/-/gm), '/') + this.standItemEO.newcarPutTime = new Date(this.standItemEO.newcarPutTime) + } + if (this.standItemEO.productPutTime != null && this.standItemEO.productPutTime !== '') { + this.standItemEO.productPutTime = this.standItemEO.productPutTime.replace(new RegExp(/-/gm), '/') + this.standItemEO.productPutTime = new Date(this.standItemEO.productPutTime) + } + if (this.standItemEO.paramsList == null || this.standItemEO.paramsList.length < 1) { + let specialObj = { + description: '', + figure: '' + } + this.standItemEO.paramsList.push(specialObj) + } + this.standItemEO.ZRBM = this.standItemEO.responsibleUnit + this.saveItemId = row.id + this.showUpdateItemInfo() + // this.getFileName(row) + // this.showItemInfoEO = JSON.parse(JSON.stringify(row)) + }, + // 获取关联文件名称 + getFileName (row) { + this.referanceStandList = [] + if (row.referenceStand != null && row.referenceStand !== '') { + this.referanceStandList = row.referenceStand.split(',') + } + if (row.relevanceFile === null) { + this.standItemEO.FileNameList = [] + this.showItemInfoModal = true + return false + } else { + this.$http.get('att/attFile/getMultiFileInfos', { + fileIds: row.relevanceFile + }, { + _this: this + }, res => { + // let fileNameList = [] + // this.standItemEO.relevanceFileName = '' + // res.data.map((item) => { + // fileNameList.push(item.oldFileName) + // }) + // this.standItemEO.relevanceFileName = fileNameList.join(';') + this.standItemEO.FileNameList = res.data + this.showItemInfoModal = true + }, e => { + this.showItemInfoModal = true + }) + } }, getDicTypeName(opt, type) { const _type = type ? type.split(',') : [] diff --git a/src/pages/localTool/standCalendar/index.vue b/src/pages/localTool/standCalendar/index.vue index 24e890362..738fc2820 100644 --- a/src/pages/localTool/standCalendar/index.vue +++ b/src/pages/localTool/standCalendar/index.vue @@ -174,10 +174,11 @@ - + @@ -339,7 +340,13 @@ export default { // 议题选中时储存数组 deleteTable: [], loading: false, - dialogTitle: '' + dialogTitle: '', + // 当前日期之前不可选择 + datePicker: { + disabledDate(date) { + return date.getTime() < Date.now() - 24 * 60 * 60 * 1000 + } + } } }, mounted() { @@ -819,6 +826,20 @@ export default { @import '~@/assets/styles/style'; .standCalendar { + .content_form { + /deep/.el-input--suffix .el-input__inner { + border: 0; + color: #828387; + } + label-input-form { + .picker_style { + margin-bottom: 0; + min-height: 50px; + line-height: 50px; + border-bottom: 1px dashed #e5e5e5; + } + } + } .date-picker { .item { /deep/ .el-input { @@ -874,6 +895,7 @@ export default { margin-top: 50px; } + .card_info { height: 190px; margin-top: 10px; diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue index 31875535c..ce92499e4 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue @@ -82,6 +82,7 @@ @@ -453,7 +454,13 @@ export default { isSubmit: false, saveLoading: false, commentInfo: '', - bpnId: '' + bpnId: '', + // 设置当前日期之前不可选择 + datePicker: { + disabledDate(date) { + return date.getTime() < Date.now() - 24 * 60 * 60 * 1000 + } + } } }, mounted() { diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index 4de50bcb7..28587330f 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -126,6 +126,7 @@ + @@ -3122,6 +3123,9 @@ export default { @import '~@/assets/styles/style'; .bzrkStep1 { + /deep/ .el-button--mini.is-circle { + padding: 2px; + } /deep/ .prc-content-border .form-item-disabled .el-form-item__content .el-input .el-input__inner { width: 70%; } diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/common/formList.vue b/src/pages/processCenter/pages/creatProcess/qbrk/common/formList.vue index c927509da..8f4833d00 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/common/formList.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/common/formList.vue @@ -305,7 +305,7 @@ export default { }, summaryFileList: { type: Array, - required: true + required: false }, disabledState: { type: Boolean, diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/cancel.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/cancel.vue index e77ff7e04..91ba66aff 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/cancel.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/cancel.vue @@ -54,13 +54,26 @@ placeholder="请选择初稿完成时间"> - + + disabled + v-model="qbfsForm.rqbName" + placeholder="请输入企业标准" + :maxlength="500"/> + + + + + + @@ -116,6 +129,52 @@ > + + + + + + + + + + + + + + + + + + + + @@ -268,12 +327,13 @@ export default { return{ formRules: { cancelReason: [ - {required: true, message: '请输入延期原因', trigger:'blur'}, + {required: true, message: '请输入取消原因', trigger:'blur'}, ] }, ListModel: false, standinfoList: [], + BZList: [], page: 1, total: 0, pageSize: this.$store.getters.userInfo.configContent, @@ -311,6 +371,12 @@ export default { if(!this.qbfsForm.passFlag){ this.qbfsForm = {} } + //查询下拉框数据 + this.$http.get('sys/dictype/getDicTypeListCode', '',{ + _this: this + }, res => { + this.BZList = res.data.ENERGYTYPES //标准范围 + }) }, methods: { validateForm () { @@ -372,6 +438,16 @@ export default { this.qbfsForm.reviseStatus = this.selectList[0].reviseStatus === '0'? '制定完成' : (this.selectList[0].reviseStatus === '1'? '制定中' : '未制定') this.qbfsForm.unitName = this.selectList[0].unitName this.qbfsForm.wgLeaderName = this.selectList[0].wgLeaderName + if(this.selectList[0].area){ + this.qbfsForm.area = this.selectList[0].area.split(',') + } + this.qbfsForm.rqbName = this.selectList[0].rqbName + this.qbfsForm.tsJsonName = this.selectList[0].tsJsonName + this.qbfsForm.isRelate = this.selectList[0].isRelate + this.qbfsForm.useLevel = this.selectList[0].useLevel + this.qbfsForm.esStandRelations = this.selectList[0].esStandRelations + this.qbfsForm.technologic = this.selectList[0].technologic + this.qbfsForm.esMatingRelations = this.selectList[0].esMatingRelations this.ListModel = false } }, diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/delay.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/delay.vue index 33119c5c4..63da88cbe 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/delay.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/delay.vue @@ -54,6 +54,27 @@ placeholder="请选择初稿完成时间"> + + + + + + + + + - - - @@ -124,6 +137,45 @@ > + + + + + + + + + + + + + + + + + + + + + @@ -282,6 +342,7 @@ export default { props: ['message'], data(){ return{ + BZList: [], formRules: { yqDraftTime: [ { required: true, message: '请选择延期后初稿完成时间', trigger: 'blur' }, @@ -332,6 +393,12 @@ export default { if(!this.qbfsForm.passFlag){ this.qbfsForm = {} } + //查询下拉框数据 + this.$http.get('sys/dictype/getDicTypeListCode', '',{ + _this: this + }, res => { + this.BZList = res.data.ENERGYTYPES //标准范围 + }) }, methods: { validateForm () { @@ -378,6 +445,7 @@ export default { }, //带入标准 OkDrawer(){ + console.log(this.selectList); if(this.selectList.length > 1){ this.$message.warning('您只能带入一条标准') }else if(this.selectList.length < 1){ @@ -393,6 +461,16 @@ export default { this.qbfsForm.reviseStatus = this.selectList[0].reviseStatus === '0'? '制定完成' : (this.selectList[0].reviseStatus === '1'? '制定中' : '未制定') this.qbfsForm.unitName = this.selectList[0].unitName this.qbfsForm.wgLeaderName = this.selectList[0].wgLeaderName + if(this.selectList[0].area){ + this.qbfsForm.area = this.selectList[0].area.split(',') + } + this.qbfsForm.rqbName = this.selectList[0].rqbName + this.qbfsForm.tsJsonName = this.selectList[0].tsJsonName + this.qbfsForm.isRelate = this.selectList[0].isRelate + this.qbfsForm.useLevel = this.selectList[0].useLevel + this.qbfsForm.esStandRelations = this.selectList[0].esStandRelations + this.qbfsForm.technologic = this.selectList[0].technologic + this.qbfsForm.esMatingRelations = this.selectList[0].esMatingRelations this.ListModel = false } }, diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue index 6bed46d34..a952cac68 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue @@ -1,5 +1,5 @@ @@ -2305,6 +2305,7 @@ export default { standNature: '',//标准性质 textStatus: '',//文本状态 synopsis: '', // 内容摘要 + CLLX: '' // 适用车型 }, // 分页查询过程中用到的对象 diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index d93411e8d..5f11c8896 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -5,16 +5,16 @@ - - - + + + - - - + + + @@ -90,6 +90,12 @@ align="center" width="55"> + + - - - + + + + + + { this.QCDWList = res.data.QCDW // 起草单位 this.standSystemOptions = res.data.TXLBBUSS // 体系结构 + this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别 this.BZList = res.data.ENERGYTYPES }, e => { }) diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue index f897487fb..665448eeb 100644 --- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue @@ -619,7 +619,7 @@