分区-公共组件select-替换剩下老组件
This commit is contained in:
@@ -206,7 +206,6 @@
|
||||
</template>
|
||||
<script>
|
||||
import {
|
||||
listPartitionInfo,
|
||||
recordList,
|
||||
detailList,
|
||||
recordExport,
|
||||
|
@@ -120,20 +120,17 @@
|
||||
</template>
|
||||
|
||||
<script lang=js>
|
||||
import { getDateCycleList, getAgencyDiamondFlow, agencyDiamondFlowExport,listPartitionInfo } from '@/api/relAgency/relAgency.js';
|
||||
import { getDateCycleList, getAgencyDiamondFlow, agencyDiamondFlowExport } from '@/api/relAgency/relAgency.js';
|
||||
import TablePagination from '@/components/common/TablePagination';
|
||||
import { formatDate, formatDateYMD } from '@/utils/relDate';
|
||||
// @ts-ignore
|
||||
import { ElMessage } from "element-plus";
|
||||
import { ref } from 'vue'; // 引入 ref
|
||||
import { ElMessageBox } from 'element-plus';
|
||||
import PartitionSelect from "@/views/common/partitionSelect.vue"; // 正确引入 ElM
|
||||
// 混入
|
||||
// import Mixin from '../../mixin/mixRegion.js';
|
||||
|
||||
export default {
|
||||
name: "agencyDiamondFlow",
|
||||
// mixins: [Mixin],
|
||||
components: {PartitionSelect, TablePagination },
|
||||
data() {
|
||||
return {
|
||||
|
@@ -124,7 +124,6 @@
|
||||
import {
|
||||
chargeAgentList,
|
||||
chargeAgentSum,
|
||||
listPartitionInfo,
|
||||
chargeAgentExport,
|
||||
} from "@/api/relAgency/relAgency.js";
|
||||
import TablePagination from "@/components/common/TablePagination";
|
||||
@@ -155,7 +154,7 @@ export default {
|
||||
chargeAgentErbanNo: null,
|
||||
startTime: null,
|
||||
endTime: null,
|
||||
partitionId: "",
|
||||
partitionId: undefined,
|
||||
},
|
||||
partitionArr: [],
|
||||
searchRule: {
|
||||
|
@@ -320,7 +320,6 @@ import {
|
||||
getDateCycleList,
|
||||
getAnchorSalaryBill,
|
||||
anchorSalaryBillDetail,
|
||||
listPartitionInfo,
|
||||
} from "@/api/relAgency/relAgency.js";
|
||||
import TablePagination from "@/components/common/TablePagination";
|
||||
import { formatDate, formatDateYMD } from "@/utils/relDate";
|
||||
|
@@ -12,18 +12,10 @@
|
||||
<div class="inquire">
|
||||
<div class="block">
|
||||
<span class="demonstration">分区</span>
|
||||
<el-select
|
||||
v-model="inquire.partitionId"
|
||||
style="width: 75%"
|
||||
placeholder="请选择"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in inquire.partitionArr"
|
||||
:key="item.id"
|
||||
:label="item.desc"
|
||||
:value="item.id"
|
||||
></el-option>
|
||||
</el-select>
|
||||
<partition-select v-model:partition-id="inquire.partitionId"
|
||||
v-model:partition-infos="inquire.partitionArr"
|
||||
v-model:after-init="getData"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="inquire">
|
||||
@@ -538,19 +530,22 @@ import {
|
||||
create,
|
||||
update,
|
||||
dismiss,
|
||||
savePayAccount,
|
||||
manageListFamilyMember,
|
||||
addMember,
|
||||
setManager,
|
||||
removeMember,
|
||||
listPartitionInfo,
|
||||
} from "@/api/noblemanNew/noblemanNew";
|
||||
import {
|
||||
savePayAccount,
|
||||
} from "@/api/nobleman/nobleman";
|
||||
// @ts-ignore
|
||||
import { dateFormat } from "@/utils/system-helper";
|
||||
// @ts-ignore
|
||||
import { ElMessage } from "element-plus";
|
||||
import PartitionSelect from "@/views/common/partitionSelect.vue";
|
||||
export default {
|
||||
name: "GuildInfoNewCustomerService",
|
||||
components: {PartitionSelect},
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
@@ -561,7 +556,7 @@ export default {
|
||||
userId: "",
|
||||
referrer: "",
|
||||
time: "",
|
||||
partitionId: "",
|
||||
partitionId: undefined,
|
||||
partitionArr: [],
|
||||
},
|
||||
//新增所需对象
|
||||
@@ -611,13 +606,6 @@ export default {
|
||||
memberRemoveObj: {},
|
||||
};
|
||||
},
|
||||
created() {
|
||||
listPartitionInfo().then((res) => {
|
||||
this.inquire.partitionArr = res.data;
|
||||
this.inquire.partitionId = this.inquire.partitionArr[0].id;
|
||||
this.getData();
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
// 查询接口
|
||||
getData() {
|
||||
|
@@ -262,8 +262,6 @@ import {
|
||||
agencyWithdrawBatchSet,
|
||||
batchReject,
|
||||
adminCountry,
|
||||
listPartitionInfo,
|
||||
// getlistByPartitionId
|
||||
} from "@/api/relAgency/relAgency.js";
|
||||
import TablePagination from "@/components/common/TablePagination";
|
||||
import { formatDate, formatDateYMD } from "@/utils/relDate";
|
||||
@@ -272,7 +270,6 @@ import { ElMessage } from "element-plus";
|
||||
import { ElMessageBox } from "element-plus";
|
||||
import PartitionSelect from "@/views/common/partitionSelect.vue"; // 正确引入 ElM
|
||||
// 混入
|
||||
// import Mixin from '../../mixin/mixRegion.js';
|
||||
|
||||
export default {
|
||||
name: "officialWithdrawRecord",
|
||||
|
@@ -4,18 +4,9 @@
|
||||
<div class="inquire">
|
||||
<div class="block">
|
||||
<span class="demonstration">分区</span>
|
||||
<el-select
|
||||
v-model="inquire.partitionId"
|
||||
style="width: 75%"
|
||||
placeholder="请选择"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in inquire.partitionArr"
|
||||
:key="item.id"
|
||||
:label="item.desc"
|
||||
:value="item.id"
|
||||
></el-option>
|
||||
</el-select>
|
||||
<partition-select v-model:partition-id="inquire.partitionId"
|
||||
v-model:partition-infos="inquire.partitionArr"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="inquire">
|
||||
@@ -109,15 +100,16 @@ import {
|
||||
familyMemberWeekLevelRewardExport,
|
||||
familyMemberWeekLevelRewardListCycleDate,
|
||||
} from "@/api/relAgency/relAgency";
|
||||
import { listPartitionInfo } from "@/api/noblemanNew/noblemanNew";
|
||||
// @ts-ignore
|
||||
import { dateFormat } from "@/utils/system-helper";
|
||||
// @ts-ignore
|
||||
import { ElMessage, ElTable } from "element-plus";
|
||||
import { ref } from "vue";
|
||||
import { ElMessageBox } from "element-plus"; // 正确引入 ElM
|
||||
import { ElMessageBox } from "element-plus";
|
||||
import PartitionSelect from "@/views/common/partitionSelect.vue"; // 正确引入 ElM
|
||||
export default {
|
||||
name: "weeklyRewards",
|
||||
components: {PartitionSelect},
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
|
@@ -3,15 +3,9 @@
|
||||
<!-- 查询 -->
|
||||
<div class="inquire">
|
||||
<span>分区</span>
|
||||
<el-select v-model="inquire.partitionId" placeholder="请选择">
|
||||
<el-option
|
||||
v-for="item in inquire.partitionArr"
|
||||
:key="item.id"
|
||||
:label="item.desc"
|
||||
:value="item.id"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
<partition-select v-model:partition-id="inquire.partitionId"
|
||||
v-model:partition-infos="inquire.partitionArr"
|
||||
/>
|
||||
</div>
|
||||
<div class="inquire">
|
||||
<span>平台ID</span>
|
||||
@@ -184,7 +178,6 @@
|
||||
</template>
|
||||
<script>
|
||||
import {
|
||||
listPartitionInfo,
|
||||
guildApplyList,
|
||||
guildApplyAudit,
|
||||
} from "@/api/nobleman/nobleman";
|
||||
@@ -192,14 +185,16 @@ import {
|
||||
import { dateFormat } from "@/utils/system-helper";
|
||||
// @ts-ignore
|
||||
import { ElMessage } from "element-plus";
|
||||
import PartitionSelect from "@/views/common/partitionSelect.vue";
|
||||
export default {
|
||||
name: "newGuildApplicationCustomerService",
|
||||
components: {PartitionSelect},
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
//查询所需条件对象
|
||||
inquire: {
|
||||
partitionId: "",
|
||||
partitionId: undefined,
|
||||
partitionArr: [],
|
||||
userId: "",
|
||||
status: -1,
|
||||
@@ -221,13 +216,6 @@ export default {
|
||||
pageSize: 10, //条数
|
||||
};
|
||||
},
|
||||
created() {
|
||||
listPartitionInfo().then((res) => {
|
||||
console.log(res.data);
|
||||
this.inquire.partitionArr = res.data;
|
||||
this.inquire.partitionId = this.inquire.partitionArr[0].id;
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
// 查询接口
|
||||
getData() {
|
||||
|
@@ -146,8 +146,8 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { listPartitionInfo, listRegionType, page, save, del } from "@/api/recharge/rechargeSubUser";
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { listRegionType, page, save, del } from "@/api/recharge/rechargeSubUser";
|
||||
import { ElMessageBox } from 'element-plus'
|
||||
import PartitionSelect from "@/views/common/partitionSelect.vue";
|
||||
|
||||
export default {
|
||||
|
@@ -184,12 +184,6 @@ export default {
|
||||
return Object.fromEntries(entries);
|
||||
},
|
||||
},
|
||||
created() {
|
||||
listPartitionInfo().then((res) => {
|
||||
this.inquire.partitionArr = res.data;
|
||||
this.inquire.partitionId = this.inquire.partitionArr[0].id;
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
dateFormat,
|
||||
// 查询接口
|
||||
|
@@ -404,14 +404,6 @@ export default {
|
||||
},
|
||||
};
|
||||
},
|
||||
// created() {
|
||||
// listPartitionInfo().then((res) => {
|
||||
// console.log(res);
|
||||
// this.inquire.partitionArr = res.data;
|
||||
// this.inquire.partitionId = this.inquire.partitionArr[0].id;
|
||||
//
|
||||
// });
|
||||
// },
|
||||
methods: {
|
||||
// 查询接口
|
||||
getData() {
|
||||
|
Reference in New Issue
Block a user