Commit f8dc6697 authored by 姬鋆屾's avatar 姬鋆屾

parent cad37e9d
......@@ -78,7 +78,9 @@
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>
<el-button type="text" @click="syncPerson">同步数据</el-button>
<el-button type="text" @click="syncPerson"
>同步数据</el-button
>
</el-dropdown-item>
<el-dropdown-item>
<el-button type="text" @click="handleImport"
......@@ -100,7 +102,13 @@
<span class="freshTime" slot="table-head-left2">
<i class="el-icon-refresh"></i>
<span>上次同步时间:{{ tableData.staff.refreshDate }}</span>
<span
>上次同步时间:{{
tableData.staff
? tableData.staff.refreshDate
: "--"
}}</span
>
</span>
</LayoutTable>
</el-row>
......@@ -223,7 +231,7 @@ export default {
syncPerson() {
this.$post("/staff/syncPersons", {}).then((res) => {
if (res.code == 1) {
this.$message.success(res.msg)
this.$message.success(res.msg);
}
});
},
......@@ -474,12 +482,18 @@ export default {
}
.mytree ::v-deep {
.el-tree--highlight-current ::v-deep .el-tree-node.is-checked > .el-tree-node__content {
.el-tree--highlight-current
::v-deep
.el-tree-node.is-checked
> .el-tree-node__content {
background-color: rgb(255, 255, 255);
color: rgb(64, 158, 255);
}
.el-tree--highlight-current ::v-deep .el-tree-node.is-current > .el-tree-node__content {
.el-tree--highlight-current
::v-deep
.el-tree-node.is-current
> .el-tree-node__content {
background-color: rgb(255, 255, 255);
color: rgb(64, 158, 255);
}
......
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