工单
This commit is contained in:
@@ -93,6 +93,8 @@ export default {
|
|||||||
this.forms.girdMemberId = this.user.girdMemberId
|
this.forms.girdMemberId = this.user.girdMemberId
|
||||||
this.forms.girdMemberName = this.user.name
|
this.forms.girdMemberName = this.user.name
|
||||||
this.eventSource = option.eventSource
|
this.eventSource = option.eventSource
|
||||||
|
this.forms.name = this.user.name
|
||||||
|
this.forms.phone = this.user.phone
|
||||||
this.id = option.id
|
this.id = option.id
|
||||||
this.typeList()
|
this.typeList()
|
||||||
if(this.id) {
|
if(this.id) {
|
||||||
@@ -100,11 +102,6 @@ export default {
|
|||||||
this.getDetail()
|
this.getDetail()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
|
||||||
// document.title = '添加上报'
|
|
||||||
this.forms.name = this.user.name
|
|
||||||
this.forms.phone = this.user.phone
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
chooseAddress() {
|
chooseAddress() {
|
||||||
uni.authorize({
|
uni.authorize({
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ export default {
|
|||||||
],
|
],
|
||||||
currentTabs: 0,
|
currentTabs: 0,
|
||||||
current: 1,
|
current: 1,
|
||||||
pages: 0,
|
pages: 2,
|
||||||
searchGrid: {girdName: ''},
|
searchGrid: {girdName: ''},
|
||||||
showType: false,
|
showType: false,
|
||||||
eventStatus: '',
|
eventStatus: '',
|
||||||
@@ -118,6 +118,8 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getListInit() {
|
getListInit() {
|
||||||
this.current = 1
|
this.current = 1
|
||||||
|
this.pages = 2
|
||||||
|
this.datas = []
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
nextPage() {
|
nextPage() {
|
||||||
@@ -125,6 +127,7 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
|
if(this.current > this.pages) return
|
||||||
let {current, eventStatus, searchGrid: {id: girdId}} = this
|
let {current, eventStatus, searchGrid: {id: girdId}} = this
|
||||||
this.$instance.post(`/app/apppatrolreportinfov2/listByGirdMember`, null, {
|
this.$instance.post(`/app/apppatrolreportinfov2/listByGirdMember`, null, {
|
||||||
params: {
|
params: {
|
||||||
|
|||||||
Reference in New Issue
Block a user