From b9bbbc298193293ba72a505c20878edd31a590ad Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期六, 31 八月 2024 21:37:13 +0800 Subject: [PATCH] 修改了家族管理员 --- ruoyi-ui/src/views/selfeconomy/index.vue | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/selfeconomy/index.vue b/ruoyi-ui/src/views/selfeconomy/index.vue index c75c4d4..c1c5a02 100644 --- a/ruoyi-ui/src/views/selfeconomy/index.vue +++ b/ruoyi-ui/src/views/selfeconomy/index.vue @@ -262,13 +262,15 @@ /> <!-- 娣诲姞鏀惰棌涓庤崳瑾変俊鎭厤缃璇濇 --> - <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body> + <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body @click.native="handleDialogClick"> <el-form ref="elForm" :model="formDat" :rules="rules" size="medium" label-width="100px"> <!-- <el-form-item label="鑾峰緱鏃堕棿" prop="happenTime">--> <!-- <el-input v-model="formDat.happenTime" placeholder="璇疯緭鍏ヨ幏寰楁椂闂�" clearable :style="{width: '100%'}" ></el-input>--> <!-- </el-form-item>--> <el-form-item label="鏃堕棿" prop="happenTime"> <el-date-picker v-model="formDat.happenTime" type="date" placeholder="璇烽�夋嫨鏃ユ湡" + @click.native.stop + ref="datePicker" :editable="false" :clearable="false" :style="{width: '100%'}" value-format="yyyy-MM-dd" ></el-date-picker> </el-form-item> @@ -293,7 +295,7 @@ </el-input> </el-form-item> <el-form-item label="鍙樻洿/娉ㄩ攢" prop="isChange"> - <el-select v-model="formDat.isChange" placeholder="璇烽�夋嫨鍙樻洿/娉ㄩ攢" clearable :style="{width: '100%'}" > + <el-select ref="multiSelect" v-model="formDat.isChange" placeholder="璇烽�夋嫨鍙樻洿/娉ㄩ攢" clearable :style="{width: '100%'}" > <el-option v-for="(item, index) in typeOptions1" :key="index" :label="item.label" :value="item.value" ></el-option> </el-select> @@ -303,7 +305,7 @@ </el-input> </el-form-item> <el-form-item label="鏄惁娉ㄩ攢" prop="status"> - <el-select v-model="formDat.status" placeholder="璇烽�夋嫨鏄惁渚濇棫鏈夋晥" clearable :style="{width: '100%'}" > + <el-select ref="multiSelect1" v-model="formDat.status" placeholder="璇烽�夋嫨鏄惁渚濇棫鏈夋晥" clearable :style="{width: '100%'}" > <el-option v-for="(item, index) in typeOptions" :key="index" :label="item.label" :value="item.value" ></el-option> </el-select> @@ -595,6 +597,8 @@ dicts: ['sys_normal_disable'], data() { return { + selfeconomyList:[], + total1: 0, // 鍒嗕韩缁欒皝鐨刲ist listRoot: [], open1:false, @@ -793,13 +797,22 @@ created() { this.getList1(); this.getList(); + //this.getCateInfor(); this.getInfo(); + // for (let i = 0; i < this.contactList.length; i++) { // this.formDat[i] = this.contactList[i]; // } }, methods: { + handleDialogClick() + { + // 鍏抽棴鏃ユ湡閫夋嫨鍣� + this.$refs.multiSelect.blur() + this.$refs.multiSelect1.blur() + this.$refs.datePicker.handleClose(); + }, // 鍒嗛〉 fenYe(){ // @pagination='ifNum === 1 ? selectValue : (ifNum === 2 ? whoShare : showData)' @@ -925,6 +938,7 @@ this.loading1 = true; this.queryParams1.happenStartTime = this.dateRange1.length > 0 && this.dateRange1[0] this.queryParams1.happenEndTime = this.dateRange1.length > 0 && this.dateRange1[1] + this.queryParams.clanId = this.$store.state.user.clanId listUserAll(this.queryParams1).then(response => { this.listRoot = response.data.data; const kon = {} @@ -1102,7 +1116,7 @@ /** 鏂板鎸夐挳鎿嶄綔 */ handleAdd() { - this.reset(); + // this.reset(); this.open = true; this.title = "鏂板涓汉璐骇璇︾粏淇℃伅"; }, -- Gitblit v1.9.1