diff --git a/package-lock.json b/package-lock.json
index ed1880871..c672b1df7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3596,23 +3596,6 @@
"upath": "^1.1.1"
}
},
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "optional": true,
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
- "optional": true
- },
"commander": {
"version": "2.20.3",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
@@ -13784,6 +13767,94 @@
"resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.22.4.tgz",
"integrity": "sha512-XLI5s0AdqMP2Lf4I4CmdmOq8kjb5DDFGR77wAuxCfpEuYSfhTRyyx6MetgZMiL6Lxa0DasjBOiOcciU3NkL3/Q=="
},
+ "vue-loader-v16": {
+ "version": "npm:vue-loader@16.8.3",
+ "resolved": "https://registry.npmmirror.com/vue-loader/download/vue-loader-16.8.3.tgz",
+ "integrity": "sha1-1D5nXe9bqTRdbH8FkUwT2GGZcIc=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "chalk": "^4.1.0",
+ "hash-sum": "^2.0.0",
+ "loader-utils": "^2.0.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.nlark.com/ansi-styles/download/ansi-styles-4.3.0.tgz?cache=0&sync_timestamp=1618995651629&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fansi-styles%2Fdownload%2Fansi-styles-4.3.0.tgz",
+ "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "color-convert": "^2.0.1"
+ }
+ },
+ "chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.nlark.com/chalk/download/chalk-4.1.2.tgz?cache=0&sync_timestamp=1627646697260&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchalk%2Fdownload%2Fchalk-4.1.2.tgz",
+ "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ }
+ },
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz",
+ "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "color-name": "~1.1.4"
+ }
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.nlark.com/color-name/download/color-name-1.1.4.tgz",
+ "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=",
+ "dev": true,
+ "optional": true
+ },
+ "has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.nlark.com/has-flag/download/has-flag-4.0.0.tgz?cache=0&sync_timestamp=1626715907927&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhas-flag%2Fdownload%2Fhas-flag-4.0.0.tgz",
+ "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=",
+ "dev": true,
+ "optional": true
+ },
+ "hash-sum": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npm.taobao.org/hash-sum/download/hash-sum-2.0.0.tgz",
+ "integrity": "sha1-gdAbtd6OpKIUrV1urRtSNGCwtFo=",
+ "dev": true,
+ "optional": true
+ },
+ "loader-utils": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmmirror.com/loader-utils/download/loader-utils-2.0.2.tgz?cache=0&sync_timestamp=1636687952028&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Floader-utils%2Fdownload%2Floader-utils-2.0.2.tgz",
+ "integrity": "sha1-1uO0+4GHByGuTghoqxHdY4NowSk=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^3.0.0",
+ "json5": "^2.1.2"
+ }
+ },
+ "supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmmirror.com/supports-color/download/supports-color-7.2.0.tgz",
+ "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "has-flag": "^4.0.0"
+ }
+ }
+ }
+ },
"vue-router": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.4.0.tgz",
diff --git a/public/static/onlyOffice/editor.html b/public/static/onlyOffice/editor.html
index 3de05e8c2..4ff974662 100644
--- a/public/static/onlyOffice/editor.html
+++ b/public/static/onlyOffice/editor.html
@@ -1,6 +1,8 @@
+
+
@@ -8,7 +10,7 @@
在线编辑
-
+
@@ -36,7 +38,7 @@
var filePath = GetQueryValue('filePath')
var fileName = GetQueryValue('fileName')
var fileUrl = GetQueryValue('fileUrl')
- var standNo = GetQueryValue('standNo')
+ var oldFileName = GetQueryValue('oldFileName')
var key = GetQueryValue('key')
// var attId = GetQueryValue('attId')
var fileSuffix = GetQueryValue('fileType')
@@ -100,7 +102,7 @@
"download":true,//是否可以下载
"print":true //是否可以打印
},
- "fileType": 'pptx',
+ "fileType": fileSuffix,
"key": key,
"title": oldFileName,
"url": fileUrl
@@ -108,7 +110,7 @@
"documentType": documentType, // 文档类word-text、表格类excel-spreadsheet、ppt类-presentation
"editorConfig": {
// 此处配置回调地址
- "callbackUrl": `127.0.0.1:8080/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`,
+ "callbackUrl": `http://10.100.5.116:4202/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`,
"mode":"edit",
"lang":"zh-CN",
// "customization": {
diff --git a/public/static/onlyOffice/onlinePreview.html b/public/static/onlyOffice/onlinePreview.html
index 619506812..013abf4a9 100644
--- a/public/static/onlyOffice/onlinePreview.html
+++ b/public/static/onlyOffice/onlinePreview.html
@@ -1,6 +1,7 @@
+
@@ -8,7 +9,7 @@
在线预览
-
+
@@ -34,7 +35,7 @@
var fileName = GetQueryValue('fileName')
var filePath = GetQueryValue('filePath')
var fileUrl = GetQueryValue('fileUrl')
- var standNo = GetQueryValue('standNo')
+ var oldFileName = GetQueryValue('oldFileName')
var key = GetQueryValue('key')
// var attId = GetQueryValue('attId')
var fileSuffix = GetQueryValue('fileType')
@@ -100,13 +101,13 @@
},
"fileType": fileSuffix,
"key": key,
- "title": fileName,
+ "title": oldFileName,
"url": fileUrl
},
"documentType": documentType,
"editorConfig": {
// 此处配置回调地址
- "callbackUrl": `127.0.0.1:8080/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`,
+ "callbackUrl": `http://10.100.5.116:4202/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`,
"mode":"edit",
"lang":"zh-CN",
// "customization": {
diff --git a/public/static/pdf/web/viewer.js b/public/static/pdf/web/viewer.js
index 31be3f39b..90bee7839 100644
--- a/public/static/pdf/web/viewer.js
+++ b/public/static/pdf/web/viewer.js
@@ -6649,13 +6649,13 @@ var PDFPageView = function () {
watermark_txt: msg,
watermark_x: 50,//水印起始位置x轴坐标
watermark_y: 0,//水印起始位置Y轴坐标
- watermark_rows: 7,//水印行数
- watermark_cols: 5,//水印列数
- watermark_x_space: 80,//水印x轴间隔
- watermark_y_space: 120,//水印y轴间隔
+ watermark_rows: 15,//水印行数
+ watermark_cols: 7,//水印列数
+ watermark_x_space: 18,//水印x轴间隔
+ watermark_y_space: 20,//水印y轴间隔
watermark_color: 'rgba(192, 192, 192)',//水印字体颜色
watermark_alpha: 0.3,//水印透明度
- watermark_fontsize: '30px',//水印字体大小
+ watermark_fontsize: '40px',//水印字体大小
watermark_font: '微软雅黑',//水印字体
watermark_width: 120,//水印宽度
watermark_height: 80,//水印长度
diff --git a/public/static/ueditor/ADT/attachment/attachment.css b/public/static/ueditor/ADT/attachment/attachment.css
index e1ff867cc..9d0ec4b5f 100644
--- a/public/static/ueditor/ADT/attachment/attachment.css
+++ b/public/static/ueditor/ADT/attachment/attachment.css
@@ -96,7 +96,6 @@
#upload .placeholder .webuploader-pick {
font-size: 18px;
background: #00b7ee;
- 3px;
line-height: 44px;
padding: 0 30px;
*width: 120px;
@@ -198,7 +197,6 @@
overflow: hidden;
z-index: 50;
margin: 0;
- 0;
background: none;
-webkit-box-shadow: 0 0 0;
}
@@ -317,7 +315,6 @@
height: 113px;
background: url(./images/image.png) no-repeat center 12px;
border: 1px solid #eeeeee;
- 0;
}
#upload .filelist li.filePickerBlock div.webuploader-pick {
width: 100%;
@@ -447,7 +444,6 @@
color: #565656;
padding: 0 18px;
display: inline-block;
- 3px;
margin-left: 10px;
cursor: pointer;
font-size: 14px;
diff --git a/src/api/linkApi.js b/src/api/linkApi.js
new file mode 100644
index 000000000..9ee01f0ba
--- /dev/null
+++ b/src/api/linkApi.js
@@ -0,0 +1,10 @@
+import axios from "@/common/axiosV2";
+
+export function getImg (data) {
+ return axios({
+ url: 'api/sarUrl/tsUrl/getIconImg',
+ method: 'get',
+ params: data,
+ responseType: 'arraybuffer'
+ })
+}
diff --git a/src/assets/styles/common.less b/src/assets/styles/common.less
index 111d1293c..fd4c13f29 100644
--- a/src/assets/styles/common.less
+++ b/src/assets/styles/common.less
@@ -1,6 +1,8 @@
/*liuyan 全局公共样式*/
@import './style';
@import './mixins';
+// 移动端公共样式
+@import './phone';
// 左侧菜单样式
@import './navMenu';
// tree组件父组件内样式
diff --git a/src/assets/styles/phone.less b/src/assets/styles/phone.less
new file mode 100644
index 000000000..d73daf347
--- /dev/null
+++ b/src/assets/styles/phone.less
@@ -0,0 +1,9 @@
+.phoneBox {
+ width: 100%;
+ height: 100%;
+}
+@media screen and (max-width: 1366px) {
+ .el-message {
+ min-width: 200px !important;
+ }
+}
diff --git a/src/assets/styles/reset.css b/src/assets/styles/reset.css
index 1599c94dc..bebcef1bc 100644
--- a/src/assets/styles/reset.css
+++ b/src/assets/styles/reset.css
@@ -18,7 +18,12 @@ mark{background-color:transparent}
a,ins,s,u,del{text-decoration:none}
sup,sub{vertical-align:baseline}
html {width:100%;height: 100%;font-size: 50px;-webkit-tap-highlight-color: transparent;}
-body {font-family: 'PingFang SC', 'Microsoft Yahei', '微软雅黑', Arial, sans-serif !important;color: #333;font-size: 14px;line-height: 1;-webkit-text-size-adjust: none;width:100%;height:100%;min-width:1280px;overflow-x:auto;}
+@media screen and (min-width: 1366px) {
+ body {
+ min-width:1280px;
+ }
+}
+body {font-family: 'PingFang SC', 'Microsoft Yahei', '微软雅黑', Arial, sans-serif !important;color: #333;font-size: 14px;line-height: 1;-webkit-text-size-adjust: none;width:100%;height:100%;overflow-x:auto;}
hr {height: .02rem;margin: .1rem 0;border: medium none;border-top: .02rem solid #cacaca;}
a {text-decoration: none;}
/*意见反馈页面富文本表格宽度*/
diff --git a/src/components/CustomFormComponents/File.vue b/src/components/CustomFormComponents/File.vue
index 371d7977e..bd1f90762 100644
--- a/src/components/CustomFormComponents/File.vue
+++ b/src/components/CustomFormComponents/File.vue
@@ -38,7 +38,6 @@
class="form-upload-btn"
>
- 上传
{
+ this.getBusStandFileByAttId(attId)
+ .then(res => {
console.log(res)
if(res){
- const editFileInfo = res
- console.log(editFileInfo)
- if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
- window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
- }else {
- const nowTime = new Date().getTime()
- // window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
- window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
- }
- // window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ const editFileInfo = res
+ console.log(editFileInfo)
+ if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
+ window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
+ }else {
+ const nowTime = new Date().getTime()
+ // window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
+ window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
+ }
+ // window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
}
// switch (res.convertState) {
// case 'ERROR':
@@ -380,10 +379,10 @@ export default {
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + convertFileInfo.id))
// break
// }
- }).catch(e => {
- console.log(e)
- this.$message.warning('文件不存在,预览失败')
- })
+ }).catch(e => {
+ console.log(e)
+ this.$message.warning('文件不存在,预览失败')
+ })
}
},
diff --git a/src/components/CustomFormComponents/SelectArray.vue b/src/components/CustomFormComponents/SelectArray.vue
index 7090d5e0b..d7ffd381a 100644
--- a/src/components/CustomFormComponents/SelectArray.vue
+++ b/src/components/CustomFormComponents/SelectArray.vue
@@ -10,6 +10,7 @@
@@ -210,7 +223,7 @@
import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle";
-import { startProcess, saveTaskFirst,completeTask, inboundLiaisonDetail } from '@/api/process.js'
+import { startProcess, saveTaskForPub,completeTask, inboundLiaisonDetail } from '@/api/process.js'
export default {
components: {
ProcessHeader,
@@ -237,6 +250,9 @@ export default {
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId,
+
+ uploadFileLength: '',
+ commentText: ''
}
},
computed: {
@@ -280,6 +296,7 @@ export default {
getFormFieldList (item) {
this.$nextTick(() => {
this.ch_pageData = JSON.parse(JSON.stringify(item)).ch_pageData
+ this.uploadFileLength = this.ch_pageData.fileTextList.length
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
// this.ch_pageData.comityFileNum = this.fileTextList
})
@@ -318,30 +335,51 @@ export default {
},
// 保存按钮
handleSave() {
+ this.saveLoading = true
+ let _formData = new FormData()
+ _formData.append('taskIds', this.taskIds)
+ _formData.append('json', JSON.stringify({
+ ch_pageData: this.ch_pageData,
+ roleList: this.roleForm,
+ commentText: this.commentText
+ }))
+ saveTaskForPub(_formData).then(res => {
+ this.saveLoading = false
+ this.$message.success('保存成功')
+ this.bpnId = res.result
+ }).catch(e => {
+ this.saveLoading = false
+ })
},
// 提交按钮
handleSubmit() {
- let json = {
- leader: this.roleForm.leaderUserId,
- ch_pageData: this.ch_pageData,
- roleList: this.roleForm,
- }
- this.$refs['ch_pageData'].validate((valid) => {
- if (valid) {
- this.isSubmit = true
- const params = new FormData();
- params.set('json', JSON.stringify(json))
- params.set('userId', this.$store.getters.userInfo.userId)
- params.set('taskId', this.taskIds)
- completeTask(params).then(res => {
- if (res.success === true) {
- this.$message.success('提交成功')
- this.$router.push("/processCenter");
- }
- this.isSubmit = false
- });
+ if (this.commentText === '') {
+ this.$message.warning('请输入审批意见')
+ } else {
+ let json = {
+ leader: this.roleForm.leaderUserId,
+ ch_pageData: this.ch_pageData,
+ commentText: this.commentText,
+ roleList: this.roleForm,
}
- })
+ this.$refs['ch_pageData'].validate((valid) => {
+ if (valid) {
+ this.isSubmit = true
+ const params = new FormData();
+ params.set('json', JSON.stringify(json))
+ params.set('userId', this.$store.getters.userInfo.userId)
+ params.set('taskId', this.taskIds)
+ completeTask(params).then(res => {
+ if (res.success === true) {
+ this.$message.success('提交成功')
+ this.$router.push("/processCenter");
+ }
+ this.isSubmit = false
+ });
+ }
+ })
+ }
+
}
}
}
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue
new file mode 100644
index 000000000..9104f1397
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue
@@ -0,0 +1,377 @@
+
+
+
+ 外部标准化协会参会流程
+ 批准
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+ {{ ch_pageData.meetingName || '-' }}
+
+
+
+
+ {{ ch_pageData.primaryUnit || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.associaName || '-' }}
+
+
+
+
+ {{ ch_pageData.meetingStartTime || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.meetingPlace || '-' }}
+
+
+
+
+ {{ ch_pageData.feeStand || '-' }}
+
+
+
+
+
+
+ {{ ch_pageData.feeKind || '-' }}
+
+
+
+
+ {{ '-' }}
+
+ {{ item.name }} {{ ';'}}
+
+
+
+
+
+
+
+ 计划内
+ 计划外
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD") : "" }}
+
+
+
+
+ {{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD") : "" }}
+
+
+
+
+ {{ scope.row.commentText }}
+
+
+
+
+ {{ scope.row.endTime ? "已完成" : "未完成" }}
+
+
+
+ 流程列表加载中
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue
index 105a1410d..eea516e65 100644
--- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step6.vue
@@ -62,18 +62,18 @@
-
+ {{ '-' }}
+
+ {{ item.name }} {{ ';'}}
+
- {{ ch_pageData.sort || '-' }}
+ 计划内
+ 计划外
@@ -111,6 +111,19 @@
+
+
+
+
+
+
+
+
@@ -230,6 +243,10 @@ export default {
taskInfo: this.$route.query.taskInfo,
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId,
+
+ uploadFileLength: '',
+ passTitle: '审批意见',
+ passHolder: '请输入审批意见'
}
},
computed: {
@@ -261,6 +278,10 @@ export default {
},
getData() {
+ if (this.taskInfo === '标准法规工程师修订完毕') {
+ this.passTitle = '回执说明',
+ this.passHolder = '请输入回执说明'
+ }
const params = {
taskIds: this.taskIds,
pId: this.pId,
@@ -273,6 +294,7 @@ export default {
getFormFieldList (item) {
this.$nextTick(() => {
this.ch_pageData = JSON.parse(JSON.stringify(item)).ch_pageData
+ this.uploadFileLength = this.ch_pageData.fileTextList.length
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
// this.ch_pageData.comityFileNum = this.fileTextList
})
@@ -293,7 +315,7 @@ export default {
this.deleteDataList.map(item => {
let index;
index = this.ch_pageData.myPartRole.findIndex(items => {
- return items.id === item;
+ return items === item;
});
if (index > -1) {
this.ch_pageData.myPartRole.splice(index, 1);
@@ -311,77 +333,90 @@ export default {
},
// 退回按钮
handleSubmitNo() {
- let json = {
- passFlag: '0',
- ch_pageData: this.ch_pageData,
- roleList: this.roleForm
- }
- if (this.taskInfo === '技术管理中心主任审批') {
- json.manageDepartmentList = this.roleForm.feeUserId
- } else if (this.taskInfo === '费用管理部门会签') {
- json.manageDepartment = this.$store.getters.userInfo.userId
- json.president = this.roleForm.engineerUserId
- } else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') {
- json.engineerSumDone = this.roleForm.startUser
+ if (this.textarea === '') {
+ this.$message.warning('请输入审批意见')
} else {
- json = {
+ let json = {
+ passFlag: '0',
ch_pageData: this.ch_pageData,
+ commentText: this.textarea,
roleList: this.roleForm
}
- }
- this.$refs['ch_pageData'].validate((valid) => {
- if (valid) {
- this.isBack = true
- const params = new FormData();
- params.set('json', JSON.stringify(json))
- params.set('userId', this.$store.getters.userInfo.userId)
- params.set('taskId', this.taskIds)
- completeTask(params).then(res => {
- if (res.success === true) {
- this.$message.success('提交成功')
- this.$router.push("/processCenter");
- }
- this.isBack = false
- });
+ if (this.taskInfo === '技术管理中心主任审批') {
+ json.manageDepartmentList = this.roleForm.feeUserId
+ } else if (this.taskInfo === '费用管理部门会签') {
+ json.manageDepartment = this.$store.getters.userInfo.userId
+ json.president = this.roleForm.engineerUserId
+ } else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') {
+ json.engineerSumDone = this.roleForm.startUser
+ } else {
+ json = {
+ ch_pageData: this.ch_pageData,
+ commentText: this.textarea,
+ roleList: this.roleForm
+ }
}
- })
+ this.$refs['ch_pageData'].validate((valid) => {
+ if (valid) {
+ this.isBack = true
+ const params = new FormData();
+ params.set('json', JSON.stringify(json))
+ params.set('userId', this.$store.getters.userInfo.userId)
+ params.set('taskId', this.taskIds)
+ completeTask(params).then(res => {
+ if (res.success === true) {
+ this.$message.success('提交成功')
+ this.$router.push("/processCenter");
+ }
+ this.isBack = false
+ });
+ }
+ })
+ }
},
// 提交按钮
handleSubmit() {
- let json = {
- passFlag: '1',
- ch_pageData: this.ch_pageData,
- roleList: this.roleForm
- }
- if (this.taskInfo === '技术管理中心主任审批') {
- json.manageDepartmentList = this.roleForm.feeUserId
- } else if (this.taskInfo === '费用管理部门会签') {
- json.manageDepartment = this.$store.getters.userInfo.userId
- json.president = this.roleForm.engineerUserId
- } else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') {
- json.engineerSumDone = this.roleForm.startUser
+ if (this.textarea === '') {
+ this.$message.warning('请输入审批意见')
} else {
- json = {
+ let json = {
+ passFlag: '1',
ch_pageData: this.ch_pageData,
+ commentText: this.textarea,
roleList: this.roleForm
}
- }
- this.$refs['ch_pageData'].validate((valid) => {
- if (valid) {
- this.isSubmit = true
- const params = new FormData();
- params.set('json', JSON.stringify(json))
- params.set('userId', this.$store.getters.userInfo.userId)
- params.set('taskId', this.taskIds)
- completeTask(params).then(res => {
- if (res.success === true) {
- this.$message.success('提交成功')
- this.$router.push("/processCenter");
- }
- this.isSubmit = false
- });
+ if (this.taskInfo === '技术管理中心主任审批') {
+ json.manageDepartmentList = this.roleForm.feeUserId
+ } else if (this.taskInfo === '费用管理部门会签') {
+ json.manageDepartment = this.$store.getters.userInfo.userId
+ json.president = this.roleForm.engineerUserId
+ } else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') {
+ json.engineerSumDone = this.roleForm.startUser
+ } else {
+ json = {
+ ch_pageData: this.ch_pageData,
+ commentText: this.textarea,
+ roleList: this.roleForm
+ }
}
- })
+ this.$refs['ch_pageData'].validate((valid) => {
+ if (valid) {
+ this.isSubmit = true
+ const params = new FormData();
+ params.set('json', JSON.stringify(json))
+ params.set('userId', this.$store.getters.userInfo.userId)
+ params.set('taskId', this.taskIds)
+ completeTask(params).then(res => {
+ if (res.success === true) {
+ this.$message.success('提交成功')
+ this.$router.push("/processCenter");
+ }
+ this.isSubmit = false
+ });
+ }
+ })
+ }
+
}
}
}
diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue
index ecf021766..fca2bdbc0 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue
@@ -325,12 +325,6 @@
submitBTNText="同意"
>
-
海外标准入库
-
+
-
-
-
-
- 查看已上传的文件
-
-
-
-
-
- 点击上传
-
-
+
-
-
-
-
- 查看已上传的文件
-
-
-
-
-
- 点击上传
-
-
+
-
-
-
-
- 查看已上传的文件
-
-
-
-
-
- 点击上传
-
-
+
-
-
-
-
- 查看已上传的文件
-
-
-
-
-
- 点击上传
-
-
+
-
-
-
-
- 查看已上传的文件
-
-
-
-
-
- 点击上传
-
-
+
@@ -414,28 +379,21 @@
v-model="form.kwjName"
clearable
>
-
-
-
-
- 查看已上传的文件
-
-
-
-
-
- 点击上传
-
-
+
@@ -446,28 +404,21 @@
v-model="form.jdwjName"
clearable
>
-
-
-
-
- 查看已上传的文件
-
-
-
-
-
- 点击上传
-
-
+
-
-
-
-
- 查看已上传的文件
-
-
-
-
-
- 点击上传
-
-
+
-
-
-
-
- 查看已上传的文件
-
-
-
-
-
- 点击上传
-
-
+
@@ -771,27 +708,20 @@
v-model="form.glwjName"
clearable
>
-
-
-
-
- 查看已上传文件
-
-
-
-
-
-
- 点击上传
-
+
@@ -1117,7 +1047,7 @@
@@ -1125,7 +1055,8 @@
{
+ this.form = JSON.parse(JSON.stringify(item))
+ this.defaultCheckedKeys = [this.form.standSystem]
+ this.defaultCheckedKeys1 = [this.form.cycvppsbm]
+ this.defaultCheckedKeys2 = [this.form.kccvppsbm]
+ this.defaultCheckedKeys3 = [this.form.dybxh]
+ this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
+ this.form.standYear = this.form.standYear ? parseInt(this.form.standYear) : ''
+ if( this.form.country !== undefined && this.form.country !== null && this.form.country !== ''){
+ this.form.country=this.form.country.split(",");
+ }
+ this.form.prcNum = this.prcNum
+ this.form.prcName = this.prcName
+ this.form['id'] = item.id
+
+ // 遍历对象初始化文件信息
+ for(const p in this.form) {
+ if (typeof (this.form[p ]) != "function") {
+ this.initializeFileList(p,this.form[p]);
+ }
+ }
+
+ })
+ },
// 将文本状态的id与name对应
setMap(data){
data.forEach(item => {
@@ -1892,7 +1854,7 @@
this.verifySarStandard = true
this.clearFormData(this.form)
break
- // 带入
+ // 带入(确认)
case 2:
if (this.standardCheckedList.length === 1) {
this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
@@ -1905,7 +1867,6 @@
const json = Object.assign(bringData, bringData.attrInfoCaseMap);
this.form = JSON.parse(JSON.stringify(json))
-
this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw && JSON.parse(JSON.stringify(json)).qcdw !== '[]' ? JSON.parse(JSON.stringify(json)).qcdw.split(',') : []
this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr && JSON.parse(JSON.stringify(json)).wssmr !== '[]' ? JSON.parse(JSON.stringify(json)).wssmr.split(',') : []
this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs && JSON.parse(JSON.stringify(json)).zrgcs !== '[]' ? JSON.parse(JSON.stringify(json)).zrgcs.split(',') : []
@@ -1924,6 +1885,10 @@
this.key3++
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
this.form.standYear = bringData.standYear ? parseInt(bringData.standYear) : ''
+ console.log(this.form)
+ this.form.ssrq = this.form.ssrq?this.$moment(this.form.ssrq).format("YYYY-MM-DD"):null
+ this.form.zccssrq = this.form.zccssrq?this.$moment(this.form.zccssrq).format("YYYY-MM-DD"):null
+ this.form.xcxssrq = this.form.xcxssrq?this.$moment(this.form.xcxssrq).format("YYYY-MM-DD"):null
this.form.prcNum = this.prcNum
this.form.prcName = this.prcName
this.form['id'] = bringData.id
@@ -2857,6 +2822,11 @@
+
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step5.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step5.vue
new file mode 100644
index 000000000..7691ed962
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step5.vue
@@ -0,0 +1,713 @@
+
+
+
+ 项目清单确认流程
+ 产品经理汇总
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD") : "" }}
+
+
+
+
+ {{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD") : "" }}
+
+
+
+
+ {{ scope.row.commentText }}
+
+
+
+
+ {{ scope.row.endTime ? "已完成" : "未完成" }}
+
+
+
+ 流程列表加载中
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/newProcess/index.vue b/src/pages/processCenter/pages/newProcess/index.vue
index 3840da988..066ed5db3 100644
--- a/src/pages/processCenter/pages/newProcess/index.vue
+++ b/src/pages/processCenter/pages/newProcess/index.vue
@@ -127,7 +127,7 @@
-
+
diff --git a/src/pages/processCenter/pages/phone/bzjd/step4.vue b/src/pages/processCenter/pages/phone/bzjd/step4.vue
new file mode 100644
index 000000000..002c2edbe
--- /dev/null
+++ b/src/pages/processCenter/pages/phone/bzjd/step4.vue
@@ -0,0 +1,548 @@
+
+
+
+ 标准解读流程
+ 责任人审核
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 隐藏基础信息
+ 展开基础信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 拆分信息
+
+
+
+
+
+
+
+
+ 查看条款内容
+
+
+
+
+
+
+
+
+
+
+ 符合
+ 不符合
+
+
+
+
+
+
+ {{ scope.row.newData ? $moment(scope.row.newData).format('YYYY-MM-DD') : scope.row.newData }}
+
+
+
+
+ {{ scope.row.onlineData ? $moment(scope.row.onlineData).format('YYYY-MM-DD') : scope.row.onlineData }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+ {{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+ {{ scope.row.commentText }}
+
+
+
+
+ {{ scope.row.endTime ? '已完成' : '未完成'}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/processDetail/index.vue b/src/pages/processCenter/pages/processDetail/index.vue
index 081dd1ae8..586eed8cc 100644
--- a/src/pages/processCenter/pages/processDetail/index.vue
+++ b/src/pages/processCenter/pages/processDetail/index.vue
@@ -258,6 +258,12 @@ export default {
}else if(prcType === '10'){
//项目清单确认
this.toProcessDetail('xmqdqrStep1-3',row)
+ } else if(prcType === '20') {
+ // 入会流程
+ this.toProcessDetail('bzrhStep6-1',row)
+ } else if(prcType === '21') {
+ // 参会流程
+ this.toProcessDetail('bzchStep6-1',row)
}
} else {
this.$message.warning('当前流程未全部办理完成,无法查看')
diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
index b3465c084..11f67461c 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -980,7 +980,7 @@ export default {
})
} else if (row.taskInfo === '责任人审核') {
this.$router.push({
- name: 'bzjdStep4',
+ name: 'phoneBzjdStep4',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
@@ -1014,7 +1014,7 @@ export default {
}
break
case '10':
- if (row.taskInfo === '确认人确认') {
+ if (row.taskInfo === '产品工程经理分发清单') {
this.$router.push({
name: 'xmqdqrStep2',
query: {
@@ -1025,7 +1025,7 @@ export default {
prcType: row.prcType
}
})
- } else if(row.taskInfo === '标准法规部经理审批'){
+ } else if(row.taskInfo === '确认人确认'){
this.$router.push({
name: 'xmqdqrStep3',
query: {
@@ -1036,6 +1036,28 @@ export default {
prcType: row.prcType
}
})
+ }else if(row.taskInfo === '产品工程经理汇总清单'){
+ this.$router.push({
+ name: 'xmqdqrStep4',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ }else if(row.taskInfo === '标准法规部经理审批'){
+ this.$router.push({
+ name: 'xmqdqrStep5',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
}
break
case 'laws2':
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
index 8297e2464..d676a1cca 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
@@ -1641,6 +1641,7 @@ export default {
}, res => {
console.log('1640',res)
this.sarAccessInfoSearchList = res.data.list
+ this.drawerTotal = res.data.count
}, e => {
})
}else if (this.sarAccessInfoSearch.dataSource === 'BUSINESS'){
@@ -1649,6 +1650,7 @@ export default {
}, res => {
console.log('1648',res)
this.sarAccessInfoSearchList = res.data.list
+ this.drawerTotal = res.data.count
}, e => {
})
}
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue
index 70ec69b73..cc186c817 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue
@@ -1538,6 +1538,7 @@ export default {
}, res => {
console.log('1640',res)
this.sarAccessInfoSearchList = res.data.list
+ this.drawerTotal = res.data.count
}, e => {
})
}else if (this.sarAccessInfoSearch.dataSource === 'BUSINESS'){
@@ -1546,6 +1547,7 @@ export default {
}, res => {
console.log('1648',res)
this.sarAccessInfoSearchList = res.data.list
+ this.drawerTotal = res.data.count
}, e => {
})
}
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
index 360907b0e..25941adfd 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
@@ -1636,6 +1636,7 @@ export default {
}, res => {
console.log('1640',res)
this.sarAccessInfoSearchList = res.data.list
+ this.drawerTotal = res.data.count
}, e => {
})
}else if (this.sarAccessInfoSearch.dataSource === 'BUSINESS'){
@@ -1644,6 +1645,7 @@ export default {
}, res => {
console.log('1648',res)
this.sarAccessInfoSearchList = res.data.list
+ this.drawerTotal = res.data.count
}, e => {
})
}
diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
index 344e5e8cb..e6c26d318 100644
--- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
@@ -20,8 +20,7 @@
default-expanded-keys="['64df1d5522bb49c09af2']"
highlight-current
@node-click="treeClick"
- :filter-node-method="filterNode"
- :expand-on-click-node="false">
+ :filter-node-method="filterNode">
批量删除
+ v-btn-permission="'dbaf9df2990a595c8abea28e68b1a681'">批量删除
+
@@ -698,7 +697,6 @@
:disabled="formdisableflag"
>
-
责任部门
-
-->
+
+
+ 起草单位
+
+
+
+
+
+
+
+
+
+
+ 手动查找
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1947,6 +2002,9 @@ export default {
},
data() {
return {
+ QCDWValue: [],
+ QCDWmodal: false,
+ QCDWList: [],
OCRSubmitLoading: false,
OCRSubmitButton: '',
OCRType: '',
@@ -2651,6 +2709,21 @@ export default {
}
},
methods: {
+ QCDWOK() {
+ let arr1 = []
+ if (this.sarStandardsInfoEO['QCDW']) {
+ let str = this.sarStandardsInfoEO['QCDW'].replace(/,/g, ',')
+ arr1 = str.split(',')
+ }
+ let arr2 = arr1.concat(this.QCDWValue)
+ this.sarStandardsInfoEO['QCDW'] = Array.from(new Set(arr2)).join(',')
+ this.QCDWmodal = false
+ },
+ QCDWClick(row) {
+ this.QCDWValue = []
+ this.QCDWmodal = true
+ this.QCDWList = row
+ },
setWBType(type) {
let text = ''
for (let a = 0; a < this.OCRoptions.length; a++) {
@@ -3248,6 +3321,7 @@ export default {
})
})
this.dynamicFormField = displayLocation
+ console.log(this.dynamicFormField);
this.loading = false
})
})
diff --git a/src/pages/regulatoryRepository/enterBSysRevPlanManaLib/index.vue b/src/pages/regulatoryRepository/enterBSysRevPlanManaLib/index.vue
index 9a2d65b9d..5c27786fe 100644
--- a/src/pages/regulatoryRepository/enterBSysRevPlanManaLib/index.vue
+++ b/src/pages/regulatoryRepository/enterBSysRevPlanManaLib/index.vue
@@ -146,7 +146,6 @@
@click="clearSearch"
>
-
-
-
+ :filter-node-method="filterNode">
{{ node.label }}
diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue
index f9eefc43b..36a2dd59a 100644
--- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue
+++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue
@@ -19,13 +19,13 @@
@@ -101,27 +101,33 @@
label="计划状态"
align="center"
width="150">
+
+ {{ scope.row.planStatus === '0'? '完成' : (scope.row.planStatus === '1'? '修订' : '制定') }}
+
+
+ {{ scope.row.reviseStatus === '0'? '制定完成' : (scope.row.reviseStatus === '1'? '制定中' : '未制定') }}
+
@@ -180,7 +186,7 @@
@@ -199,38 +205,38 @@
-
-
-
+
+
+
-
-
-
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+ 手动查找
+
+
-
-
-
-
-
-
@@ -285,6 +306,40 @@
@click="addDrawerClose">取消
+
+
+
+
+
+
+
+
+
@@ -295,6 +350,15 @@
components: {},
data() {
return {
+ QCDWmodal: false,
+ QCDWValue: [],
+ QCDWList: [],
+ type: '',
+ drawerTitle: '',
+ modalshowflag2: false,
+ modalshowflag: false,
+ nodeList: [],
+ nodeList2: [],
loading: false,
submitLoading: false,
addDrawerTitle: '',
@@ -307,10 +371,13 @@
planStatus: '', // 计划状态
reviseStatus: '', // 制修订状态
resPerson: '', // 评审责任人
+ resPersonName: '',
wgLeader: '', // 工作组组长
+ wgLeaderName: '',
draftTime: '', // 计划标准初稿完成时间
releaseTime: '', // 计划标准发布时间
drafter: '', // 起草人
+ drafterName: '',
// remarks: '', // 备注
},
addFormRules: {
@@ -327,19 +394,19 @@
{required: true, message: '请选择制修订状态', trigger: 'change'},
],
resPerson: [
- {required: true, message: '请输入评审责任人', trigger: 'blur'},
+ {required: true, message: '请选择评审责任人', trigger: 'change'},
],
wgLeader: [
- {required: true, message: '请输入工作组组长', trigger: 'blur'},
+ {required: true, message: '请选择工作组组长', trigger: 'change'},
],
draftTime: [
- {required: true, message: '请输入计划标准初稿完成时间', trigger: 'blur'},
+ {required: true, message: '请输入计划标准初稿完成时间', trigger: 'change'},
],
releaseTime: [
{required: true, message: '请输入计划标准发布时间', trigger: 'blur'},
],
drafter: [
- {required: true, message: '请输入起草人', trigger: 'blur'},
+ {required: true, message: '请选择起草人', trigger: 'change'},
],
},
form: {
@@ -358,6 +425,59 @@
props: {},
watch: {},
methods: {
+ QCDWOK () {
+ let arr1 = []
+ if (this.addForm.unit) {
+ let str = this.addForm.unit.replace(/,/g, ',')
+ arr1 = str.split(',')
+ }
+ let arr2 = arr1.concat(this.QCDWValue)
+ this.addForm.unit = Array.from(new Set(arr2)).join(',')
+ this.QCDWmodal = false
+ },
+ QCDWClick () {
+ this.QCDWValue = []
+ this.QCDWmodal = true
+ },
+ choiceZRR (type, title, id) {
+ this.nodeList = []
+ this.nodeList.push(id)
+ this.type = type
+ this.drawerTitle = title
+ this.modalshowflag = true
+ },
+ checkedRole (data) {
+ this.addForm.wgLeader = data[0].id
+ this.addForm.wgLeaderName = data[0].name
+ },
+ choiceZRRS (type, title, id) {
+ this.type = type
+ this.drawerTitle = title
+ this.nodeList2 = []
+ if (id) {
+ this.nodeList2 = id.split(',')
+ }
+ this.modalshowflag2 = true
+ },
+ checkedRole2 (data) {
+ var idList = ''
+ var nameList = ''
+ data.forEach( item => {
+ if (nameList.length > 0) {
+ nameList += ','
+ idList += ','
+ }
+ idList += item.id
+ nameList += item.name
+ })
+ if (this.type === 'resPerson') {
+ this.addForm.resPerson = idList
+ this.addForm.resPersonName = nameList
+ } else if (this.type === 'drafter') {
+ this.addForm.drafter = idList
+ this.addForm.drafterName = nameList
+ }
+ },
addDrawerSubmit () {
this.$refs['addForm'].validate((valid) => {
if (valid) {
@@ -376,9 +496,15 @@
}, res => {
this.submitLoading = false
if (res.ok) {
- this.addDrawer = false
- this.$message.success(tips + '成功')
- this.getData()
+ if (res.data === '操作成功') {
+ this.addDrawer = false
+ this.$message.success(tips + '成功')
+ this.getData()
+ } else {
+ this.addDrawer = false
+ this.$message.warning(res.data)
+ this.getData()
+ }
} else {
this.$message.warning(tips + '失败')
}
@@ -473,9 +599,12 @@
reviseStatus: command[0].reviseStatus, // 制修订状态
resPerson: command[0].resPerson, // 评审责任人
wgLeader: command[0].wgLeader, // 工作组组长
+ resPersonName: command[0].resPersonName, // 评审责任人
+ wgLeaderName: command[0].wgLeaderName, // 工作组组长
draftTime: command[0].draftTime, // 计划标准初稿完成时间
releaseTime: command[0].releaseTime, // 计划标准发布时间
- drafter: command[0].drafter, // 起草人
+ drafterName: command[0].drafterName, // 起草人
+ drafter: command[0].drafter,
}
break
case '删除':
@@ -525,6 +654,12 @@
computed: {},
mounted() {
this.getData()
+ this.$http.get('sys/dictype/getDicTypeListCode', '', {
+ _this: this
+ }, res => {
+ this.QCDWList = res.data.QCDW // 起草单位
+ }, e => {
+ })
},
}
diff --git a/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue b/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue
index 3eb4b26f4..36545c4c5 100644
--- a/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue
+++ b/src/pages/regulatoryRepository/foreignRegulationsDatabase/index.vue
@@ -21,8 +21,7 @@
default-expanded-keys="['64df1d5522bb49c09af6']"
highlight-current
@node-click="treeClick"
- :filter-node-method="filterNode"
- :expand-on-click-node="false">
+ :filter-node-method="filterNode">
{{ node.label }}
@@ -182,8 +181,8 @@
fontWeight: 'bold', height: '48px'}"
@selection-change="standSelectChange"
>
+
-
+ :filter-node-method="filterNode">
{{ node.label }}
@@ -185,8 +183,8 @@
fontWeight: 'bold', height: '48px'}"
@selection-change="standSelectChange"
@sort-change="sortChange">
+
@@ -4894,14 +4892,14 @@ export default {
let idList = ''
let nameList = ''
data.forEach(item => {
- if (item.hasChild === '0' && item.children === null) {
+ // if (item.hasChild === '0' && item.children === null) {
if (nameList.length > 0) {
nameList += ','
idList += ','
}
idList += item.id
nameList += item.name
- }
+ // }
})
this.sarStandardsInfoEO.ZRBMId = idList;
this.sarStandardsInfoEO['ZRBM'] = nameList;
diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
index 3c9121860..5f0242084 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
@@ -100,12 +100,14 @@
diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue
index b68b90b2a..4e6e3b464 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue
@@ -190,7 +190,7 @@
diff --git a/src/pages/regulatoryRepository/nonConfomity/index.vue b/src/pages/regulatoryRepository/nonConfomity/index.vue
index 2fbd07e11..e70d082ba 100644
--- a/src/pages/regulatoryRepository/nonConfomity/index.vue
+++ b/src/pages/regulatoryRepository/nonConfomity/index.vue
@@ -1,77 +1,77 @@
-
+
diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
index 64976940d..fe11fec51 100644
--- a/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
+++ b/src/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase.vue
@@ -1120,7 +1120,7 @@ export default {
this.roleShowflag = true
},
drawerCheck(data) {
- this.addForm.dutyEngineer = data[0].name.slice(0,data[0].name.indexOf('('))
+ this.addForm.dutyEngineer = data[0].name
this.roleShowflag = false
},
/** 选择认证工程师和质量工程师 */
@@ -1140,7 +1140,7 @@ export default {
idList += ','
}
idList += item.id
- nameList += item.name.slice(0,item.name.indexOf('('))
+ nameList += item.name
})
if (this.type === 'authEngineer') {
this.addForm.authEngineer = nameList
diff --git a/src/pages/searchCenter/pages/advancedSearch.vue b/src/pages/searchCenter/pages/advancedSearch.vue
index 3f55f76e4..b9c174ee1 100644
--- a/src/pages/searchCenter/pages/advancedSearch.vue
+++ b/src/pages/searchCenter/pages/advancedSearch.vue
@@ -7,9 +7,9 @@
{{ $t("m.generalSearch") }}{{ $t("m.advancedSearch") }}
+ class="senior">{{ $t("m.advancedSearch") }}
@@ -27,8 +27,8 @@
{{ $t("m.clearQuery") }}
-
-
+
+
@@ -39,9 +39,9 @@
{{ $t("m.standAll") }}
-
+
{{ $t("m.enterpriseStandard") }}
@@ -75,11 +75,11 @@
-
+
@@ -144,10 +144,10 @@
-
-
-
-
+
+
+
+
@@ -462,16 +462,16 @@
-
-
+
+
@@ -832,11 +832,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -938,23 +938,23 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -974,8 +974,8 @@
+ v-if="!kindtext && this.selectIndex === 'INLAND_STAND' && this.buyRoleFlag === 0 && (this.resultData === null || this.resultData.length === 0)"
+ class="toBuyClass">
{{ $t("m.noQueryResult") }}!
@@ -984,50 +984,50 @@
+ tooltip-effect="dark"
+ border
+ :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
+ :data="resultData"
+ style="width: 100%"
+ v-loading="tableLoading">
+ align="center"
+ type="index"
+ width="50">
{{ selectIndex === 'INLAND_LAWS' ? scope.row.lawsNumber : scope.row.numbershow}}
+ align="center"
+ :label="$t('m.itemNumber')"
+ show-overflow-tooltip
+ v-if="selectIndex === 'items'">
{{ scope.row.itemsNum
}}
+ align="center"
+ :label="$t('m.entryName')"
+ v-if="selectIndex === 'items'">
{{ scope.row.itemsName
}}
+ align="center"
+ :label="$t('m.newModelImplementationDate')"
+ v-if="selectIndex === 'items'"
+ width="140">
{{ $dateFormat(new Date(scope.row.newcarPutTime), "yyyy-MM-dd") }}
@@ -1036,10 +1036,10 @@
+ align="center"
+ :label="$t('m.implementationDateOfProductionVehicle')"
+ v-if="selectIndex === 'items'"
+ width="140">
{{ $dateFormat(new Date(scope.row.productPutTime), "yyyy-MM-dd") }}
@@ -1048,28 +1048,28 @@
+ align="center"
+ :label="$t('m.clauseRequirements')"
+ v-if="selectIndex === 'items'"
+ width="200">
{{ scope.row.parts
}}
+ align="center"
+ :label="$t('m.applicableModels')"
+ v-if="selectIndex === 'items'"
+ width="200">
{{ scope.row.applyArcticShow }}
{{ selectIndex === 'INLAND_LAWS' ? scope.row.lawsName : scope.row.nameshow
@@ -1077,10 +1077,10 @@
+ align="center"
+ :label="$t('m.issueTime')"
+ v-if="selectIndex !== 'items'"
+ width="130">
{{ $dateFormat(new Date(scope.row.issueTime), "yyyy-MM-dd") }}
@@ -1089,9 +1089,9 @@
+ align="center"
+ :label="selectIndex === 'INLAND_LAWS' ? '新车实施日期' :$t('m.putTime')"
+ width="130">
{{ $dateFormat(new Date(selectIndex === 'INLAND_STAND' ? scope.row.SSRQ : (selectIndex === 'INLAND_LAWS' ? scope.row.XCXSSRQLAWS : scope.row.putTime)), "yyyy-MM-dd") }}
@@ -1100,81 +1100,81 @@
+ align="center"
+ width="180"
+ :label="selectIndex === 'INLAND_STAND' ? '文本状态' : (this.selectIndex === 'INLAND_LAWS' ? '文件状态' : '文本状态')">
-
{{ selectIndex === 'INLAND_STAND' ? scope.row.textStatusName : (selectIndex === 'INLAND_LAWS' ? scope.row.lawsTextStateName : scope.row.textStatusBussName) }}
-
-
-
-
-
-
- 查看
-
- 收藏
-
-
- 取消收藏
-
-
-
-
-
-
-
-
-
-
- 查看
-
- 收藏
-
-
- 取消收藏
-
-
-
-
-
-
-
-
- 查看
-
-
+ align="center"
+ :label="$t('m.action')"
+ width="200">
+
+
+
+
+
+
+ 查看
- 收藏
+ 收藏
- 取消收藏
+ 取消收藏
- 收藏
-
-
-
+
+
+
+
+
+
+
+
+
+ 查看
+
+ 收藏
+
+
+ 取消收藏
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+ 收藏
+
+
+ 取消收藏
+
+ 收藏
+
+
+
@@ -1235,1238 +1235,981 @@
diff --git a/src/pages/searchCenter/pages/standardSearch.vue b/src/pages/searchCenter/pages/standardSearch.vue
index efcb33c68..2399ac2a6 100644
--- a/src/pages/searchCenter/pages/standardSearch.vue
+++ b/src/pages/searchCenter/pages/standardSearch.vue
@@ -127,10 +127,10 @@
:label="selectIndex === 'stand'||'bussstand' ? $t('m.standStateShow') : (selectIndex === 'laws' ? $t('m.fileStatus') : $t('m.enterpriseStandardStatus'))"
width="200">
-
+
- {{ selectIndex === 'stand'|| (selectIndex === 'bussstand' && scope.row.standType === 'FOREIGN') ? scope.row.textStatusName : (selectIndex === 'laws' ? scope.row.lawsTextStateName : scope.row.textStatusBussName) }}
+ {{ selectIndex === 'stand'|| (selectIndex === 'bussstand' && scope.row.standType === 'FOREIGN') ? scope.row.textStatusName : (selectIndex === 'laws' ? scope.row.lawsTextStateName : scope.row.textStatusBussName) }}
取消收藏
收藏
-
+
@@ -388,10 +388,10 @@
label: '海外标准法规', // value没改
value: 'bussstand'
},
- {
- label: '国内外政策',
- value: 'laws'
- },
+ // {
+ // label: '国内外政策',
+ // value: 'laws'
+ // },
{
label: '企业标准',
value: 'enterprise'
@@ -420,10 +420,10 @@
label: '海外标准法规', // value没改
value: 'bussstand'
},
- {
- label: '国内外政策',
- value: 'laws'
- },
+ // {
+ // label: '国内外政策',
+ // value: 'laws'
+ // },
{
label: '企业标准',
value: 'enterprise'
@@ -760,10 +760,10 @@
label: '海外标准法规',
value: 'bussstand'
},
- {
- label: '国内外政策',
- value: 'laws'
- },
+ // {
+ // label: '国内外政策',
+ // value: 'laws'
+ // },
{
label: '企业标准',
value: 'enterprise'
@@ -1099,7 +1099,7 @@
"JASO","JIS","GSO","GOST","ΓOCT","TP","SASO","UAE","CONTRAN","DENATRAN",
"ABNT NBR","NBR","INMETRO","CONAMA","Normative Instruction","ADR"];
const bussStandVerify = ["Q/FT A","Q/FT B","Q/FT E","Q/FT F","Q/FT G","Q/FT M",
- "Q/FT Q","Q/FT R","Q/FT S","Q/FT T","Q/FT V","Q/FT X","Q/FT Y","Q/FT Z","Q/QCBFC"];
+ "Q/FT Q","Q/FT R","Q/FT S","Q/FT T","Q/FT V","Q/FT X","Q/FT Y","Q/FT Z","Q/QCBFC"];
if(data[key]){
console.log(data[key])
const list = []
diff --git a/src/router/index.js b/src/router/index.js
index de739f1be..8da1a1b18 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -736,6 +736,33 @@ const routes = [
title: '项目清单确认流程'
}
},
+ {
+ path: '/xmqdqrStep3',
+ name: 'xmqdqrStep3',
+ component: () => import('@/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue'),
+ meta: {
+ requireAuth: true,
+ title: '项目清单确认流程'
+ }
+ },
+ {
+ path: '/xmqdqrStep4',
+ name: 'xmqdqrStep4',
+ component: () => import('@/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue'),
+ meta: {
+ requireAuth: true,
+ title: '项目清单确认流程'
+ }
+ },
+ {
+ path: '/xmqdqrStep5',
+ name: 'xmqdqrStep5',
+ component: () => import('@/pages/processCenter/pages/creatProcess/xmqdqr/step5.vue'),
+ meta: {
+ requireAuth: true,
+ title: '项目清单确认流程'
+ }
+ },
{
path: '/xmqdqrStep1-1',
name: 'xmqdqrStep1-1',
@@ -763,15 +790,6 @@ const routes = [
title: '项目清单确认流程'
}
},
- {
- path: '/xmqdqrStep3',
- name: 'xmqdqrStep3',
- component: () => import('@/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue'),
- meta: {
- requireAuth: true,
- title: '项目清单确认流程'
- }
- },
{
path: '/wfhxzgStep1',
name: 'wfhxzgStep1',
@@ -1728,6 +1746,15 @@ const routes = [
title: '外部标准化协会入会流程(审批)'
}
},
+ {
+ path: '/bzrhStep6-1',
+ name: 'bzrhStep6-1',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHd-rh/step6-1.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会入会流程'
+ }
+ },
// 外部标准化协会参会流程
{
@@ -1784,6 +1811,15 @@ const routes = [
title: '外部标准化协会参会流程(审定)'
}
},
+ {
+ path: '/bzchStep6-1',
+ name: 'bzchStep6-1',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzhHy-ch/step6-1.vue'),
+ meta: {
+ requireAuth: true,
+ title: '外部标准化协会参会流程'
+ }
+ },
{
path: '/bzhhStep1',
name: 'bzhhStep1',
@@ -1802,7 +1838,18 @@ const routes = [
title: '外部标准化会后管理流程(审批)'
}
},
+ {
+ path: '/phoneBzjdStep4',
+ name: 'phoneBzjdStep4',
+ component: () => import('@/pages/processCenter/pages/phone/bzjd/step4.vue'),
+ meta: {
+ isBoolean: true,
+ requireAuth: true,
+ title: '标准解读流程'
+ }
+ },
]
+
},
// 本地工具
{
@@ -2108,7 +2155,6 @@ const routes = [
menuId: 'PCZKM8TQJAH5UP5EAXTJ'
}
},
-
// 工作组
{
path: '/workingGroup',
diff --git a/src/sysConfig/index.js b/src/sysConfig/index.js
index 23bedc3ed..6485c1a23 100644
--- a/src/sysConfig/index.js
+++ b/src/sysConfig/index.js
@@ -6,16 +6,17 @@
// 服务器地址
// const devIp = '39.98.140.126'
// const devInterfacePORT = '10005'
-// const devIp = '192.168.10.249'
-const devIp = '62.234.136.153'
-// const devInterfacePORT = '9999'
-const devInterfacePORT = '8033'
+// const devIp = '192.168.10.248'
+// const devIp = '62.234.136.153'
+// const devInterfacePORT = '8033'
+const devIp = '10.19.11.243'
+const devInterfacePORT = '4304'
// 配置 idm 认证
const ssoLogin = 'http://sso.foton.com.cn/oauth2.0/authorize?client_id=app_slrs&response_type=code&redirect_uri='
// 配置 前端服务
-const devWebUrl = 'http://62.234.136.153:8038/#/'
+const devWebUrl = 'https://srms.foton.com.cn/#/'
// webLoginType : idm (线上统一登录) 、 webLoginType: dev (测试环境登录)
-const webLoginType = 'dev'
+const webLoginType = 'idm'
// 云端端口号
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
const simpleFilePath = 'att/attFile/upload'
@@ -38,10 +39,10 @@ const processPort = '17210'
*****************************************************************/
// 生产环境配置
-const prodIp = '62.234.136.153'
-const prodInterfacePORT = '8033'
-// const prodIp = 'slrs.foton.com.cn'
-// const prodInterfacePORT = ''
+// const prodIp = '62.234.136.153'
+// const prodInterfacePORT = '8033'
+const prodIp = 'srms.foton.com.cn'
+const prodInterfacePORT = ''
// 判断环境
const serverIP = process.env.NODE_ENV === 'production' ? prodIp : devIp
@@ -49,13 +50,13 @@ const interfacePORT = process.env.NODE_ENV === 'production' ? prodInterfacePORT
const CLOUD_RES_INTERFACE_PORT = process.env.NODE_ENV === 'production' ? DEV_CLOUD_RES_INTERFACE_PORT : DEV_CLOUD_RES_INTERFACE_PORT
module.exports = {
- baseUrl: 'http://' + serverIP + ':' + interfacePORT,
+ baseUrl: 'https://' + serverIP + ':' + interfacePORT,
webLoginType: webLoginType,
ssoLoginUrlDev: ssoLogin + devWebUrl,
ssoLoginUrl: ssoLogin,
devWebUrl: devWebUrl,
- serverUrl: 'http://' + serverIP, // 服务器IP地址
- interfaceUrl: 'http://' + serverIP + ':' + interfacePORT + '/api/', // 服务器端接口访问地址,
+ serverUrl: 'https://' + serverIP, // 服务器IP地址
+ interfaceUrl: 'https://' + serverIP + ':' + interfacePORT + '/api/', // 服务器端接口访问地址,
cloudResInterFaceUrl: 'http://' + serverIP + ':' + interfacePORT + '/busApi/', // 云端资源库服务器端接口访问地址,
simpleUploadPath: 'api/' + simpleFilePath, // 单文件上传地址
multipleUploadPath: 'api/' + multipleFilePath, // 多文件上传地址
@@ -64,5 +65,5 @@ module.exports = {
webSocket: webSocket + ':' + devInterfacePORT + '/websocket/socketServer', // webSocket连接
enterprise: enterprise, // GQ广汽 SJZX数据中心
theme: theme, // 主题
- processInterfaceURL: `http://${serverIP}:${processPort}/bat-wkflow`
+ processInterfaceURL: `https://${serverIP}:${processPort}/bat-wkflow`
}