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