|
@@ -183,7 +183,7 @@
|
|
|
</el-table>
|
|
|
<p>
|
|
|
<span>当前项目信息表</span>
|
|
|
- <el-button
|
|
|
+ <!-- <el-button
|
|
|
@click="showFormElement"
|
|
|
type="text"
|
|
|
icon="el-icon-circle-plus-outline"
|
|
@@ -193,7 +193,7 @@
|
|
|
type="text"
|
|
|
icon="el-icon-document-copy"
|
|
|
class="text-icon"
|
|
|
- ></el-button>
|
|
|
+ ></el-button> -->
|
|
|
<i
|
|
|
class="el-icon-edit-outline marleft10"
|
|
|
size="26"
|
|
@@ -588,6 +588,7 @@
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
@click="saveNode"
|
|
|
+ :loading="saveNodeLoading"
|
|
|
>确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
@@ -1406,6 +1407,7 @@ export default {
|
|
|
editType: 1,
|
|
|
|
|
|
dialogVisible: false,
|
|
|
+ saveNodeLoading:false,
|
|
|
deptCategorylist: [],
|
|
|
majorDataTypeList: [],
|
|
|
rules: {
|
|
@@ -1531,6 +1533,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
addNode () {
|
|
|
+ this.saveNodeLoading = true;
|
|
|
update(this.nodeDetail).then(() => {
|
|
|
this.updateTreeNewNode();
|
|
|
this.dialogVisible = false;
|
|
@@ -1538,6 +1541,9 @@ export default {
|
|
|
type: "success",
|
|
|
message: "新增成功!"
|
|
|
});
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.saveNodeLoading = false;
|
|
|
+ })
|
|
|
})
|
|
|
},
|
|
|
updateNode () {
|