|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<div>
|
|
|
-
|
|
|
+ <select-user v-for=""/>
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="$listeners.close">取 消</el-button>
|
|
@@ -11,8 +11,17 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import { employeeLevelDetail } from '../api'
|
|
|
+import selectUser from './select-user'
|
|
|
export default {
|
|
|
props: ['detail'],
|
|
|
+ components: {
|
|
|
+ 'select-user': selectUser
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ list: []
|
|
|
+ }
|
|
|
+ },
|
|
|
mounted() {
|
|
|
this.FetchDetail()
|
|
|
},
|
|
@@ -20,11 +29,9 @@ export default {
|
|
|
async FetchDetail() {
|
|
|
try {
|
|
|
await employeeLevelDetail({
|
|
|
- id: this.detail.id
|
|
|
+ userId: this.detail.id
|
|
|
})
|
|
|
- } catch (error) {
|
|
|
- console.log(error)
|
|
|
- }
|
|
|
+ } catch (error) {}
|
|
|
}
|
|
|
}
|
|
|
};
|