diff --git a/src/assets/img/business_wechat.png b/src/assets/img/business_wechat.png
new file mode 100644
index 00000000..4f2d14b1
Binary files /dev/null and b/src/assets/img/business_wechat.png differ
diff --git a/src/router/index.js b/src/router/index.js
index 518f8f89..383db63c 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -275,6 +275,12 @@ const constantRoutes = [
meta: { showPreview: false, showPublish: false, keepAlive: true, showShare: true },
component: () => import(/* webpackChunkName: "publish" */ '@/views/Publish/launch-center/launch-task/create')
},
+ {
+ path: 'enterprise-weChat',
+ name: 'enterprise-weChat',
+ meta: { showPreview: false, showPublish: false, keepAlive: true, showShare: true },
+ component: () => import(/* webpackChunkName: "publish" */ '@/views/Publish/launch-center/launch-task/enterpriseWeChat')
+ },
// {
// path: "link",
// name: "link",
diff --git a/src/views/Publish/launch-center/components/enterpriseBasicInformation.vue b/src/views/Publish/launch-center/components/enterpriseBasicInformation.vue
new file mode 100644
index 00000000..f46297fd
--- /dev/null
+++ b/src/views/Publish/launch-center/components/enterpriseBasicInformation.vue
@@ -0,0 +1,472 @@
+
+
+
基本信息
+
+
+
+
+
+ {{ formState.deliveryName.length }}/50
+
+
+
+
+
+
+
+ (不开启样本数量限制)
+
+
+
+
+
+
+
![]()
+
复制
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Publish/launch-center/components/enterpriseQuantityLimitTable.vue b/src/views/Publish/launch-center/components/enterpriseQuantityLimitTable.vue
new file mode 100644
index 00000000..91adda4a
--- /dev/null
+++ b/src/views/Publish/launch-center/components/enterpriseQuantityLimitTable.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+ {{ formState.deliveryName.length }}/50
+
+
+
+
+
+ 新增人群包
+
+
+
+
+
+ 查看人群包
+
+
+
+
+
+
+
+
+
+
![]()
+
+ 您好!我们诚邀您参加本次问卷调研。点击
+ xxxx品牌新品调研
+ 即可参与。感谢您的支持。
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Publish/launch-center/launch-task/create.vue b/src/views/Publish/launch-center/launch-task/create.vue
index c23c4d9e..da8a3182 100644
--- a/src/views/Publish/launch-center/launch-task/create.vue
+++ b/src/views/Publish/launch-center/launch-task/create.vue
@@ -252,6 +252,7 @@ export default {
.link-container {
padding: 32px 24px;
background: #fff;
+ box-shadow: 0px 0px 6px 0px rgb(0 0 0 / 10%);
.title {
font-size: 16px;
font-weight: bold;
diff --git a/src/views/Publish/launch-center/launch-task/enterpriseWeChat.vue b/src/views/Publish/launch-center/launch-task/enterpriseWeChat.vue
new file mode 100644
index 00000000..0943b3e6
--- /dev/null
+++ b/src/views/Publish/launch-center/launch-task/enterpriseWeChat.vue
@@ -0,0 +1,394 @@
+
+
+
+
+
+ 渠道应用信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/Publish/launch-center/launch-task/index.vue b/src/views/Publish/launch-center/launch-task/index.vue
index 79a1765e..69e6e73f 100644
--- a/src/views/Publish/launch-center/launch-task/index.vue
+++ b/src/views/Publish/launch-center/launch-task/index.vue
@@ -65,6 +65,45 @@
+
+
+
+
+
![]()
+
企业微信
+
+
+
适用于内部员工调研
+
可指定多成员、多部门、多标签参与
+
+
+ 开始新建
+
+
+
+
小程序
+
+
通过消息中心传递至小程序
+
请先联系小程序运营人员支持标签参与
+
+
+
+ 开始新建
+
+
+
+
@@ -138,16 +177,22 @@ export default {
// projectname.value = res.data.project_name;
};
+ const visible = ref(false)
const addLaunchTask = (iscreate = 0, item) => {
console.log("create", item);
- router.push({
- path: "create",
- query: {
- ...route.query,
- iscreate: iscreate,
- id: item?.record?.plan_id,
- },
- });
+ if(iscreate===1) {
+ visible.value = true
+ }else{
+ // 小程序投放入口
+ router.push({
+ path: "create",
+ query: {
+ ...route.query,
+ iscreate: iscreate,
+ id: item?.record?.plan_id,
+ },
+ });
+ }
};
const lockLaunchTask = (item) => {
addLaunchTask(0, item);
@@ -194,6 +239,35 @@ export default {
}
};
+ const isSelected = ref(0)
+ const onSelected = (isSelect) => {
+ isSelected.value = isSelect
+ }
+ const onNewBuilt = (type) => {
+ if(type===1) {
+ // 企业微信投放入口
+ router.push({
+ path: "enterprise-weChat",
+ query: {
+ ...route.query,
+ iscreate: 1,
+ },
+ });
+ }else{
+ // 小程序投放入口
+ router.push({
+ path: "create",
+ query: {
+ ...route.query,
+ iscreate: 1,
+ },
+ });
+ }
+ }
+ const onCancel = () => {
+ isSelected.value = 0
+ }
+
onMounted(async () => {
await fetchInfo(route.query.sn);
if (status.value === 1) {
@@ -225,6 +299,11 @@ export default {
createQuantityLimitRef,
onPageChange,
onShowSizeChange,
+ visible,
+ isSelected,
+ onSelected,
+ onCancel,
+ onNewBuilt,
};
},
};
@@ -389,4 +468,42 @@ export default {
height: 36px;
border-radius: 6px;
}
+
+.delivery-type {
+ display: flex;
+ justify-content: space-between;
+ .wechat-type {
+ width: 264px;
+ height: 256px;
+ background: #FFFFFF;
+ border-radius: 6px 6px 6px 6px;
+ opacity: 1;
+ border: 1px solid #DFE0E3;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-direction: column;
+ }
+ .wechat-type:hover {
+ cursor: pointer;
+ }
+ .present {
+ margin: 24px 0 31px;
+ text-align: center;
+ color: #908B8B;
+ p {
+ padding: 0;
+ margin: 0;
+ }
+ }
+ .program {
+ margin: 25px 0 32px;
+ }
+ img {
+ margin-right: 9px;
+ }
+ .selected {
+ border: 1px solid #70B936;
+ }
+}