Browse Source

feat: 企微助手 - 充值订单管理 - 前端页面

zhengxy 2 years ago
parent
commit
1951c794ab

+ 6 - 0
project/src/components/assembly/screen/channel.vue

@@ -164,6 +164,12 @@ export default {
164 164
         { key: 2, val: '运营推广' },
165 165
       ]
166 166
       this.placeholderVal = '收入来源'
167
+    } else if (this.type == 'launchType') { // 投放类型
168
+      this.options = [
169
+        { key: 1, val: 'MP' },
170
+        { key: 2, val: 'ADQ' },
171
+      ]
172
+      this.placeholderVal = '投放类型'
167 173
     } else {
168 174
       this.init()
169 175
     }

+ 23 - 2
project/src/components/orderManage/charge.vue

@@ -12,6 +12,12 @@
12 12
           @inputChange='(val) => { id_val = val; init(1) }'></self-input>
13 13
         <self-channel style="margin-right: 10px;" title="" type='thePublic' :reset="resetFlag" :labelWidth="true"
14 14
           @channelDefine="(val) => { account_id = val; init(1); init_predata() }"></self-channel>
15
+        <self-channel style="margin-right: 10px;" title="" type='launchType' :reset="resetFlag" :labelWidth="true"
16
+          @channelDefine="(val) => { launch_type = val; init(1); init_predata() }"></self-channel>
17
+        <self-channel style="margin-right: 10px;" title="" type='promotionType' :reset="resetFlag" :labelWidth="true"
18
+          @channelDefine="(val) => { promotion_type = val; init(1); init_predata() }"></self-channel>
19
+        <self-channel style="margin-right: 10px;" title="" type='incomeSource' :reset="resetFlag" :labelWidth="true"
20
+          @channelDefine="(val) => { income_source = val; init(1); init_predata() }"></self-channel>
15 21
       </div>
16 22
       <div class="reset" @click="resetEvent">重置</div>
17 23
     </div>
@@ -160,6 +166,9 @@ export default {
160 166
         // { prop: "first_day_roi", label: "充值次数",  },
161 167
         { prop: "order_source", label: "订单来源", },
162 168
         { prop: "playlet_name", label: "剧名", min_width: 160 },
169
+        { prop: "launch_type", label: "投放类型", min_width: 160 }, // 新增"投放类型"
170
+        { prop: "promotion_type", label: "推广类型", min_width: 160 }, // 新增"推广类型"
171
+        { prop: "income_source", label: "收入来源", min_width: 160 }, // 新增"收入来源"
163 172
         { prop: "ad_report_order_rules", label: "回传规则", min_width: 260 },
164 173
         // { prop: "recall_rate2", label: "订单类型", },
165 174
         { prop: "ad_report_action_type", label: "回传类型", },
@@ -175,7 +184,10 @@ export default {
175 184
         zfje: []
176 185
       },
177 186
       resetFlag: false,
178
-      account_id: ''
187
+      account_id: '',
188
+      launch_type: '',
189
+      promotion_type: '',
190
+      income_source: '',
179 191
     }
180 192
   },
181 193
   created () {
@@ -250,6 +262,9 @@ export default {
250 262
       this.paySource_val = ''
251 263
       this.account_id = ''
252 264
       this.id_val = ''
265
+      this.launch_type = ''
266
+      this.promotion_type = ''
267
+      this.income_source = ''
253 268
       this.init_predata()
254 269
       this.init(1)
255 270
     },
@@ -271,7 +286,10 @@ export default {
271 286
         order_source: this.paySource_val,
272 287
         start_date: this.time[0],
273 288
         end_date: this.time[1],
274
-        appid: this.account_id
289
+        appid: this.account_id,
290
+        launch_type: this.launch_type, // mock 新增参数
291
+        promotion_type: this.promotion_type, // mock 新增参数
292
+        income_source: this.income_source, // mock 新增参数
275 293
       })
276 294
         .then((res) => {
277 295
           var res = res.data
@@ -314,6 +332,9 @@ export default {
314 332
       }
315 333
       this.loading = true
316 334
       this.$axios.post(this.URL.BASEURL + this.URL.charge_list, {
335
+        launch_type: this.launch_type, // mock 新增参数
336
+        promotion_type: this.promotion_type, // mock 新增参数
337
+        income_source: this.income_source, // mock 新增参数
317 338
         appid: this.account_id,
318 339
         order_source: this.paySource_val,
319 340
         order_id: this.id_val,