25220
This commit is contained in:
@@ -33,6 +33,9 @@
|
||||
onLoad () {
|
||||
},
|
||||
|
||||
mounted () {
|
||||
},
|
||||
|
||||
methods: {
|
||||
onChange (e) {
|
||||
this.params = e.params
|
||||
|
||||
@@ -111,10 +111,11 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact'])
|
||||
this.injectJWeixin(['sendChatMessage', 'selectEnterpriseContact']).then(() => {
|
||||
this.$dict.load(['questionnaireStatus', 'questionnaireType', 'questionnaireFieldType']).then(() => {
|
||||
this.getList()
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
@@ -220,7 +220,9 @@
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getDetail();
|
||||
this.injectJWeixin(['sendChatMessage']).then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
},
|
||||
mounted() {
|
||||
document.title = "会议详情"
|
||||
|
||||
@@ -73,6 +73,7 @@ import AiEmpty from "../../components/AiEmpty";
|
||||
import AiTopFixed from "../../components/AiTopFixed";
|
||||
import {add, detail, read} from "./components";
|
||||
import AiOpenData from "../../components/AiOpenData";
|
||||
import {mapActions} from "vuex";
|
||||
|
||||
export default {
|
||||
name: "AppNotification",
|
||||
@@ -139,6 +140,7 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
...mapActions(['injectJWeixin']),
|
||||
emitShow() {
|
||||
const {id} = this.$route.query
|
||||
if (id) {
|
||||
@@ -150,7 +152,9 @@ export default {
|
||||
this.showList = false;
|
||||
}
|
||||
this.current = 1;
|
||||
this.injectJWeixin(['sendChatMessage']).then(() => {
|
||||
this.getList();
|
||||
})
|
||||
},
|
||||
emitReachBottom() {
|
||||
this.current = this.current + 1;
|
||||
|
||||
@@ -77,7 +77,9 @@
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getDetail();
|
||||
this.injectJWeixin(['sendChatMessage']).then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
},
|
||||
|
||||
mounted() {
|
||||
|
||||
@@ -19,8 +19,9 @@ export default {
|
||||
methods: {
|
||||
...mapActions(['injectJWeixin']),
|
||||
bindWWOpenData() {
|
||||
if (window?.WWOpenData) WWOpenData.bind(this.$el)
|
||||
else this.injectJWeixin().then(() => {
|
||||
if (window.WWOpenData) {
|
||||
WWOpenData.bind(this.$el)
|
||||
} else this.injectJWeixin().then(() => {
|
||||
this.$nextTick(() => {
|
||||
WWOpenData.bind(this.$el)
|
||||
WWOpenData.on('update', () => {
|
||||
@@ -31,7 +32,9 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$nextTick(() => {
|
||||
this.bindWWOpenData()
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -15,7 +15,7 @@ Vue.prototype.$http = axios;
|
||||
Vue.prototype.$cdn = 'https://cdn.cunwuyun.cn/dvcp/h5/';
|
||||
Object.keys(utils).map((e) => (Vue.prototype['$' + e] = utils[e]));
|
||||
App.mpType = 'app';
|
||||
process.env.NODE_ENV == 'development' && new VConsole();
|
||||
// process.env.NODE_ENV == 'development' && new VConsole();
|
||||
const app = new Vue({
|
||||
store,
|
||||
...App
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<b v-for="app in apps" :key="app.key" @tap="handleGotoApp(app)">{{ app.name }}</b>
|
||||
</div>
|
||||
</section>
|
||||
</template>0
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapActions, mapState} from 'vuex'
|
||||
|
||||
Reference in New Issue
Block a user