新增公会默认选择地区

This commit is contained in:
dragon
2024-11-15 11:55:56 +08:00
parent 37df3b5db1
commit 9129e29bf3
8 changed files with 21 additions and 7 deletions

View File

@@ -193,6 +193,7 @@ export default {
created() {
listPartitionInfo().then((res) => {
this.partitionArr = res.data;
this.searchForm.partitionId=this.partitionArr[0].id;
});
this.getDateCycleList();
},

View File

@@ -192,6 +192,7 @@ export default {
// this.getData();
listPartitionInfo().then((res) => {
this.partitionArr = res.data;
this.searchForm.partitionId=this.partitionArr[0].id;
});
},
methods: {

View File

@@ -355,7 +355,7 @@ export default {
erbanNo: null,
partitionId: null,
},
partitionArr:[],
partitionArr: [],
searchRule: {
startTime: [
{
@@ -401,6 +401,7 @@ export default {
this.getDateCycleList();
listPartitionInfo().then((res) => {
this.partitionArr = res.data;
this.searchForm.partitionId = this.partitionArr[0].id;
});
},
methods: {

View File

@@ -161,6 +161,7 @@ export default {
// this.getData();
listPartitionInfo().then((res) => {
this.inquire.partitionArr = res.data;
this.inquire.partitionId = this.inquire.partitionArr[0].id;
});
},
methods: {

View File

@@ -511,7 +511,7 @@ import {
addMember,
setManager,
removeMember,
listPartitionInfo
listPartitionInfo,
} from "@/api/noblemanNew/noblemanNew";
// @ts-ignore
import { dateFormat } from "@/utils/system-helper";
@@ -580,6 +580,7 @@ export default {
created() {
listPartitionInfo().then((res) => {
this.inquire.partitionArr = res.data;
this.inquire.partitionId = this.inquire.partitionArr[0].id;
});
this.getData();
},

View File

@@ -83,7 +83,9 @@
<el-form-item label-width="40px">
<el-button type="primary" @click="handSearch">搜索</el-button>
<el-button type="primary" plain @click="resetSearchForm">重置搜索</el-button>
<el-button type="primary" plain @click="resetSearchForm"
>重置搜索</el-button
>
<el-button
type="primary"
class="exportBtn"
@@ -114,7 +116,7 @@
v-loading="tableLoading"
@header-click="headerCopy"
@selection-change="handleSelectionChange"
style="width: 100%;overflow-x: auto;"
style="width: 100%; overflow-x: auto"
>
<el-table-column type="selection"> </el-table-column>
<el-table-column align="center" prop="erbanNo" label="MoliStar ID" />
@@ -161,7 +163,12 @@
{{ scope.row.remark ? scope.row.remark : "/" }}
</template>
</el-table-column>
<el-table-column align="center" prop="hallSalary" label="操作" width="150">
<el-table-column
align="center"
prop="hallSalary"
label="操作"
width="150"
>
<template v-slot="scope">
<div v-if="scope.row.status == 0">
<el-button
@@ -297,7 +304,7 @@ export default {
country: null,
partitionId: null,
},
partitionArr:[],
partitionArr: [],
adminCountryArr: [],
searchRule: {
startTime: [
@@ -353,6 +360,7 @@ export default {
});
listPartitionInfo().then((res) => {
this.partitionArr = res.data;
this.searchForm.partitionId = this.partitionArr[0].id;
});
},
methods: {

View File

@@ -300,7 +300,6 @@
>
<!-- 这里是原来的图片预览 -->
<el-image
style="width: 100px; height: 100px"
:src="dialogObj.imageUrl2"
:zoom-rate="1.1"
@@ -415,6 +414,7 @@ export default {
listPartitionInfo().then((res) => {
console.log(res);
this.inquire.partitionArr = res.data;
this.inquire.partitionId = this.inquire.partitionArr[0].id;
this.getData();
});
},

View File

@@ -224,6 +224,7 @@ export default {
listPartitionInfo().then((res) => {
console.log(res);
this.inquire.partitionArr = res.data;
this.inquire.partitionId = this.inquire.partitionArr[0].id;
this.getData();
});
},