diff --git a/src/views/modules/base/smartImport/cpts/createdTask.vue b/src/views/modules/base/smartImport/cpts/createdTask.vue
index 80882d7c5..191bb5e2f 100644
--- a/src/views/modules/base/smartImport/cpts/createdTask.vue
+++ b/src/views/modules/base/smartImport/cpts/createdTask.vue
@@ -280,7 +280,7 @@ export default {
const url = "/oper/customize/icformitemgroup/list";
// const url = 'http://yapi.elinkservice.cn/mock/245/gov/org/isServiceProject/service/serviceScopeTree'
let params = {
- formCode: "resident_base_info",
+ formCode: "resident_base_info,community_info",
policyFlag: "1",
};
diff --git a/src/views/modules/communityParty/regionalParty/unitsForm.vue b/src/views/modules/communityParty/regionalParty/unitsForm.vue
index 14a3c20dd..1cf0f4287 100644
--- a/src/views/modules/communityParty/regionalParty/unitsForm.vue
+++ b/src/views/modules/communityParty/regionalParty/unitsForm.vue
@@ -76,26 +76,13 @@
class="u-item-width-normal"
>
-
+ placeholder="请选择联系人" @change="handelChangeStaff">
+ :value="item.staffId">
item.staffId === val)[0].mobile
+ }else{
+ this.formData.contactMobile = ''
+ }
+ },
getStafflist() {
let parms = {
- orgId: this.agencyId,
- orgType: "agency",
- pageNo: 1,
- pageSize: 100,
+ roleKey:'party_unit_director'
};
- this.$http.post("data/aggregator/org/stafflist", parms).then((resp) => {
- this.dicts.stafflist = resp.data.data.staffList;
- console.log("stafflist", resp.data);
+ this.$http.post("data/aggregator/epmetuser/getRoleUserInfo", parms).then((resp) => {
+ this.dicts.stafflist = resp.data.data;
});
},
async initForm(type, unitId) {
diff --git a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue
index 42556b1ab..73102e142 100644
--- a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue
+++ b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue
@@ -37,7 +37,13 @@
-
+
+
+
@@ -298,7 +304,8 @@ export default {
//地图
loading: false,
searchValue: '',
- searchOptions: []
+ searchOptions: [],
+ stafflist:[]
};
},
watch: {},
@@ -312,7 +319,7 @@ export default {
this.getVolunteerList();
this.loadplaceType();
this.getDemandOptions()
-
+ this.getStafflist()
// this.loadserviceList();
// this.loadGrid();
// this.loadplaceType();
@@ -326,18 +333,21 @@ export default {
},
methods: {
- // async loadserviceList() {
- // const url = '/actual/base/serviceitem/dict-list';
- // const params = {
- // type: 'usable'
- // };
- // const { data, code, msg } = await requestPost(url, params);
- // if (code === 0) {
- // this.serviceList = data;
- // } else {
- // this.$message.error(msg);
- // }
- // },
+ getStafflist() {
+ let parms = {
+ roleKey:'community_org_director'
+ };
+ this.$http.post("data/aggregator/epmetuser/getRoleUserInfo", parms).then((resp) => {
+ this.stafflist = resp.data.data;
+ });
+ },
+ handelChangeStaff(val){
+ if(val){
+ this.formData.principalPhone = this.stafflist.filter(item=>item.name === val)[0].mobile
+ }else{
+ this.formData.principalPhone = ''
+ }
+ },
async getDemandOptions() {
this.$http
.post("/actual/base/serviceitem/listAllCategory")