yrik 4 vuotta sitten
vanhempi
commit
660e658e8f

+ 4 - 4
ruoyi-ui/src/api/system/config.js

@@ -27,15 +27,15 @@ export function listConfigtwo(query) {
 export function listConfigthert(query) {
   return request({
     url: '/projectInvestor/investor/list',
-    method: 'get'
-    // params:
+    method: 'get',
+    params:query
   })
 }
 export function listConfigfour(query) {
   return request({
     url: '/projectPersion/persion/list',
-    method: 'get'
-    // params:
+    method: 'get',
+    params:query
   })
 }
 //字典

+ 1 - 1
ruoyi-ui/src/views/deptplan/index.vue

@@ -15,7 +15,7 @@
       <el-form-item label="部门" prop="sysDeptId">
        <el-select
          v-model="queryParams.sysDeptId"
-         placeholder="系统内置"
+         placeholder="请选择部门"
          clearable
          size="small"
        >

+ 8 - 3
ruoyi-ui/src/views/under/index.vue

@@ -107,7 +107,7 @@
         <el-table-column
           label="身份证号码"
           align="center"
-          prop="idCode"
+          prop="idcode"
           :show-overflow-tooltip="true"
         />
         <el-table-column label="联系方式" align="center" prop="phone" />
@@ -870,11 +870,15 @@ export default {
       ntry: [],
       // 判断是修改还是增加
       sbuen: 0, //0  新增   1  修改
+      jeutu:{
+        bmProjectId:0
+      }
       // id:0
     };
   },
   created() {
     this.bmProjectId = this.$route.query.setid;
+    this.jeutu.bmProjectId = this.bmProjectId
     this.setrd = this.$route.query.setrd;
     console.log(this.bmProjectId);
     this.getList();
@@ -1018,6 +1022,7 @@ export default {
           // this.queryParams.phone = 987
           console.log(this.queryParams, 98755);
           // this.queryParams = this.queryParams.bmProjectId
+          this.fileListhye = []
           this.fileListhye = this.queryParams.attachment.split(",");
           for (var i = 0; i < this.fileListhye.length; i++) {
             this.fileList.push({
@@ -1036,7 +1041,7 @@ export default {
     //企业列表
     getListtwo() {
       this.loading = true;
-      listConfigthert().then((response) => {
+      listConfigthert(this.jeutu).then((response) => {
         console.log(response);
         this.configList = response.rows;
         // this.fileList =  this.queryParams.attachment
@@ -1047,7 +1052,7 @@ export default {
     //自然人列表
     getListther() {
       this.loading = true;
-      listConfigfour(this.bmProjectId).then((response) => {
+      listConfigfour(this.jeutu).then((response) => {
         console.log(response.rows);
         this.configListtwoL = response.rows;
         // this.fileList =  this.queryParams.attachment