测试提交
This commit is contained in:
@@ -116,6 +116,12 @@ export default {
|
|||||||
this.$http.postData('lawss/Reply/insertReply',{ ...this.form },{
|
this.$http.postData('lawss/Reply/insertReply',{ ...this.form },{
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
json: JSON.stringify(this.form),
|
||||||
|
taskId: this.$route.query.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.userId
|
||||||
|
}, {}, res => {
|
||||||
|
});
|
||||||
if(res.respCode === '200'){
|
if(res.respCode === '200'){
|
||||||
this.form.reply = ''
|
this.form.reply = ''
|
||||||
this.fileList = []
|
this.fileList = []
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export default {
|
|||||||
institutionId: this.$store.getters.userInfo.institutionId,
|
institutionId: this.$store.getters.userInfo.institutionId,
|
||||||
answererNowUserId: this.$store.getters.userInfo.userId,
|
answererNowUserId: this.$store.getters.userInfo.userId,
|
||||||
answererNowUserName: this.$store.getters.userInfo.userName,
|
answererNowUserName: this.$store.getters.userInfo.userName,
|
||||||
fileList:[],
|
// fileList:[],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
|||||||
@@ -1331,10 +1331,17 @@ export default {
|
|||||||
answerList: [],
|
answerList: [],
|
||||||
standList: [],
|
standList: [],
|
||||||
questionsList: [],
|
questionsList: [],
|
||||||
|
prcName:'',
|
||||||
|
taskIds:'',
|
||||||
standMap: new Map()
|
standMap: new Map()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted(){
|
mounted(){
|
||||||
|
if(this.$route.query){
|
||||||
|
var index = this.$route.query.prcName.indexOf('-(')
|
||||||
|
this.prcName = this.$route.query.prcName.substring(0,index)
|
||||||
|
this.taskIds = this.$route.query.taskIds
|
||||||
|
}
|
||||||
this.standSearch()
|
this.standSearch()
|
||||||
// 查询各下拉框数据
|
// 查询各下拉框数据
|
||||||
this.$http.get("sys/dictype/getDicTypeListCode", "", {
|
this.$http.get("sys/dictype/getDicTypeListCode", "", {
|
||||||
@@ -1824,6 +1831,10 @@ export default {
|
|||||||
},
|
},
|
||||||
//查询提问标准
|
//查询提问标准
|
||||||
standSearch(){
|
standSearch(){
|
||||||
|
if(this.$route.query){
|
||||||
|
this.questionSerach.standardEncdoing = this.prcName
|
||||||
|
}
|
||||||
|
console.log(this.questionSerach)
|
||||||
this.$http.get('lawss/AskQuestions/getAskQuestionsDetails',{ ...this.questionSerach },{
|
this.$http.get('lawss/AskQuestions/getAskQuestionsDetails',{ ...this.questionSerach },{
|
||||||
_this: this
|
_this: this
|
||||||
}, res =>{
|
}, res =>{
|
||||||
@@ -1933,12 +1944,25 @@ export default {
|
|||||||
this.handleSelectForm.lawName = ''
|
this.handleSelectForm.lawName = ''
|
||||||
this.handleSelectForm.standName = ''
|
this.handleSelectForm.standName = ''
|
||||||
this.handleSelectForm.numberName = ''
|
this.handleSelectForm.numberName = ''
|
||||||
this.$http.postData('lawss/activiti/startProcessRollBack',{
|
this.$http.post('lawss/activiti/startProcessRollBack',{
|
||||||
json: JSON.stringify(res.data),
|
json: JSON.stringify(res.data),
|
||||||
type: '27' },
|
type: '27',
|
||||||
|
createUser: this.$store.getters.userInfo.userId,
|
||||||
|
createUserName: this.$store.getters.userInfo.userName,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, val => {
|
||||||
|
this.$http.post('lawss/activiti/completeTask',{
|
||||||
|
taskIds: val.data,
|
||||||
|
userId : this.$store.getters.userInfo.userId,
|
||||||
|
json: JSON.stringify(res.data),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|||||||
@@ -111,7 +111,11 @@ export default {
|
|||||||
{
|
{
|
||||||
label: "企标制修订立项",
|
label: "企标制修订立项",
|
||||||
value: "26"
|
value: "26"
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
label: "问答流程",
|
||||||
|
value: "27"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
formDisableFlag: false,
|
formDisableFlag: false,
|
||||||
pickerOptions: {
|
pickerOptions: {
|
||||||
|
|||||||
@@ -2227,6 +2227,18 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
|
case '27':
|
||||||
|
this.$router.push({
|
||||||
|
name: 'MyQuestions',
|
||||||
|
query:{
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType,
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
...mapMutations(['setProcess', 'setHandleInfo']),
|
...mapMutations(['setProcess', 'setHandleInfo']),
|
||||||
|
|||||||
Reference in New Issue
Block a user