单位工程下拉修改
This commit is contained in:
parent
6aaa6898f1
commit
40523d5595
|
|
@ -777,10 +777,13 @@
|
|||
import { getListLeaseApply, getApplyInfo, getCheckInfo } from '@/api/lease/apply'
|
||||
import { outInfoList, getDetailsByTypeId, submitOut, submitNumOut, rejectLeaseOut, getOutNumApi,deleteLeaseOut,updatePreNum } from '@/api/lease/out'
|
||||
import {
|
||||
getProjectList,
|
||||
getUnitList,
|
||||
getImpUnitNameListApi
|
||||
} from '@/api/back/index.js'
|
||||
|
||||
import {
|
||||
getProData,
|
||||
getUnitData,
|
||||
} from '@/api/lease/outbound.js'
|
||||
import vueEasyPrint from 'vue-easy-print'
|
||||
import Treeselect from "@riophae/vue-treeselect"
|
||||
import "@riophae/vue-treeselect/dist/vue-treeselect.css"
|
||||
|
|
@ -932,7 +935,7 @@ export default {
|
|||
},
|
||||
// 获取 来往单位 列表数据
|
||||
async GetUnitData() {
|
||||
const res = await getUnitList({})
|
||||
const res = await getUnitData({})
|
||||
this.unitList = res.data
|
||||
console.log('🚀 ~ this.unitList:', this.unitList)
|
||||
},
|
||||
|
|
@ -944,7 +947,7 @@ export default {
|
|||
// 获取 工程名称 列表数据
|
||||
async GetProData() {
|
||||
const params = { unitId: this.queryParams.leaseUnitId}
|
||||
const res = await getProjectList({})
|
||||
const res = await getProData({})
|
||||
this.proList = res.data
|
||||
this.queryParams.leaseProjectId=null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -205,9 +205,9 @@ import {
|
|||
getProjUsingRecordListApi,getProjUsingRecordListNoPage
|
||||
} from '@/api/stquery/stquery';
|
||||
import {
|
||||
getProjectList,
|
||||
getUnitList,
|
||||
} from '@/api/back/index.js'
|
||||
getProData,
|
||||
getUnitData,
|
||||
} from '@/api/lease/outbound.js'
|
||||
import Treeselect from "@riophae/vue-treeselect";
|
||||
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
||||
export default {
|
||||
|
|
@ -308,7 +308,7 @@ export default {
|
|||
const params = {
|
||||
// projectId: this.queryParams.proId /* */,
|
||||
}
|
||||
const res = await getUnitList(params)
|
||||
const res = await getProData(params)
|
||||
this.unitList = res.data
|
||||
},
|
||||
unitChange(val){
|
||||
|
|
@ -325,7 +325,7 @@ export default {
|
|||
// 获取 工程名称 列表数据
|
||||
async GetProData() {
|
||||
const params = { unitId: this.queryParams.unitId}
|
||||
const res = await getProjectList(params)
|
||||
const res = await getProData(params)
|
||||
this.proList = res.data
|
||||
this.queryParams.proId=null
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue