Jelajahi Sumber

走马灯调整

sunkean 3 tahun lalu
induk
melakukan
cf893f715d

+ 6 - 6
src/main/vue/src/router.js

@@ -1598,17 +1598,17 @@ const router = new Router({
                     },
                 },
                 {
-                    path: '/metaZoumaLightEdit',
-                    name: 'MetaZoumaLightEdit',
-                    component: () => import(/* webpackChunkName: "metaZoumaLightEdit" */ '@/views/MetaZoumaLightEdit.vue'),
+                    path: '/metaZouMaLightEdit',
+                    name: 'MetaZouMaLightEdit',
+                    component: () => import(/* webpackChunkName: "metaZouMaLightEdit" */ '@/views/MetaZouMaLightEdit.vue'),
                     meta: {
                         title: '走马灯编辑',
                     },
                 },
                 {
-                    path: '/metaZoumaLightList',
-                    name: 'MetaZoumaLightList',
-                    component: () => import(/* webpackChunkName: "metaZoumaLightList" */ '@/views/MetaZoumaLightList.vue'),
+                    path: '/metaZouMaLightList',
+                    name: 'MetaZouMaLightList',
+                    component: () => import(/* webpackChunkName: "metaZouMaLightList" */ '@/views/MetaZouMaLightList.vue'),
                     meta: {
                         title: '走马灯',
                     },

+ 4 - 4
src/main/vue/src/views/MetaZoumaLightEdit.vue → src/main/vue/src/views/MetaZouMaLightEdit.vue

@@ -43,11 +43,11 @@
 </template>
 <script>
 export default {
-	name: 'MetaZoumaLightEdit',
+	name: 'MetaZouMaLightEdit',
 	created() {
 		if (this.$route.query.id) {
 			this.$http
-				.get('metaZoumaLight/get/' + this.$route.query.id)
+				.get('metaZouMaLight/get/' + this.$route.query.id)
 				.then(res => {
 					this.formData = res;
 				})
@@ -87,7 +87,7 @@ export default {
 
 			this.saving = true;
 			this.$http
-				.post('/metaZoumaLight/save', data, { body: 'json' })
+				.post('/metaZouMaLight/save', data, { body: 'json' })
 				.then(res => {
 					this.saving = false;
 					this.$message.success('成功');
@@ -102,7 +102,7 @@ export default {
 		onDelete() {
 			this.$confirm('删除将无法恢复,确认要删除么?', '警告', { type: 'error' })
 				.then(() => {
-					return this.$http.post(`/metaZoumaLight/del/${this.formData.id}`);
+					return this.$http.post(`/metaZouMaLight/del/${this.formData.id}`);
 				})
 				.then(() => {
 					this.$message.success('删除成功');

+ 8 - 8
src/main/vue/src/views/MetaZoumaLightList.vue → src/main/vue/src/views/MetaZouMaLightList.vue

@@ -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('删除成功');