整合通讯录组件渲染

This commit is contained in:
aixianling
2022-07-19 14:55:51 +08:00
parent bd410a9559
commit b5a0522fb9
14 changed files with 35 additions and 35 deletions

View File

@@ -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

View File

@@ -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()

View File

@@ -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

View File

@@ -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

View File

@@ -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')
} }
}) })
}, },

View File

@@ -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')
} }
}) })
}, },

View File

@@ -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')
} }
}); });
}, },

View File

@@ -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')
} }
}); });
}, },

View File

@@ -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')
} }
}) })
}, },

View File

@@ -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')
} }
}) })
}, },

View File

@@ -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')
} }
}) })
} }

View File

@@ -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')
} }
}) })
}, },

View File

@@ -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')
} }
}) })
} }

View File

@@ -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')
} }
}); });
}, },