Browse Source

项目记录

shibei_master
jiangyy 3 years ago
parent
commit
b9d466b85c
  1. 2
      src/views/modules/communityService/fuwujilu/detailForm.vue
  2. 6
      src/views/modules/communityService/fuwujilu/fuwuList.vue

2
src/views/modules/communityService/fuwujilu/detailForm.vue

@ -299,7 +299,7 @@ export default {
handleCancle () { handleCancle () {
this.resetData() this.resetData()
this.$emit('dialogCancle') this.$emit('handleClose')
}, },

6
src/views/modules/communityService/fuwujilu/fuwuList.vue

@ -121,6 +121,7 @@
<el-table :data="tableData" <el-table :data="tableData"
border border
v-loading="tableLoading"
:header-cell-style="{background:'#2195FE',color:'#FFFFFF'}" :header-cell-style="{background:'#2195FE',color:'#FFFFFF'}"
class="table" class="table"
style="width: 100%" style="width: 100%"
@ -291,7 +292,7 @@ export default {
} }
return { return {
tableLoading: false,
user: {}, user: {},
agencyId: '', agencyId: '',
@ -489,6 +490,7 @@ export default {
}, },
async getTableData () { async getTableData () {
this.tableLoading = true
const url = "/heart/icServiceProject/service/recordList"; const url = "/heart/icServiceProject/service/recordList";
// const url = "http://yapi.elinkservice.cn/mock/245/heart/icServiceProject/service/recordList"; // const url = "http://yapi.elinkservice.cn/mock/245/heart/icServiceProject/service/recordList";
const { pageSize, pageNo, formData } = this; const { pageSize, pageNo, formData } = this;
@ -497,6 +499,8 @@ export default {
pageNo, pageNo,
...formData, ...formData,
}); });
this.tableLoading = false
if (code === 0) { if (code === 0) {
this.total = data.total || 0; this.total = data.total || 0;

Loading…
Cancel
Save