Commit 058a4dfe authored by 赵啸非's avatar 赵啸非

修改部门新增

parent c1e505c3
<template>
<div class="under-construction">
<h1>该功能正在开发中....</h1>
</div>
</template>
<style>
.under-construction {
background-color: #f2f2f2;
padding: 50px;
text-align: center;
}
</style>
......@@ -21,21 +21,18 @@
methods: {
afterRender(data) {
console.log("data",data)
data.data = handleTree(data.data, "id","parentId");
this.deptOptions = data.data;
this.$refs.layoutTable.showType="treetable"
},
handleAdd(row) {
this.$refs.dialogform.add(row, this.deptfileOptions);
this.$refs.dialogform.add(row, this.deptOptions);
},
/** 重写新增方法 */
toAdd(row) {
console.log("deptOptions", this.deptOptions)
this.$refs.dialogform.add(row, this.deptOptions);
},
/** 重写编辑方法 */
......
......@@ -2879,9 +2879,9 @@ core-js@^2.4.0:
integrity sha1-2TM9+nsGXjR8xWgiGdb2kIWcwuw=
core-js@^3.6.5:
version "3.29.0"
resolved "https://registry.npmmirror.com/core-js/-/core-js-3.29.0.tgz#0273e142b67761058bcde5615c503c7406b572d6"
integrity sha512-VG23vuEisJNkGl6XQmFJd3rEG/so/CNatqeE+7uZAwTSwFeB/qaO0be8xZYUNWprJ/GIwL8aMt9cj1kvbpTZhg==
version "3.29.1"
resolved "https://registry.npmmirror.com/core-js/-/core-js-3.29.1.tgz#40ff3b41588b091aaed19ca1aa5cb111803fa9a6"
integrity sha512-+jwgnhg6cQxKYIIjGtAHq2nwUOolo9eoFZ4sHfUH09BLXBgxnH4gA0zEd+t+BO2cNB8idaBtZFcFTRjQJRJmAw==
core-util-is@1.0.2, core-util-is@~1.0.0:
version "1.0.2"
......@@ -5558,6 +5558,11 @@ jsprim@^1.2.2:
json-schema "0.2.3"
verror "1.10.0"
jwt-decode@3.1.2:
version "3.1.2"
resolved "https://registry.npmmirror.com/jwt-decode/-/jwt-decode-3.1.2.tgz#3fb319f3675a2df0c2895c8f5e9fa4b67b04ed59"
integrity sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==
keycode@^2.1.9:
version "2.2.1"
resolved "https://registry.npmmirror.com/keycode/-/keycode-2.2.1.tgz"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment