|
@@ -18,14 +18,14 @@
|
|
|
>
|
|
|
</a-select>
|
|
|
</div> -->
|
|
|
- <div class="tool-bar-item">
|
|
|
+ <!-- <div class="tool-bar-item">
|
|
|
<p class="label">回传状态</p>
|
|
|
<a-select class="full-width" v-model:value="query.report_status">
|
|
|
<a-select-option :key="-1" :value="-1">全部</a-select-option>
|
|
|
<a-select-option :key="1" :value="1">开启</a-select-option>
|
|
|
<a-select-option :key="0" :value="0">关闭</a-select-option>
|
|
|
</a-select>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<div class="tool-bar-item">
|
|
|
<p class="label">回传方式</p>
|
|
|
<a-select class="full-width" v-model:value="query.report_module">
|
|
@@ -258,7 +258,7 @@ const Account = defineComponent({
|
|
|
official_name: "",
|
|
|
platform: "",
|
|
|
page: 1,
|
|
|
- report_status: -1,
|
|
|
+ // report_status: -1,
|
|
|
report_module: "",
|
|
|
},
|
|
|
hasPopFormData: false,
|
|
@@ -292,7 +292,7 @@ const Account = defineComponent({
|
|
|
onLoadOfficials();
|
|
|
};
|
|
|
const onCancel = () => {
|
|
|
- state.query.report_status = -1;
|
|
|
+ // state.query.report_status = -1;
|
|
|
state.query.report_module = "";
|
|
|
onSearch({ name: "" });
|
|
|
};
|
|
@@ -301,7 +301,7 @@ const Account = defineComponent({
|
|
|
let params = JSON.parse(JSON.stringify(state.query));
|
|
|
if (query) params.page = query.current;
|
|
|
loading.value = true;
|
|
|
- if (state.query.report_status === -1) delete params.report_status;
|
|
|
+ // if (state.query.report_status === -1) delete params.report_status;
|
|
|
if (state.query.report_module === "") delete params.report_module;
|
|
|
getOfficialAccounts(params).then(({ data }) => {
|
|
|
state.list = data.list;
|
|
@@ -345,7 +345,7 @@ const Account = defineComponent({
|
|
|
const onRateChange = () => {
|
|
|
const { rate, channel_id } = state.ad_config;
|
|
|
setChannelRate({ rate, channel_id }).then((res) => {
|
|
|
- onLoadOfficials()
|
|
|
+ onLoadOfficials();
|
|
|
message.success("修改回传比例成功!");
|
|
|
state.visible = false;
|
|
|
});
|
|
@@ -356,7 +356,7 @@ const Account = defineComponent({
|
|
|
state.report_channel_id,
|
|
|
state.report_module
|
|
|
).then((_) => {
|
|
|
- onLoadOfficials()
|
|
|
+ onLoadOfficials();
|
|
|
message.success("修改回传方式成功!");
|
|
|
});
|
|
|
};
|