Răsfoiți Sursa

负责人组件

ith5 5 luni în urmă
părinte
comite
b19d057a6a

+ 2 - 1
src/views/v1/advert/agenList/index.vue

@@ -26,7 +26,7 @@
         </a-col>
         <a-col :sm="8" :xs="24">
           <a-form-item label="后台归属人" field="auth_id">
-            <a-select v-model="searchForm.auth_id" :options="authOptions" placeholder="请选择后台归属人" allow-clear />
+            <auth-select v-model="searchForm.auth_id" multiple />
           </a-form-item>
         </a-col>
       </template>
@@ -52,6 +52,7 @@ import EditForm from './edit.vue'
 import addSiteForm from './addSite.vue'
 import api from '../../api/advert/agenList'
 import advertCommonApi from '../../api/advert/common'
+import AuthSelect from '@/components/auth-select/index.vue'
 
 // 引用定义
 const crudRef = ref()

+ 2 - 6
src/views/v1/advert/agentSite/index.vue

@@ -20,12 +20,7 @@
         </a-col>
         <a-col :sm="8" :xs="24">
           <a-form-item label="负责人" field="auth_id">
-            <a-select
-              v-model="searchForm.auth_id"
-              :options="authOptions"
-              placeholder="请选择负责人"
-              allow-search
-              allow-clear />
+            <auth-select v-model="searchForm.auth_id" multiple />
           </a-form-item>
         </a-col>
         <a-col :sm="8" :xs="24">
@@ -86,6 +81,7 @@ import ksPacForm from './ks_pac.vue'
 import gdtPacForm from './gdt_pac.vue'
 import ttPacForm from './tt_pac.vue'
 import linkDebugForm from './link-debug-form.vue'
+import AuthSelect from '@/components/auth-select/index.vue'
 import { useUserStore } from '@/store'
 
 const userStore = useUserStore()

+ 2 - 1
src/views/v1/advert/mediaCost/index.vue

@@ -36,7 +36,7 @@
         </a-col>
         <a-col :sm="8" :xs="24">
           <a-form-item label="负责人" field="auth_id">
-            <sa-select v-model="searchForm.auth_id" :options="authOptions" placeholder="请选择负责人" allow-clear />
+            <auth-select v-model="searchForm.auth_id" multiple />
           </a-form-item>
         </a-col>
         <a-col :sm="8" :xs="24">
@@ -71,6 +71,7 @@ import EditForm from './edit.vue'
 import api from '../../api/advert/mediaCost'
 import commonAdvertApi from '../../api/advert/common'
 import GameSelect from '@/components/game-select/index.vue'
+import AuthSelect from '@/components/auth-select/index.vue'
 
 // 引用定义
 const crudRef = ref()

+ 27 - 27
src/views/v1/gameLog/hour/index.vue

@@ -141,33 +141,33 @@ const options = reactive({
 
 // SaTable 列配置
 const columns = reactive([
-  { title: '渠道ID', dataIndex: 'agent_id', width: 120 },
-  { title: '渠道名', dataIndex: 'agent_name', width: 120 },
-  { title: '合计', dataIndex: 'total_raw', width: 120 },
-  { title: 'h0', dataIndex: 'h0', width: 120 },
-  { title: 'h1', dataIndex: 'h1', width: 120 },
-  { title: 'h2', dataIndex: 'h2', width: 120 },
-  { title: 'h3', dataIndex: 'h3', width: 120 },
-  { title: 'h4', dataIndex: 'h4', width: 120 },
-  { title: 'h5', dataIndex: 'h5', width: 120 },
-  { title: 'h6', dataIndex: 'h6', width: 120 },
-  { title: 'h7', dataIndex: 'h7', width: 120 },
-  { title: 'h8', dataIndex: 'h8', width: 120 },
-  { title: 'h9', dataIndex: 'h9', width: 120 },
-  { title: 'h10', dataIndex: 'h10', width: 120 },
-  { title: 'h11', dataIndex: 'h11', width: 120 },
-  { title: 'h12', dataIndex: 'h12', width: 120 },
-  { title: 'h13', dataIndex: 'h13', width: 120 },
-  { title: 'h14', dataIndex: 'h14', width: 120 },
-  { title: 'h15', dataIndex: 'h15', width: 120 },
-  { title: 'h16', dataIndex: 'h16', width: 120 },
-  { title: 'h17', dataIndex: 'h17', width: 120 },
-  { title: 'h18', dataIndex: 'h18', width: 120 },
-  { title: 'h19', dataIndex: 'h19', width: 120 },
-  { title: 'h20', dataIndex: 'h20', width: 120 },
-  { title: 'h21', dataIndex: 'h21', width: 120 },
-  { title: 'h22', dataIndex: 'h22', width: 120 },
-  { title: 'h23', dataIndex: 'h23', width: 120 },
+  { title: '渠道ID', dataIndex: 'agent_id', width: 80 },
+  { title: '渠道名', dataIndex: 'agent_name', width: 100 },
+  { title: '合计', dataIndex: 'total_raw', width: 80 },
+  { title: 'h0', dataIndex: 'h0', width: 80 },
+  { title: 'h1', dataIndex: 'h1', width: 80 },
+  { title: 'h2', dataIndex: 'h2', width: 80 },
+  { title: 'h3', dataIndex: 'h3', width: 80 },
+  { title: 'h4', dataIndex: 'h4', width: 80 },
+  { title: 'h5', dataIndex: 'h5', width: 80 },
+  { title: 'h6', dataIndex: 'h6', width: 80 },
+  { title: 'h7', dataIndex: 'h7', width: 80 },
+  { title: 'h8', dataIndex: 'h8', width: 80 },
+  { title: 'h9', dataIndex: 'h9', width: 80 },
+  { title: 'h10', dataIndex: 'h10', width: 80 },
+  { title: 'h11', dataIndex: 'h11', width: 80 },
+  { title: 'h12', dataIndex: 'h12', width: 80 },
+  { title: 'h13', dataIndex: 'h13', width: 80 },
+  { title: 'h14', dataIndex: 'h14', width: 80 },
+  { title: 'h15', dataIndex: 'h15', width: 80 },
+  { title: 'h16', dataIndex: 'h16', width: 80 },
+  { title: 'h17', dataIndex: 'h17', width: 80 },
+  { title: 'h18', dataIndex: 'h18', width: 80 },
+  { title: 'h19', dataIndex: 'h19', width: 80 },
+  { title: 'h20', dataIndex: 'h20', width: 80 },
+  { title: 'h21', dataIndex: 'h21', width: 80 },
+  { title: 'h22', dataIndex: 'h22', width: 80 },
+  { title: 'h23', dataIndex: 'h23', width: 80 },
 ])
 
 // 页面数据初始化

+ 2 - 2
src/views/v1/gameLog/payRemain/index.vue

@@ -48,11 +48,11 @@ const crudRef = ref()
 const showTypeOptions = ref([
   {
     label: '按比率',
-    value: '1',
+    value: 'rate',
   },
   {
     label: '按人数',
-    value: '2',
+    value: 'num',
   },
 ])