村微上架
This commit is contained in:
@@ -28,6 +28,7 @@ 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();
|
||||||
|
new VConsole()
|
||||||
const app = new Vue({
|
const app = new Vue({
|
||||||
store,
|
store,
|
||||||
...App
|
...App
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
...mapActions(['selectPrivilegedContact']),
|
...mapActions(['selectPrivilegedContact']),
|
||||||
handleSelectUser() {
|
handleSelectUser() {
|
||||||
|
console.log(this.form.ticket)
|
||||||
if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器")
|
if (this.clickedUserSelect) return this.$u.toast("正在打开人员选择器")
|
||||||
this.clickedUserSelect = true
|
this.clickedUserSelect = true
|
||||||
this.selectPrivilegedContact({
|
this.selectPrivilegedContact({
|
||||||
@@ -114,6 +115,7 @@ export default {
|
|||||||
selectedTickets: this.form.ticket,
|
selectedTickets: this.form.ticket,
|
||||||
selectedOpenUserIds: this.form.persons?.map(e => e.id)
|
selectedOpenUserIds: this.form.persons?.map(e => e.id)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
console.log(res.selectedTicket)
|
||||||
this.form.persons = res.userList?.map(e => ({id: e.openUserId})) || []
|
this.form.persons = res.userList?.map(e => ({id: e.openUserId})) || []
|
||||||
this.form.ticket = res?.selectedTicket
|
this.form.ticket = res?.selectedTicket
|
||||||
this.clickedUserSelect = false
|
this.clickedUserSelect = false
|
||||||
|
|||||||
Reference in New Issue
Block a user