{{ 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/localTool/standardRecognition/index.vue b/src/pages/localTool/standardRecognition/index.vue index ccc4f7be3..f4ece4368 100644 --- a/src/pages/localTool/standardRecognition/index.vue +++ b/src/pages/localTool/standardRecognition/index.vue @@ -259,10 +259,10 @@ export default { }, ], fileType: [ - { required: true, message: "文本状态称不能为空", trigger: "blur" }, + { required: true, message: "文本状态称不能为空", trigger: "change" }, ], fileName: [ - { required: true, message: '文件不能为空', trigger: 'blur' } + { required: true, message: '文件不能为空', trigger: 'change' } ] }, options: [ @@ -515,7 +515,8 @@ export default { message: "文件上传成功", type: "success", }); - // this.$refs['uploadFilesdfEo'].resetFields() + this.$refs['uploadFilesdfEo'].clearValidate('fileName') + this.$refs['uploadFilesdfEo'].clearValidate('standName') } else { this.defaultFileList = []; this.uploadFilesdfEo.attId = ""; diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index 73d8c3e67..e7dbc3d63 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -532,15 +532,15 @@ >
+ :key="item.id"> {{ item.name }}
import { interfaceUrl } from "@/sysConfig";
+import { exportFile } from '@/api/unqualProcess'
export default {
name: "AccessStandardDetails",
@@ -452,9 +453,8 @@ export default {
},
// 请求上传的文件信息
getFileInfo() {
- console.log(this.sarAccessEO)
this.$http.get("att/attFile/getMultiFileInfos", {
- fileIds: this.sarAccessEO.relateFile
+ fileIds: this.sarAccessEO.fileIds
}, {
_this: this
}, res => {
@@ -474,7 +474,7 @@ export default {
},
// 附件下载事件
fileDownLoad(attId) {
- window.location.href = "/api/att/attFile/downloadFile?fileId=" + attId;
+ window.location.href = "/api/att/attFile/downloadFile?fileId=" + attId
},
// 点击查看
handlePreview(item) {
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
index ebe26cb48..214ba8390 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'},
@@ -1150,7 +1151,6 @@ export default {
},
// 提交按钮 事件
saveSarAccess () {
- alert()
this.$refs['sarAccessForm'].validate((valid) => {
if (valid) {
let rowlist = []
diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
index 38a043c73..02e4c0ce2 100644
--- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
@@ -206,10 +206,13 @@
sortable="custom"
width="120px"
label="文本状态">
-
-