diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index da8f196f2..dd9c0b8d1 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -3713,7 +3713,7 @@ export default { & > p { min-height: 42px; line-height: 43px; - /*border-bottom: 1px solid #E5E5E5;*/ + border-bottom: 1px solid #E5E5E5; } } } diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue index 88d988853..c9c27195f 100644 --- a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue +++ b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue @@ -426,11 +426,11 @@ > - @@ -612,7 +612,7 @@ export default { itemsNum: "", //条款号 itemsName: "", //条款名称 productType: "", - projectNumber: "", + productId: "", productLine: "", //产品线 productName: "", //项目名称 reason: "", //不合规项目 @@ -644,7 +644,7 @@ export default { productName: [ { required: true, message: "请输入项目名称", trigger: "change" } ], - projectNumber: [ + productId: [ { required: true, message: "请输入项目编号", trigger: "change" } ], reason: [ @@ -700,7 +700,10 @@ export default { // 选择责任部门 nodeListZRBM: [], - modalshowflagZRBM: false + modalshowflagZRBM: false, + + // 储存项目id + projectId: '', }; }, methods: { @@ -893,7 +896,7 @@ export default { submit() { const id = this.addForm.id; const closeState = this.addForm.closeState; - const standId = this.addForm.productId // 此处standId储存项目下的标准的id + const standId = this.addForm.standId const standSerialNumber = this.addForm.standSerialNumber; const standName = this.addForm.standName; const itemsNum = this.addForm.itemsNum; @@ -901,7 +904,7 @@ export default { const productType = this.addForm.productType; const productLine = this.addForm.productLine; const productName = this.addForm.productName; - const productId = this.addForm.projectNumber; + const productId = this.addForm.productId; const reason = this.addForm.reason; const responsibleUnit = this.addForm.responsibleUnit; const dutyEngineer = this.addForm.dutyEngineer; @@ -1013,7 +1016,12 @@ export default { projectEdit(row) { this.drawerTitle = "编辑"; this.addForm = row - let productId = row.standId + this.ProjectDatas.forEach(item =>{ + if(item.projectNumber === row.productId) { + this.projectId = item.id + } + }) + let productId = this.projectId this.getProjectData() this.getStandData(productId) this.serialNumber = false @@ -1094,13 +1102,12 @@ export default { /** 项目名称change事件 */ handleChange(val) { - console.log(val); if (this.drawerTitle === '编辑') { this.addForm.standName = '' this.addForm.standSerialNumber = '' } this.addForm.productId = val.id - this.addForm.projectNumber = val.projectNumber + this.addForm.productId = val.projectNumber this.addForm.productLine = val.productLine this.addForm.productName = val.projectName this.addForm.productType = val.projectPlatfor @@ -1110,6 +1117,7 @@ export default { }, /** 标准号change事件 */ standChange(item) { + this.addForm.standId = item.standId this.addForm.standName = item.standName this.addForm.standSerialNumber = item.standSort + '-' + item.standNumber + '-' + item.standYear }, diff --git a/src/sysConfig/index.js b/src/sysConfig/index.js index 6485c1a23..3e7149052 100644 --- a/src/sysConfig/index.js +++ b/src/sysConfig/index.js @@ -16,7 +16,7 @@ const ssoLogin = 'http://sso.foton.com.cn/oauth2.0/authorize?client_id=app_slrs& // 配置 前端服务 const devWebUrl = 'https://srms.foton.com.cn/#/' // webLoginType : idm (线上统一登录) 、 webLoginType: dev (测试环境登录) -const webLoginType = 'idm' +const webLoginType = 'dev' // 云端端口号 const DEV_CLOUD_RES_INTERFACE_PORT = '7777' const simpleFilePath = 'att/attFile/upload' @@ -65,5 +65,5 @@ module.exports = { webSocket: webSocket + ':' + devInterfacePORT + '/websocket/socketServer', // webSocket连接 enterprise: enterprise, // GQ广汽 SJZX数据中心 theme: theme, // 主题 - processInterfaceURL: `https://${serverIP}:${processPort}/bat-wkflow` + processInterfaceURL: `http://${serverIP}:${processPort}/bat-wkflow` } diff --git a/webstorm.config.js b/webstorm.config.js index 765a8e043..b038949a7 100644 --- a/webstorm.config.js +++ b/webstorm.config.js @@ -1,3 +1,2 @@ const webpackConfig = require('@vue/cli-service/webpack.config.js') module.exports = webpackConfig -} \ No newline at end of file