diff --git a/ant-design-vue-jeecg/src/views/productplan/ZyPlanProcessDataList.vue b/ant-design-vue-jeecg/src/views/productplan/ZyPlanProcessDataList.vue index 8c80fde8..bef4569a 100644 --- a/ant-design-vue-jeecg/src/views/productplan/ZyPlanProcessDataList.vue +++ b/ant-design-vue-jeecg/src/views/productplan/ZyPlanProcessDataList.vue @@ -95,7 +95,7 @@ Edit66 - + b --> diff --git a/ant-design-vue-jeecg/src/views/productplan/modules/ZyProductPlanForm.vue b/ant-design-vue-jeecg/src/views/productplan/modules/ZyProductPlanForm.vue index d7c93fad..ec5597e6 100644 --- a/ant-design-vue-jeecg/src/views/productplan/modules/ZyProductPlanForm.vue +++ b/ant-design-vue-jeecg/src/views/productplan/modules/ZyProductPlanForm.vue @@ -20,7 +20,7 @@ diff --git a/ant-design-vue-jeecg/src/views/team/modules/GroupxModal.vue b/ant-design-vue-jeecg/src/views/team/modules/GroupxModal.vue index 276fb66d..00d985ea 100644 --- a/ant-design-vue-jeecg/src/views/team/modules/GroupxModal.vue +++ b/ant-design-vue-jeecg/src/views/team/modules/GroupxModal.vue @@ -15,7 +15,8 @@ - @@ -24,16 +25,23 @@ - - - - - + + + + + - - + + + + + + + @@ -59,10 +67,13 @@ export default { }, data() { return { + enterprisesManager: "sys_user,username,id", title: "操作", visible: false, // mobileVal: "", - model: {}, + model: { + // records: [], + }, labelCol: { xs: {span: 24}, sm: {span: 5}, @@ -105,45 +116,31 @@ export default { }, methods: { + getEnterprisesManagerValChange() { + this.enterprisesManager = "sys_user,username,username,id in (select user_id from sys_user_depart where dep_id='" + this.model.departId + "')"; + // this.enterprisesManager = "zy_process,process_name,id,id in(select process_id from zy_product_process where product_id='1')"; + }, + getMobile() { let that = this; - // alert(userIds); let param = { "username": that.model.enterprisesManager, + // "departId": that.model.departId, } + // alert(param.toString()); getAction(that.url.sysUserList, param).then((res) => { if (res.success) { + // console.log("----------" + JSON.stringify(res.result.records)) let phone = JSON.stringify(res.result.records[0].phone); - console.log("phone:",phone) if (phone.length > 11) { phone = phone.substring(1, 12); - }else { + } else { phone = ""; } that.model = Object.assign(that.model, {'mobile': phone}); this.$forceUpdate(); } }); - - // getMobile(userIds) { - // let that = this; - // // alert(userIds); - // let param = { - // "username": userIds, - // } - // getAction(this.url.sysUserList, param).then((res) => { - // if (res.success) { - // - // let phone = JSON.stringify(res.result.records[0].phone); - // if (phone.length > 11) { - // phone = phone.substring(1, 12); - // }else { - // phone = ""; - // } - // that.model = Object.assign(that.model, {'mobile': phone}); - // this.$forceUpdate(); - // } - // }); }, add() { //初始化默认值 diff --git a/ant-design-vue-jeecg/src/views/team/modules/StationModal.vue b/ant-design-vue-jeecg/src/views/team/modules/StationModal.vue index f0b3dfa1..9c9926b3 100644 --- a/ant-design-vue-jeecg/src/views/team/modules/StationModal.vue +++ b/ant-design-vue-jeecg/src/views/team/modules/StationModal.vue @@ -19,7 +19,7 @@ - +