diff --git a/src/views/luckGift/luckGiftData.vue b/src/views/luckGift/luckGiftData.vue
index 84b7a88..0060563 100644
--- a/src/views/luckGift/luckGiftData.vue
+++ b/src/views/luckGift/luckGiftData.vue
@@ -9,47 +9,45 @@
MoliStar ID
-
+
送出时间
-
+
总进入:{{ totalInput }}
总退出:{{ totalOutput }}
- 总比例:{{ totalProductionRatio }}
+ 总比例:{{ totalProductionRatio }}
- 查询
+ 查询
- 重置筛选
+ ">重置筛选
-
- 赠送
+ ">
+ 赠送
@@ -57,123 +55,170 @@
v-model:title="recordDialog.title"
@close="closeRecordDialog"
label-width="auto"
- width="82%" center>
+ width="82%"
+ center>
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
- 明细
- 导出
+ 明细
+ 导出
-
+
-
+
- {{ editDialogTitle }}
-
+ {{ editDialogTitle }}
+
@@ -189,13 +234,13 @@ import { dateFormat } from "@/utils/system-helper";
import { ElMessage } from "element-plus";
import moment from "moment-timezone";
import PartitionSelect from "@/views/common/partitionSelect.vue";
-import {genQueryParam} from "@/utils/maintainer";
+import { genQueryParam } from "@/utils/maintainer";
export default {
name: "luckGiftData",
components: {
PartitionSelect
},
- data() {
+ data () {
return {
loading: false,
totalInput: 0,
@@ -216,7 +261,7 @@ export default {
editDialog: false,
editDialogTitle: "",
value: "",
- butClick:false,
+ butClick: false,
recordDialog: {
show: false,
@@ -238,7 +283,7 @@ export default {
},
methods: {
// 查询接口
- getData() {
+ getData () {
if (!this.inquire.time && this.inquire.userId === '') {
ElMessage({
showClose: true,
@@ -266,7 +311,7 @@ export default {
});
},
// 确认保存
- editDialogClick() {
+ editDialogClick () {
this.butClick = true;
updateUserMulti({ erbanNo: this.value }).then((res) => {
if (res.code == 200) {
@@ -291,30 +336,30 @@ export default {
});
},
// 分页导航
- handleSizeChange() {
+ handleSizeChange () {
this.getData();
},
- handleCurrentChange() {
+ handleCurrentChange () {
this.getData();
},
- openRecordDialog(row) {
+ openRecordDialog (row) {
this.recordDialog.show = true;
this.recordDialog.title = '[' + row.erbanNo + ']' + row.date + '明细';
this.pageRecord.uid = row.uid;
this.pageRecord.date = row.date;
this.pageRecordData();
},
- closeRecordDialog() {
+ closeRecordDialog () {
this.recordDialog.show = false;
this.recordDialog.title = undefined;
this.pageRecord.uid = undefined;
this.pageRecord.date = undefined;
},
// 分页导航
- handleRecordPageChange() {
+ handleRecordPageChange () {
this.pageRecordData();
},
- pageRecordData() {
+ pageRecordData () {
if (!this.pageRecord.uid && !this.pageRecord.date) {
ElMessage({
showClose: true,
@@ -330,7 +375,7 @@ export default {
pageNo: this.pageRecord.pageNo,
pageSize: this.pageRecord.pageSize,
}).then((res) => {
- if (res.code !== 200){
+ if (res.code !== 200) {
throw new Error(res.msg);
}
this.pageRecord.total = res.data.total;
@@ -345,9 +390,9 @@ export default {
this.pageRecord.loading = false;
});
},
- exportRecord(row){
+ exportRecord (row) {
this.exportLoading = true;
- exportRecord({uid:row.uid, date:row.date})
+ exportRecord({ uid: row.uid, date: row.date })
this.exportLoading = false;
},
},