diff --git a/src/components/commentRows/index.vue b/src/components/commentRows/index.vue index 5dbefd8..4f9fbda 100644 --- a/src/components/commentRows/index.vue +++ b/src/components/commentRows/index.vue @@ -7,7 +7,7 @@
-
+
{{ comment.nickName }}
+ + + + + + + +
@@ -292,8 +307,9 @@ import { updateMkJigsaw, productall, mkJigsawDetaillist, - productCategoryall, mkJoinlist -} from "@/api/manage/mkJigsaw"; + productCategoryall, + mkJoinlist +} from '@/api/manage/mkJigsaw'; import { MkJigsawVO, MkJigsawQuery, MkJigsawForm } from '@/api/manage/mkJigsaw/types'; import { mkRewardUserList } from '@/api/manage/mkConfig'; import { listProductCategory } from '@/api/manage/productCategory'; @@ -310,12 +326,14 @@ const ids = ref>([]); const single = ref(true); const multiple = ref(true); const total = ref(0); +const mkpeopletotal = ref(0); const value2 = ref(''); const queryFormRef = ref(); const mkJigsawFormRef = ref(); const imagegoodsoptions = ref([]); const goodsdata = ref([]); const imagelistdata = ref([]); +const mkpeoplenumdata = ref([]); const note_publish_list = ref([ { label: '已发布', value: 2 }, { label: '审核中', value: 1 }, @@ -332,6 +350,7 @@ const mkRewardUserParams = reactive({ pageSize: 10, bizId: null }); +const taskid = ref(''); const mkReward = reactive({ visible: false }); @@ -345,10 +364,21 @@ const productInfo = reactive({ productShows: null } }); +const mkpeoplenumParams = reactive({ + pageNum: 1, + pageSize: 10, + bizId: null, + type: 2 +}); const mksave = reactive({ visible: false, title: '拼图详情' }); +const mkpeoplenum = reactive({ + visible: false, + title: '参与人数' +}); + const imagedialog = reactive({ visible: false, title: '拼图碎片获得人数' @@ -652,9 +682,18 @@ const mkdatetime = () => { } }; //参与人数 -const handleJoin = async () => { -const res = await mkJoinlist() +const handleJoin = async (row) => { + taskid.value = row.id; + getmkpeoplenlist(); }; +const getmkpeoplenlist = async () => { + mkpeoplenumParams.bizId = taskid; + const res = await mkJoinlist(mkpeoplenumParams); + mkpeoplenumdata.value = res.rows; + mkpeopletotal.value = res.total; + mkpeoplenum.visible = true; +}; + //关闭奖品详情 const cancelProductInfo = () => { productInfo.visible = false; diff --git a/src/views/manage/noteManage/index.vue b/src/views/manage/noteManage/index.vue index 3f8e16b..21e2cab 100644 --- a/src/views/manage/noteManage/index.vue +++ b/src/views/manage/noteManage/index.vue @@ -162,7 +162,7 @@
- +