村微上架

This commit is contained in:
yanran200730
2022-01-19 16:11:10 +08:00
parent 1dcf37159b
commit 90f4ae81d3
2 changed files with 3 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ 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();
new VConsole()
const app = new Vue({
store,
...App

View File

@@ -107,6 +107,7 @@ export default {
methods: {
...mapActions(['selectPrivilegedContact']),
handleSelectUser() {
console.log(this.form.ticket)
if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器")
this.clickedUserSelect = true
this.selectPrivilegedContact({
@@ -114,6 +115,7 @@ export default {
selectedTickets: this.form.ticket,
selectedOpenUserIds: this.form.persons?.map(e => e.id)
}).then(res => {
console.log(res.selectedTicket)
this.form.persons = res.userList?.map(e => ({id: e.openUserId})) || []
this.form.ticket = res?.selectedTicket
this.clickedUserSelect = false