@@ -318,6 +372,10 @@ const dialog = reactive({
visible: false,
title: ''
});
+const seedialog = reactive({
+ visible: false,
+ title: '活动流程'
+});
const wendadialog = reactive({
visible: false
});
@@ -435,6 +493,16 @@ const handleAdd = () => {
reset();
dialog.visible = true;
listdatatime.value = [{ activityTime: '', planContent: '' }];
+ Mapvalue.value = {
+ address: '',
+ longitude: '',
+ latitude: ''
+ };
+ Mapvaluetwo.value = {
+ address:'',
+ longitude: '',
+ latitude: ''
+ };
dialog.title = '添加活动信息';
};
// 发布撤销发布
@@ -453,7 +521,7 @@ const saveupdate = async (row?: ActivityVO, type) => {
// await updateActivity(form.value).finally(() => (buttonLoading.value = false));
};
/** 修改按钮操作 */
-const handleUpdate = async (row?: ActivityVO) => {
+const handleUpdate = async (row?: ActivityVO, type) => {
reset();
const _id = row?.id || ids.value[0];
const res = await getActivity(_id);
@@ -473,8 +541,12 @@ const handleUpdate = async (row?: ActivityVO) => {
latitude: res.data.activityLatitude
};
listdatatime.value = arr.data;
- dialog.visible = true;
- dialog.title = '修改活动信息';
+ if (type == 3) {
+ seedialog.visible = true;
+ } else {
+ dialog.visible = true;
+ dialog.title = '修改活动信息';
+ }
};
/** 提交按钮 */
@@ -551,6 +623,7 @@ const registrationCountnumlist = async () => {
activityUserstotal.value = res.total;
numdialog.visible = true;
};
+//查看活动流程
const chakanhandle = async (row?: ActivityVO) => {};
onMounted(() => {
getList();
diff --git a/src/views/manage/mkJigsaw/index.vue b/src/views/manage/mkJigsaw/index.vue
index 0c5c0b7..887acc8 100644
--- a/src/views/manage/mkJigsaw/index.vue
+++ b/src/views/manage/mkJigsaw/index.vue
@@ -8,8 +8,8 @@
-
-
+
+
@@ -73,12 +73,22 @@
已发布
-
-
+
+
- 编辑
- 删除
+ 编辑
+ 删除
+ 发布
+ 撤销发布
@@ -123,6 +133,8 @@
date-format="YYYY/MM/DD ddd"
time-format="A hh:mm:ss"
value-format="YYYY-MM-DD HH:mm:ss"
+ :picker-options="{ disabledDate: dateOptions }"
+ @change="mkdatetime"
/>
@@ -151,6 +163,57 @@
+
+