1c75d684 by chentao

no message

1 parent c63089e4
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
6 <!-- 列表操作 --> 6 <!-- 列表操作 -->
7 <el-row :gutter="10" class="mb8" justify="end"> 7 <el-row :gutter="10" class="mb8" justify="end">
8 <el-col :span="1.5"> 8 <el-col :span="1.5">
9 <el-button 9 <el-button
10 type="primary" 10 type="primary"
11 plain 11 plain
12 icon="Plus" 12 icon="Plus"
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 </el-header> 17 </el-header>
18 <el-main id="max-height"> 18 <el-main id="max-height">
19 <!-- 列表内容 --> 19 <!-- 列表内容 -->
20 <el-table 20 <el-table
21 v-loading="status.loading" 21 v-loading="status.loading"
22 :data="list" 22 :data="list"
23 :max-height="windowSize.height - 70" 23 :max-height="windowSize.height - 70"
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
42 </el-table-column> 42 </el-table-column>
43 <el-table-column :label="$t('advertisement.tableControlsName')" class-name="small-padding fixed-width"> 43 <el-table-column :label="$t('advertisement.tableControlsName')" class-name="small-padding fixed-width">
44 <template #default="{ row }"> 44 <template #default="{ row }">
45 <el-button 45 <el-button
46 link 46 link
47 type="info" 47 type="info"
48 @click="handleEdit(row)" 48 @click="handleEdit(row)"
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
59 type="info" 59 type="info"
60 @click="handleChangeStatus(row, 1)" 60 @click="handleChangeStatus(row, 1)"
61 >{{ $t('advertisement.controlsReleaseName') }}</el-button> 61 >{{ $t('advertisement.controlsReleaseName') }}</el-button>
62 <el-button 62 <el-button
63 link 63 link
64 type="info" 64 type="info"
65 @click="handleDel(row)" 65 @click="handleDel(row)"
...@@ -94,7 +94,10 @@ ...@@ -94,7 +94,10 @@
94 <el-button type="info" @click="submitForm(1)">{{ $t('advertisement.dialogSubmit') }}</el-button> 94 <el-button type="info" @click="submitForm(1)">{{ $t('advertisement.dialogSubmit') }}</el-button>
95 <el-button type="info" @click="submitForm(0)">{{ $t('advertisement.dialogSave') }}</el-button> 95 <el-button type="info" @click="submitForm(0)">{{ $t('advertisement.dialogSave') }}</el-button>
96 </template> 96 </template>
97 <el-button v-else type="info" @click="submitForm(null)">{{ $t('advertisement.dialogSave') }}</el-button> 97 <template v-else>
98 <el-button type="info" @click="submitForm(1)">{{ $t('advertisement.dialogSubmit') }}</el-button>
99 <el-button type="info" @click="submitForm(null)">{{ $t('advertisement.dialogSave') }}</el-button>
100 </template>
98 <el-button @click="showForm.open = false">{{ $t('advertisement.dialogExit') }}</el-button> 101 <el-button @click="showForm.open = false">{{ $t('advertisement.dialogExit') }}</el-button>
99 </div> 102 </div>
100 </template> 103 </template>
...@@ -192,7 +195,7 @@ function handleDel(row) { ...@@ -192,7 +195,7 @@ function handleDel(row) {
192 getList(); 195 getList();
193 proxy.$modal.msgSuccess(res.msg); 196 proxy.$modal.msgSuccess(res.msg);
194 }).finally(() => { 197 }).finally(() => {
195 198
196 }); 199 });
197 } 200 }
198 201
...@@ -227,4 +230,4 @@ function closeDialog() { ...@@ -227,4 +230,4 @@ function closeDialog() {
227 form: {} 230 form: {}
228 } 231 }
229 } 232 }
230 </script>
...\ No newline at end of file ...\ No newline at end of file
233 </script>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!