ep_form 增加loading效果

This commit is contained in:
caoqianming 2022-10-26 14:58:04 +08:00
parent f204cad865
commit 7786b868c4
3 changed files with 5 additions and 3 deletions

View File

@ -54,7 +54,7 @@
@resetQuery="resetQuery"
>
<el-table-column label="#" type="index" width="50"></el-table-column>
<el-table-column label="事件种类" width="260">
<el-table-column label="事件种类" width="240" :show-overflow-tooltip="true">
<template #default="scope">
<el-tag
v-for="item in scope.row.cates_"

View File

@ -54,7 +54,7 @@
@resetQuery="resetQuery"
>
<el-table-column label="#" type="index" width="50"></el-table-column>
<el-table-column label="事件种类" width="260">
<el-table-column label="事件种类" width="240" :show-overflow-tooltip="true">
<template #default="scope">
<el-tag v-for="item in scope.row.event_.cates_"
:key="item.id" type="warning">{{item.name}}</el-tag>

View File

@ -302,9 +302,11 @@
//debugger;
// console.log(defaultForm);
// this.form = defaultForm;
this.loading = true;
this.$API.hrm.employee.item.req(data.id).then(res=>{
this.loading = false;
this.form = res
})
}).catch(e=>{this.loading = false;})
// Object.assign(this.form, data);
},
//