公会金币流水 - 增加分区选择
This commit is contained in:
@@ -21,6 +21,11 @@
|
|||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="inquire">
|
||||||
|
<span>分区</span>
|
||||||
|
<partition-select v-model:partition-id="inquire.partitionId"
|
||||||
|
@update:partitionId="getlistByPartition" />
|
||||||
|
</div>
|
||||||
<div class="inquire">
|
<div class="inquire">
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<span class="demonstration">国家</span>
|
<span class="demonstration">国家</span>
|
||||||
@@ -158,12 +163,17 @@ import {
|
|||||||
incomeExportFamilys,
|
incomeExportFamilys,
|
||||||
getlistByPartitionId
|
getlistByPartitionId
|
||||||
} from "@/api/nobleman/nobleman";
|
} from "@/api/nobleman/nobleman";
|
||||||
|
import PartitionSelect from "@/views/common/partitionSelect.vue";
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { dateFormat } from "@/utils/system-helper";
|
import { dateFormat } from "@/utils/system-helper";
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { ElMessage } from "element-plus";
|
import { ElMessage } from "element-plus";
|
||||||
export default {
|
export default {
|
||||||
name: "GoldWater",
|
name: "GoldWater",
|
||||||
|
components: {
|
||||||
|
PartitionSelect
|
||||||
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -172,7 +182,7 @@ export default {
|
|||||||
time: this.calculateLastSevenDays(),
|
time: this.calculateLastSevenDays(),
|
||||||
id: "",
|
id: "",
|
||||||
nick: "",
|
nick: "",
|
||||||
partitionId: 2,
|
partitionId: undefined,
|
||||||
inquireonInfos: [
|
inquireonInfos: [
|
||||||
// { desc: "英语区", id: 1 },
|
// { desc: "英语区", id: 1 },
|
||||||
// { desc: "阿拉伯区", id: 2 },
|
// { desc: "阿拉伯区", id: 2 },
|
||||||
@@ -198,9 +208,20 @@ export default {
|
|||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
this.getData();
|
this.getData();
|
||||||
this.getlistByPartitionId()
|
// this.getlistByPartitionId()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getlistByPartition (e) {
|
||||||
|
console.log(e)
|
||||||
|
if (e) {
|
||||||
|
this.inquire.partitionId = e;
|
||||||
|
}
|
||||||
|
getlistByPartitionId({ partitionId: this.inquire.partitionId, containAll: true }).then((res) => {
|
||||||
|
if (res.code == 200) {
|
||||||
|
this.inquire.inquireonInfos = res.data;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
getlistByPartitionId () {
|
getlistByPartitionId () {
|
||||||
getlistByPartitionId({ partitionId: 1, containAll: true }).then((res) => {
|
getlistByPartitionId({ partitionId: 1, containAll: true }).then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
|
Reference in New Issue
Block a user