diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue
index 4ab746639..55c6529cd 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue
@@ -248,6 +248,17 @@
+
+
+
+
@@ -600,12 +611,6 @@
}
this.modalshowflag = false
},
- handleSelectionChange (val) {
- this.zrIdList = []
- val.forEach( item => {
- this.zrIdList.push(item.id)
- })
- },
choiceZRRS (row, type, index) {
this.type = type
if (type === 1) {
@@ -632,6 +637,12 @@
this.modalshowflag = true
}
},
+ handleSelectionChange (val) {
+ this.zrIdList = []
+ val.forEach( item => {
+ this.zrIdList.push(item.id)
+ })
+ },
handleTabs(name) {
this.active = name
},
@@ -650,6 +661,7 @@
if (b > 0) {
this.$message.warning('请选择责任人')
} else {
+ this.isSubmit = true
this.$http.get('lawss/activiti/startProcess', {
type: '9'
}, {}, res => {
@@ -672,6 +684,7 @@
this.$message.warning('流程启动失败')
}
})
+ this.isSubmit = false
}
} else {
return this.$message.warning('请完善人员信息')
diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue
index ebf12321b..77c7bec18 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step2.vue
@@ -26,7 +26,7 @@
@@ -34,7 +34,7 @@
@@ -42,28 +42,28 @@
@@ -198,7 +198,6 @@
-
-
-
-
-
+
+ 加载中...
@@ -245,33 +226,30 @@
name: "bzjdStep2",
data() {
return {
+ type: '',
+ drawerTitle: '',
histortData: [],
sarType: '',
zxIndex: '',
zxType: '',
zxIdList: [],
modalshowflag2: false,
- treeData: [],
nodeList2: [],
- defaultProps: {
- children: 'children',
- label: 'name'
- },
- loading: false,
+ loading: true,
commentText: '',
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId,
roleRow: {},
- type: '',
- drawerTitle: '', //drawer标题
textarea: '', // 意见
ListModel: false, // 新增编辑抽屉开关
active: '1', // 默认显示
isSubmit: false,
saveLoading: false,
form: {
- number: '',
- name: '',
+ itemsNum: '',
+ itemsName: '',
+ itemsNum1: '',
+ itemsName1: '',
},
json: {},
itemList: []
@@ -290,26 +268,18 @@
this.histortData = res
}, e => {})
},
- drawerCheck2 (data) {
- var getlist = this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes());
- if(getlist.length == 1) {
- this.roleRow = getlist[0]
- }else {
- this.$refs.tree2.setCheckedKeys([data.id]);
- this.roleRow = this.$refs.tree2.getCheckedNodes()[0]
- }
- },
choiceZRRS (row, type, index) {
+ this.type = type
if (type === 1) {
+ this.drawerTitle = '选择责任部门对接人'
this.nodeList2 = []
this.zxIndex= index
- this.zxType = type
this.nodeList2.push(row)
this.modalshowflag2 = true
} else {
// 批量
+ this.drawerTitle = '批量选择责任部门对接人'
if (this.zxIdList.length > 0) {
- this.zxType = type
this.nodeList2 = []
this.modalshowflag2 = true
} else {
@@ -317,39 +287,21 @@
}
}
},
- saveUserInfo2 () {
- var idList = ''
- var nameList = ''
- this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes()).forEach( item => {
- if (nameList.length > 0) {
- nameList += ','
- idList += ','
- }
- idList += item.id
- nameList += item.name
- })
- if (this.zxType == 1) {
- this.itemList[this.zxIndex].zxUserId = idList
- this.itemList[this.zxIndex].zxUserIdName = nameList
+ saveUserInfo (data) {
+ if (this.type === 1) {
+ this.itemList[this.zxIndex].zxUserId = data[0].id
+ this.itemList[this.zxIndex].zxUserIdName = data[0].name
} else {
this.itemList.forEach( item => {
this.zxIdList.forEach( items => {
if (item.id === items) {
- item.zxUserId = idList
- item.zxUserIdName = nameList
+ item.zxUserId = data[0].id
+ item.zxUserIdName = data[0].name
}
})
})
}
- this.modalshowflag2 = false
- },
- cancleUserInfo2 () {
- this.modalshowflag2 = false
- },
- getTree () {
- this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
- this.treeData = res.data
- })
+ this.modalshowflag = false
},
handleTabs(name) {
this.active = name
@@ -366,20 +318,23 @@
}
if (b > 0) {
this.$message.warning('请选择执行人')
+ } else {
+ this.isSubmit = true
+ var json = this.json
+ json.itemList = this.itemList
+ json.commentText = this.commentText
+ this.$http.post('lawss/activiti/completeTask', {
+ json: JSON.stringify(json),
+ taskId: this.taskIds,
+ userId: this.$store.getters.userInfo.userId
+ }, {}, res => {
+ if (res.success) {
+ this.$message.success('提交成功')
+ this.$router.push('/processCenter')
+ }
+ })
+ this.isSubmit = false
}
- var json = this.json
- json.itemList = this.itemList
- json.commentText = this.commentText
- this.$http.post('lawss/activiti/completeTask', {
- json: JSON.stringify(json),
- taskId: this.taskIds,
- userId: this.$store.getters.userInfo.userId
- }, {}, res => {
- if (res.success) {
- this.$message.success('提交成功')
- this.$router.push('/processCenter')
- }
- })
} else {
return this.$message.warning('请完善基础信息')
}
@@ -398,10 +353,10 @@
pId: this.pId
}).then(res => {
let data = JSON.parse(res.mesg)
- this.form.number = data.number
- this.form.name = data.name
- this.form.number1 = data.number1
- this.form.name1 = data.name1
+ this.form.itemsNum = data.itemsNum
+ this.form.itemsName = data.itemsName
+ this.form.itemsNum1 = data.itemsNum1
+ this.form.itemsName1 = data.itemsName1
this.sarType = data.standInData
this.json = data
var arr = []
@@ -411,6 +366,7 @@
item.zxUserIdName = ''
})
this.itemList = arr
+ this.loading = false
}).catch(e => {
})
})
@@ -418,7 +374,6 @@
},
mounted () {
this.getHistoryData()
- this.getTree()
this.getData()
}
}
diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue
index ec3179f4c..5a7bfc5ef 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue
@@ -26,7 +26,7 @@
@@ -34,7 +34,7 @@
@@ -42,28 +42,28 @@
@@ -189,6 +189,11 @@
width="150"
label="适用车型"
align="center">
+
+
+
+
+
- 数据获取中
@@ -278,7 +282,6 @@
+
+
+
+
+
+ 加载中...
@@ -359,6 +368,7 @@
name: "bzjdStep3",
data() {
return {
+ cxList: [],
histortData: [],
plForm: {
technicalRequir: '', // 核心技术要求
@@ -367,11 +377,12 @@
complianceState: '', // 合规性分析
newData: '', // 新车型实施日期
onlineData: '', // 在产车实施日期
+ applyArctic: '', // 适用车型
},
modalshowflag: false,
sarType: '',
itemList: [],
- loading: false,
+ loading: true,
commentText: '',
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId,
@@ -380,10 +391,10 @@
isSubmit: false,
saveLoading: false,
form: {
- number: '',
- name: '',
- number1: '',
- name1: ''
+ itemsNum: '',
+ itemsName: '',
+ itemsNum1: '',
+ itemsName1: '',
},
json: {},
idList: []
@@ -412,6 +423,7 @@
this.itemList[a].complianceState = this.plForm.complianceState
this.itemList[a].newData = this.plForm.newData
this.itemList[a].onlineData = this.plForm.onlineData
+ this.itemList[a].applyArctic = this.plForm.applyArctic
}
}
}
@@ -446,7 +458,7 @@
handleSubmit() {
this.$refs['bzzqyjForm'].validate((valid) => {
if (valid) {
- let num1 = 0, num2 = 0, num3 = 0, num4 = 0, num5 = 0
+ let num1 = 0, num2 = 0, num3 = 0, num4 = 0, num5 = 0, num6 = 0
for (let a = 0; a < this.itemList.length; a++) {
if (!this.itemList[a].technicalRequir) {
num1++
@@ -463,6 +475,9 @@
if (!this.itemList[a].onlineData) {
num5++
}
+ if (!this.itemList[a].applyArctic) {
+ num6++
+ }
}
if (num1 > 0) {
this.$message.warning('请输入核心技术要求')
@@ -478,7 +493,10 @@
this.$message.warning('请输入新车型实施日期')
} else if (num5 > 0) {
this.$message.warning('请输入在产车实施日期')
+ } else if (num6 > 0) {
+ this.$message.warning('请选择适用车型')
} else {
+ this.isSubmit = true
var json = this.json
json.commentText = this.commentText
json.itemList = this.itemList
@@ -492,6 +510,7 @@
this.$router.push('/processCenter')
}
})
+ this.isSubmit = false
}
} else {
return this.$message.warning('请完善基础信息')
@@ -505,10 +524,10 @@
pId: this.pId
}).then(res => {
let data = JSON.parse(res.mesg)
- this.form.number = data.number
- this.form.name = data.name
- this.form.number1 = data.number1
- this.form.name1 = data.name1
+ this.form.itemsNum = data.itemsNum
+ this.form.itemsName = data.itemsName
+ this.form.itemsNum1 = data.itemsNum1
+ this.form.itemsName1 = data.itemsName1
this.sarType = data.standInData
this.json = data
const itemList = JSON.parse(data.itemList)
@@ -524,6 +543,7 @@
item.itemsTitle = item.itermsConditions
})
this.itemList = itemList
+ this.loading = false
}).catch(e => {
})
})
@@ -532,6 +552,11 @@
mounted () {
this.getHistoryData()
this.getData()
+ this.$http.get('sys/dictype/getDicTypeListCode', '', {
+ _this: this
+ }, res => {
+ this.cxList = res.data.ENERGYTYPES // 适用车型
+ })
}
}
diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue
index 4d68f687d..ff4b8c6aa 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue
@@ -26,7 +26,7 @@
@@ -34,7 +34,7 @@
@@ -42,28 +42,28 @@
@@ -176,7 +176,6 @@
align="center">
- 数据获取中
@@ -250,8 +249,8 @@
+ 加载中...
{
let data = JSON.parse(res.mesg)
- this.form.number = data.number
- this.form.name = data.name
- this.form.number1 = data.number1
- this.form.name1 = data.name1
+ this.form.itemsNum = data.itemsNum
+ this.form.itemsName = data.itemsName
+ this.form.itemsNum1 = data.itemsNum1
+ this.form.itemsName1 = data.itemsName1
this.sarType = data.standInData
this.json = data
this.itemList = data.itemList
+ this.loading = false
}).catch(e => {
})
})
diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue
index d8fbe2523..8030287a6 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue
@@ -26,7 +26,7 @@
@@ -34,7 +34,7 @@
@@ -42,28 +42,28 @@
@@ -176,7 +176,6 @@
align="center">
- 数据获取中
@@ -251,7 +250,6 @@
+ 加载中...
@@ -278,7 +277,7 @@
histortData: [],
sarType: '',
itemList: [],
- loading: false,
+ loading: true,
commentText: '',
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId,
@@ -287,10 +286,10 @@
isSubmit: false,
saveLoading: false,
form: {
- number: '',
- name: '',
- number1: '',
- name1: ''
+ itemsNum: '',
+ itemsName: '',
+ itemsNum1: '',
+ itemsName1: '',
},
json: {},
}
@@ -313,6 +312,7 @@
},
handleSave() {},
handleSubmit() {
+ this.isSubmit = true
var json = this.json
json.zrApplyFlag = 1
json.commentText = this.commentText
@@ -325,10 +325,12 @@
this.$message.success('提交成功')
this.$router.push('/processCenter')
}
+ this.isSubmit = false
})
},
handleSubmitNo () {
if (this.commentText) {
+ this.isSubmit = true
var json = this.json
json.zrApplyFlag = 2
json.commentText = this.commentText
@@ -341,6 +343,7 @@
this.$message.success('驳回成功')
this.$router.push('/processCenter')
}
+ this.isSubmit = false
})
} else {
this.$message.warning('请输入反馈意见')
@@ -353,13 +356,14 @@
pId: this.pId
}).then(res => {
let data = JSON.parse(res.mesg)
- this.form.number = data.number
- this.form.name = data.name
- this.form.number1 = data.number1
- this.form.name1 = data.name1
+ this.form.itemsNum = data.itemsNum
+ this.form.itemsName = data.itemsName
+ this.form.itemsNum1 = data.itemsNum1
+ this.form.itemsName1 = data.itemsName1
this.sarType = data.standInData
this.json = data
this.itemList = data.itemList
+ this.loading = true
}).catch(e => {
})
})
diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue
index c29c8e39e..9c0039f5d 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue
@@ -26,7 +26,7 @@
@@ -34,7 +34,7 @@
@@ -42,28 +42,28 @@
@@ -177,7 +177,6 @@
align="center">
- 数据获取中
@@ -252,17 +251,15 @@
+ 加载中...
@@ -279,7 +276,7 @@
histortData: [],
sarType: '',
itemList: [],
- loading: false,
+ loading: true,
commentText: '',
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId,
@@ -288,10 +285,10 @@
isSubmit: false,
saveLoading: false,
form: {
- number: '',
- name: '',
- number1: '',
- name1: ''
+ itemsNum: '',
+ itemsName: '',
+ itemsNum1: '',
+ itemsName1: '',
},
json: {},
}
@@ -314,6 +311,7 @@
},
handleSave() {},
handleSubmit() {
+ this.isSubmit = true
var json = this.json
json.gcApplyFlag = 1
json.commentText = this.commentText
@@ -326,10 +324,12 @@
this.$message.success('提交成功')
this.$router.push('/processCenter')
}
+ this.isSubmit = false
})
},
handleSubmitNo () {
if (this.commentText) {
+ this.isSubmit = true
var json = this.json
json.gcApplyFlag = 2
json.commentText = this.commentText
@@ -342,6 +342,7 @@
this.$message.success('驳回成功')
this.$router.push('/processCenter')
}
+ this.isSubmit = false
})
} else {
this.$message.warning('请输入反馈意见')
@@ -354,13 +355,14 @@
pId: this.pId
}).then(res => {
let data = JSON.parse(res.mesg)
- this.form.number = data.number
- this.form.name = data.name
- this.form.number1 = data.number1
- this.form.name1 = data.name1
+ this.form.itemsNum = data.itemsNum
+ this.form.itemsName = data.itemsName
+ this.form.itemsNum1 = data.itemsNum1
+ this.form.itemsName1 = data.itemsName1
this.sarType = data.standInData
this.json = data
this.itemList = data.itemList
+ this.loading = false
}).catch(e => {
})
})
diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
index ebb110b56..49068ff27 100644
--- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
@@ -29,7 +29,16 @@
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}">
-
+
+
+ {{ scope.row.standSerialNumber }}
+
+
+
+
+ {{ scope.row.standName }}
+
+
@@ -87,6 +96,42 @@
+
+
+
+ 确认+选择责任人
+
+
+
+
+
+
+
+
+
+
+
+ 负责人
+
+
+
+
+
+
+
+
+
+
+
+ 分发负责人
+
+
+
+
+
+
+
+
@@ -103,7 +148,7 @@
@@ -154,25 +199,44 @@
+ @selection-change="selectedChange"
+ >
-
-
-
-
-
-
-
+
+
+ {{ scope.row.standSerialNumber }}
+
+
+
+
+ {{ scope.row.standName }}
+
+
+
+
+
+
+
+ {{ scope.row.planCloseTime ? $moment(scope.row.planCloseTime).format("YYYY-MM-DD") : "" }}
+
+
+
+
+