Browse Source

no message

DESKTOP-O04BTUJ\muzen 2 years ago
parent
commit
0a0e99986e
1 changed files with 9 additions and 3 deletions
  1. 9 3
      src/views/registration/regConfig/index.vue

+ 9 - 3
src/views/registration/regConfig/index.vue

@@ -1,6 +1,7 @@
 <template>
   <div class="app-container">
-    <el-form :model="form" ref="form" :rules="rules" label-width="auto" v-loading="loading" :disabled="checkPermi(['registration:regConfig:change']) ? false : true">
+    <el-form :model="form" ref="form" :rules="rules" label-width="auto" v-loading="loading"
+      :disabled="checkPermi(['registration:regConfig:change']) ? false : true">
       <el-form-item label="签到标题:" prop="signTitle">
         <el-input v-model="form.signTitle" placeholder="请输入签到标题" maxlength="50" show-word-limit />
       </el-form-item>
@@ -35,7 +36,8 @@
           </el-table-column>
           <el-table-column align="center">
             <template #header>
-              <el-button type="text" icon="el-icon-plus" @click="handlerPush('签到奖励')" :disabled="continuePush">添加</el-button>
+              <el-button type="text" icon="el-icon-plus" @click="handlerPush('签到奖励')"
+                :disabled="continuePush">添加</el-button>
             </template>
             <template slot-scope="scope">
               <el-button type="delete" @click="getDeleteContinue(scope)">
@@ -97,9 +99,13 @@
 </template>
 
 <script>
+import Upload from '@/components/Upload/index.vue'
 import { list, submit, removeContinue, removeListenGood } from '@/api/registration/regConfig'
 import { checkPermi } from '@/utils/permission'
 export default {
+  components: {
+    Upload
+  },
   data() {
     return {
       // 遮罩层
@@ -270,7 +276,7 @@ export default {
         }
       })
     },
-    
+
     // 监控权限
     checkPermi
   }