|
@@ -1,7 +1,7 @@
|
|
|
<!--
|
|
|
* @Author: your name
|
|
|
* @Date: 2022-02-10 14:49:20
|
|
|
- * @LastEditTime: 2022-02-16 14:09:48
|
|
|
+ * @LastEditTime: 2022-02-16 14:35:13
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
* @Description: 编辑职员
|
|
|
* @FilePath: \Foshan4A4.0\src\views\staffManagement\compontents\staffEdit.vue
|
|
@@ -240,6 +240,11 @@ export default {
|
|
|
this.queryType = "all";
|
|
|
}
|
|
|
},
|
|
|
+ mounted () {
|
|
|
+ if (this.openRole) {
|
|
|
+ this.roleType = 'onlyRole';
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
//获取选中的树数据
|
|
|
getTreeData (arr) {
|