审批
This commit is contained in:
@@ -103,17 +103,25 @@ export default {
|
||||
pictres: [],
|
||||
options: '',
|
||||
approver: [], //审批人
|
||||
type: '',
|
||||
}
|
||||
},
|
||||
onLoad(o) {
|
||||
this.id = o.id
|
||||
this.type = o.type
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user'])
|
||||
},
|
||||
methods: {
|
||||
getDetail() {
|
||||
this.$http.post(`/app/appmasssendingtask/queryDetailById?id=${this.id}`).then(res=> {
|
||||
let url = ''
|
||||
if(this.type == 'ResidentsGroup') {
|
||||
url = `/app/appmasssendingtask/queryDetailById?id=${this.id}`
|
||||
} else {
|
||||
url = `/app/whchatmomentstask/queryDetailById?id=${this.id}`
|
||||
}
|
||||
this.$http.post(url).then(res=> {
|
||||
if (res?.data) {
|
||||
this.data = res.data
|
||||
this.content = res.data.contents.filter(v=> v.msgType == 0)?.[0].content
|
||||
@@ -159,7 +167,14 @@ export default {
|
||||
})
|
||||
},
|
||||
examine() {
|
||||
this.$http.post(`/app/appmasssendingtask/examine`,null,{
|
||||
// /app/whchatmomentstask/examine
|
||||
let url = ''
|
||||
if(this.type == 'ResidentsGroup') {
|
||||
url = `/app/appmasssendingtask/examine`
|
||||
} else {
|
||||
url = `/app/whchatmomentstask/examine`
|
||||
}
|
||||
this.$http.post(url,null,{
|
||||
params: {
|
||||
pass: this.pass,
|
||||
id: this.id,
|
||||
|
||||
Reference in New Issue
Block a user