From 7b44e4df9cb9c8c9a767c8ed30c0a163cf80647d Mon Sep 17 00:00:00 2001 From: zhangyongzhangyong <2012005003@qq.coom> Date: Wed, 3 Jun 2020 09:58:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E6=96=B0=E9=97=BB=E5=8F=91=E7=A8=BF?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/heart/actinfo-list.vue | 18 ++- src/views/modules/heart/actinfo-pull.vue | 154 +++++++++++++++++++++++ 2 files changed, 169 insertions(+), 3 deletions(-) create mode 100644 src/views/modules/heart/actinfo-pull.vue diff --git a/src/views/modules/heart/actinfo-list.vue b/src/views/modules/heart/actinfo-list.vue index b37284a..6831a62 100644 --- a/src/views/modules/heart/actinfo-list.vue +++ b/src/views/modules/heart/actinfo-list.vue @@ -58,7 +58,9 @@ 报名管理 打卡积分 - +
+ 新闻发稿 +
@@ -77,7 +79,7 @@ - + @@ -89,6 +91,7 @@ import ActinfoDetailView from './actinfo-detail-view' import ActUserRelation from './actuserrelation' import ActinfoCancel from './actinfo-cancel' import ActUserClockLog from './actuserclocklog' +import ActinfoPull from './actinfo-pull' export default { mixins: [mixinViewModule], name: 'ActInfoList', @@ -108,6 +111,7 @@ export default { actUserRelationVisible: false, actInfoCancelVisible: false, actUserClockLogVisible: false, + actinfoPullVisible: false, pickerBeginDateBefore: { disabledDate: (time) => { let beginDateVal = this.dataForm.startTime @@ -131,7 +135,8 @@ export default { ActinfoDetailView, ActUserRelation, ActinfoCancel, - ActUserClockLog + ActUserClockLog, + ActinfoPull }, created: function () { this.getDataList() @@ -172,6 +177,13 @@ export default { this.$refs.actinfoCancel.init() }) } + }, + pullHandle (row) { + this.actinfoPullVisible = true + this.$nextTick(() => { + this.$refs.actinfoPull.dataForm.id = row.id + this.$refs.actinfoPull.init() + }) } } } diff --git a/src/views/modules/heart/actinfo-pull.vue b/src/views/modules/heart/actinfo-pull.vue new file mode 100644 index 0000000..8223bd1 --- /dev/null +++ b/src/views/modules/heart/actinfo-pull.vue @@ -0,0 +1,154 @@ + + +