修改幸运礼物分区获取数据
This commit is contained in:
@@ -68,3 +68,12 @@ export const updateUserMulti = query => {
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
// 分区接口
|
||||
export const listPartitionInfo = query => {
|
||||
return request({
|
||||
url: '/partition/listPartitionInfo',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
@@ -105,6 +105,7 @@
|
||||
</template>
|
||||
<script>
|
||||
import { list, update } from "@/api/GiftPanelManagement/GiftPanelManagement";
|
||||
import { listAll} from "@/api/partition/partitionInfo";
|
||||
// @ts-ignore
|
||||
import { dateFormat } from "@/utils/system-helper";
|
||||
// @ts-ignore
|
||||
@@ -118,10 +119,10 @@ export default {
|
||||
inquire: {
|
||||
partitionId: 4,
|
||||
inquireonInfos: [
|
||||
{ desc: "英语区", id: 1 },
|
||||
{ desc: "阿拉伯区", id: 2 },
|
||||
{ desc: "华语区", id: 4 },
|
||||
{ desc: "土耳其区", id: 8 },
|
||||
// { desc: "英语区", id: 1 },
|
||||
// { desc: "阿拉伯区", id: 2 },
|
||||
// { desc: "华语区", id: 4 },
|
||||
// { desc: "土耳其区", id: 8 },
|
||||
],
|
||||
},
|
||||
// 表格
|
||||
@@ -153,6 +154,9 @@ export default {
|
||||
this.eidDialogTitle = `编辑礼物面板信息-华语区`;
|
||||
this.eidText = `华语区`;
|
||||
this.getData();
|
||||
listAll().then((res) => {
|
||||
this.inquire.inquireonInfos = res.data;
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
// 查询接口
|
||||
|
@@ -70,9 +70,9 @@
|
||||
>
|
||||
<el-option
|
||||
v-for="item in inquire.options"
|
||||
:key="item.type"
|
||||
:label="item.name"
|
||||
:value="item.type"
|
||||
:key="item.id"
|
||||
:label="item.desc"
|
||||
:value="item.id"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
@@ -342,6 +342,8 @@
|
||||
</template>
|
||||
<script>
|
||||
import { getConfig, updateSet, updateUserMulti } from "@/api/bravoGift/bravoGift";
|
||||
import { listAll} from "@/api/partition/partitionInfo";
|
||||
|
||||
// @ts-ignore
|
||||
import { dateFormat } from "@/utils/system-helper";
|
||||
// @ts-ignore
|
||||
@@ -358,22 +360,22 @@
|
||||
inquire: {
|
||||
value: 2,
|
||||
options: [
|
||||
{
|
||||
name: "阿拉伯区",
|
||||
type: 2,
|
||||
},
|
||||
{
|
||||
name: "英语区",
|
||||
type: 1,
|
||||
},
|
||||
{
|
||||
name: "华语区",
|
||||
type: 4,
|
||||
},
|
||||
{
|
||||
name: "土耳其区",
|
||||
type: 8,
|
||||
},
|
||||
// {
|
||||
// name: "阿拉伯区",
|
||||
// type: 2,
|
||||
// },
|
||||
// {
|
||||
// name: "英语区",
|
||||
// type: 1,
|
||||
// },
|
||||
// {
|
||||
// name: "华语区",
|
||||
// type: 4,
|
||||
// },
|
||||
// {
|
||||
// name: "土耳其区",
|
||||
// type: 8,
|
||||
// },
|
||||
],
|
||||
comparisonValue: "",
|
||||
goldInventory: "",
|
||||
@@ -397,6 +399,9 @@
|
||||
},
|
||||
created() {
|
||||
this.getData();
|
||||
listAll().then((res) => {
|
||||
this.inquire.options = res.data;
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
// 查询接口
|
||||
|
@@ -70,9 +70,9 @@
|
||||
>
|
||||
<el-option
|
||||
v-for="item in inquire.options"
|
||||
:key="item.type"
|
||||
:label="item.name"
|
||||
:value="item.type"
|
||||
:key="item.id"
|
||||
:label="item.desc"
|
||||
:value="item.id"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
@@ -342,6 +342,7 @@
|
||||
</template>
|
||||
<script>
|
||||
import { getConfig, updateSet, updateUserMulti } from "@/api/luckGift/luckGift";
|
||||
import { listAll} from "@/api/partition/partitionInfo";
|
||||
// @ts-ignore
|
||||
import { dateFormat } from "@/utils/system-helper";
|
||||
// @ts-ignore
|
||||
@@ -358,22 +359,22 @@ export default {
|
||||
inquire: {
|
||||
value: 2,
|
||||
options: [
|
||||
{
|
||||
name: "阿拉伯区",
|
||||
type: 2,
|
||||
},
|
||||
{
|
||||
name: "英语区",
|
||||
type: 1,
|
||||
},
|
||||
{
|
||||
name: "华语区",
|
||||
type: 4,
|
||||
},
|
||||
{
|
||||
name: "土耳其区",
|
||||
type: 8,
|
||||
},
|
||||
// {
|
||||
// name: "阿拉伯区",
|
||||
// type: 2,
|
||||
// },
|
||||
// {
|
||||
// name: "英语区",
|
||||
// type: 1,
|
||||
// },
|
||||
// {
|
||||
// name: "华语区",
|
||||
// type: 4,
|
||||
// },
|
||||
// {
|
||||
// name: "土耳其区",
|
||||
// type: 8,
|
||||
// },
|
||||
],
|
||||
comparisonValue: "",
|
||||
goldInventory: "",
|
||||
@@ -397,6 +398,9 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.getData();
|
||||
listAll().then((res) => {
|
||||
this.inquire.options = res.data;
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
// 查询接口
|
||||
|
Reference in New Issue
Block a user