|
|
@@ -58,9 +58,9 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<div class="pagination-wrapper">
|
|
|
- <!-- <div class="multiple-mode-wrapper">
|
|
|
+ <!-- <div class="multiple-mode-wrapper">
|
|
|
<el-button v-if="!multipleMode" @click="toggleMultipleMode(true)"> 批量编辑 </el-button>
|
|
|
- <el-button-group v-else>
|
|
|
+ <el-button-group v-else>
|
|
|
<el-button @click="operation1"> 批量操作1 </el-button>
|
|
|
<el-button @click="operation2"> 批量操作2 </el-button>
|
|
|
<el-button @click="toggleMultipleMode(false)"> 取消 </el-button>
|
|
|
@@ -85,13 +85,13 @@ import { mapState } from 'vuex';
|
|
|
import pageableTable from '@/mixins/pageableTable';
|
|
|
|
|
|
export default {
|
|
|
- name: 'MetaZoumaLightList',
|
|
|
+ name: 'MetaZouMaLightList',
|
|
|
mixins: [pageableTable],
|
|
|
data() {
|
|
|
return {
|
|
|
multipleMode: false,
|
|
|
search: '',
|
|
|
- url: '/metaZoumaLight/all',
|
|
|
+ url: '/metaZouMaLight/all',
|
|
|
downloading: false
|
|
|
};
|
|
|
},
|
|
|
@@ -112,7 +112,7 @@ export default {
|
|
|
},
|
|
|
addRow() {
|
|
|
this.$router.push({
|
|
|
- path: '/metaZoumaLightEdit',
|
|
|
+ path: '/metaZouMaLightEdit',
|
|
|
query: {
|
|
|
...this.$route.query
|
|
|
}
|
|
|
@@ -120,7 +120,7 @@ export default {
|
|
|
},
|
|
|
editRow(row) {
|
|
|
this.$router.push({
|
|
|
- path: '/metaZoumaLightEdit',
|
|
|
+ path: '/metaZouMaLightEdit',
|
|
|
query: {
|
|
|
id: row.id
|
|
|
}
|
|
|
@@ -129,7 +129,7 @@ export default {
|
|
|
download() {
|
|
|
this.downloading = true;
|
|
|
this.$axios
|
|
|
- .get('/metaZoumaLight/excel', {
|
|
|
+ .get('/metaZouMaLight/excel', {
|
|
|
responseType: 'blob',
|
|
|
params: { size: 10000 }
|
|
|
})
|
|
|
@@ -162,7 +162,7 @@ export default {
|
|
|
deleteRow(row) {
|
|
|
this.$alert('删除将无法恢复,确认要删除么?', '警告', { type: 'error' })
|
|
|
.then(() => {
|
|
|
- return this.$http.post(`/metaZoumaLight/del/${row.id}`);
|
|
|
+ return this.$http.post(`/metaZouMaLight/del/${row.id}`);
|
|
|
})
|
|
|
.then(() => {
|
|
|
this.$message.success('删除成功');
|