工单
This commit is contained in:
@@ -204,7 +204,7 @@ export default {
|
||||
this.$instance.post(`${url}`, {...this.forms}).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast(this.id ? '编辑成功' : '上报成功')
|
||||
uni.$emit('getListInit')
|
||||
uni.$emit('workTaskGetListInit')
|
||||
if(this.id) {
|
||||
uni.$emit('updateDeatil')
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ export default {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast(successText)
|
||||
uni.$emit('updateDeatil')
|
||||
uni.$emit('getListInit')
|
||||
uni.$emit('workTaskGetListInit')
|
||||
setTimeout(() => {
|
||||
if (this.status == 1) {
|
||||
uni.navigateBack({delta: 2})
|
||||
|
||||
@@ -70,7 +70,7 @@ export default {
|
||||
return {
|
||||
datas: [],
|
||||
tabList: [
|
||||
{name: '全部待办', value: ''},
|
||||
{name: '全部待办', value: '0'},
|
||||
{name: '办件历史', value: '1'},
|
||||
// {name: '居民上报', value: '0'},
|
||||
// {name: '舆情上报', value: '2'},
|
||||
@@ -105,16 +105,11 @@ export default {
|
||||
this.eventSource = res.eventSource
|
||||
this.getListInit()
|
||||
})
|
||||
|
||||
},
|
||||
onShow() {
|
||||
created() {
|
||||
this.searchGrid.girdId = this.user.girdId
|
||||
this.searchGrid.girdName = this.user.girdName
|
||||
this.current = 1
|
||||
this.getList()
|
||||
|
||||
},
|
||||
created() {
|
||||
this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory', 'residentEventSource').then(() => {
|
||||
this.getList()
|
||||
this.getIsAdd()
|
||||
|
||||
Reference in New Issue
Block a user