- {{ item.name }}
+
@@ -262,7 +276,7 @@
import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle";
-import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from "api/process";
+import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew,getBusStandFileByAttId } from "api/process";
import axios from "axios";
export default {
@@ -317,6 +331,50 @@ export default {
ProcessTitle
},
methods: {
+ filesUpload (file) { // 下载
+ const attId = file.attId
+ if (attId) {
+ window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
+ } else {
+ this.$message.warning('文件不存在,下载失败')
+ }
+ },
+ getBusStandFileByAttId(attId) { // 预览
+ return new Promise((resolve, reject) => {
+ getBusStandFileByAttId({
+ attId
+ }).then(res => {
+ if (res.ok) {
+ resolve(res.data)
+ } else {
+ reject()
+ }
+ }).catch(e => {
+ reject(e)
+ })
+ })
+ },
+ fileLook(file) { // 预览
+ const attId = file.attId
+ this.getBusStandFileByAttId(attId)
+ .then(res => {
+ if(res){
+ const editFileInfo = res
+ if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
+ window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
+ }else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
+ window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
+ }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))
+ }
+ }).catch(e => {
+ this.$message.warning('文件不存在,预览失败')
+ })
+ },
itermsConditionsClose () {
this.itermsConditionsFlag = false
},
@@ -382,10 +440,12 @@ export default {
reason: "修改理由",
department: "提出部门",
responUserName: "提出人",
- stateText: "处理意见"
},
dataList: []
};
+ if (title === '上报意见.xls') {
+ params.columnName.stateText = "处理意见"
+ }
params.dataList = JSON.parse(JSON.stringify(row));
params.dataList.forEach(item => {
if (item.state === "1") {
diff --git a/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step1.vue b/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step1.vue
index f46d88d82..c1af624bd 100644
--- a/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/cywbbzzxd/step1.vue
@@ -186,7 +186,16 @@ export default {
this.$refs["Form"].validate((valid) => {
if (valid) {
this.isSubmit = true
- this.$http.get("lawss/activiti/startProcess", {type: "14"}, {
+ this.$http.post("lawss/activiti/startProcessRollBack", {
+ id: this.bpnId || '',
+ createUser: this.$store.getters.userInfo.userId,
+ createUserName: this.$store.getters.userInfo.userName,
+ type: '14',
+ json: JSON.stringify({
+ taskInfo: '责任部门对接人选择责任人',
+ roleForm: this.roleForm,
+ })
+ }, {
_this: this
}, res => {
if (res.ok) {
diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step1.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step1.vue
index 21eda1b26..99c95e502 100644
--- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step1.vue
@@ -185,7 +185,16 @@ export default {
this.$refs["Form"].validate((valid) => {
if (valid) {
this.isSubmit = true
- this.$http.get("lawss/activiti/startProcess", {type: "15"}, {
+ this.$http.post("lawss/activiti/startProcessRollBack", {
+ id: this.bpnId || '',
+ createUser: this.$store.getters.userInfo.userId,
+ createUserName: this.$store.getters.userInfo.userName,
+ type: '15',
+ json: JSON.stringify({
+ taskInfo: '备案任务下发',
+ roleForm: this.roleForm,
+ })
+ }, {
_this: this
}, res => {
if (res.ok) {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue
index 4b687c61d..cee4400f8 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfs/step1.vue
@@ -583,7 +583,17 @@ export default {
this.qbfsForm.fileList = this.fileList
this.qbfsForm.commentText = this.commentText
var json = Object.assign(this.qbfsForm, this.roleForm)
- this.$http.get('lawss/activiti/startProcess', {type: '23'}, {
+ this.$http.post('lawss/activiti/startProcessRollBack', {
+ id: this.bpnId || '',
+ createUser: this.$store.getters.userInfo.userId,
+ createUserName: this.$store.getters.userInfo.userName,
+ type: '23',
+ json: JSON.stringify({
+ roleForm: this.roleForm,
+ qbfsForm: this.qbfsForm,
+ commentText: this.commentText
+ })
+ }, {
_this: this
}, res => {
if (res.ok) {
diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue
index c93be5d1e..5f2df297e 100644
--- a/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbfz/step1.vue
@@ -624,7 +624,17 @@ export default {
this.isSubmit = true
this.standardSearch.commentText = this.commentText
var json = Object.assign(this.standardSearch, this.roleForm)
- this.$http.get('lawss/activiti/startProcess', {type: '24'}, {
+ this.$http.post('lawss/activiti/startProcessRollBack', {
+ id: this.bpnId || '',
+ createUser: this.$store.getters.userInfo.userId,
+ createUserName: this.$store.getters.userInfo.userName,
+ type: '24',
+ json: JSON.stringify({
+ roleForm: this.roleForm,
+ qbfsForm: this.standardSearch,
+ commentText: this.commentText
+ })
+ }, {
_this: this
}, res => {
if (res.ok) {
diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue
index cc933eb41..d0dc8ab97 100644
--- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/step1.vue
@@ -474,9 +474,17 @@ export default {
if (valid) {
// this.isSubmit = true;
var json = Object.assign(qbzxdFrom, this.roleForm);
- console.log(json);
- return
- this.$http.get("lawss/activiti/startProcess", { type: "25" }, {
+ this.$http.post("lawss/activiti/startProcessRollBack", {
+ id: this.bpnId || '',
+ createUser: this.$store.getters.userInfo.userId,
+ createUserName: this.$store.getters.userInfo.userName,
+ type: '25',
+ json: JSON.stringify({
+ roleForm: this.roleForm,
+ qbfsForm: qbzxdFrom,
+ commentText: this.commentText
+ })
+ }, {
_this: this
}, res => {
if (res.ok) {
diff --git a/src/pages/processCenter/pages/creatProcess/wbsm/step1.vue b/src/pages/processCenter/pages/creatProcess/wbsm/step1.vue
index d88f83492..111d9af70 100644
--- a/src/pages/processCenter/pages/creatProcess/wbsm/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/wbsm/step1.vue
@@ -680,7 +680,17 @@ export default {
this.$refs["Form"].validate((valid) => {
if (valid) {
this.isSubmit = true
- this.$http.get("lawss/activiti/startProcess", {type: "16"}, {
+ this.$http.post("lawss/activiti/startProcessRollBack", {
+ id: this.bpnId || '',
+ createUser: this.$store.getters.userInfo.userId,
+ createUserName: this.$store.getters.userInfo.userName,
+ type: '16',
+ json: JSON.stringify({
+ roleForm: this.roleForm,
+ dataList: this.dataList,
+ commentText: this.commentText
+ })
+ }, {
_this: this
}, res => {
if (res.ok) {
diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
index 6533ae6c2..e312fcbca 100644
--- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
@@ -266,7 +266,7 @@
import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle'
-import { startProcess, completeTask, saveTaskFirst, queryTaskFirst, taskDel } from '@/api/process.js'
+import { startProcess, completeTask, saveTaskFirst, queryTaskFirst, taskDel,processBack } from '@/api/process.js'
import { standUnqualified, dicTypeData } from '@/api/unqualProcess.js'
export default {
name: "wfhxzgStep1",
@@ -509,10 +509,17 @@ export default {
this.$refs['roleForm'].validate((valid) => {
if (valid) {
this.isSubmit = true
- const paramsInfo = {
- type: '8'
- }
- startProcess(paramsInfo).then(res => {
+ let paramsInfo = new FormData()
+ paramsInfo.append('id', this.bpnId || '')
+ paramsInfo.append('createUser', this.$store.getters.userInfo.userId)
+ paramsInfo.append('createUserName', this.$store.getters.userInfo.userName)
+ paramsInfo.append('type', '8')
+ paramsInfo.append('json', JSON.stringify({
+ roleForm: this.roleForm,
+ dataList: this.dataList,
+ commentText: this.commentText
+ }))
+ processBack(paramsInfo).then(res => {
this.taskID = res.data
const params = new FormData();
params.set('json', JSON.stringify(json))
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue
index 99c1f4b43..aca7388ec 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue
@@ -854,14 +854,14 @@ export default {
if (this.dataList.length < 1) {
this.satisfyFlag = false
this.$message.warning("请添加产品线信息");
- }else{
+ }else {
this.satisfyFlag = true
}
this.dataList.forEach(item => {
if (!item.distributePerson) {
this.satisfyFlag = false
this.$message.warning("请选择分发责任人");
- }else{
+ }else {
this.satisfyFlag = true
}
});
@@ -874,7 +874,18 @@ export default {
if (valid) {
this.$refs["roleForm"].validate((valid) => {
if (valid) {
- this.$http.get("lawss/activiti/startProcess", { type: "5" }, {
+ this.$http.post("lawss/activiti/startProcessRollBack", {
+ id: this.bpnId || '',
+ createUser: this.$store.getters.userInfo.userId,
+ createUserName: this.$store.getters.userInfo.userName,
+ type: '5',
+ json: JSON.stringify({
+ taskInfo: "选择已拆分标准",
+ form: this.listForm,
+ roleForm: this.roleForm,
+ commentText: this.commentText
+ })
+ }, {
_this: this
}, res => {
if (res.ok) {
@@ -887,14 +898,6 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
- if (this.bpnId !== '') {
- let taskId = {
- id: this.bpnId
- }
- taskDel(taskId).then(res=>{
- return res
- })
- }
this.$router.push("/processCenter");
}
this.isSubmit = false;
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
index 13b74f4af..2909c7f85 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
@@ -867,7 +867,18 @@ export default {
if (valid) {
this.$refs["roleForm"].validate((valid) => {
if (valid) {
- this.$http.get("lawss/activiti/startProcess", { type: "5" }, {
+ this.$http.post("lawss/activiti/startProcessRollBack", {
+ id: this.bpnId || '',
+ createUser: this.$store.getters.userInfo.userId,
+ createUserName: this.$store.getters.userInfo.userName,
+ type: '5',
+ json: JSON.stringify({
+ taskInfo: "选择已拆分标准",
+ form: this.listForm,
+ roleForm: this.roleForm,
+ commentText: this.commentText
+ })
+ }, {
_this: this
}, res => {
if (res.ok) {
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue
index ab5bfa4d4..05e50fb08 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue
@@ -612,7 +612,17 @@ export default {
this.$refs["roleForm"].validate((valid) => {
if (valid) {
this.isSubmit = true;
- this.$http.get("lawss/activiti/startProcess", { type: "6" }, {
+ this.$http.post("lawss/activiti/startProcessRollBack", {
+ id: this.bpnId || '',
+ createUser: this.$store.getters.userInfo.userId,
+ createUserName: this.$store.getters.userInfo.userName,
+ type: '6',
+ json: JSON.stringify({
+ form: this.listForm,
+ roleForm: this.roleForm,
+ commentText: this.commentText
+ })
+ }, {
_this: this
}, res => {
if (res.ok) {
@@ -625,14 +635,6 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
- if (this.bpnId !== '') {
- let taskId = {
- id: this.bpnId
- }
- taskDel(taskId).then(res=>{
- return res
- })
- }
this.$router.push("/processCenter");
}
this.isSubmit = false;
@@ -647,7 +649,7 @@ export default {
return this.$message.warning("请完善基础信息");
}
});
- }
+ }
}
},
choiceZRR(type, title, id) {
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue
index ccdd41aac..395c8b95f 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue
@@ -629,7 +629,17 @@ export default {
this.$refs["roleForm"].validate((valid) => {
if (valid) {
this.isSubmit = true;
- this.$http.get("lawss/activiti/startProcess", { type: "6" }, {
+ this.$http.post("lawss/activiti/startProcessRollBack", {
+ id: this.bpnId || '',
+ createUser: this.$store.getters.userInfo.userId,
+ createUserName: this.$store.getters.userInfo.userName,
+ type: '6',
+ json: JSON.stringify({
+ form: this.listForm,
+ roleForm: this.roleForm,
+ commentText: this.commentText
+ })
+ }, {
_this: this
}, res => {
if (res.ok) {
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-1.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-1.vue
index 0cf0dad19..6179964e5 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-1.vue
@@ -655,7 +655,18 @@ export default {
this.$refs["Form"].validate((valid) => {
if (valid) {
this.isSubmit = true;
- this.$http.get("lawss/activiti/startProcess", { type: "10" }, {
+ this.$http.post("lawss/activiti/startProcessRollBack", {
+ id: this.bpnId || '',
+ createUser: this.$store.getters.userInfo.userId,
+ createUserName: this.$store.getters.userInfo.userName,
+ type: '10',
+ json: JSON.stringify({
+ taskInfo: "产品经理分发",
+ form: this.qdform,
+ roleForm: this.roleForm,
+ commentText: this.commentText
+ })
+ }, {
_this: this
}, res => {
if (res.ok) {
@@ -668,14 +679,6 @@ export default {
}, res => {
if (res.success) {
this.$message.success(res.message);
- if (this.bpnId !== '') {
- let taskId = {
- id: this.bpnId
- }
- taskDel(taskId).then(res=>{
- return res
- })
- }
this.$router.push("/processCenter");
}
this.isSubmit = false;
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue
index 028182e51..ab4dd630f 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1.vue
@@ -659,7 +659,18 @@ export default {
this.$refs["Form"].validate((valid) => {
if (valid) {
this.isSubmit = true;
- this.$http.get("lawss/activiti/startProcess", { type: "10" }, {
+ this.$http.post("lawss/activiti/startProcessRollBack", {
+ id: this.bpnId || '',
+ createUser: this.$store.getters.userInfo.userId,
+ createUserName: this.$store.getters.userInfo.userName,
+ type: '10',
+ json: JSON.stringify({
+ taskInfo: "产品经理分发",
+ form: this.qdform,
+ roleForm: this.roleForm,
+ commentText: this.commentText
+ })
+ }, {
_this: this
}, res => {
if (res.ok) {
diff --git a/src/pages/processCenter/pages/newProcess/index.vue b/src/pages/processCenter/pages/newProcess/index.vue
index 5892599d3..8503a7890 100644
--- a/src/pages/processCenter/pages/newProcess/index.vue
+++ b/src/pages/processCenter/pages/newProcess/index.vue
@@ -125,7 +125,7 @@
-
+
@@ -140,7 +140,7 @@
-
+
@@ -155,7 +155,7 @@
-
+
@@ -190,7 +190,7 @@
企业标准相关流程
-
+
@@ -205,7 +205,7 @@
-
+
@@ -220,7 +220,7 @@
-
+
@@ -235,7 +235,7 @@
-
+
@@ -256,7 +256,7 @@
标准化活动相关流程
-
+
@@ -271,7 +271,7 @@
-
+
@@ -301,7 +301,7 @@
-
+
@@ -316,7 +316,7 @@
-
+
@@ -331,7 +331,7 @@
-
+
@@ -346,14 +346,14 @@
-
-
+
+
-
加入标准化协会信息提报流程
+
参与外部标准制修订信息提报流程
diff --git a/src/pages/regulatoryRepository/dataCenter/dataCenterDetail.vue b/src/pages/regulatoryRepository/dataCenter/dataCenterDetail.vue
new file mode 100644
index 000000000..0d3fcb05b
--- /dev/null
+++ b/src/pages/regulatoryRepository/dataCenter/dataCenterDetail.vue
@@ -0,0 +1,306 @@
+
+
+
+
+
+
+
+ {{ detailInfoForm.dataTitle + '-详情' }}
+
+
+
+
+
+
+
+ {{ detailInfoForm.dataType }}
+
+
+
+
+ {{ detailInfoForm.dataTitle }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/regulatoryRepository/dataCenter/index.vue b/src/pages/regulatoryRepository/dataCenter/index.vue
new file mode 100644
index 000000000..5149390bb
--- /dev/null
+++ b/src/pages/regulatoryRepository/dataCenter/index.vue
@@ -0,0 +1,447 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+ 清空
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.dataTitle }}
+
+
+
+
+ {{ $moment(scope.row.dataUploadTime).format("YYYY-MM-DD HH:mm:ss") }}
+
+
+
+
+ 编辑
+
+ 删除
+
+
+
+
+
数据获取中
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击上传
+
+
+
+
+ 提交
+
+ 取消
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
index 30f65e677..b0f2bafc8 100644
--- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue
@@ -1499,7 +1499,7 @@
基础信息
@@ -1777,7 +1777,7 @@
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
-
+
diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
index 59b78eea8..b12fe4d6a 100644
--- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
+++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
@@ -610,16 +610,63 @@
-
+
- 关联模块--VPPS编码
-
+ 关联模块--乘用车VPPS编码
+
+
+
+
+
+
+
+
+ 关联模块--卡车VPPS编码
+
+
+
+
+
+
+
+
+
+
+ 模块结构单元变型号
+
+
+
+
+
+
+
+
+ :nodeKey="nodeKey" @popoverHide="popoverHide" @popoverHideCancel="popoverHideCancel">
+ :nodeKey="nodeKeyCode" @popoverHide="popoverHideBusVs"
+ @popoverHideCancel="popoverHideBusVsCancel">
+
+
@@ -1320,6 +1394,7 @@ import CustomSVPPS from '@/components/CustomFormComponents/SVPPS'
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
import ProcessTitle from '@/pages/processCenter/pages/components/ProcessTitle'
+import treeSelectModule from "@/components/treeSelect/treeSelectModule.vue";
import {mapGetters} from 'vuex'
import store from "@/store";
@@ -1338,6 +1413,7 @@ export default {
CustomSVPPS,
TreeSelect,
TreeSelectNew,
+ treeSelectModule,
ProcessTitle
},
props: {
@@ -1496,6 +1572,12 @@ export default {
sarBussionessStandEO: {
TXLBBUSS:'',
VPPSBMBUSS:'',
+ KCVPPSBMBUSS: '',
+ KCVPPSCNBUSS: '',
+ DYBXHBUSS: '',
+ DYMCBUSS: '',
+ CYCVPPSBMBUSS: '',
+ CYCVPPSCNBUSS: '',
VPPSCNBUSS:'',
regionShow: '亚洲',
region: '2T8PFTSYE7',
@@ -1880,6 +1962,12 @@ export default {
SYCPXCLASS:'',
TXLBBUSS:'',
VPPSBMBUSS:'',
+ KCVPPSBMBUSS: '',
+ KCVPPSCNBUSS: '',
+ CYCVPPSBMBUSS: '',
+ CYCVPPSCNBUSS: '',
+ DYBXHBUSS: '',
+ DYMCBUSS: '',
VPPSCNBUSS:'',
// 关联信息
DTQBBHBUSS:'',
@@ -1965,6 +2053,9 @@ export default {
syrzOptions:[],//适用认证下拉框
gkglbmOptions:[],//归口管理部门下拉框
drawerTitle: '',
+ drawerTitle3: '',
+ drawerTitle4: '',
+ drawerTitle2: '',
modalShowRoleFlag: false,
nodeList: [],
nodeList2: [],
@@ -2023,6 +2114,7 @@ export default {
modalShowFlag2: false, // drawer开关
modalShowFlag3: false, // drawer开关
modalShowFlag4: false, // drawer开关
+ type: '',
url:'',
urlChild:'',
}
@@ -2085,27 +2177,59 @@ export default {
return [year, month, day].join('-') + " " + [hour, minute, second].join(':');//格式为:YY-MM-DD hh:mm:ss(当前时间)
},
popoverHideQuery(ids,attrField){
- console.log(ids)
- console.log("-----------------------------")
- console.log(attrField)
},
+ popoverHideBusVsCancel() {
+ this.modalShowFlag2 = false
+ },
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
- if(checkedData) {
- if(checkedData.length > 0){
- this.sarBussionessStandEO.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
- this.sarBussionessStandEO.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
- this.sarBussionessSearch.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
- this.sarBussionessSearch.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
- }else {
- this.sarBussionessStandEO.VPPSBMBUSS = checkedData.code
- this.sarBussionessStandEO.VPPSCNBUSS = checkedData.chineseName
- this.sarBussionessSearch.VPPSBMBUSS = checkedData.code
- this.sarBussionessSearch.VPPSCNBUSS = checkedData.chineseName
- }
+ if (checkedData && checkedData.length != 0) {
+ if (checkedData.length > 0) {
+ this.sarBussionessStandEO.CYCVPPSBMBUSS = checkedData.map(item => item.code).join(",")
+ this.sarBussionessStandEO.CYCVPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
+ } else {
+ this.sarBussionessStandEO.CYCVPPSBMBUSS = checkedData.code
+ this.sarBussionessStandEO.CYCVPPSCNBUSS = checkedData.chineseName
}
this.modalShowFlag2 = false
+ }
this.$forceUpdate()
},
+ popoverHideCarVs(checkedIds, checkedData, isShow, isLoadChild, topId) {
+ if (checkedData && checkedData.length != 0) {
+ if (checkedData.length > 0) {
+ this.sarBussionessStandEO.KCVPPSBMBUSS = checkedData.map(item => item.code).join(",")
+ this.sarBussionessStandEO.KCVPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
+ } else {
+ this.sarBussionessStandEO.KCVPPSBMBUSS = checkedData.code
+ this.sarBussionessStandEO.KCVPPSCNBUSS = checkedData.chineseName
+ }
+ this.modalShowFlag3 = false
+ }
+
+ this.$forceUpdate()
+ },
+ popoverHideCarVsCancel() {
+ this.modalShowFlag3 = false
+ },
+ popoverHideModel(checkedIds, checkedData, isShow, isLoadChild, topId) {
+ if (checkedData && checkedData.length != 0) {
+ if (checkedData.length > 0) {
+ this.sarBussionessStandEO.DYBXHBUSS = checkedData.map(item => item.model).join(",")
+ this.sarBussionessStandEO.DYMCBUSS = checkedData.map(item => item.name).join(",")
+ } else {
+ this.sarBussionessStandEO.DYBXHBUSS = checkedData.model
+ this.sarBussionessStandEO.DYMCBUSS = checkedData.name
+ }
+ this.modalShowFlag4 = false
+ }
+ this.$forceUpdate()
+ },
+ popoverHideModelCancel() {
+ this.modalShowFlag4 = false
+ },
+ popoverHideCancel() {
+ this.modalShowFlag1 = false
+ },
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
if(checkedData) {
if(checkedData.length > 0){
@@ -2120,14 +2244,31 @@ export default {
this.$forceUpdate()
},
choiceZRR2 (type, title, id,multFlag) {
- this.drawerTitle = title
+ this.drawerTitle2 = title
this.modalShowFlag2 = true
this.multipleFlag2 = multFlag
this.url = ''
this.urlChild = ''
+ this.type = type
this.url="sarVppsTree/list"
this.urlChild="sarVppsTree/childByList"
},
+ choiceZRR3(type, title, id) {
+ this.drawerTitle3 = title
+ this.modalShowFlag3 = true
+ this.url = ''
+ this.urlChild = ''
+ this.url = "sarVppsTree/list"
+ this.urlChild = "sarVppsTree/childByList"
+ },
+ choiceZRR4(type, title, id) {
+ this.drawerTitle4 = title
+ this.modalShowFlag4 = true
+ this.url = ''
+ this.urlChild = ''
+ this.url = "sarModelTree/list"
+ this.urlChild = "sarModelTree/childByList"
+ },
choiceZRR1 (type, title, id) {
this.drawerTitle1 = title
this.modalShowFlag1 = true
@@ -2883,7 +3024,6 @@ export default {
})
})
this.dynamicFormField = displayLocation
- console.log('2805',this.dynamicFormField)
this.loading = false
})
this.sarBussionessStandEO = JSON.parse(JSON.stringify(item))
@@ -2935,7 +3075,6 @@ export default {
$('#deptBtn2').click()
},
choiceQCR (type, title, id) {
- console.log('2077',title)
this.nodeList = []
this.nodeList.push(id)
this.userType = type
@@ -2943,7 +3082,6 @@ export default {
this.modalShowRoleFlag = true
},
checkedRole2 (data) {
- console.log('1712',this.drawerTitle)
let idList = ''
let nameList = ''
data.forEach( item => {
@@ -2954,7 +3092,12 @@ export default {
idList += item.id
nameList += item.name
})
- this.sarBussionessStandEO['QCRBUSS'] = nameList
+ this.$set(this.sarBussionessStandEO, 'QCRBUSS', nameList)
+ if(this.sarBussionessStandEO.QCRBUSS){
+ this.$refs.sarBussionessStandForm.validateField('QCRBUSS')
+ }
+ // this.sarBussionessStandEO['QCRBUSS'] = nameList
+
},
choiceQCDW(type, title, id) {
@@ -2966,8 +3109,6 @@ export default {
this.modalshowflagZRBM = true
},
drawerCheckZRBM(data) {
-
- console.log("5389", data);
let idList = ''
let nameList = ''
data.forEach(item => {
@@ -2980,9 +3121,13 @@ export default {
nameList += item.name
// }
})
-
- this.sarBussionessStandEO.QCDWId = idList;
- this.sarBussionessStandEO['QCDW'] = nameList;
+ this.$set(this.sarBussionessStandEO, 'QCDWId', idList)
+ this.$set(this.sarBussionessStandEO, 'QCDW', nameList)
+ if(this.sarBussionessStandEO.QCRBUSS){
+ this.$refs.sarBussionessStandForm.validateField('QCDW')
+ }
+ // this.sarBussionessStandEO.QCDWId = idList;
+ // this.sarBussionessStandEO['QCDW'] = nameList;
},
// 新增-表单空
@@ -3001,7 +3146,6 @@ export default {
if (flag) {
// 时间格式修改
let nowstandinfo = JSON.parse(JSON.stringify(this.sarBussionessStandEO))
- console.log(nowstandinfo)
if (nowstandinfo.issueTime != null && nowstandinfo.issueTime !== '') {
nowstandinfo.issueTime = this.$dateFormat(this.sarBussionessStandEO.issueTime, 'yyyy-MM-dd hh:mm:ss')
}
@@ -3018,7 +3162,6 @@ export default {
}
// 处理动态表单的时间和下拉框格式
const formFieldList = this.formFieldList
- console.log(this.formFieldList)
const sarStandAttrObj = {}
formFieldList.forEach((item) => {
const value = nowstandinfo[item.attrField]
@@ -3713,8 +3856,6 @@ export default {
}
this.standinfoList = []
this.standinfoList = res.data.list
- console.log(this.standinfoList)
- console.log(res.data.list)
this.total = res.data.count
if ((this.standinfoList.length === 0 || this.standinfoList === []) && this.sarBussionessSearch.page !== 1) {
this.pageChange(1)
@@ -3826,7 +3967,6 @@ export default {
}
})
} else if (this.ocrList.length === 1 && type === '2'){
- console.log('4228',this.ocrList)
this.selectStandardPro(this.ocrList[0], 'edit')
}
},
@@ -3983,7 +4123,6 @@ export default {
}, {
_this: this
}, res => {
- console.log('getAreaList',res.data)
this.showRegionOptions = res.data || []
resolve(res.data || [])
}, e => {
@@ -4062,6 +4201,7 @@ export default {
this.reloadAddForm = false
const formFieldList = this.formFieldList
const rules = {...this.defaultAddFormFieldRules}
+ console.log(formFieldList);
formFieldList.forEach((item) => {
const rule = []
if (item.isMust === '0') {
@@ -4073,7 +4213,10 @@ export default {
rule.push({ required: true, message: `${item.attrName}不能为空`, trigger: 'change' })
}
}
- if (item.attrLen && item.attrType !== 'DATE_PICKER' && item.attrType !== 'SEL_OPTION' && item.attrType !== 'SEL_OPTS') {
+ if (item.attrLen && item.attrType === 'INPUT_STR' && item.attrField === 'DTQBBHBUSS') {
+ rule.push({type: 'string', max: 500, message: '代替企标编号不能超过500个字符', trigger: 'change'})
+ }
+ if (item.attrLen && item.attrType !== 'DATE_PICKER' && item.attrType !== 'SEL_OPTION' && item.attrType !== 'SEL_OPTS'&& item.attrType !== 'INPUT_STR') {
rule.push({type: 'string', max: item.attrLen, message: `${item.attrName}不能超过${item.attrLen}个字符`, trigger: 'change'})
}
if (rule.length > 0) {
@@ -4084,6 +4227,7 @@ export default {
// this.rules = rules
this.$set(this, 'sarBussionessStandRules', rules)
+
setTimeout(() => {
this.reloadAddForm = true
}, 1000)
@@ -4140,7 +4284,6 @@ export default {
}
this.stahndinfoList = []
this.stahndinfoList = res.data.list
- console.log(this.stahndinfoList)
this.total = res.data.count
if ((this.stahndinfoList.length === 0 || this.stahndinfoList === []) && this.sarBussionessSearch.page !== 1) {
this.pageChange(1)
@@ -4292,7 +4435,6 @@ export default {
day = "0" + day;
}
const FSRQBUSS = year + "-" + month + "-" + day;
- console.log(FSRQBUSS,"FSRQBUSS");
this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
}
@@ -4332,7 +4474,7 @@ export default {
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
- this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
+ this.standSortOptions = res.data.BUSSSTANDCLASS // 企业标准类别
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
this.standStateOptions = res.data.TEXTSTATUSBUSS // 文本状态
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
diff --git a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue
index 76eb6ce52..55900ad98 100644
--- a/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue
+++ b/src/pages/regulatoryRepository/standardForComments/pags/consultationDetails.vue
@@ -41,6 +41,22 @@
-
+
+
+
+
+
+ {{ file.name }}
+ 下载
+
+
+
+
-
+
{{ this.$route.query.item.startTime || '-' }}
@@ -80,6 +96,12 @@
align="center"
width="120">
+
+
查看修改前内容
@@ -166,6 +189,9 @@
:value="item.itemsNum">
+
+
+
@@ -207,6 +233,7 @@ export default {
itermsConditionsTitle: '',
options: [],
fileInfoList: [],
+ fileInfoLists: [],
itemData: this.$route.query.item,
id: '', // 选中id
type: '', // 选中状态
@@ -220,7 +247,8 @@ export default {
partCode: '',
oldText: '',
newText: '',
- reason: ''
+ reason: '',
+ chapterName: '',
},
opinionContentRules: {
partCode: [
@@ -260,6 +288,7 @@ export default {
for (let a = 0; a < this.options.length; a++) {
if (data === this.options[a].itemsNum) {
this.opinionContent.oldText = this.options[a].termsConditions
+ this.opinionContent.chapterName = this.options[a].itemsName
}
}
},
@@ -389,6 +418,7 @@ export default {
newText: this.opinionContent.newText,
reason: this.opinionContent.reason,
partCode: this.opinionContent.partCode,
+ chapterName: this.opinionContent.chapterName,
userId: this.$store.getters.userInfo.userId || '',
userName: this.$store.getters.userInfo.userName || '',
deptName: this.$store.getters.userInfo.orgName || '',
@@ -431,6 +461,7 @@ export default {
}
},
mounted() {
+ this.fileInfoLists = JSON.parse(this.$route.query.item.wkfiles)
let json = JSON.parse(this.$route.query.item.files)[0]
this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', {
standId: json.standId,
diff --git a/src/router/index.js b/src/router/index.js
index b44bac376..b0b98c54c 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -2404,6 +2404,28 @@ const routes = [
menuId: 'ABCLRLJUQN44ENBS93CQ'
}
},
+ {
+ path: '/dataCenter',
+ name: 'dataCenter',
+ component: () =>
+ import('@/pages/regulatoryRepository/dataCenter'),
+ meta: {
+ requireAuth: true,
+ title: '资料中心',
+ menuId: ''
+ }
+ },
+ {
+ path: '/dataCenterDetail',
+ name: 'dataCenterDetail',
+ component: () =>
+ import('@/pages/regulatoryRepository/dataCenter/dataCenterDetail'),
+ meta: {
+ requireAuth: true,
+ title: '资料中心详情',
+ menuId: ''
+ }
+ },
// 技术要求清单
{
path: '/skillReq',