@@ -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/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
index 627beb06f..903667150 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
@@ -1047,7 +1047,7 @@
@@ -1055,7 +1055,8 @@
@import '~@/assets/styles/style';
.bzrkStep1 {
+ /deep/ .search-area {
+ display: contents;
+ flex-wrap: wrap;
+ justify-content: space-around;
+ }
/deep/ .el-upload-dragger {
background-color: #fff;
border: 1px dashed #d9d9d9;
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-3.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-3.vue
index 159c2ad30..08e1752ee 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-3.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-3.vue
@@ -80,7 +80,7 @@
prop="standName"
align="center"
label="中文名称"
- width="180px"
+ min-width="300"
>
{{ scope.row.standName }}
@@ -90,7 +90,7 @@
prop="standEnName"
label="英文名称"
align="center"
- width="180px"
+ min-width="300"
>
{{ scope.row.standEnName }}
@@ -133,30 +133,16 @@
>
+ label="标准是否涉及">
-
-
-
-
+ width="180"
+ label="备注">
@@ -356,8 +342,13 @@ export default {
this.qdform.prcName = this.prcName;
this.qdform["id"] = item.id;
this.dataList = item.dataList
- this.projectId = item.projectId
- // this.getStandData();
+ this.dataList.forEach(item => {
+ if(item.involve === 'involve'){
+ item.involve = '涉及'
+ }else if(item.involve === 'noInvolve'){
+ item.involve = '不涉及'
+ }
+ })
}else{
this.qdform = item.form
this.dataList =item.form.dataList
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue
index b4d4fd058..00a810200 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step2.vue
@@ -93,8 +93,8 @@
{{ scope.row.standName }}
@@ -103,8 +103,8 @@
{{ scope.row.standEnName }}
@@ -702,12 +702,12 @@ export default {
standNumber: '', //标准编号
standCode: '', //企标编号
dataSource: 'INLAND',
+ standType: 'INLAND',
lawNumber: '', // 标准编号/政策编号
lawName: '', // 标准名称/政策名称
page: 1,
pageSize: this.$store.getters.userInfo.configContent,
total: 0,
- standType: '',
quoteIdList: '',
validFlag: '0',
menuId: 'nomenu'
@@ -1094,6 +1094,7 @@ export default {
},
//添加标准的查询按钮
searchLawBtn(){
+ console.log(this.handleSelectForm);
this.lawInfoTableLoading = true
if (this.handleSelectForm.dataSource === 'INLAND'){
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage',this.handleSelectForm,{
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue
index 764893fb9..f886ef95e 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step3.vue
@@ -86,7 +86,7 @@
prop="standName"
align="center"
label="中文名称"
- width="180px"
+ min-width="300"
>
{{ scope.row.standName }}
@@ -96,7 +96,7 @@
prop="standEnName"
label="英文名称"
align="center"
- width="180px"
+ min-width="300"
>
{{ scope.row.standEnName }}
@@ -721,7 +721,7 @@ export default {
page: 1,
pageSize: this.$store.getters.userInfo.configContent,
total: 0,
- standType: '',
+ standType: 'INLAND',
quoteIdList: '',
validFlag: '0',
menuId: 'nomenu'
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue
index 4f15bd8ec..611fd5c46 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue
@@ -86,7 +86,7 @@
prop="standName"
align="center"
label="中文名称"
- width="180px"
+ min-width="300"
>
{{ scope.row.standName }}
@@ -96,7 +96,7 @@
prop="standEnName"
label="英文名称"
align="center"
- width="180px"
+ min-width="300"
>
{{ scope.row.standEnName }}
@@ -705,7 +705,7 @@ export default {
page: 1,
pageSize: this.$store.getters.userInfo.configContent,
total: 0,
- standType: '',
+ standType: 'INLAND',
quoteIdList: '',
validFlag: '0',
menuId: 'nomenu'
diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step5.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step5.vue
index ca2543c73..7691ed962 100644
--- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step5.vue
@@ -2,7 +2,7 @@
项目清单确认流程
- 法规部经理审批
+ 产品经理汇总
-
+
{
+ this.energyKindOptions = res.data.ENERGYTYPES; //适用车型
+ this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别
+ this.setMap(res.data.WBZTCLASS);// 文本状态
+ this.setMap(this.zrbmMap, res.data.ZRBMCLASS);
+ this.showLocalProductData(this.getLocalPro);
+ }, e => {
+ });
+ },
methods: {
+ formatIssueDate(str) {
+ const momentDate = this.$moment(str)
+ if (momentDate.isValid()) {
+ return this.$moment(str).format('YYYY-MM-DD')
+ } else {
+ return str
+ }
+ },
//确认转办
checkedTransferRole (data) {
this.assigneeNewLoading = true
@@ -324,7 +368,7 @@ export default {
})
},
// 请求转换流程图
- processNum () {
+ processNum (row) {
axios.request({
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
responseType: 'blob',
@@ -338,6 +382,18 @@ export default {
this.processStep = window.URL.createObjectURL(res.data)
})
},
+ //转办事件
+ handleTransfer(){
+ this.drawerModal = true
+ this.drawerTitle = '转办处理人'
+ this.selectPeople = row
+ },
+ // 将文本状态的id与name对应
+ setMap(data) {
+ data.forEach(item => {
+ this.$set(this.textStatusMap, item.value, item.label)
+ })
+ },
processTable() {
this.$http.get("lawss/activiti/get_list_by_instance", {
prcNum: this.$route.query.prcNum,
@@ -375,6 +431,15 @@ export default {
}).then(res => {
if (res) {
const processForm = JSON.parse(res.mesg);
+ let commitStatus = res.commitStatus
+ if(commitStatus && commitStatus > 0){
+ this.acceptShow = true
+ this.submitShow = false
+ }else {
+ this.acceptShow = false
+ this.submitShow = true
+ }
+ this.todoId = res.id
this.getFormFieldList(processForm);
}
}).catch(e => {
@@ -388,45 +453,92 @@ export default {
this.qdform = JSON.parse(JSON.stringify(item));
this.qdform.prcNum = this.prcNum;
this.qdform.prcName = this.prcName;
- this.dataList = item.dataList
this.qdform["id"] = item.id;
- this.projectId = item.projectId
+ this.dataList = item.dataList
+ this.dataList.forEach(item => {
+ if(item.involve === 'involve'){
+ item.involve = '涉及'
+ }else if(item.involve === 'noInvolve'){
+ item.involve = '不涉及'
+ }
+ })
+ // this.projectId = item.projectId;
+ // //获取清单id 查询对应清单下的标准
+ // this.detailedId = item.detailedListId;
// this.getStandData();
}else{
this.qdform = item.form
this.dataList =item.form.dataList
- this.projectId = item.form.projectId
- // this.getStandData();
+ this.detailedId = item.form.detailedListId;
}
});
},
- //提交事件
- handleSubmit() {
- this.isSubmit = true;
- this.qdform.passFlag = "0";
- this.qdform.commentText = this.commentText;
- this.qdform.dataList = this.dataList
- const json = JSON.stringify(this.qdform);
- this.$http.post("lawss/activiti/completeTask", {
- taskIds: this.taskIds,
- userId: this.userId,
- json: json
- }, {
+ //查询清单下的标准
+ getStandData() {
+ this.$http.get("sarStandProjectLibrary/queryStandInfo", { id: this.projectId, cars: '1', }, {
_this: this
}, res => {
- if (res.success) {
- this.$message.success(res.message);
- this.$router.push("/processCenter");
- }
- this.isSubmit = false;
- }, e => {
+ this.dataList = res.data.records;
+ this.dataList.forEach(item => {
+ // 责任部门转换
+ if (item.zrbm !== null || item.zrbm !== "" ) {
+ let k = (item.zrbm || "").split(",");
+ for (let i in this.zrbmOptions) {
+ for (let m = 0; m < k.length; m++) {
+ if (this.zrbmOptions[i].value === k[m]) {
+ k[m] = this.zrbmOptions[i].label;
+ }
+ item.zrbm = k.join(",");
+ }
+ }
+ }
+ });
+ this.dataList.map(item => {
+ if(item.zrbm === '[]'){
+ item.zrbm = ''
+ }
+ })
});
},
- //转办事件
- handleTransfer(){
- this.drawerModal = true
- this.drawerTitle = '转办处理人'
- this.selectPeople = row
+ // 接受按钮
+ handleAccept(){
+ this.isSubmit = true
+ execTask({
+ todoId: this.todoId // 当前节点ID
+ }).then(res => {
+ if (res.sign && res.sign === '0') {
+ this.$message.success('接收成功')
+ this.$router.push('/processCenter')
+ }
+ this.isSubmit = false
+ })
+ },
+ //保存事件
+ handleSave() {
+ this.saveLoading = true;
+ let _formData = new FormData();
+ this.qdform.dataList = this.dataList
+ _formData.append("id", this.bpnId || "");
+ _formData.append("prcType", "10");
+ _formData.append('taskIds', this.taskIds)
+ _formData.append("json", JSON.stringify({
+ form: this.qdform,
+ commentText: this.commentText
+ }));
+ saveTaskForPub(_formData).then(res => {
+ this.saveLoading = false;
+ this.$message.success("保存成功");
+ this.bpnId = res.result;
+ }).catch(e => {
+ this.saveLoading = false;
+ });
+ },
+ handleRemark(){
+ this.dataList.map(item => {
+ if(item.involve === 'noInvolve'){
+ comFlag
+ }
+ })
},
//驳回事件
beforeBack() {
@@ -451,9 +563,32 @@ export default {
});
}
},
+ //提交事件
+ handleSubmit() {
+ this.isSubmit = true;
+ this.qdform.passFlag = "0";
+ this.qdform.commentText = this.commentText;
+ this.qdform.dataList = this.dataList
+ const json = JSON.stringify(this.qdform);
+ this.$http.post("lawss/activiti/completeTask", {
+ taskIds: this.taskIds,
+ userId: this.userId,
+ json: json
+ }, {
+ _this: this
+ }, res => {
+ if (res.success) {
+ this.$message.success(res.message);
+ this.$router.push("/processCenter");
+ }
+ this.isSubmit = false;
+ }, e => {
+ });
+ },
//添加标准勾选框数据
- selectStand(data) {
- this.standList = data;
+ handleSelectTableChange (data) {
+ this.handleSelectTableList = data
+ console.log(this.handleSelectTableList);
},
selectStandChange(data){
this.projectStand = data
@@ -477,7 +612,7 @@ export default {
this.standList.map(item => {
let addIndex
addIndex = this.dataList.findIndex(items =>{
- return items.standId === item.id
+ return items.id === item.id
})
if(addIndex > -1){
this.$message.warning('请勿重复添加数据')
@@ -490,80 +625,13 @@ export default {
}
},
- //添加标准的查询按钮
- search() {
- this.getStand();
- },
- clearSearch() {
- this.standCommonlySearch = {
- standSort: "",
- standNumber: "",
- standType: ""
- };
- this.getStand();
- },
- pageChange(page) {
- this.page = page;
- this.getStand();
- },
- pageSizeChange(pageSize) {
- this.pageSize = pageSize;
- this.getStand();
- },
- getStand(data) {
- this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
- id: this.detailedId,
- page: this.page,
- Size: this.pageSize,
- ...this.standCommonlySearch
- }, {
- _this: this
- }, res => {
- if (res.data === null) {
- this.standardData = "";
- this.totalDo = "";
- }
- this.standardData = res.data.records;
- this.standardData.forEach(item => {
- if (item.zccssrqgj === "-") {
- item.zccssrqgj = "";
- }
- if (item.xcxssrqgj === "-") {
- item.xcxssrq = "";
- }
- });
- this.total = res.data.total;
- });
- },
- // 将文本状态的id与name对应
- setMap(data) {
- data.forEach(item => {
- this.$set(this.textStatusMap, item.value, item.label);
- });
- },
},
computed: {
listNoDataText() {
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
}
},
- mounted() {
- this.processTable();
- this.getData();
- // 查询各下拉框数据
- this.$http.get("sys/dictype/getDicTypeListCode", "", {
- _this: this,
- loading: "loading"
- }, res => {
- this.energyKindOptions = res.data.ENERGYTYPES; //适用车型
- this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别
- this.standStateOptions = res.data.WBZTCLASS; // 文本状态
- this.setMap(this.zrbmMap, res.data.ZRBMCLASS);
- this.setMap(this.standStateOptions);
- this.showLocalProductData(this.getLocalPro);
- }, e => {
- });
- }
+
};
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 a5e03bd72..84c472269 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -901,6 +901,17 @@ export default {
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/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"
>
-
@@ -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/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/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") }}
-
-
+
+