整合通讯录组件渲染
This commit is contained in:
@@ -139,7 +139,7 @@ export default {
|
|||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
@@ -172,7 +172,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
var year = this.calendarDate.getFullYear();
|
var year = this.calendarDate.getFullYear();
|
||||||
var month = this.calendarDate.getMonth() + 1;
|
var month = this.calendarDate.getMonth() + 1;
|
||||||
var date = this.calendarDate.getDate()
|
var date = this.calendarDate.getDate()
|
||||||
|
|||||||
@@ -574,7 +574,7 @@ export default {
|
|||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
@@ -346,7 +346,7 @@
|
|||||||
this.list = res.data.records
|
this.list = res.data.records
|
||||||
this.total = res.data.total
|
this.total = res.data.total
|
||||||
|
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
this.loading = false
|
this.loading = false
|
||||||
} else {
|
} else {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
@@ -247,7 +247,7 @@
|
|||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.tableData = res.data.records
|
this.tableData = res.data.records
|
||||||
this.total = res.data.total
|
this.total = res.data.total
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -322,7 +322,7 @@
|
|||||||
this.targetList = res.data.fields.map(item => {
|
this.targetList = res.data.fields.map(item => {
|
||||||
return JSON.parse(item.fieldInfo)
|
return JSON.parse(item.fieldInfo)
|
||||||
})
|
})
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -142,7 +142,7 @@
|
|||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.tableData = res.data.records
|
this.tableData = res.data.records
|
||||||
this.total = res.data.total
|
this.total = res.data.total
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -246,7 +246,7 @@ export default {
|
|||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.info.attendees = res.data.records;
|
this.info.attendees = res.data.records;
|
||||||
this.total = res.data.total;
|
this.total = res.data.total;
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ export default {
|
|||||||
if (res && res.data) {
|
if (res && res.data) {
|
||||||
this.tableData = res.data.records;
|
this.tableData = res.data.records;
|
||||||
this.total = res.data.total;
|
this.total = res.data.total;
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ export default {
|
|||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.tableData = res.data.records
|
this.tableData = res.data.records
|
||||||
this.page.total = res.data.total
|
this.page.total = res.data.total
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -138,7 +138,7 @@
|
|||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
Object.keys(this.form).map(e=>this.form[e] = res.data[e]);
|
Object.keys(this.form).map(e=>this.form[e] = res.data[e]);
|
||||||
this.form.type = res.data.releaseTime ? 1 : 0;
|
this.form.type = res.data.releaseTime ? 1 : 0;
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res && res.data) {
|
if (res && res.data) {
|
||||||
this.detailObj = res.data;
|
this.detailObj = res.data;
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -156,7 +156,7 @@
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res && res.data) {
|
if (res && res.data) {
|
||||||
this.detailObj = res.data;
|
this.detailObj = res.data;
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -197,7 +197,7 @@
|
|||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
this.readObj = res.data;
|
this.readObj = res.data;
|
||||||
this.visible = true;
|
this.visible = true;
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -213,7 +213,7 @@
|
|||||||
if(res && res.data){
|
if(res && res.data){
|
||||||
this.tableData = res.data.records;
|
this.tableData = res.data.records;
|
||||||
this.total = res.data.total;
|
this.total = res.data.total;
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -112,7 +112,7 @@
|
|||||||
if (res && res.data) {
|
if (res && res.data) {
|
||||||
this.tableData = res.data.records;
|
this.tableData = res.data.records;
|
||||||
this.total = res.data.total;
|
this.total = res.data.total;
|
||||||
this.$initWxOpenData()
|
this.$store.dispatch('initOpenData')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user