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