|
@@ -671,10 +671,25 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- 私有wbs树排序弹框 -->
|
|
|
+ <!-- <el-dialog
|
|
|
+ title="调整排序"
|
|
|
+ :visible.sync="sortTag"
|
|
|
+ width="50%"
|
|
|
+ append-to-body
|
|
|
+ >
|
|
|
+ <ManualSorting v-if="sortTag2" @bianhua="bianhua()" :sort="sort" />
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="(sortTag = false), (sortTag2 = false)"
|
|
|
+ >取 消</el-button
|
|
|
+ >
|
|
|
+ <el-button type="primary" @click="editSort()">确 定</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog> -->
|
|
|
<el-dialog
|
|
|
title="调整排序"
|
|
|
:visible.sync="sortTag"
|
|
|
width="50%"
|
|
|
+
|
|
|
append-to-body
|
|
|
>
|
|
|
<ManualSorting v-if="sortTag2" @bianhua="bianhua()" :sort="sort" />
|
|
@@ -1659,7 +1674,8 @@ export default {
|
|
|
//#region
|
|
|
sortTag: false,
|
|
|
sortTag2: false,
|
|
|
- sortArray: [],
|
|
|
+
|
|
|
+ sort:[],
|
|
|
//#endregion
|
|
|
|
|
|
//#region 关联清表
|
|
@@ -2697,17 +2713,20 @@ export default {
|
|
|
async findWbsTreePrivateSameLevel(da) {
|
|
|
//wbs私有树同级节点接口
|
|
|
const { data: res } = await findWbsTreePrivateSameLevel(da);
|
|
|
- console.log(res);
|
|
|
if (res.code == 200) {
|
|
|
this.sort = res.data;
|
|
|
}
|
|
|
},
|
|
|
async getLazytreessss() {
|
|
|
+ const type=this.wbsType
|
|
|
const { data: res } = await getLazytree(
|
|
|
this.id,
|
|
|
0,
|
|
|
this.userInfo.tenant_id,
|
|
|
- this.projectid
|
|
|
+ this.projectid,
|
|
|
+ { wbsType: type,}
|
|
|
+
|
|
|
+
|
|
|
);
|
|
|
console.log(res);
|
|
|
if (res.code == 200) {
|