diff --git a/src/views/admin/repair/modules/RepairDeviceTypeModal.vue b/src/views/admin/repair/modules/RepairDeviceTypeModal.vue
index 8e494b5..2ef5681 100644
--- a/src/views/admin/repair/modules/RepairDeviceTypeModal.vue
+++ b/src/views/admin/repair/modules/RepairDeviceTypeModal.vue
@@ -19,12 +19,14 @@
- {{ item.username }}--{{ item.mobile }}
+ {{ item.username }}--{{ item.mobile }}
+
-
- {{ item.username }}--{{ item.mobile }}
+
+ {{ item.username }}--{{ item.mobile }}
+
@@ -62,23 +64,22 @@ export default {
},
created() {
+ this.selectUserListByType()
},
methods: {
- selectUserListByType (){
- selectUserListByType().then(res =>{
- this.staffLists =res.data
+ selectUserListByType() {
+ selectUserListByType().then(res => {
+ this.staffLists = res.data
})
},
add() {
-
this.form.resetFields()
this.edit({ id: 0 })
},
edit(record) {
- this.selectUserListByType()
-
this.mdl = Object.assign(record)
- console.log(this.mdl)
+ console.log('edit', this.mdl)
+ console.log('this.staffLists ' , this.staffLists )
this.visible = true
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.mdl, 'id', 'name', 'staffId', 'workerId', 'staffLists', 'remark', 'deleteFlag', 'createBy', 'createTime', 'updateBy', 'updateTime', 'tenantId', 'parkId'))