代码提交
This commit is contained in:
parent
dfd22a45b5
commit
dd676d103d
|
@ -1,8 +1,8 @@
|
||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
|
|
||||||
export function queryGanttList(query) {
|
export function selectList(query) {
|
||||||
return request({
|
return request({
|
||||||
url: "/mts/planDetail/queryGanttList",
|
url: "/mts/planDetail/selectList",
|
||||||
method: "get",
|
method: "get",
|
||||||
params: query,
|
params: query,
|
||||||
});
|
});
|
||||||
|
|
|
@ -162,7 +162,7 @@
|
||||||
import { ref, onMounted } from 'vue'
|
import { ref, onMounted } from 'vue'
|
||||||
import { useRoute } from 'vue-router'
|
import { useRoute } from 'vue-router'
|
||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
import { listPlanDetail, getPlanDetail, delPlanDetail, addPlanDetail, updatePlanDetail } from "@/api/mts/planDetail";
|
import { listPlanDetail, getPlanDetail, delPlanDetail, addPlanDetail, updatePlanDetail, selectList } from "@/api/mts/planDetail";
|
||||||
import { getPlanMain } from "@/api/mts/planMain";
|
import { getPlanMain } from "@/api/mts/planMain";
|
||||||
import { queryByBo } from "@/api/mts/planrecord";
|
import { queryByBo } from "@/api/mts/planrecord";
|
||||||
import { addPlanRecord, updatePlanRecord } from "@/api/mts/planRecord";
|
import { addPlanRecord, updatePlanRecord } from "@/api/mts/planRecord";
|
||||||
|
@ -319,8 +319,8 @@ function getList() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 查询生产计划明细下拉树结构 */
|
/** 查询生产计划明细下拉树结构 */
|
||||||
function getTreeselect() {
|
async function getTreeselect() {
|
||||||
listPlanDetail().then(response => {
|
selectList().then(response => {
|
||||||
planDetailOptions.value = [];
|
planDetailOptions.value = [];
|
||||||
const data = { id: 0, name: '顶级节点', children: [] };
|
const data = { id: 0, name: '顶级节点', children: [] };
|
||||||
data.children = proxy.handleTree(response.data, "id", "parentId");
|
data.children = proxy.handleTree(response.data, "id", "parentId");
|
||||||
|
|
Loading…
Reference in New Issue