From a8e198640afdc391e57af7d0cb87aea9468f6fd7 Mon Sep 17 00:00:00 2001
From: zhc077 <565291854>
Date: Wed, 28 Dec 2022 17:42:02 +0800
Subject: [PATCH] =?UTF-8?q?=E7=8F=AD=E7=BB=84=E7=AE=A1=E7=90=86=20?=
=?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9=2012.28?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../productplan/ZyPlanProcessDataList.vue | 2 +-
.../productplan/modules/ZyProductPlanForm.vue | 2 +-
.../src/views/team/modules/GroupxModal.vue | 61 +++++++++----------
.../src/views/team/modules/StationModal.vue | 2 +-
4 files changed, 32 insertions(+), 35 deletions(-)
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 @@
edit(index)">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 @@
-
+