|
@@ -663,7 +663,7 @@
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button @click="eleDialog = false">取 消</el-button>
|
|
<el-button @click="eleDialog = false">取 消</el-button>
|
|
- <el-button type="primary" @click="submitEleDialog" :disabled="eleDialogBtn">确 定</el-button>
|
|
|
|
|
|
+ <el-button type="primary" @click="submitEleDialog" v-preventClick>确 定</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
@@ -1104,7 +1104,7 @@ export default {
|
|
this.eleForm.tableOwner
|
|
this.eleForm.tableOwner
|
|
) {
|
|
) {
|
|
|
|
|
|
-
|
|
|
|
|
|
+
|
|
this.submitExcelRelationWbsTreeAndElement({
|
|
this.submitExcelRelationWbsTreeAndElement({
|
|
nodeName: this.eleForm.nodeName,
|
|
nodeName: this.eleForm.nodeName,
|
|
tableType: this.eleForm.tableType,
|
|
tableType: this.eleForm.tableType,
|
|
@@ -1346,7 +1346,6 @@ export default {
|
|
this.activeName="link"
|
|
this.activeName="link"
|
|
},
|
|
},
|
|
async submitExcelRelationWbsTreeAndElement(da) {
|
|
async submitExcelRelationWbsTreeAndElement(da) {
|
|
- this.eleDialogBtn=true
|
|
|
|
//保存接口
|
|
//保存接口
|
|
da.elementList.forEach((ele) => {
|
|
da.elementList.forEach((ele) => {
|
|
ele.eName = ele.textInfo;
|
|
ele.eName = ele.textInfo;
|
|
@@ -1357,7 +1356,7 @@ export default {
|
|
console.log(res);
|
|
console.log(res);
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
// this.refreshNodeBy()//刷新树形控件数据
|
|
// this.refreshNodeBy()//刷新树形控件数据
|
|
- this.eleDialogBtn=false
|
|
|
|
|
|
+
|
|
this.$message({
|
|
this.$message({
|
|
type: "success",
|
|
type: "success",
|
|
message: "设置成功",
|
|
message: "设置成功",
|