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