Browse Source

充值比例

wangtao 2 năm trước cách đây
mục cha
commit
72dfec5a0c

+ 6 - 1
src/assets/styles/index.scss

@@ -119,7 +119,12 @@ aside {
 
 //main-container全局样式
 .app-container {
-    padding: 20px;
+    // padding: 20px;
+    background: #fff;
+    position: relative;
+    margin: 15px;
+    min-height: calc(100vh - 80px);
+    padding: 15px;
 }
 
 .components-container {

+ 1 - 0
src/layout/components/AppMain.vue

@@ -29,6 +29,7 @@ export default {
   width: 100%;
   position: relative;
   overflow: hidden;
+  background: #F4F4F4;
 }
 
 .fixed-header+.app-main {

+ 1 - 1
src/views/recharge/department/index.vue

@@ -50,7 +50,7 @@
       <div slot="footer" class="dialog-footer">
         <el-button type="primary" @click="submitForm" v-if="!loading">确 定</el-button>
         <el-button :loading="loading" type="primary" @click="submitForm" v-else>提交中...</el-button>
-        <el-button @click="cancel">取 消</el-button>
+        <el-button @click="cancel" plain>取 消</el-button>
       </div>
     </el-dialog>
     <pagination

+ 21 - 1
src/views/recharge/personnel/index.vue

@@ -116,6 +116,22 @@
       </el-table-column>
     </el-table>
     </el-dialog>
+
+    <!-- 批量绑定 -->
+    <el-dialog   :title="title" :visible.sync="open1" width="600px" append-to-body :before-close="cancel" :close-on-click-modal="false"  >
+      <el-form ref="queryParams" :model="queryParams"  :rules="rules" label-width="120px" >
+        <el-form-item label="到账比例:" prop="id">
+          <el-select v-model="queryParams.id" style="width: 240px" placeholder="请选择到账比例" clearable size="small" >
+            <el-option :label="`${item.identity}:${item.proportion}`"  :value="item.id" v-for="(item, index) in radioList" :key="index" />
+          </el-select>
+        </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitForm" v-if="!loading">确 定</el-button>
+        <el-button :loading="loading" type="primary" @click="submitForm" v-else>提交中...</el-button>
+        <el-button @click="cancel" plain>取 消</el-button>
+      </div>
+    </el-dialog>
     <pagination
       v-show="total>0"
       :total="total"
@@ -155,6 +171,7 @@ export default {
       title: "异常信息",
       // 是否显示弹出层
       open: false,
+      open1:false,
       // 类型数据字典
       typeOptions: [],
       // 日期范围
@@ -260,6 +277,7 @@ export default {
     // 取消按钮
     cancel() {
       this.open = false;
+      this.open1 = false;
       this.reset();
     },
     // 表单重置
@@ -322,7 +340,7 @@ export default {
     batchChange(change){
       if(this.ids.length>0){
         if(change == "1"){
-            this.open = true;
+            this.open1 = true;
             this.title = "修改参数";
         }else{
           this.loading = true;
@@ -337,8 +355,10 @@ export default {
             this.loading = false;
             this.msgSuccess('批量解绑完成')
             this.getList();
+            this.open1 = false;
           }).catch(err=>{
             this.loading = false;
+            this.open1 = false;
           })
         }
       }else{