|
@@ -44,7 +44,6 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<el-table
|
|
<el-table
|
|
|
- :key="tableKey"
|
|
|
|
|
v-loading="listLoading"
|
|
v-loading="listLoading"
|
|
|
:data="list"
|
|
:data="list"
|
|
|
style="width: 100%;">
|
|
style="width: 100%;">
|
|
@@ -202,15 +201,13 @@ import TableAction from '@/components/TableAction.vue'
|
|
|
import site from '../../http/api/site'
|
|
import site from '../../http/api/site'
|
|
|
import provider from '../../http/api/provider'
|
|
import provider from '../../http/api/provider'
|
|
|
import { getRoleName } from '@/utils/auth'
|
|
import { getRoleName } from '@/utils/auth'
|
|
|
-import historyRate from '../site/historyRate.vue'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'SiteManagement',
|
|
name: 'SiteManagement',
|
|
|
- components: { Pagination, TableAction, historyRate },
|
|
|
|
|
|
|
+ components: { Pagination, TableAction },
|
|
|
directives: { waves },
|
|
directives: { waves },
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
- tableKey: 0,
|
|
|
|
|
list: null,
|
|
list: null,
|
|
|
total: 0,
|
|
total: 0,
|
|
|
listLoading: true,
|
|
listLoading: true,
|
|
@@ -305,7 +302,7 @@ export default {
|
|
|
type: "success",
|
|
type: "success",
|
|
|
duration: 3000,
|
|
duration: 3000,
|
|
|
})
|
|
})
|
|
|
- this.list.splice(index, 1)
|
|
|
|
|
|
|
+ this.getList();
|
|
|
}).catch(error => {
|
|
}).catch(error => {
|
|
|
this.$message({
|
|
this.$message({
|
|
|
message: error,
|
|
message: error,
|