diff --git a/project/fengdu/app/AppIntegratingTask/components/Add.vue b/project/fengdu/app/AppIntegratingTask/components/Add.vue index f8f31201..f7edd201 100644 --- a/project/fengdu/app/AppIntegratingTask/components/Add.vue +++ b/project/fengdu/app/AppIntegratingTask/components/Add.vue @@ -13,7 +13,7 @@ - + - + @@ -60,7 +60,7 @@ - + diff --git a/project/fengdu/app/AppIntegratingTask/components/Detail.vue b/project/fengdu/app/AppIntegratingTask/components/Detail.vue index 0c3cdc38..d6c93ff8 100644 --- a/project/fengdu/app/AppIntegratingTask/components/Detail.vue +++ b/project/fengdu/app/AppIntegratingTask/components/Detail.vue @@ -19,20 +19,50 @@ -
+
- {{ dict.getLabel('tfx_activityStatus',info.status) }} + {{ dict.getLabel('fdIntegralTaskStatus',info.status) }} - {{ info.clockRange }}米 - {{ info.intoBegintime }}至{{ info.intoEndtime}} - {{ info.intoIntegral }}分 - {{ info.exitBegintime }}至{{ info.exitEndtime}} - {{ info.exitIntegral }}分 - {{ info.enrollIntegral }}分 + {{ info.clockRange }}米 + {{ info.intoBegintime }}至{{ info.intoEndtime}} + {{ info.intoIntegral || 0 }}分 + {{ info.exitBegintime }}至{{ info.exitEndtime}} + {{ info.exitIntegral || 0 }}分 + {{ info.enrollIntegral || 0 }}分 + + + + + + @@ -51,7 +81,26 @@ id: '', info: {}, mapDetail: null, - map: null + map: null, + search1: { + total: 0, + current: 1, + size: 10 + }, + tableData1: [], + colConfigs1: [ + {prop: 'realName', label: '姓名', align: 'center' }, + {prop: 'phone', label: '联系方式', align: 'center' }, + {prop: 'areaName', label: '所属地区', align: 'center' }, + {prop: 'intoClockTime', label: '进场打卡时间', align: 'center' }, + {prop: 'exitClockTime', label: '离场打卡时间', align: 'center' } + ], + colConfigs2: [ + {prop: 'realName', label: '姓名', align: 'center' }, + {prop: 'phone', label: '联系方式', align: 'center' }, + {prop: 'areaName', label: '所属地区', align: 'center' }, + {prop: 'enrollClockTime', label: '报名时间', align: 'center' } + ] } }, @@ -60,6 +109,8 @@ this.$dict.load('tfx_activityStatus').then(() => { this.getDetail() }) + + this.getList1() }, methods: { @@ -70,6 +121,18 @@ }) }, + getList1 () { + this.instance.post(`/app/appintegraltask/clockList?taskId=${this.params.id}`,null, { + params: { + ...this.search1, + } + }).then(res=> { + if(res?.data) { + this.tableData1 = res.data.records + this.search1.total = res.data.total + } + }) + }, getMap(lng,lat,address) { AMapLoader.load({ key: '54a02a43d9828a8f9cd4f26fe281e74e', diff --git a/project/fengdu/app/AppIntegratingTask/components/List.vue b/project/fengdu/app/AppIntegratingTask/components/List.vue index de85698c..bb9e69dc 100644 --- a/project/fengdu/app/AppIntegratingTask/components/List.vue +++ b/project/fengdu/app/AppIntegratingTask/components/List.vue @@ -11,9 +11,43 @@ @change="search.current = 1, getList()"> - + @@ -61,7 +95,11 @@ current: 1, size: 10, total: 0, - areaId: '' + title: '', + areaId: '', + status: '', + beginDate: '', + endDate: '' }, tableData: [], img: '', @@ -79,7 +117,8 @@ computed: { colConfigs() { return [ - { prop: "title", label: "活动名称", align: "left", showOverflowTooltip: true }, + { prop: "title", label: "活动名称", align: "left" }, + { prop: "areaName", label: "活动地区", align: "center" }, { prop: "createUserName", label: "创建人", align: "center" }, { prop: "intoBegintime", @@ -90,7 +129,7 @@ { textAlign: 'center' }, - `${row.intoBegintime}至${row.exitEndtime}`) + row.exitEndtime ? `${row.intoBegintime}至${row.exitEndtime}` : row.intoBegintime) }, { prop: "status", label: "活动状态", align: "center", dict:"fdIntegralTaskStatus" }, { slot: "qrcode" },