fix: 1441 单位类型中第二页的数据,在往来单位新增页面下拉框不展示
This commit is contained in:
parent
8514069663
commit
c3f97d83d4
|
|
@ -154,6 +154,14 @@ export function unitTypeList(query) {
|
|||
params: query
|
||||
})
|
||||
}
|
||||
// 单位类型-列表-下拉
|
||||
export function unitTypeListAll(query) {
|
||||
return request({
|
||||
url: '/base/dic/lists',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 标签编号-列表
|
||||
export function getMaMachineLabelApi(query) {
|
||||
return request({
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@
|
|||
|
||||
<script>
|
||||
import { addUnit, delUnit, unitInfoAll, updateUnit } from "@/api/base/base";
|
||||
import { unitTypeList } from "@/api/base/base";
|
||||
import { unitTypeListAll } from "@/api/base/base";
|
||||
import { deptTreeSelect } from "@/api/system/user";
|
||||
import Treeselect from "@riophae/vue-treeselect";
|
||||
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
||||
|
|
@ -287,7 +287,7 @@ export default {
|
|||
methods: {
|
||||
//获取单位类型
|
||||
getType() {
|
||||
unitTypeList({ id: "1" }).then(response => {
|
||||
unitTypeListAll({ id: "1" }).then(response => {
|
||||
this.typeList = response.rows;
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue