This commit is contained in:
zhutianqi
2021-12-31 10:29:07 +08:00
parent cb17bfe56e
commit 0179e6e2a7
16 changed files with 87 additions and 66 deletions
@@ -114,7 +114,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText1">
</el-input>
</div>
</el-collapse-item>
@@ -262,6 +262,7 @@
name: "bzdyStep1-1",
data() {
return {
commentText1: '',
pickerOptions: {
disabledDate(time) {
return time.getTime() < Date.now() - 8.64e7;//如果没有后面的-8.64e7就是不可以选择今天的
@@ -368,7 +369,7 @@
}
this.form = mes.form
this.roleForm = mes.roleForm
this.commentText = mes.commentText
this.commentText1 = mes.commentText1
})
},
checkedRole2 (data) {
@@ -561,7 +562,7 @@
}, {}, res => {
if (res.ok) {
var json = Object.assign(this.form, this.roleForm)
json.commentText = this.commentText
json.commentText = this.commentText1
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: res.data,
@@ -114,7 +114,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText1">
</el-input>
</div>
</el-collapse-item>
@@ -264,6 +264,7 @@ export default {
name: "bzdyStep1",
data() {
return {
commentText1: '',
pickerOptions: {
disabledDate(time) {
return time.getTime() < Date.now() - 8.64e7;//如果没有后面的-8.64e7就是不可以选择今天的
@@ -533,7 +534,7 @@ export default {
_formData.append('json', JSON.stringify({
form: this.form,
roleForm: this.roleForm,
commentText: this.commentText
commentText1: this.commentText1
}))
saveTaskFirst(_formData).then(res => {
this.saveLoading = false
@@ -557,12 +558,12 @@ export default {
json: JSON.stringify({
form: this.form,
roleForm: this.roleForm,
commentText: this.commentText
commentText1: this.commentText1
})
}, {}, res => {
if (res.ok) {
var json = Object.assign(this.form, this.roleForm)
json.commentText = this.commentText
json.commentText = this.commentText1
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: res.data,
@@ -97,7 +97,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText2">
</el-input>
</div>
</el-collapse-item>
@@ -196,6 +196,7 @@
name: "bzdyStep2",
data() {
return {
commentText2: '',
drawerModal: false,
foldFormFlag: false,
histortData: [],
@@ -313,7 +314,7 @@
_formData.append('taskIds', this.taskIds)
_formData.append('json', JSON.stringify({
form: this.form,
commentText: this.commentText,
commentText2: this.commentText2,
}))
saveTaskForPub(_formData).then(res => {
this.saveLoading = false
@@ -327,7 +328,7 @@
if (valid) {
this.isSubmit = true
var json = this.json
json.commentText = this.commentText
json.commentText = this.commentText2
json.responUserList = this.form.responUserList
json.responUserListName = this.form.responUserListName
this.$http.post('lawss/activiti/completeTask', {
@@ -360,6 +361,7 @@
this.json = data || data.form
this.form.responUserList = data.form? data.form.responUserList : ''
this.form.responUserListName = data.form? data.form.responUserListName : ''
this.commentText2 = data.commentText2
}).catch(e => {
})
})
@@ -135,7 +135,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText4">
</el-input>
</div>
</el-collapse-item>
@@ -230,6 +230,7 @@
name: "bzdyStep4",
data() {
return {
commentText4: '',
newDocUser: '',
drawerModal: false,
foldFormFlag: false,
@@ -333,7 +334,7 @@
this.isSubmit = true
var json = this.json
json.actionFlag = 0
json.commentText = this.commentText
json.commentText = this.commentText4
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskIds: this.taskIds,
@@ -347,11 +348,11 @@
})
},
handleSubmitNo() {
if (this.commentText) {
if (this.commentText4) {
this.isSubmit = true
var json = this.json
json.actionFlag = 1
json.commentText = this.commentText
json.commentText = this.commentText4
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskIds: this.taskIds,
@@ -384,6 +385,7 @@
this.form.modelList = data.form ? data.form.modelList : data.modelList
this.form.fjList = data.fjList || data.form.fjList
this.newDocUser = data.form ? data.form.docUser : data.docUser
this.commentText4 = data.commentText4
}).catch(e => {
})
})
@@ -124,7 +124,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText5">
</el-input>
</div>
</el-collapse-item>
@@ -237,6 +237,7 @@
name: "bzdyStep5",
data() {
return {
commentText5: '',
newDocUser: '',
drawerModal: false,
foldFormFlag: false,
@@ -373,7 +374,7 @@
_formData.append('taskIds', this.taskIds)
_formData.append('json', JSON.stringify({
form: json,
commentText: this.commentText,
commentText5: this.commentText5,
}))
saveTaskForPub(_formData).then(res => {
this.saveLoading = false
@@ -387,7 +388,7 @@
if (valid) {
this.isSubmit = true
var json = this.json
json.commentText = this.commentText
json.commentText = this.commentText5
json.hzfileId = this.form.hzfileId
json.hzfileName = this.form.hzfileName
json.docUser = this.newDocUser
@@ -419,6 +420,7 @@
this.form.hzfileId = data.hzfileId || data.form.hzfileId
this.form.hzfileName = data.hzfileName || data.form.hzfileName
this.newDocUser = data.form ? data.form.docUser : data.docUser
this.commentText5 = data.commentText5
}).catch(e => {
})
})
@@ -119,7 +119,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText6">
</el-input>
</div>
</el-collapse-item>
@@ -233,6 +233,7 @@
name: "bzdyStep6",
data() {
return {
commentText6: '',
drawerModal: false,
foldFormFlag: false,
histortData: [],
@@ -360,12 +361,11 @@
handleTabs(name) {
this.active = name
},
handleSave() {},
handleSubmit() {
this.isSubmit = true
var json = this.json
json.actionFlag = 0
json.commentText = this.commentText
json.commentText = this.commentText6
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -379,11 +379,11 @@
})
},
handleSubmitNo() {
if (this.commentText) {
if (this.commentText6) {
this.isSubmit = true
var json = this.json
json.actionFlag = 1
json.commentText = this.commentText
json.commentText = this.commentText6
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -412,6 +412,7 @@
this.tableData = data.responUserList || data.form.responUserList
this.form.hzfileId = data.hzfileId || data.form.hzfileId
this.form.hzfileName = data.hzfileName || data.form.hzfileName
this.commentText6 = data.commentText6
}).catch(e => {
})
})
@@ -119,7 +119,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText7">
</el-input>
</div>
</el-collapse-item>
@@ -233,6 +233,7 @@
name: "bzdyStep7",
data() {
return {
commentText7: '',
drawerModal: false,
foldFormFlag: false,
histortData: [],
@@ -365,7 +366,7 @@
this.isSubmit = true
var json = this.json
json.actionFlag = 0
json.commentText = this.commentText
json.commentText = this.commentText7
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskIds: this.taskIds,
@@ -379,10 +380,10 @@
})
},
handleSubmitNo() {
if (this.commentText) {
if (this.commentText7) {
this.isSubmit = true
var json = this.json
json.commentText = this.commentText
json.commentText = this.commentText7
json.actionFlag = 1
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
@@ -412,6 +413,7 @@
this.tableData = data.responUserList || data.form.responUserList
this.form.hzfileId = data.hzfileId || data.form.hzfileId
this.form.hzfileName = data.hzfileName || data.form.hzfileName
this.commentText7 = data.commentText7
}).catch(e => {
})
})
@@ -119,7 +119,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText8">
</el-input>
</div>
</el-collapse-item>
@@ -233,6 +233,7 @@
name: "bzdyStep8",
data() {
return {
commentText8: '',
drawerModal: false,
foldFormFlag: false,
histortData: [],
@@ -365,7 +366,7 @@
this.isSubmit = true
var json = this.json
json.actionFlag = 0
json.commentText = this.commentText
json.commentText = this.commentText8
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -379,10 +380,10 @@
})
},
handleSubmitNo() {
if (this.commentText) {
if (this.commentText8) {
this.isSubmit = true
var json = this.json
json.commentText = this.commentText
json.commentText = this.commentText8
json.actionFlag = 1
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
@@ -412,6 +413,7 @@
this.tableData = data.responUserList || data.form.responUserList
this.form.hzfileId = data.hzfileId || data.form.hzfileId
this.form.hzfileName = data.hzfileName || data.form.hzfileName
this.commentText8 = data.commentText8
}).catch(e => {
})
})
@@ -119,7 +119,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText9">
</el-input>
</div>
</el-collapse-item>
@@ -233,6 +233,7 @@
name: "bzdyStep9",
data() {
return {
commentText9: '',
drawerModal: false,
foldFormFlag: false,
histortData: [],
@@ -360,12 +361,11 @@
handleTabs(name) {
this.active = name
},
handleSave() {},
handleSubmit() {
this.isSubmit = true
var json = this.json
json.actionFlag = 0
json.commentText = this.commentText
json.commentText = this.commentText9
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -379,10 +379,10 @@
})
},
handleSubmitNo() {
if (this.commentText) {
if (this.commentText9) {
this.isSubmit = true
var json = this.json
json.commentText = this.commentText
json.commentText = this.commentText9
json.actionFlag = 1
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
@@ -412,6 +412,7 @@
this.tableData = data.responUserList || data.form.responUserList
this.form.hzfileId = data.hzfileId || data.form.hzfileId
this.form.hzfileName = data.hzfileName || data.form.hzfileName
this.commentText9 = data.commentText9
}).catch(e => {
})
})
@@ -196,7 +196,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText1">
</el-input>
</div>
</el-collapse-item>
@@ -493,6 +493,7 @@
name: "bzjdStep1-1",
data() {
return {
commentText1: '',
itemsNum: '',
BDtext: false,
pickerOptions: {
@@ -835,7 +836,7 @@
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
this.form = mes.form
this.roleForm = mes.roleForm
this.commentText = mes.commentText
this.commentText1 = mes.commentText1
this.itemList = mes.itemList
this.sarType = mes.sarType
})
@@ -1008,7 +1009,7 @@
_formData.append('json', JSON.stringify({
form: this.form,
roleForm: this.roleForm,
commentText: this.commentText,
commentText1: this.commentText1,
itemList: this.itemList,
sarType: this.sarType
}))
@@ -1077,7 +1078,7 @@
}, {}, res => {
if (res.ok) {
var json = Object.assign(this.form, this.roleForm)
json.commentText = this.commentText
json.commentText = this.commentText1
json.standInData = this.sarType
json.itemList = this.itemList
this.$http.post('lawss/activiti/completeTask', {
@@ -203,7 +203,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText1">
</el-input>
</div>
</el-collapse-item>
@@ -503,6 +503,7 @@ export default {
name: "bzjdStep1",
data() {
return {
commentText1: '',
itemsNum: '',
BDtext: false,
pickerOptions: {
@@ -1017,7 +1018,7 @@ export default {
_formData.append('json', JSON.stringify({
form: this.form,
roleForm: this.roleForm,
commentText: this.commentText,
commentText1: this.commentText1,
itemList: this.itemList,
sarType: this.sarType
}))
@@ -1089,14 +1090,14 @@ export default {
json: JSON.stringify({
form: this.form,
roleForm: this.roleForm,
commentText: this.commentText,
commentText1: this.commentText1,
itemList: this.itemList,
sarType: this.sarType
})
}, {}, res => {
if (res.ok) {
var json = Object.assign(this.form, this.roleForm)
json.commentText = this.commentText
json.commentText = this.commentText1
json.standInData = this.sarType
json.itemList = this.itemList
json.itemListOld = this.itemListOld
@@ -172,7 +172,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText2">
</el-input>
</div>
</el-collapse-item>
@@ -282,6 +282,7 @@
name: "bzjdStep2",
data() {
return {
commentText2: '',
drawerModal: false,
//折叠的标志,true为折叠,false为不折叠
foldFormFlag: false,
@@ -427,7 +428,7 @@
_formData.append('json', JSON.stringify({
form: this.form,
roleForm: this.roleForm,
commentText: this.commentText,
commentText2: this.commentText2,
itemList: this.itemList,
standInData: this.sarType
}))
@@ -453,7 +454,7 @@
this.isSubmit = true
var json = this.json
json.itemList = this.itemList
json.commentText = this.commentText
json.commentText = this.commentText2
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -486,7 +487,7 @@
let data = JSON.parse(res.mesg)
this.form.itemsNum = data.itemsNum || data.form.itemsNum
this.form.itemsName = data.itemsName || data.form.itemsName
this.commentText = data.commentText
this.commentText2 = data.commentText2
if (data.form) {
this.form.itemsName1 = data.form.itemsName1 || ''
this.form.itemsNum1 = data.form.itemsNum1 || ''
@@ -203,7 +203,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText3">
</el-input>
</div>
</el-collapse-item>
@@ -464,6 +464,7 @@
name: "bzjdStep3",
data() {
return {
commentText3: '',
BDtext: false,
itemsNum: '',
similarityDegree: '',
@@ -743,7 +744,7 @@
_formData.append('json', JSON.stringify({
form: this.form,
roleForm: this.roleForm,
commentText: this.commentText,
commentText3: this.commentText3,
itemList: this.itemList,
standInData: this.sarType
}))
@@ -823,7 +824,7 @@
} else {
this.isSubmit = true
var json = this.json
json.commentText = this.commentText
json.commentText = this.commentText3
json.itemList = this.itemList
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
@@ -857,7 +858,7 @@
this.acceptShow = false
this.submitShow = true
}
this.commentText = data.commentText
this.commentText3 = data.commentText3
this.todoId = res.id
this.form.itemsNum = data.itemsNum || data.form.itemsNum
this.form.itemsName = data.itemsName || data.form.itemsName
@@ -197,7 +197,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText4">
</el-input>
</div>
</el-collapse-item>
@@ -306,6 +306,7 @@
name: "bzjdStep4",
data() {
return {
commentText4: '',
itemsNum: '',
similarityDegree: '',
BDmodel: false,
@@ -439,7 +440,7 @@
this.isSubmit = true
var json = this.json
json.resolveFlag = 1
json.commentText = this.commentText
json.commentText = this.commentText4
json.AOLIGEI = this.AOLIGEI
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
@@ -454,11 +455,11 @@
})
},
handleSubmitNo () {
if (this.commentText) {
if (this.commentText4) {
this.isSubmit = true
var json = this.json
json.resolveFlag = 2
json.commentText = this.commentText
json.commentText = this.commentText4
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -483,7 +484,7 @@
let data = JSON.parse(res.mesg)
this.form.itemsNum = data.itemsNum || data.form.itemsNum
this.form.itemsName = data.itemsName || data.form.itemsName
this.commentText = data.commentText
this.commentText4 = data.commentText4
if (data.form) {
this.form.itemsName1 = data.form.itemsName1 || ''
this.form.itemsNum1 = data.form.itemsNum1 || ''
@@ -197,7 +197,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText5">
</el-input>
</div>
</el-collapse-item>
@@ -312,6 +312,7 @@
name: "bzjdStep5",
data() {
return {
commentText5: '',
itemsNum: '',
similarityDegree: '',
BDmodel: false,
@@ -427,7 +428,7 @@
this.isSubmit = true
var json = this.json
json.zrApplyFlag = 1
json.commentText = this.commentText
json.commentText = this.commentText5
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -441,11 +442,11 @@
})
},
handleSubmitNo () {
if (this.commentText) {
if (this.commentText5) {
this.isSubmit = true
var json = this.json
json.zrApplyFlag = 2
json.commentText = this.commentText
json.commentText = this.commentText5
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -470,7 +471,7 @@
let data = JSON.parse(res.mesg)
this.form.itemsNum = data.itemsNum || data.form.itemsNum
this.form.itemsName = data.itemsName || data.form.itemsName
this.commentText = data.commentText
this.commentText5 = data.commentText5
if (data.form) {
this.form.itemsName1 = data.form.itemsName1 || ''
this.form.itemsNum1 = data.form.itemsNum1 || ''
@@ -197,7 +197,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
v-model="commentText6">
</el-input>
</div>
</el-collapse-item>
@@ -310,6 +310,7 @@
name: "bzjdStep6",
data() {
return {
commentText6: '',
itemsNum: '',
similarityDegree: '',
BDmodel: false,
@@ -425,7 +426,7 @@
this.isSubmit = true
var json = this.json
json.gcApplyFlag = 1
json.commentText = this.commentText
json.commentText = this.commentText6
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -439,11 +440,11 @@
})
},
handleSubmitNo () {
if (this.commentText) {
if (this.commentText6) {
this.isSubmit = true
var json = this.json
json.gcApplyFlag = 2
json.commentText = this.commentText
json.commentText = this.commentText6
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -468,7 +469,7 @@
let data = JSON.parse(res.mesg)
this.form.itemsNum = data.itemsNum || data.form.itemsNum
this.form.itemsName = data.itemsName || data.form.itemsName
this.commentText = data.commentText
this.commentText6 = data.commentText6
if (data.form) {
this.form.itemsName1 = data.form.itemsName1 || ''
this.form.itemsNum1 = data.form.itemsNum1 || ''