axwen-test31 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.browserslistrc +3 -0
- package/.editorconfig +5 -0
- package/.env.dev +8 -0
- package/.env.sit +4 -0
- package/.env.uat +4 -0
- package/.eslintrc.bak +2 -0
- package/.prettierignore +0 -0
- package/.prettierrc +10 -0
- package/README.md +168 -0
- package/babel.config.js +10 -0
- package/commitlint.config.js +32 -0
- package/package.json +137 -0
- package/postcss.config.js +6 -0
- package/public/StreamSaver.js +310 -0
- package/public/favicon.ico +0 -0
- package/public/favicon_back.ico +0 -0
- package/public/index.html +94 -0
- package/public/mitm.html +166 -0
- package/public/sw.js +124 -0
- package/sj/folder/g6.js +9 -0
- package/sj/g6.js.map +1 -0
- package/sonar-project.properties +5 -0
- package/src/App.vue +46 -0
- package/src/_backup/api/init.js +23 -0
- package/src/_backup/api/system.js +232 -0
- package/src/_backup/views/init-submit-log.vue +46 -0
- package/src/_backup/views/init.vue +112 -0
- package/src/actions.js +22 -0
- package/src/api/act-type-manage.js +49 -0
- package/src/api/allocation-rule.js +14 -0
- package/src/api/analysis.js +13 -0
- package/src/api/anti-disturbance.js +25 -0
- package/src/api/attachment-approval.js +23 -0
- package/src/api/calculate.js +10 -0
- package/src/api/channel-comp.js +47 -0
- package/src/api/channel.js +69 -0
- package/src/api/common.js +45 -0
- package/src/api/customer/customer-explore.js +162 -0
- package/src/api/customer/customer-group.js +168 -0
- package/src/api/customer/customer-tags.js +47 -0
- package/src/api/event.js +143 -0
- package/src/api/file.js +52 -0
- package/src/api/gift.js +69 -0
- package/src/api/init.js +22 -0
- package/src/api/lottery.js +11 -0
- package/src/api/market/component-manage.js +16 -0
- package/src/api/market.js +507 -0
- package/src/api/monitor.js +115 -0
- package/src/api/newHome.js +36 -0
- package/src/api/oa.js +53 -0
- package/src/api/other.js +3 -0
- package/src/api/process.js +29 -0
- package/src/api/product.js +72 -0
- package/src/api/reach.js +126 -0
- package/src/api/reachsource.js +4 -0
- package/src/api/recommend/recommend-fund.js +96 -0
- package/src/api/report.js +44 -0
- package/src/api/resource/file.js +83 -0
- package/src/api/scene.js +72 -0
- package/src/api/system.js +144 -0
- package/src/api/task.js +5 -0
- package/src/api/temp-content.js +36 -0
- package/src/api/template/template-active.js +157 -0
- package/src/api/template/template-app-message.js +14 -0
- package/src/api/template/template-audio.js +17 -0
- package/src/api/template/template-game.js +10 -0
- package/src/api/template/template-h5.js +16 -0
- package/src/api/template/template-message.js +35 -0
- package/src/api/template/template-picture.js +19 -0
- package/src/api/template/template-task.js +9 -0
- package/src/api/user.js +71 -0
- package/src/api/yunhu.js +13 -0
- package/src/assets/fonts/D-DINExp-Bold.otf +0 -0
- package/src/assets/fonts/Helvetica-Bold.ttf +0 -0
- package/src/assets/fonts/fonts.less +8 -0
- package/src/assets/iconfont/iconfont.css +348 -0
- package/src/assets/iconfont/iconfont.eot +0 -0
- package/src/assets/iconfont/iconfont.js +1 -0
- package/src/assets/iconfont/iconfont.json +520 -0
- package/src/assets/iconfont/iconfont.svg +243 -0
- package/src/assets/iconfont/iconfont.ttf +0 -0
- package/src/assets/iconfont/iconfont.woff +0 -0
- package/src/assets/iconfont/iconfont.woff2 +0 -0
- package/src/assets/iconfont1/iconfont.css +359 -0
- package/src/assets/iconfont1/iconfont.js +1 -0
- package/src/assets/iconfont1/iconfont.json +611 -0
- package/src/assets/iconfont1/iconfont.ttf +0 -0
- package/src/assets/iconfont1/iconfont.woff +0 -0
- package/src/assets/iconfont1/iconfont.woff2 +0 -0
- package/src/assets/images/avatar.png +0 -0
- package/src/assets/images/brief-report/bg.png +0 -0
- package/src/assets/images/brief-report/download.png +0 -0
- package/src/assets/images/brief-report/summary.png +0 -0
- package/src/assets/images/canvas-icon/act.png +0 -0
- package/src/assets/images/canvas-icon/activeCst.png +0 -0
- package/src/assets/images/canvas-icon/activityCst.png +0 -0
- package/src/assets/images/canvas-icon/appPush.png +0 -0
- package/src/assets/images/canvas-icon/canvas-bg.png +0 -0
- package/src/assets/images/canvas-icon/chnlRespFlow.png +0 -0
- package/src/assets/images/canvas-icon/composeCst.png +0 -0
- package/src/assets/images/canvas-icon/content.png +0 -0
- package/src/assets/images/canvas-icon/cst.png +0 -0
- package/src/assets/images/canvas-icon/custFlow.png +0 -0
- package/src/assets/images/canvas-icon/ebankApp.png +0 -0
- package/src/assets/images/canvas-icon/equity.png +0 -0
- package/src/assets/images/canvas-icon/evtRespFlow.png +0 -0
- package/src/assets/images/canvas-icon/flowCst.png +0 -0
- package/src/assets/images/canvas-icon/intligCall.png +0 -0
- package/src/assets/images/canvas-icon/labelFlow.png +0 -0
- package/src/assets/images/canvas-icon/merge.png +0 -0
- package/src/assets/images/canvas-icon/prod.png +0 -0
- package/src/assets/images/canvas-icon/randomFlow.png +0 -0
- package/src/assets/images/canvas-icon/sms.png +0 -0
- package/src/assets/images/canvas-icon/teleSalesPlat.png +0 -0
- package/src/assets/images/canvas-icon/waitEvent.png +0 -0
- package/src/assets/images/canvas-icon/waitFixTime.png +0 -0
- package/src/assets/images/canvas-icon/waitToTime.png +0 -0
- package/src/assets/images/canvas-icon/weChat.png +0 -0
- package/src/assets/images/channel-icon/crm.png +0 -0
- package/src/assets/images/channel-icon/ebankapp.png +0 -0
- package/src/assets/images/channel-icon/intligcall.png +0 -0
- package/src/assets/images/channel-icon/manageapp.png +0 -0
- package/src/assets/images/channel-icon/sms.png +0 -0
- package/src/assets/images/channel-icon/telesalesplat.png +0 -0
- package/src/assets/images/channel-icon/wechat.png +0 -0
- package/src/assets/images/channel-icon/wechatminiprogram.png +0 -0
- package/src/assets/images/channel-icon/wechatpublicaccount.png +0 -0
- package/src/assets/images/egg.png +0 -0
- package/src/assets/images/expand.png +0 -0
- package/src/assets/images/icon-png/analysis/right-arrows.png +0 -0
- package/src/assets/images/icon-png/error.png +0 -0
- package/src/assets/images/icon-png/level-icon.png +0 -0
- package/src/assets/images/icon-png/success.png +0 -0
- package/src/assets/images/icon-png/warn.png +0 -0
- package/src/assets/images/icon-side-menu-svg/channel-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/channel.svg +23 -0
- package/src/assets/images/icon-side-menu-svg/cognization-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/cognization.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/customer-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/customer.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/event-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/event.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/home-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/home.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/kehu-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/kehu.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/market-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/market.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/oa-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/oa.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/product-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/product.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/report-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/report.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/resourceManager-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/resourceManager.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/scene-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/scene.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/system-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/system.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/template-selected.svg +1 -0
- package/src/assets/images/icon-side-menu-svg/template.svg +46 -0
- package/src/assets/images/icon-svg/biaoqian.svg +1 -0
- package/src/assets/images/icon-svg/biaoqianxin.svg +1 -0
- package/src/assets/images/icon-svg/big.svg +12 -0
- package/src/assets/images/icon-svg/disabled.svg +17 -0
- package/src/assets/images/icon-svg/fullscreen.svg +25 -0
- package/src/assets/images/icon-svg/huodongmoban.svg +1 -0
- package/src/assets/images/icon-svg/scene-icon.svg +29 -0
- package/src/assets/images/icon-svg/wenjianjiaguanbi.svg +1 -0
- package/src/assets/images/jiugongge.png +0 -0
- package/src/assets/images/login/login-bg.png +0 -0
- package/src/assets/images/login/logo.svg +16 -0
- package/src/assets/images/netError.png +0 -0
- package/src/assets/images/sceneDefaultBg.jpg +0 -0
- package/src/assets/images/starEmpty.png +0 -0
- package/src/assets/images/turntable_circle.png +0 -0
- package/src/assets/images/yatop-logo.png +0 -0
- package/src/assets/less/animation.less +116 -0
- package/src/assets/less/common.less +715 -0
- package/src/assets/less/index.less +9 -0
- package/src/assets/less/reset.less +295 -0
- package/src/assets/less/scroll.less +28 -0
- package/src/assets/less/var.less +74 -0
- package/src/assets/less/yt-ui-cover.less +12 -0
- package/src/assets/svg/1th.svg +27 -0
- package/src/assets/svg/2th.svg +27 -0
- package/src/assets/svg/3th.svg +23 -0
- package/src/assets/svg/activity.svg +45 -0
- package/src/assets/svg/activityCount.svg +43 -0
- package/src/assets/svg/activityCoverCount.svg +40 -0
- package/src/assets/svg/activityNum.svg +39 -0
- package/src/assets/svg/app.svg +55 -0
- package/src/assets/svg/bit.svg +11 -0
- package/src/assets/svg/bizline-active.svg +1 -0
- package/src/assets/svg/bizline.svg +1 -0
- package/src/assets/svg/channel.svg +37 -0
- package/src/assets/svg/chart-empty.svg +1 -0
- package/src/assets/svg/content-error.svg +1 -0
- package/src/assets/svg/content-loading.svg +1 -0
- package/src/assets/svg/custmoer-list.svg +1 -0
- package/src/assets/svg/empty.svg +30 -0
- package/src/assets/svg/empty_2.svg +28 -0
- package/src/assets/svg/equity.svg +39 -0
- package/src/assets/svg/event.svg +38 -0
- package/src/assets/svg/group.svg +24 -0
- package/src/assets/svg/labelCount.svg +34 -0
- package/src/assets/svg/line-center.svg +19 -0
- package/src/assets/svg/line-left.svg +19 -0
- package/src/assets/svg/menu-active.svg +1 -0
- package/src/assets/svg/menu.svg +1 -0
- package/src/assets/svg/message.svg +36 -0
- package/src/assets/svg/monitoring-icon.svg +1 -0
- package/src/assets/svg/org-active.svg +1 -0
- package/src/assets/svg/org.svg +1 -0
- package/src/assets/svg/product.svg +41 -0
- package/src/assets/svg/scene-share.svg +22 -0
- package/src/assets/svg/status-running.svg +19 -0
- package/src/assets/svg/status-stop.svg +16 -0
- package/src/assets/svg/template.svg +40 -0
- package/src/bus.js +3 -0
- package/src/components/Editor.vue +108 -0
- package/src/components/attachment-approval/assets/svg/file-icon-jpg.svg +1 -0
- package/src/components/attachment-approval/assets/svg/file-icon-pdf.svg +1 -0
- package/src/components/attachment-approval/assets/svg/file-icon-png.svg +1 -0
- package/src/components/attachment-approval/assets/svg/file-icon-word.svg +1 -0
- package/src/components/attachment-approval/assets/svg/upload-icon.svg +1 -0
- package/src/components/attachment-approval/attachment-approval-dialog.vue +240 -0
- package/src/components/attachment-approval/attachment-approval-item.vue +88 -0
- package/src/components/attachment-approval/attachment-approval.js +68 -0
- package/src/components/attachment-approval/attachment-approval.vue +124 -0
- package/src/components/channel-components-config/channel-class-rule.vue +54 -0
- package/src/components/channel-components-config/channel-fields.vue +0 -0
- package/src/components/channel-components-config/channel-reach-temp.vue +0 -0
- package/src/components/channel-components-config/channel-select-url-dialog.vue +145 -0
- package/src/components/channel-components-config/channel-select.vue +184 -0
- package/src/components/channel-components-config/channel-switch.vue +69 -0
- package/src/components/channel-components-config/channel-text.vue +75 -0
- package/src/components/channel-components-config/channel-time-range-picker.vue +100 -0
- package/src/components/channel-components-config/channel-time.vue +62 -0
- package/src/components/channel-components-config/channel-timerange.vue +67 -0
- package/src/components/channel-components-config/channel-turnover.vue +51 -0
- package/src/components/channel-components-config/configs.js +13 -0
- package/src/components/channel-components-config/field-key.vue +40 -0
- package/src/components/channel-components-view/channel-class-rule.vue +44 -0
- package/src/components/channel-components-view/channel-fields.vue +0 -0
- package/src/components/channel-components-view/channel-reach-temp.vue +57 -0
- package/src/components/channel-components-view/channel-select.vue +55 -0
- package/src/components/channel-components-view/channel-switch.vue +53 -0
- package/src/components/channel-components-view/channel-text.vue +72 -0
- package/src/components/channel-components-view/channel-time.vue +62 -0
- package/src/components/channel-components-view/channel-timerange.vue +113 -0
- package/src/components/channel-components-view/channel-turnover.vue +57 -0
- package/src/components/channel-params-loading.vue +100 -0
- package/src/components/chart/resize.js +55 -0
- package/src/components/chart/the-chart.vue +68 -0
- package/src/components/creator-select/index.vue +119 -0
- package/src/components/customer-explore-select/index.vue +248 -0
- package/src/components/customer-label-select/index.vue +184 -0
- package/src/components/customer-loading.vue +238 -0
- package/src/components/dynamic-components/form-date.vue +28 -0
- package/src/components/dynamic-components/form-input-number.vue +30 -0
- package/src/components/dynamic-components/form-input.vue +30 -0
- package/src/components/dynamic-components/form-multiple-select.vue +33 -0
- package/src/components/dynamic-components/form-select.vue +37 -0
- package/src/components/dynamic-components/form-time-picker.vue +28 -0
- package/src/components/ellipsisText.vue +45 -0
- package/src/components/empty.vue +22 -0
- package/src/components/event-edit/event-edit.vue +83 -0
- package/src/components/event-edit/index.js +3 -0
- package/src/components/form-img/form-img.vue +82 -0
- package/src/components/form-img/index.js +3 -0
- package/src/components/h5-editor.vue +344 -0
- package/src/components/image-selector/index.js +3 -0
- package/src/components/image-selector/main.vue +239 -0
- package/src/components/member-select.vue +89 -0
- package/src/components/product-select-dialog/index.vue +237 -0
- package/src/components/radio-table.vue +97 -0
- package/src/components/search-select.vue +150 -0
- package/src/components/split-panel/index.js +2 -0
- package/src/components/split-panel/index.less +114 -0
- package/src/components/split-panel/split.vue +159 -0
- package/src/components/split-panel/trigger.vue +43 -0
- package/src/components/system-layout.vue +88 -0
- package/src/components/tag-editor.vue +262 -0
- package/src/components/temp-content/channel-return-dialog.vue +227 -0
- package/src/components/temp-content/event-dialog.vue +298 -0
- package/src/components/temp-content/functions.js +47 -0
- package/src/components/temp-content/index.vue +378 -0
- package/src/components/temp-content/label-dialog.vue +291 -0
- package/src/components/temp-content/product-dialog.vue +268 -0
- package/src/components/temp-content/product-select-dialog.vue +225 -0
- package/src/components/temp-content/temp-content-preview.vue +221 -0
- package/src/components/temp-selector.vue +83 -0
- package/src/components/transform/download-act-btn.vue +245 -0
- package/src/components/transform/download-btn.vue +198 -0
- package/src/components/transform/uploader-btn.vue +143 -0
- package/src/components/transform/uploaderOptions.js +8 -0
- package/src/components/transform/utils/computeMD5.js +61 -0
- package/src/components/tree-select.vue +371 -0
- package/src/components/yt-editor.vue +303 -0
- package/src/components/yt-org/1.json +11720 -0
- package/src/components/yt-org/data.js +159 -0
- package/src/components/yt-org/index.js +3 -0
- package/src/components/yt-org/main.vue +143 -0
- package/src/components/yt-table-download.vue +226 -0
- package/src/components/yt-/342/200/216questionnaire/index.js +3 -0
- package/src/components/yt-/342/200/216questionnaire/main.vue +422 -0
- package/src/directive/common.js +8 -0
- package/src/directive/directives.js +13 -0
- package/src/directive/yt-dialog-drag/index.js +3 -0
- package/src/directive/yt-dialog-drag/yt-dialog-drag.js +88 -0
- package/src/directive/yt-hover/base.js +106 -0
- package/src/directive/yt-hover/index.js +14 -0
- package/src/hooks/index.js +1 -0
- package/src/hooks/system.js +18 -0
- package/src/icons/index.js +3 -0
- package/src/icons/resource/empty.png +0 -0
- package/src/icons/resource/icon.png +0 -0
- package/src/icons/resource/icon2.png +0 -0
- package/src/icons/resource/image.png +0 -0
- package/src/icons/svg/analysis-logo.svg +1 -0
- package/src/icons/svg/btn-export.svg +1 -0
- package/src/icons/svg/channel-class-rule.svg +1 -0
- package/src/icons/svg/channel-fields.svg +1 -0
- package/src/icons/svg/channel-reach-temp.svg +1 -0
- package/src/icons/svg/channel-select.svg +1 -0
- package/src/icons/svg/channel-switch.svg +1 -0
- package/src/icons/svg/channel-text.svg +1 -0
- package/src/icons/svg/channel-time.svg +1 -0
- package/src/icons/svg/channel-timerange.svg +1 -0
- package/src/icons/svg/channel-turnover.svg +1 -0
- package/src/icons/svg/earlyTermination.svg +20 -0
- package/src/icons/svg/equity-active.svg +1 -0
- package/src/icons/svg/equity.svg +1 -0
- package/src/icons/svg/event-file.svg +1 -0
- package/src/icons/svg/event-tree-icon.svg +1 -0
- package/src/icons/svg/finish.svg +20 -0
- package/src/icons/svg/full-screen.svg +12 -0
- package/src/icons/svg/monitoring-operate1.svg +1 -0
- package/src/icons/svg/monitoring-operate2.svg +1 -0
- package/src/icons/svg/monitoring-operate3.svg +1 -0
- package/src/icons/svg/more.svg +12 -0
- package/src/icons/svg/publish.svg +1 -0
- package/src/icons/svg/running.svg +20 -0
- package/src/icons/svg/scene-add.svg +1 -0
- package/src/icons/svg/scene-edit.svg +1 -0
- package/src/icons/svg/scene-sub.svg +1 -0
- package/src/icons/svg/tree-add.svg +1 -0
- package/src/icons/svg/tree-del.svg +1 -0
- package/src/icons/svg/tree-down.svg +1 -0
- package/src/icons/svg/tree-edit.svg +1 -0
- package/src/icons/svg/tree-file.svg +1 -0
- package/src/icons/svg/tree-refresh.svg +1 -0
- package/src/icons/svg/tree-up.svg +1 -0
- package/src/icons/svgo.yml +21 -0
- package/src/layout/layout-chrome-nav.vue +420 -0
- package/src/layout/layout-header.vue +393 -0
- package/src/layout/layout-nav.vue +583 -0
- package/src/layout/layout-side1.vue +290 -0
- package/src/layout/layout-water.vue +75 -0
- package/src/layout/layout.vue +610 -0
- package/src/layout/my-keep-alive.js +178 -0
- package/src/libs/yt-ui/index.js +9 -0
- package/src/main.js +149 -0
- package/src/micro-app.js +113 -0
- package/src/public-path.js +9 -0
- package/src/router/analysis.js +21 -0
- package/src/router/brief-report.js +13 -0
- package/src/router/channel.js +22 -0
- package/src/router/controlCenter.js +39 -0
- package/src/router/customer.js +367 -0
- package/src/router/event-center.js +409 -0
- package/src/router/gift.js +31 -0
- package/src/router/h5-lucky-draw.js +183 -0
- package/src/router/index.js +164 -0
- package/src/router/market-activity.js +31 -0
- package/src/router/market.js +499 -0
- package/src/router/monitoring-center.js +39 -0
- package/src/router/oa.js +41 -0
- package/src/router/process.js +58 -0
- package/src/router/productCenter.js +60 -0
- package/src/router/reach-center.js +349 -0
- package/src/router/report.js +274 -0
- package/src/router/scene.js +64 -0
- package/src/router/system.js +147 -0
- package/src/router/task.js +13 -0
- package/src/router/template.js +161 -0
- package/src/sensors.js +22 -0
- package/src/store/index.js +364 -0
- package/src/store/modules/common.js +37 -0
- package/src/store/modules/customerExplore.js +24 -0
- package/src/store/modules/market.js +31 -0
- package/src/store/modules/nav.js +97 -0
- package/src/store/variables.js +87 -0
- package/src/styles/common.less +4 -0
- package/src/styles/el-custom.less +106 -0
- package/src/styles/index.less +4 -0
- package/src/styles/tailwind.less +34 -0
- package/src/styles/yt-custom.less +31 -0
- package/src/utils/ajax.js +377 -0
- package/src/utils/auth.js +18 -0
- package/src/utils/buildHTML.js +194 -0
- package/src/utils/charts.js +51 -0
- package/src/utils/clickoutside.js +58 -0
- package/src/utils/copyLink.js +18 -0
- package/src/utils/deepClone.js +71 -0
- package/src/utils/dom.js +194 -0
- package/src/utils/encrypt.js +113 -0
- package/src/utils/getOptions.js +35 -0
- package/src/utils/htmlToPdf.js +56 -0
- package/src/utils/image.js +24 -0
- package/src/utils/index.js +786 -0
- package/src/utils/monitor.js +57 -0
- package/src/utils/repeatApi.js +39 -0
- package/src/utils/setProfile.js +21 -0
- package/src/utils/user.js +34 -0
- package/src/utils/variable.js +503 -0
- package/src/utils/xml.js +133 -0
- package/src/views/404.vue +96 -0
- package/src/views/abnormal-activity/index.vue +120 -0
- package/src/views/allocation-rule/common.js +12 -0
- package/src/views/allocation-rule/components/attr-select.vue +89 -0
- package/src/views/allocation-rule/index.vue +283 -0
- package/src/views/analysis/activity/Detail.vue +375 -0
- package/src/views/analysis/activity/Effect.vue +349 -0
- package/src/views/analysis/activity/Overview.vue +339 -0
- package/src/views/analysis/activity/index.vue +93 -0
- package/src/views/analysis/index.vue +12 -0
- package/src/views/analysis/utils.js +40 -0
- package/src/views/blank.vue +88 -0
- package/src/views/briefReportNew/components/bar-card.vue +110 -0
- package/src/views/briefReportNew/components/progress-list.vue +66 -0
- package/src/views/briefReportNew/components/tab-content.vue +179 -0
- package/src/views/briefReportNew/components/table-list.vue +102 -0
- package/src/views/briefReportNew/components/target-card.vue +75 -0
- package/src/views/briefReportNew/components/the-pending-table.vue +71 -0
- package/src/views/briefReportNew/components/the-pengding-progress.vue +75 -0
- package/src/views/briefReportNew/config/option.js +20 -0
- package/src/views/briefReportNew/index.vue +221 -0
- package/src/views/channel/avoidDisturb/avoid-disturb-range-picker.vue +49 -0
- package/src/views/channel/avoidDisturb/cstRange.vue +89 -0
- package/src/views/channel/avoidDisturb/index.vue +703 -0
- package/src/views/channel/channel-side.vue +354 -0
- package/src/views/channel/format.js +72 -0
- package/src/views/channel/index.vue +535 -0
- package/src/views/channel-components/components/component-left.vue +525 -0
- package/src/views/channel-components/components/component-view-item.vue +70 -0
- package/src/views/channel-components/components/components-configs.vue +104 -0
- package/src/views/channel-components/components/components-content.vue +288 -0
- package/src/views/channel-components/components/content-comp-dialog.vue +157 -0
- package/src/views/channel-components/config.js +273 -0
- package/src/views/channel-components/edit.vue +289 -0
- package/src/views/channel-components/index.vue +210 -0
- package/src/views/channel-components/util.js +20 -0
- package/src/views/controlCenter/chart-line.vue +64 -0
- package/src/views/controlCenter/chartOption.js +321 -0
- package/src/views/controlCenter/common-label.vue +48 -0
- package/src/views/controlCenter/content-card.vue +39 -0
- package/src/views/controlCenter/detail/channelDetail.vue +135 -0
- package/src/views/controlCenter/detail/eventDetail.vue +123 -0
- package/src/views/controlCenter/detail/labelDetail.vue +91 -0
- package/src/views/controlCenter/index.vue +146 -0
- package/src/views/controlCenter/label-card.vue +48 -0
- package/src/views/controlCenter/tab-content.vue +189 -0
- package/src/views/customer/app-act.vue +314 -0
- package/src/views/customer/bitmap/condition-save.vue +80 -0
- package/src/views/customer/bitmap/dialog.vue +129 -0
- package/src/views/customer/bitmap/loading-condition.vue +176 -0
- package/src/views/customer/bitmap/loading-log.vue +110 -0
- package/src/views/customer/bitmap/pre-loading.vue +241 -0
- package/src/views/customer/business-editor-tree.vue +309 -0
- package/src/views/customer/components/compound-tags-dialog.vue +141 -0
- package/src/views/customer/components/customer-to-group.vue +549 -0
- package/src/views/customer/components/reward-punishment.vue +106 -0
- package/src/views/customer/compound-tags.vue +231 -0
- package/src/views/customer/computed-tags/confirm-modal-new.vue +473 -0
- package/src/views/customer/computed-tags/confirm-modal.vue +116 -0
- package/src/views/customer/computed-tags/edit-modal-new.vue +512 -0
- package/src/views/customer/computed-tags/index.vue +290 -0
- package/src/views/customer/customer-ai-group-detail.vue +421 -0
- package/src/views/customer/customer-ai-group.vue +124 -0
- package/src/views/customer/customer-editor-header.vue +165 -0
- package/src/views/customer/customer-editor-list-multiple.vue +47 -0
- package/src/views/customer/customer-editor-list.vue +363 -0
- package/src/views/customer/customer-editor-org.vue +60 -0
- package/src/views/customer/customer-editor-save.vue +140 -0
- package/src/views/customer/customer-editor-tree-detail.vue +66 -0
- package/src/views/customer/customer-editor-tree.vue +457 -0
- package/src/views/customer/customer-get-from-group.vue +167 -0
- package/src/views/customer/customer-group-result-charts.vue +263 -0
- package/src/views/customer/customer-group-upload-detail.vue +211 -0
- package/src/views/customer/customer-group-upload-ext.vue +290 -0
- package/src/views/customer/customer-group-upload.vue +291 -0
- package/src/views/customer/customer-group.vue +521 -0
- package/src/views/customer/customer-judge-cst-group.vue +190 -0
- package/src/views/customer/customer-label-update-recycler.vue +151 -0
- package/src/views/customer/customer-label-update.vue +366 -0
- package/src/views/customer/customer-result-charts-detail.vue +387 -0
- package/src/views/customer/customer-result-charts.vue +264 -0
- package/src/views/customer/customer-result-checkbox.vue +58 -0
- package/src/views/customer/customer-result-fields-select-avyno.vue +298 -0
- package/src/views/customer/customer-result-fields-select-model.vue +241 -0
- package/src/views/customer/customer-result-fields-select-tab.vue +229 -0
- package/src/views/customer/customer-result-fields-select.vue +271 -0
- package/src/views/customer/customer-result-fields.vue +313 -0
- package/src/views/customer/customer-result-filter.vue +265 -0
- package/src/views/customer/customer-result.vue +499 -0
- package/src/views/customer/explore/customer-explore-detail.vue +421 -0
- package/src/views/customer/explore/customer-explore.vue +623 -0
- package/src/views/customer/explore/customer-twice-explore.vue +566 -0
- package/src/views/customer/growth-center.vue +156 -0
- package/src/views/customer/gruop/group-member.vue +338 -0
- package/src/views/customer/gruop/member-dialog.vue +179 -0
- package/src/views/customer/gruop/member-maintain.vue +241 -0
- package/src/views/customer/marketing-anti-disturbance.vue +199 -0
- package/src/views/customer/name-manage/index.vue +155 -0
- package/src/views/customer/name-manage/rule-name.vue +138 -0
- package/src/views/customer/personas/age-chart.vue +177 -0
- package/src/views/customer/personas/count-chart.vue +154 -0
- package/src/views/customer/personas/index.vue +220 -0
- package/src/views/customer/personas/level-chart.vue +143 -0
- package/src/views/customer/staff-center.vue +237 -0
- package/src/views/gift/gift-type-manage/gift-list-dialog.vue +115 -0
- package/src/views/gift/gift-type-manage/index.vue +85 -0
- package/src/views/gift/gift-type-manage/type-edit-dialog.vue +104 -0
- package/src/views/gift/gift-type-manage/type-select.vue +198 -0
- package/src/views/gift/gift-type-manage/type-table.vue +494 -0
- package/src/views/gift/gift-type-manage/type-tree.vue +333 -0
- package/src/views/gift/manage/index.vue +85 -0
- package/src/views/gift/manage/list/index.vue +545 -0
- package/src/views/gift/manage/pack/gift-select-dialog.vue +302 -0
- package/src/views/gift/manage/pack/gift-select.vue +201 -0
- package/src/views/gift/manage/pack/index.vue +583 -0
- package/src/views/gift/manage/pack/log-dialog.vue +294 -0
- package/src/views/gift/type/gift-list-dialog.vue +164 -0
- package/src/views/gift/type/gift-setting-dialog.vue +198 -0
- package/src/views/gift/type/index.vue +81 -0
- package/src/views/gift/type/type-edit-dialog.vue +109 -0
- package/src/views/gift/type/type-select.vue +184 -0
- package/src/views/gift/type/type-table.vue +482 -0
- package/src/views/gift/type/type-tree.vue +283 -0
- package/src/views/home-new/activity-data.vue +214 -0
- package/src/views/home-new/activity-strategy.vue +129 -0
- package/src/views/home-new/channel-data.vue +95 -0
- package/src/views/home-new/common/option.js +260 -0
- package/src/views/home-new/components/AnnoumcementDetail.vue +234 -0
- package/src/views/home-new/components/chart-container.vue +54 -0
- package/src/views/home-new/components/chart-parent.vue +111 -0
- package/src/views/home-new/components/chart-switch.vue +172 -0
- package/src/views/home-new/components/detail-card.vue +180 -0
- package/src/views/home-new/components/empty.vue +22 -0
- package/src/views/home-new/components/msg-card.vue +194 -0
- package/src/views/home-new/components/notice-card copy.vue +82 -0
- package/src/views/home-new/components/notice-card.vue +129 -0
- package/src/views/home-new/components/part-body.vue +36 -0
- package/src/views/home-new/components/ranking-list.vue +84 -0
- package/src/views/home-new/components/statistics-small-card.vue +70 -0
- package/src/views/home-new/components/tab-content.vue +168 -0
- package/src/views/home-new/index.vue +469 -0
- package/src/views/home-new/label-data.vue +271 -0
- package/src/views/home-new/list-data.vue +99 -0
- package/src/views/identify.vue +121 -0
- package/src/views/iframe/activity-detail-report.vue +31 -0
- package/src/views/iframe/analysis-activity-effectiveness.vue +31 -0
- package/src/views/iframe/analysis-activity-summary.vue +29 -0
- package/src/views/iframe/analysis-effectiveness-funnel.vue +29 -0
- package/src/views/iframe/analysis-market-effectiveness.vue +29 -0
- package/src/views/iframe/analysis-market-summary.vue +29 -0
- package/src/views/iframe/business-detail.vue +31 -0
- package/src/views/iframe/business-summary-account.vue +31 -0
- package/src/views/iframe/business-summary-branch.vue +31 -0
- package/src/views/iframe/business-summary-head.vue +31 -0
- package/src/views/iframe/business-summary-sub.vue +31 -0
- package/src/views/iframe/business-summary.vue +31 -0
- package/src/views/iframe/customer-purch-details.vue +31 -0
- package/src/views/iframe/customer-repurch-behavior.vue +31 -0
- package/src/views/iframe/product-sale-analysis.vue +31 -0
- package/src/views/iframe/product-sales-channel.vue +31 -0
- package/src/views/iframe/purch-product-detail.vue +31 -0
- package/src/views/iframe/self-analysis.vue +31 -0
- package/src/views/login/index.vue +184 -0
- package/src/views/login/login.less +97 -0
- package/src/views/market/act-type-setting/act-type-edit-dialog.vue +111 -0
- package/src/views/market/act-type-setting/act-type-select.vue +153 -0
- package/src/views/market/act-type-setting/act-type-table.vue +455 -0
- package/src/views/market/act-type-setting/act-type-tree.vue +235 -0
- package/src/views/market/act-type-setting/index.vue +71 -0
- package/src/views/market/business/components/add.vue +638 -0
- package/src/views/market/business/components/app-pop-template.vue +182 -0
- package/src/views/market/business/components/business-pause.vue +99 -0
- package/src/views/market/business/components/business-recover.vue +131 -0
- package/src/views/market/business/components/business-side-channel.vue +265 -0
- package/src/views/market/business/components/business-side-content.vue +503 -0
- package/src/views/market/business/components/business-side-customer.vue +257 -0
- package/src/views/market/business/components/business-side-detail.vue +305 -0
- package/src/views/market/business/components/business-side-opportunity-trigger.vue +427 -0
- package/src/views/market/business/components/util.js +379 -0
- package/src/views/market/business/index.vue +468 -0
- package/src/views/market/calculate/customer-group.vue +199 -0
- package/src/views/market/calculate/history-data.vue +457 -0
- package/src/views/market/calculate/index.vue +260 -0
- package/src/views/market/common/config.js +352 -0
- package/src/views/market/component-manage/index.vue +150 -0
- package/src/views/market/components/act-target.vue +548 -0
- package/src/views/market/components/activity-import-dialog.vue +115 -0
- package/src/views/market/components/channel-target.vue +204 -0
- package/src/views/market/components/corn-editor-dialog-new.vue +304 -0
- package/src/views/market/components/corn-editor.vue +115 -0
- package/src/views/market/components/cycle-setting.vue +321 -0
- package/src/views/market/components/event-group-selector.vue +140 -0
- package/src/views/market/components/event-template/apply-confirm.vue +56 -0
- package/src/views/market/components/event-template/index-origin.vue +357 -0
- package/src/views/market/components/event-template/index.vue +466 -0
- package/src/views/market/components/event-template/scene-template-index.vue +304 -0
- package/src/views/market/components/event-template/scene-template.vue +85 -0
- package/src/views/market/components/event-template/share-dialog.vue +111 -0
- package/src/views/market/components/event-template/template-item.vue +243 -0
- package/src/views/market/components/game-temp.vue +169 -0
- package/src/views/market/components/sub-activity-table.vue +173 -0
- package/src/views/market/components/target-run-time.vue +94 -0
- package/src/views/market/components/task-temp.vue +155 -0
- package/src/views/market/event/event-channel-status.vue +30 -0
- package/src/views/market/event/event-cycle.vue +773 -0
- package/src/views/market/event/event-delay.vue +102 -0
- package/src/views/market/event/event-log.vue +214 -0
- package/src/views/market/event/event-modify-dialog.vue +76 -0
- package/src/views/market/event/event-timeline.vue +80 -0
- package/src/views/market/event/event.vue +1226 -0
- package/src/views/market/event/lotteryManage.vue +602 -0
- package/src/views/market/external-act-manage/index.vue +329 -0
- package/src/views/market/group/group-analysis.vue +213 -0
- package/src/views/market/group/group-edit.vue +437 -0
- package/src/views/market/group/group-link.vue +127 -0
- package/src/views/market/group/group.vue +208 -0
- package/src/views/market/index.vue +441 -0
- package/src/views/market/lottery/creatActivity.vue +108 -0
- package/src/views/market/lottery/lotteryManage.vue +212 -0
- package/src/views/market/lottery/publish.vue +299 -0
- package/src/views/market/lottery/rewardTable.vue +310 -0
- package/src/views/market/lottery/uploadImage.vue +62 -0
- package/src/views/market/market-event-create/index.vue +371 -0
- package/src/views/market/market-event-create/market-event-base/cost-dialog.vue +103 -0
- package/src/views/market/market-event-create/market-event-base/costs-manager.vue +322 -0
- package/src/views/market/market-event-create/market-event-base/index.vue +947 -0
- package/src/views/market/market-event-create/market-event-detail/event-canvas.vue +1580 -0
- package/src/views/market/market-event-create/market-event-detail/event-main-btns.vue +1784 -0
- package/src/views/market/market-event-create/market-event-detail/event-main.vue +984 -0
- package/src/views/market/market-event-create/market-event-detail/index.vue +144 -0
- package/src/views/market/market-event-detail-pro/components/act-target-detail.vue +184 -0
- package/src/views/market/market-event-detail-pro/components/act-target.vue +273 -0
- package/src/views/market/market-event-detail-pro/components/test-group.vue +57 -0
- package/src/views/market/market-event-detail-pro/detail.json +218 -0
- package/src/views/market/market-event-detail-pro/event-canvas-detail.vue +826 -0
- package/src/views/market/market-event-detail-pro/event-detail-base.vue +765 -0
- package/src/views/market/market-event-detail-pro/event-detail-exam.vue +318 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/canvas.less +145 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/channels/call.js +185 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/channels/client.js +106 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/channels/dynamic-channel.js +181 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/channels/handbnk.js +120 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/channels/phonebnk.js +166 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/channels/sms.js +165 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/channels/teleSalesPlat.js +150 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/channels/wechat.js +9 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/common.js +135 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/customer/activityCst.js +58 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/customer/composeCst.js +30 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/customer/cst.js +165 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/customer/flowCst.js +30 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/index.js +148 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/optionsApi.js +290 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/resources/activity.js +31 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/resources/content.js +237 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/resources/gift.js +72 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/resources/product.js +59 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/channel.js +17 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/channelBranch.js +103 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/customer.js +14 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/customerBranch.js +60 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/event.js +69 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/eventBranch.js +65 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/eventRespFlowBranchNoResp.js +5 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/eventRespFlowBranchResp.js +6 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/label.js +14 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/labelBranch.js +24 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/merge.js +20 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/random.js +29 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/split/randomBranch.js +22 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/time/waitEvent.js +123 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/time/waitFixTime.js +50 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/time/waitToTime.js +97 -0
- package/src/views/market/market-event-detail-pro/htmlGenerator/util.js +179 -0
- package/src/views/market/market-event-detail-pro/index.vue +373 -0
- package/src/views/market/market-event-detail-pro/market-event-approval-detail.vue +373 -0
- package/src/views/market/market-event-detail-pro/time/event-approve-time.vue +60 -0
- package/src/views/market/market-event-detail-pro/time/event-run-time.vue +89 -0
- package/src/views/market/market-event-detail-pro/time/event-watch-time.vue +99 -0
- package/src/views/market/market-event-edit/act-event.vue +675 -0
- package/src/views/market/market-event-edit/event-calc-btns.vue +107 -0
- package/src/views/market/market-event-edit/event-calc.vue +122 -0
- package/src/views/market/market-event-edit/event-canvas.vue +1593 -0
- package/src/views/market/market-event-edit/event-dialog-edit.vue +711 -0
- package/src/views/market/market-event-edit/event-main-btns.vue +1008 -0
- package/src/views/market/market-event-edit/event-main.vue +528 -0
- package/src/views/market/market-event-edit/event-publish-confirm.vue +47 -0
- package/src/views/market/market-event-edit/index.vue +62 -0
- package/src/views/market/market-event-edit/select/node-select-appact.vue +119 -0
- package/src/views/market/market-event-edit/select/node-select-channel-tag-ai.vue +192 -0
- package/src/views/market/market-event-edit/select/node-select-channel-tag.vue +242 -0
- package/src/views/market/market-event-edit/select/node-select-customer-ai-group.vue +113 -0
- package/src/views/market/market-event-edit/select/node-select-customer-detail.vue +196 -0
- package/src/views/market/market-event-edit/select/node-select-customer-group.vue +62 -0
- package/src/views/market/market-event-edit/select/node-select-customer.vue +105 -0
- package/src/views/market/market-event-edit/select/node-select-event.vue +123 -0
- package/src/views/market/market-event-edit/select/node-select-explore-group.vue +74 -0
- package/src/views/market/market-event-edit/select/node-select-explore.vue +86 -0
- package/src/views/market/market-event-edit/select/node-select-group.vue +884 -0
- package/src/views/market/market-event-edit/select/node-select-limit-time.vue +72 -0
- package/src/views/market/market-event-edit/select/node-select-maincontent-tag.vue +84 -0
- package/src/views/market/market-event-edit/select/node-select-message.vue +332 -0
- package/src/views/market/market-event-edit/select/node-select-questionnaire.vue +92 -0
- package/src/views/market/market-event-edit/select/node-select-suprecord.vue +97 -0
- package/src/views/market/market-event-edit/select/node-select-tag-customer.vue +210 -0
- package/src/views/market/market-event-edit/select/node-select-unique-customer.vue +83 -0
- package/src/views/market/market-event-edit/select/node-select.vue +280 -0
- package/src/views/market/market-event-edit/select/node-temp-detail.vue +88 -0
- package/src/views/market/market-event-edit/side/dialog-side.vue +87 -0
- package/src/views/market/market-event-edit/side/event-form.vue +837 -0
- package/src/views/market/market-event-edit/side/node-side-channel.vue +977 -0
- package/src/views/market/market-event-edit/side/node-side-content.vue +167 -0
- package/src/views/market/market-event-edit/side/node-side-customer.vue +425 -0
- package/src/views/market/market-event-edit/side/node-side-detail.vue +620 -0
- package/src/views/market/market-event-edit/side/node-side-event.vue +378 -0
- package/src/views/market/market-event-edit/side/node-side-merge-branch.vue +108 -0
- package/src/views/market/market-event-edit/side/node-side-merge-table.vue +149 -0
- package/src/views/market/market-event-edit/side/node-side-merge.vue +117 -0
- package/src/views/market/market-event-edit/side/node-side-strategy-branch-editor.vue +205 -0
- package/src/views/market/market-event-edit/side/node-side-strategy-branch.vue +286 -0
- package/src/views/market/market-event-edit/side/node-side-strategy-table.vue +210 -0
- package/src/views/market/market-event-edit/side/node-side-strategy.vue +200 -0
- package/src/views/market/market-event-edit/side/node-side-time-config.vue +45 -0
- package/src/views/market/market-event-edit/side/node-side-time.vue +126 -0
- package/src/views/market/market-event-edit/side/node-upload-customer-detail.vue +252 -0
- package/src/views/market/market-event-edit/side/qrcode-preview.vue +25 -0
- package/src/views/market/market-event-edit/time/event-approve-time.vue +58 -0
- package/src/views/market/market-event-edit/time/event-run-time.vue +88 -0
- package/src/views/market/market-event-edit/time/event-watch-time.vue +88 -0
- package/src/views/market/market-event-edit/util.js +1832 -0
- package/src/views/market/market-event-edit-pro/dialog/components/content-analysi-channel.vue +190 -0
- package/src/views/market/market-event-edit-pro/dialog/components/content-analysis-customer.vue +199 -0
- package/src/views/market/market-event-edit-pro/dialog/components/content-analysis-flow-branch.vue +170 -0
- package/src/views/market/market-event-edit-pro/dialog/components/content-analysis-flow.vue +168 -0
- package/src/views/market/market-event-edit-pro/dialog/components/content-analysis-waitEvent.vue +194 -0
- package/src/views/market/market-event-edit-pro/dialog/components/content-analysis-waitFixTime.vue +143 -0
- package/src/views/market/market-event-edit-pro/dialog/components/node-customer-list.vue +293 -0
- package/src/views/market/market-event-edit-pro/dialog/components/node-equity-list.vue +225 -0
- package/src/views/market/market-event-edit-pro/dialog/components/options.js +318 -0
- package/src/views/market/market-event-edit-pro/dialog/components/theEchartFunctional.vue +179 -0
- package/src/views/market/market-event-edit-pro/dialog/event-template-save.vue +93 -0
- package/src/views/market/market-event-edit-pro/dialog/fail-upload-list.vue +96 -0
- package/src/views/market/market-event-edit-pro/dialog/node-content-analysis.vue +86 -0
- package/src/views/market/market-event-edit-pro/dialog/node-content-error.vue +131 -0
- package/src/views/market/market-event-edit-pro/dialog/same-type-customer-list.vue +183 -0
- package/src/views/market/market-event-edit-pro/dialog/upload.vue +316 -0
- package/src/views/market/market-event-edit-pro/event-base.vue +594 -0
- package/src/views/market/market-event-edit-pro/event-calc-btns.vue +132 -0
- package/src/views/market/market-event-edit-pro/event-calc.vue +129 -0
- package/src/views/market/market-event-edit-pro/event-canvas.vue +1434 -0
- package/src/views/market/market-event-edit-pro/event-main-btns.vue +1187 -0
- package/src/views/market/market-event-edit-pro/event-main.vue +755 -0
- package/src/views/market/market-event-edit-pro/event-publish-confirm.vue +47 -0
- package/src/views/market/market-event-edit-pro/function/channel-func.js +18 -0
- package/src/views/market/market-event-edit-pro/function/getNodeForm.js +755 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/active.js +35 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/anchor-add-edge.js +536 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/brush-select.js +266 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/click-select.js +104 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/copy-paste.js +317 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/drag-canvas.js +167 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/drag-node.js +518 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/index.js +15 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/key-delete.js +250 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/paste.js +328 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/search-node.js +72 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/select-all.js +78 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/template-use.js +51 -0
- package/src/views/market/market-event-edit-pro/g6-config/behavior/zoom-canvas.js +66 -0
- package/src/views/market/market-event-edit-pro/g6-config/common.js +84 -0
- package/src/views/market/market-event-edit-pro/g6-config/flow-line-readonly.js +59 -0
- package/src/views/market/market-event-edit-pro/g6-config/flow-line.js +306 -0
- package/src/views/market/market-event-edit-pro/g6-config/flow-node-readonly.js +171 -0
- package/src/views/market/market-event-edit-pro/g6-config/flow-node.js +420 -0
- package/src/views/market/market-event-edit-pro/g6-config/index.js +57 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/AlignToolBar.js +369 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/Base.js +65 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/DefaultToolBar.js +425 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/FullScreenToolBar.js +212 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/Grid.js +66 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/MenuToolBar.js +1858 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/Minimap.js +510 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/SearchToolBar.js +356 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/ZoomToolBar.js +372 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/alignBottom.svg +12 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/alignCenter.svg +20 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/alignHorizontal.svg +12 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/alignLeft.svg +12 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/alignMiddle.svg +14 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/alignRight.svg +12 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/alignTop.svg +12 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/alignVertical.svg +12 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/beautify.svg +30 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/clear.svg +12 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/close.svg +12 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/detail.svg +20 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/download.svg +17 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/hide.svg +15 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/link.svg +17 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/more.svg +1 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/panorama.svg +10 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/redo.svg +11 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/rightClick-allSelect.svg +14 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/rightClick-copy.svg +24 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/rightClick-del.svg +27 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/rightClick-enable.svg +1 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/rightClick-group.svg +15 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/rightClick-paste.svg +25 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/rightClick-stop.svg +1 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/rightClick-switch.svg +1 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/show.svg +15 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/template.svg +23 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/undo.svg +11 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/zoom-in.svg +12 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/imgs/zoom-out.svg +12 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/index.js +22 -0
- package/src/views/market/market-event-edit-pro/g6-config/plugins/util.js +6 -0
- package/src/views/market/market-event-edit-pro/g6-config/stack/index.js +111 -0
- package/src/views/market/market-event-edit-pro/g6-config/stack/linked-list.js +236 -0
- package/src/views/market/market-event-edit-pro/g6-config/stack/stack.js +61 -0
- package/src/views/market/market-event-edit-pro/index.vue +71 -0
- package/src/views/market/market-event-edit-pro/select/detail-test-run-customer.vue +252 -0
- package/src/views/market/market-event-edit-pro/select/endday-trigger-rule.vue +195 -0
- package/src/views/market/market-event-edit-pro/select/node-select-act-case-library.vue +283 -0
- package/src/views/market/market-event-edit-pro/select/node-select-act-gift-group-copy.vue +438 -0
- package/src/views/market/market-event-edit-pro/select/node-select-act-gift-group.vue +851 -0
- package/src/views/market/market-event-edit-pro/select/node-select-allocation-rule.vue +126 -0
- package/src/views/market/market-event-edit-pro/select/node-select-app-act-group.vue +84 -0
- package/src/views/market/market-event-edit-pro/select/node-select-appact.vue +120 -0
- package/src/views/market/market-event-edit-pro/select/node-select-call-name.vue +156 -0
- package/src/views/market/market-event-edit-pro/select/node-select-channel-tag-ai.vue +191 -0
- package/src/views/market/market-event-edit-pro/select/node-select-channel-tag-customer.vue +202 -0
- package/src/views/market/market-event-edit-pro/select/node-select-channel-tag.vue +341 -0
- package/src/views/market/market-event-edit-pro/select/node-select-content-act.vue +314 -0
- package/src/views/market/market-event-edit-pro/select/node-select-content-equity.vue +488 -0
- package/src/views/market/market-event-edit-pro/select/node-select-content-graphic-template-detail.vue +200 -0
- package/src/views/market/market-event-edit-pro/select/node-select-content-graphic-template.vue +118 -0
- package/src/views/market/market-event-edit-pro/select/node-select-content-pro.vue +412 -0
- package/src/views/market/market-event-edit-pro/select/node-select-content-tab.vue +409 -0
- package/src/views/market/market-event-edit-pro/select/node-select-content-temp-inside.vue +193 -0
- package/src/views/market/market-event-edit-pro/select/node-select-content-temp-outside.vue +268 -0
- package/src/views/market/market-event-edit-pro/select/node-select-customer-ai-group.vue +118 -0
- package/src/views/market/market-event-edit-pro/select/node-select-customer-detail.vue +195 -0
- package/src/views/market/market-event-edit-pro/select/node-select-customer-group-tag.vue +396 -0
- package/src/views/market/market-event-edit-pro/select/node-select-customer-group.vue +62 -0
- package/src/views/market/market-event-edit-pro/select/node-select-customer-import.vue +168 -0
- package/src/views/market/market-event-edit-pro/select/node-select-customer.vue +105 -0
- package/src/views/market/market-event-edit-pro/select/node-select-equity-adv.vue +119 -0
- package/src/views/market/market-event-edit-pro/select/node-select-event.vue +128 -0
- package/src/views/market/market-event-edit-pro/select/node-select-explore-group.vue +66 -0
- package/src/views/market/market-event-edit-pro/select/node-select-external-act-copy.vue +279 -0
- package/src/views/market/market-event-edit-pro/select/node-select-external-act.vue +228 -0
- package/src/views/market/market-event-edit-pro/select/node-select-group.vue +1129 -0
- package/src/views/market/market-event-edit-pro/select/node-select-label-group.vue +930 -0
- package/src/views/market/market-event-edit-pro/select/node-select-maincontent-tag.vue +84 -0
- package/src/views/market/market-event-edit-pro/select/node-select-message.vue +384 -0
- package/src/views/market/market-event-edit-pro/select/node-select-prod-adv.vue +115 -0
- package/src/views/market/market-event-edit-pro/select/node-select-prod-detail.vue +126 -0
- package/src/views/market/market-event-edit-pro/select/node-select-prod-pro-name.vue +345 -0
- package/src/views/market/market-event-edit-pro/select/node-select-strtg-name.vue +147 -0
- package/src/views/market/market-event-edit-pro/select/node-select-suprecord.vue +97 -0
- package/src/views/market/market-event-edit-pro/select/node-select-tag-customer.vue +162 -0
- package/src/views/market/market-event-edit-pro/select/node-select-unique-customer.vue +118 -0
- package/src/views/market/market-event-edit-pro/select/node-select.vue +462 -0
- package/src/views/market/market-event-edit-pro/select/node-side-channel-preview.vue +144 -0
- package/src/views/market/market-event-edit-pro/select/node-side-customer-group-detail.vue +20 -0
- package/src/views/market/market-event-edit-pro/select/node-side-wechat-sub.vue +99 -0
- package/src/views/market/market-event-edit-pro/select/node-temp-detail.vue +94 -0
- package/src/views/market/market-event-edit-pro/select/product-mix-mode-custom.vue +239 -0
- package/src/views/market/market-event-edit-pro/select/product-select-detail.vue +190 -0
- package/src/views/market/market-event-edit-pro/select/product-select.vue +166 -0
- package/src/views/market/market-event-edit-pro/select/realtime-trigger-rule.vue +257 -0
- package/src/views/market/market-event-edit-pro/side/act/node-side-act.vue +193 -0
- package/src/views/market/market-event-edit-pro/side/channels/channel-comp.js +616 -0
- package/src/views/market/market-event-edit-pro/side/channels/common.js +297 -0
- package/src/views/market/market-event-edit-pro/side/channels/dialog/channel-dynamic-select-dialog.vue +399 -0
- package/src/views/market/market-event-edit-pro/side/channels/dialog/channel-target.vue +140 -0
- package/src/views/market/market-event-edit-pro/side/channels/dialog/code-table.vue +110 -0
- package/src/views/market/market-event-edit-pro/side/channels/dialog/issue-fields-select.vue +91 -0
- package/src/views/market/market-event-edit-pro/side/channels/dialog/preview.vue +488 -0
- package/src/views/market/market-event-edit-pro/side/channels/node-side-channel-call.vue +388 -0
- package/src/views/market/market-event-edit-pro/side/channels/node-side-channel-client.vue +226 -0
- package/src/views/market/market-event-edit-pro/side/channels/node-side-channel-dynamic.vue +346 -0
- package/src/views/market/market-event-edit-pro/side/channels/node-side-channel-elecpin.vue +231 -0
- package/src/views/market/market-event-edit-pro/side/channels/node-side-channel-handbnk.vue +176 -0
- package/src/views/market/market-event-edit-pro/side/channels/node-side-channel-phonebnk.vue +478 -0
- package/src/views/market/market-event-edit-pro/side/channels/node-side-channel-sms.vue +486 -0
- package/src/views/market/market-event-edit-pro/side/channels/node-side-channel-wechat.vue +182 -0
- package/src/views/market/market-event-edit-pro/side/customer/node-side-activityCst.vue +255 -0
- package/src/views/market/market-event-edit-pro/side/customer/node-side-composeCst.vue +186 -0
- package/src/views/market/market-event-edit-pro/side/customer/node-side-customer.vue +606 -0
- package/src/views/market/market-event-edit-pro/side/customer/node-side-flowCst.vue +186 -0
- package/src/views/market/market-event-edit-pro/side/dialog-side.vue +550 -0
- package/src/views/market/market-event-edit-pro/side/equity/node-side-equity.vue +264 -0
- package/src/views/market/market-event-edit-pro/side/event-form.vue +992 -0
- package/src/views/market/market-event-edit-pro/side/merge/node-side-merge.vue +145 -0
- package/src/views/market/market-event-edit-pro/side/node-card-tips.vue +178 -0
- package/src/views/market/market-event-edit-pro/side/node-side-detail-scene.vue +392 -0
- package/src/views/market/market-event-edit-pro/side/node-side-detail.vue +853 -0
- package/src/views/market/market-event-edit-pro/side/node-side-strategy-branch-editor.vue +153 -0
- package/src/views/market/market-event-edit-pro/side/node-side-strategy-table.vue +270 -0
- package/src/views/market/market-event-edit-pro/side/node-side-time-config.vue +45 -0
- package/src/views/market/market-event-edit-pro/side/node-side-time.vue +125 -0
- package/src/views/market/market-event-edit-pro/side/node-upload-customer-detail.vue +214 -0
- package/src/views/market/market-event-edit-pro/side/node-upload-customer.vue +369 -0
- package/src/views/market/market-event-edit-pro/side/opportunity/node-side-opportunity-delay.vue +166 -0
- package/src/views/market/market-event-edit-pro/side/opportunity/node-side-opportunity-timer.vue +267 -0
- package/src/views/market/market-event-edit-pro/side/opportunity/node-side-opportunity-trigger.vue +814 -0
- package/src/views/market/market-event-edit-pro/side/resource/node-side-act.vue +194 -0
- package/src/views/market/market-event-edit-pro/side/resource/node-side-content.vue +679 -0
- package/src/views/market/market-event-edit-pro/side/resource/node-side-equity.vue +293 -0
- package/src/views/market/market-event-edit-pro/side/resource/node-side-prod.vue +227 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-merge.vue +141 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-channel-branch.vue +434 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-channel.vue +303 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-cst-branch.vue +241 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-cst.vue +187 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-evt-branch-new.vue +248 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-evt-branch-no-resp.vue +127 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-evt-branch-resp.vue +127 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-evt-branch.vue +757 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-evt-new.vue +873 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-evt.vue +169 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-label-branch.vue +242 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-label.vue +198 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-rdm-branch.vue +217 -0
- package/src/views/market/market-event-edit-pro/side/split/node-side-split-rdm.vue +200 -0
- package/src/views/market/market-event-edit-pro/time/event-approve-time.vue +60 -0
- package/src/views/market/market-event-edit-pro/time/event-run-time.vue +96 -0
- package/src/views/market/market-event-edit-pro/time/event-watch-time.vue +98 -0
- package/src/views/market/market-event-edit-pro/util.js +3877 -0
- package/src/views/market/marketing-anti-disturbance.vue +554 -0
- package/src/views/market/monitor/act-target-table.vue +123 -0
- package/src/views/market/monitor/card-item.vue +219 -0
- package/src/views/market/monitor/circulation-customer-list.vue +219 -0
- package/src/views/market/monitor/customer-list-extend.js +144 -0
- package/src/views/market/monitor/customer-list.vue +761 -0
- package/src/views/market/monitor/info-card.vue +160 -0
- package/src/views/market/monitor/monitor-base.vue +357 -0
- package/src/views/market/monitor/monitor-charts-analysis.vue +41 -0
- package/src/views/market/monitor/monitor-detail-customer-target-detail.vue +66 -0
- package/src/views/market/monitor/monitor-detail-customer.vue +445 -0
- package/src/views/market/monitor/monitor-detail.vue +90 -0
- package/src/views/market/monitor/monitor-info-cur.vue +193 -0
- package/src/views/market/monitor/monitor-info.vue +245 -0
- package/src/views/market/monitor/monitor.vue +261 -0
- package/src/views/market/monitor/summary/channel-analysis-search.vue +198 -0
- package/src/views/market/monitor/summary/channel-analysis.vue +38 -0
- package/src/views/market/monitor/summary/channel-table.vue +353 -0
- package/src/views/market/monitor/summary/common/option.js +191 -0
- package/src/views/market/monitor/summary/components/channel-analysis-chart.vue +738 -0
- package/src/views/market/monitor/summary/components/channel-task-done.vue +333 -0
- package/src/views/market/monitor/summary/components/chart-container.vue +56 -0
- package/src/views/market/monitor/summary/components/chart-funnel.vue +190 -0
- package/src/views/market/monitor/summary/components/chart-line.vue +64 -0
- package/src/views/market/monitor/summary/components/chart-parent.vue +71 -0
- package/src/views/market/monitor/summary/components/customer-list.vue +636 -0
- package/src/views/market/monitor/summary/components/detail-card.vue +167 -0
- package/src/views/market/monitor/summary/components/empty.vue +22 -0
- package/src/views/market/monitor/summary/components/label-analysis-improve.vue +708 -0
- package/src/views/market/monitor/summary/components/label-analysis-whole.vue +859 -0
- package/src/views/market/monitor/summary/components/options-common.js +35 -0
- package/src/views/market/monitor/summary/components/part-body.vue +29 -0
- package/src/views/market/monitor/summary/components/ranking-list.vue +160 -0
- package/src/views/market/monitor/summary/components/statistics-small-card.vue +143 -0
- package/src/views/market/monitor/summary/components/tab-content.vue +167 -0
- package/src/views/market/monitor/summary/components/target-customer-list.vue +277 -0
- package/src/views/market/monitor/summary/components/task-content.vue +103 -0
- package/src/views/market/monitor/summary/components/task-sort.vue +216 -0
- package/src/views/market/monitor/summary/index.vue +687 -0
- package/src/views/market/monitor/summary/select-checkbox.vue +116 -0
- package/src/views/market/monitor/summary/summary-analysis.vue +547 -0
- package/src/views/market/monitor/summary/summary-label-analysis.vue +180 -0
- package/src/views/market/monitor/summary/summary-label-process.vue +19 -0
- package/src/views/market/monitor/summary/summary-label-result.vue +490 -0
- package/src/views/market/monitor/summary/summary-line-wjf.vue +456 -0
- package/src/views/market/monitor/summary/summary-line.vue +300 -0
- package/src/views/market/monitor/summary/summary-table.vue +106 -0
- package/src/views/market/monitor/target-analysis.vue +383 -0
- package/src/views/market/monitor/target-customer-list.vue +403 -0
- package/src/views/market/order/order-analysis-detail.vue +277 -0
- package/src/views/market/order/order-analysis.vue +258 -0
- package/src/views/market/order/order.vue +151 -0
- package/src/views/market/remote-canvas.vue +76 -0
- package/src/views/market/report/report-customer-branch.vue +147 -0
- package/src/views/market/report/report-customer-detail-target.vue +100 -0
- package/src/views/market/report/report-customer-detail.vue +120 -0
- package/src/views/market/report/report-customer-sub.vue +163 -0
- package/src/views/market/report/report-event-all.vue +182 -0
- package/src/views/market/report/report-event-sub.vue +200 -0
- package/src/views/market-activity/common/config.js +221 -0
- package/src/views/market-activity/components/bar-card.vue +66 -0
- package/src/views/market-activity/components/custom-date-picker.vue +214 -0
- package/src/views/market-activity/components/switch-tabs.vue +101 -0
- package/src/views/market-activity/components/tab-content.vue +166 -0
- package/src/views/market-activity/config/constant.js +82 -0
- package/src/views/market-activity/config/customer-result-checkbox.vue +58 -0
- package/src/views/market-activity/config/customer-result-fields.vue +324 -0
- package/src/views/market-activity/config/customer-result-filter.vue +265 -0
- package/src/views/market-activity/config/customer-to-group.vue +530 -0
- package/src/views/market-activity/config/empty.vue +22 -0
- package/src/views/market-activity/config/ranking-list.vue +81 -0
- package/src/views/market-activity/config/the-activity-table.vue +295 -0
- package/src/views/market-activity/config/the-echart-functional.vue +176 -0
- package/src/views/market-activity/config/the-effect-table.vue +572 -0
- package/src/views/market-activity/config/the-grade-dialog.vue +415 -0
- package/src/views/market-activity/config/the-indicator-drawer.less +34 -0
- package/src/views/market-activity/config/the-indicator-drawer.vue +835 -0
- package/src/views/market-activity/config/the-views-card.vue +105 -0
- package/src/views/market-activity/config/the-views-effect.vue +320 -0
- package/src/views/market-activity/config/the-views-level.vue +247 -0
- package/src/views/market-activity/config/the-views-type.vue +82 -0
- package/src/views/market-activity/index.vue +553 -0
- package/src/views/market-activity/summary/abtest-analysys.vue +150 -0
- package/src/views/market-activity/summary/channel-analysis-search.vue +193 -0
- package/src/views/market-activity/summary/channel-analysis.vue +45 -0
- package/src/views/market-activity/summary/channel-table.vue +375 -0
- package/src/views/market-activity/summary/customer-list.vue +561 -0
- package/src/views/market-activity/summary/index.vue +341 -0
- package/src/views/market-activity/summary/market-event-edit-pro/event-canvas.vue +1337 -0
- package/src/views/market-activity/summary/market-info.vue +281 -0
- package/src/views/monitoring-center/forewarning/config/common.js +302 -0
- package/src/views/monitoring-center/forewarning/config/index.vue +79 -0
- package/src/views/monitoring-center/forewarning/config/tab-channel.vue +287 -0
- package/src/views/monitoring-center/forewarning/config/tab-event.vue +252 -0
- package/src/views/monitoring-center/forewarning/config/tab-label.vue +183 -0
- package/src/views/monitoring-center/forewarning/config/tab-operate.vue +236 -0
- package/src/views/monitoring-center/forewarning/config/tab-timeTask.vue +242 -0
- package/src/views/monitoring-center/forewarning/record/index.vue +233 -0
- package/src/views/monitoring-center/manage/common.js +909 -0
- package/src/views/monitoring-center/manage/components/bg-intro.vue +34 -0
- package/src/views/monitoring-center/manage/components/error-components-customer-detail.vue +111 -0
- package/src/views/monitoring-center/manage/components/event-leakage-customer-detail.vue +133 -0
- package/src/views/monitoring-center/manage/index.vue +54 -0
- package/src/views/monitoring-center/manage/tab-channel.vue +433 -0
- package/src/views/monitoring-center/manage/tab-event.vue +221 -0
- package/src/views/monitoring-center/manage/tab-label.vue +232 -0
- package/src/views/monitoring-center/manage/tab-operate.vue +501 -0
- package/src/views/mul-activity-type/act-type-edit-dialog.vue +126 -0
- package/src/views/mul-activity-type/index.vue +356 -0
- package/src/views/oa/components/event-channel-approve.vue +75 -0
- package/src/views/oa/index.vue +316 -0
- package/src/views/oa/oa-confirm.vue +57 -0
- package/src/views/oa/oa-detail.vue +609 -0
- package/src/views/oa/oa-message.vue +254 -0
- package/src/views/oa/progress-test.vue +13 -0
- package/src/views/process/charts.vue +389 -0
- package/src/views/process/index.vue +402 -0
- package/src/views/process/pro-manage/index.vue +0 -0
- package/src/views/process/pro-manage/pro-title.vue +56 -0
- package/src/views/process/process-customer-log.vue +103 -0
- package/src/views/process/process-customer.vue +189 -0
- package/src/views/process/process-executor.vue +251 -0
- package/src/views/process/process-org.vue +333 -0
- package/src/views/process/process-risk.vue +232 -0
- package/src/views/process/statistics.vue +159 -0
- package/src/views/product/components/product-select-dialog.vue +253 -0
- package/src/views/product/dialog/picture-upload.vue +139 -0
- package/src/views/product/productMatchRules/components/groupList.vue +487 -0
- package/src/views/product/productMatchRules/components/product-customer-to-group.vue +581 -0
- package/src/views/product/productMatchRules/components/product-select-dialog-search.vue +227 -0
- package/src/views/product/productMatchRules/components/product-select-dialog.vue +284 -0
- package/src/views/product/productMatchRules/components/product-target-customer-list.vue +194 -0
- package/src/views/product/productMatchRules/index.vue +804 -0
- package/src/views/product/productMatchRules/intelligentMatching.vue +183 -0
- package/src/views/product/productMatchRules/resource.js +329 -0
- package/src/views/reach/business/add.vue +508 -0
- package/src/views/reach/business/bannerjump.vue +362 -0
- package/src/views/reach/business/businessCopy.vue +1017 -0
- package/src/views/reach/business/businessDetail.vue +786 -0
- package/src/views/reach/business/businessEdit.vue +1038 -0
- package/src/views/reach/business/businessList.vue +466 -0
- package/src/views/reach/business/businessNew.vue +1004 -0
- package/src/views/reach/business/components/act-gift-group.vue +431 -0
- package/src/views/reach/business/components/actList.vue +219 -0
- package/src/views/reach/business/components/activitySelector.vue +439 -0
- package/src/views/reach/business/components/common.js +45 -0
- package/src/views/reach/business/components/external-act.vue +260 -0
- package/src/views/reach/business/components/image-con-upload.js +34 -0
- package/src/views/reach/business/components/image-con.vue +229 -0
- package/src/views/reach/business/components/image-upload.vue +259 -0
- package/src/views/reach/business/components/resource-side-customer-upload.vue +354 -0
- package/src/views/reach/business/components/resource-side-reach-customer.vue +64 -0
- package/src/views/reach/business/components/resource-state-picture-upload.vue +98 -0
- package/src/views/reach/business/components/resourcedetail.vue +238 -0
- package/src/views/reach/business/components/resourceformItem.vue +256 -0
- package/src/views/reach/business/groupList.vue +396 -0
- package/src/views/reach/business/index.vue +247 -0
- package/src/views/reach/business/resource.js +330 -0
- package/src/views/reach/resource/location-analyse.vue +239 -0
- package/src/views/reach/resource/resource-analyse.vue +247 -0
- package/src/views/reach/resource-state/add.vue +508 -0
- package/src/views/reach/resource-state/bannerjump.vue +362 -0
- package/src/views/reach/resource-state/components/act-gift-group.vue +431 -0
- package/src/views/reach/resource-state/components/actList.vue +219 -0
- package/src/views/reach/resource-state/components/activitySelector.vue +439 -0
- package/src/views/reach/resource-state/components/common.js +45 -0
- package/src/views/reach/resource-state/components/external-act.vue +260 -0
- package/src/views/reach/resource-state/components/image-con-upload.js +34 -0
- package/src/views/reach/resource-state/components/image-con.vue +229 -0
- package/src/views/reach/resource-state/components/image-pop.vue +372 -0
- package/src/views/reach/resource-state/components/image-upload.vue +259 -0
- package/src/views/reach/resource-state/components/resource-side-customer-upload.vue +354 -0
- package/src/views/reach/resource-state/components/resource-side-reach-customer.vue +64 -0
- package/src/views/reach/resource-state/components/resource-state-picture-upload.vue +98 -0
- package/src/views/reach/resource-state/components/resourceListHead.vue +250 -0
- package/src/views/reach/resource-state/components/resourcecreate.vue +410 -0
- package/src/views/reach/resource-state/components/resourcedetail.vue +409 -0
- package/src/views/reach/resource-state/components/resourceformItem.vue +325 -0
- package/src/views/reach/resource-state/groupList.vue +419 -0
- package/src/views/reach/resource-state/index copy.vue +308 -0
- package/src/views/reach/resource-state/index.vue +334 -0
- package/src/views/reach/resource-state/resource.js +330 -0
- package/src/views/reach/resource-state/resourceCopy.vue +1612 -0
- package/src/views/reach/resource-state/resourceDetail.vue +1483 -0
- package/src/views/reach/resource-state/resourceEdit.vue +1609 -0
- package/src/views/reach/resource-state/resourceList.vue +555 -0
- package/src/views/reach/resource-state/resourceNew copy.vue +1361 -0
- package/src/views/reach/resource-state/resourceNew.vue +1499 -0
- package/src/views/report/components/report-effect-monitor-fields.vue +234 -0
- package/src/views/report/event/report-customer-branch.vue +228 -0
- package/src/views/report/event/report-customer-detail-target.vue +113 -0
- package/src/views/report/event/report-customer-detail.vue +149 -0
- package/src/views/report/event/report-customer-sub.vue +258 -0
- package/src/views/report/event/report-event-all.vue +250 -0
- package/src/views/report/event/report-event-sub.vue +255 -0
- package/src/views/report/event-effect-analysis/components/marketing-customer-detail-dialog.vue +137 -0
- package/src/views/report/event-effect-analysis/event-effect-analysis-executor.vue +188 -0
- package/src/views/report/event-effect-analysis/index.vue +53 -0
- package/src/views/report/fieldsList.js +1162 -0
- package/src/views/report/report-app-detail.vue +68 -0
- package/src/views/report/report-app-month-detail.vue +67 -0
- package/src/views/report/report-app-month.vue +151 -0
- package/src/views/report/report-app.vue +175 -0
- package/src/views/report/report-effect-monitor-customer.vue +236 -0
- package/src/views/report/report-effect-monitor-default.vue +374 -0
- package/src/views/report/report-effect-monitor-mechanism.vue +375 -0
- package/src/views/report/report-effect-monitor-staff.vue +376 -0
- package/src/views/report/report-effect-monitor.vue +69 -0
- package/src/views/scene/scene-edit/event-main-btns.vue +1159 -0
- package/src/views/scene/scene-edit/event-main.vue +900 -0
- package/src/views/scene/scene-edit/index.vue +129 -0
- package/src/views/scene/scene-library-manage/scene-center.vue +798 -0
- package/src/views/scene/scene-library-manage/scene-log.vue +116 -0
- package/src/views/scene/scene-library-manage/scene-mode-detail.vue +313 -0
- package/src/views/scene/scene-library-manage/scene-quote.vue +148 -0
- package/src/views/scene/scene-library-manage/scene-side.vue +362 -0
- package/src/views/scene/scene-library-manage/scene-upload.vue +265 -0
- package/src/views/scene/scene-personal-template/index.vue +457 -0
- package/src/views/system/data-manage.vue +89 -0
- package/src/views/system/menu/index.vue +359 -0
- package/src/views/system/menu/system-menu-list.vue +270 -0
- package/src/views/system/notice/index.vue +213 -0
- package/src/views/system/notice/notice-dialog.vue +111 -0
- package/src/views/system/productMatchRules/components/product-select-dialog.vue +219 -0
- package/src/views/system/productMatchRules/index.vue +484 -0
- package/src/views/system/productMatchRules/intelligentMatching.vue +183 -0
- package/src/views/system/role/index.vue +247 -0
- package/src/views/system/role/system-role-side.vue +267 -0
- package/src/views/system/system-bitmap.vue +131 -0
- package/src/views/system/system-bizline.vue +313 -0
- package/src/views/system/system-configure.vue +288 -0
- package/src/views/system/system-infomation.vue +479 -0
- package/src/views/system/system-log.vue +96 -0
- package/src/views/system/system-login.vue +150 -0
- package/src/views/system/system-org.vue +363 -0
- package/src/views/system/system-param.vue +356 -0
- package/src/views/system/system-position-setting.vue +86 -0
- package/src/views/system/system-position.vue +257 -0
- package/src/views/system/system-sms.vue +146 -0
- package/src/views/system/user/index.vue +259 -0
- package/src/views/system/user/system-user-setting.vue +82 -0
- package/src/views/task/visit-record.vue +205 -0
- package/src/views/template/components/audio-upload.vue +171 -0
- package/src/views/template/components/equity-list.vue +148 -0
- package/src/views/template/components/game-add.vue +335 -0
- package/src/views/template/components/gift-list.vue +149 -0
- package/src/views/template/components/picture-upload.vue +166 -0
- package/src/views/template/components/rewardTable.vue +323 -0
- package/src/views/template/components/task-list.vue +184 -0
- package/src/views/template/components/uploadImage.vue +67 -0
- package/src/views/template/dialog/app-message.vue +226 -0
- package/src/views/template/dialog/audio.vue +215 -0
- package/src/views/template/dialog/fail-upload-list.vue +141 -0
- package/src/views/template/dialog/h5.vue +234 -0
- package/src/views/template/dialog/message-content.vue +138 -0
- package/src/views/template/dialog/message.vue +472 -0
- package/src/views/template/dialog/picture copy.vue +273 -0
- package/src/views/template/dialog/picture.vue +304 -0
- package/src/views/template/dialog/send-modal.vue +52 -0
- package/src/views/template/dialog/task-message.vue +256 -0
- package/src/views/template/dialog/upload.vue +253 -0
- package/src/views/template/oa-fields-config/app-message.js +69 -0
- package/src/views/template/oa-fields-config/audio.js +76 -0
- package/src/views/template/oa-fields-config/computed-tags.js +28 -0
- package/src/views/template/oa-fields-config/h5.js +98 -0
- package/src/views/template/oa-fields-config/message.js +71 -0
- package/src/views/template/oa-fields-config/picture.js +85 -0
- package/src/views/template/template-activity/branch.vue +682 -0
- package/src/views/template/template-activity/canvas-edit.vue +115 -0
- package/src/views/template/template-activity/event-base-information.vue +498 -0
- package/src/views/template/template-activity/event-base.vue +313 -0
- package/src/views/template/template-activity/master.vue +755 -0
- package/src/views/template/template-app-message.vue +477 -0
- package/src/views/template/template-audio.vue +517 -0
- package/src/views/template/template-game.vue +258 -0
- package/src/views/template/template-h5.vue +468 -0
- package/src/views/template/template-message.vue +563 -0
- package/src/views/template/template-picture.vue +531 -0
- package/src/views/template/template-task.vue +464 -0
- package/src/views/template/template.less +28 -0
- package/src/views/yunhu/employee-list.vue +190 -0
- package/tailwind.config.js +25 -0
- package/vue.config.js +341 -0
- package/workspace.code-workspace +7 -0
|
@@ -0,0 +1,947 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="event-basis-news d-flex flex-column" v-loading="nextLoading">
|
|
3
|
+
<div class="d-flex flex-column basis-main">
|
|
4
|
+
<div class="step-header">
|
|
5
|
+
<el-steps :active="stepIndex" align-center process-status="finish">
|
|
6
|
+
<el-step title="策略信息设置"></el-step>
|
|
7
|
+
<el-step title="策略画布编排"></el-step>
|
|
8
|
+
</el-steps>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="label-view">
|
|
11
|
+
<!-- <div class="form-title--prefix">
|
|
12
|
+
<span>标签库选择</span>
|
|
13
|
+
</div>
|
|
14
|
+
<div style="width: 50%; padding-right: 42px">
|
|
15
|
+
<el-select style="width: 100%" v-model="libId" placeholder="请选择标签库" @change="handleLibIdChange" :disabled="isPauseUpdate">
|
|
16
|
+
<el-option v-for="item in libList" :key="item.key" :label="item.label" :value="item.value"></el-option>
|
|
17
|
+
</el-select>
|
|
18
|
+
</div> -->
|
|
19
|
+
|
|
20
|
+
<div class="form-title--prefix mt-5">
|
|
21
|
+
<span>基本信息</span>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
<yt-form
|
|
25
|
+
ref="form"
|
|
26
|
+
:labelWidth="150"
|
|
27
|
+
:fields="fields"
|
|
28
|
+
:gutter="84"
|
|
29
|
+
class="event-form"
|
|
30
|
+
contentWidth="100%"
|
|
31
|
+
:options="{'label-position': 'top'}"
|
|
32
|
+
:grid="[[12,12],[12,12],[12,12],[24],[12,12],[12,12],[12,12,12],[12,12],[12,12],[12],[12],[12],[24],[12, 12],[24],[24],[24],[12,12],[12,12],[12,12],[12,12],[12,12]]"
|
|
33
|
+
@submit="handleFormSubmit"
|
|
34
|
+
/>
|
|
35
|
+
<div v-if="config.SHOW_COST === '1'">
|
|
36
|
+
<p class="title" v-if="!isLoop"> <span>成本管理</span> </p>
|
|
37
|
+
<CostsManager v-if="!isLoop " ref="cost" :costsResponseDTOS="costsBack" :readonly="isPauseUpdate" />
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="form-footer flex-center">
|
|
41
|
+
<yt-button @click="handleClose">取消</yt-button>
|
|
42
|
+
<yt-button type="primary" @click="goNext" :loading="nextLoading">下一步</yt-button>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</template>
|
|
46
|
+
<script>
|
|
47
|
+
import DetailTestRunCustomer from '@/views/market/market-event-edit-pro/select/detail-test-run-customer'
|
|
48
|
+
import EventRunTime from '@market-event-edit-pro/time/event-run-time'
|
|
49
|
+
import EventWatchTime from '@market-event-edit-pro/time/event-watch-time'
|
|
50
|
+
import Upload from '@market-event-edit-pro/dialog/upload'
|
|
51
|
+
import { mapState, mapMutations, mapGetters } from 'vuex'
|
|
52
|
+
import ActTarget from '@/views/market/components/act-target'
|
|
53
|
+
import CycleSetting from '@/views/market/components/cycle-setting'
|
|
54
|
+
import SubActivityTable from '@/views/market/components/sub-activity-table.vue'
|
|
55
|
+
import { AI_EVENT, dayOptions, weekOptions, monthOptions } from '@/utils/variable'
|
|
56
|
+
import CostsManager from './costs-manager.vue'
|
|
57
|
+
import NodeSelectEvent from '../../market-event-edit-pro/select/node-select-event'
|
|
58
|
+
import TreeSelect from '@/components/tree-select'
|
|
59
|
+
import { getMulActTypeList, getTargetById } from '@/api/act-type-manage'
|
|
60
|
+
import { getDisabled, pruneTree } from '@/utils'
|
|
61
|
+
import { getActNumber } from '@/api/market'
|
|
62
|
+
import { formatTargetToPage } from '@/views/market/market-event-edit-pro/util'
|
|
63
|
+
import dayjs from 'dayjs'
|
|
64
|
+
|
|
65
|
+
export default {
|
|
66
|
+
inject: ['getLibId', 'isSupportHotDeploy'],
|
|
67
|
+
components: {
|
|
68
|
+
DetailTestRunCustomer,
|
|
69
|
+
EventRunTime,
|
|
70
|
+
EventWatchTime,
|
|
71
|
+
ActTarget,
|
|
72
|
+
Upload,
|
|
73
|
+
CostsManager,
|
|
74
|
+
NodeSelectEvent,
|
|
75
|
+
TreeSelect
|
|
76
|
+
},
|
|
77
|
+
props: ['basis', 'costsBack', 'isPauseUpdate', 'isText', 'nextLoading', ],
|
|
78
|
+
data() {
|
|
79
|
+
const validateRunDate = function (rule, value, callback) {
|
|
80
|
+
let context = this
|
|
81
|
+
let form = context.getForm()
|
|
82
|
+
this.$refs.form.$refs.form.validateField('watch')
|
|
83
|
+
const now = new Date()
|
|
84
|
+
let { executeEndTime, executeStartTime, executeFlag } = form
|
|
85
|
+
if (!executeFlag) {
|
|
86
|
+
if (!executeStartTime) {
|
|
87
|
+
callback(new Error('请选择运行开始时间'))
|
|
88
|
+
} else if (!executeEndTime) {
|
|
89
|
+
callback(new Error('请选择运行结束时间'))
|
|
90
|
+
} else if (executeEndTime <= executeStartTime) {
|
|
91
|
+
callback(new Error('结束时间需要大于开始时间'))
|
|
92
|
+
} else if(executeStartTime < now && this.mode !== 'pause_update'){
|
|
93
|
+
callback(new Error('开始时间需要大于当前时间'))
|
|
94
|
+
} else if(executeEndTime <= now){
|
|
95
|
+
callback(new Error('结束时间需要大于当前时间'))
|
|
96
|
+
} else{
|
|
97
|
+
callback()
|
|
98
|
+
}
|
|
99
|
+
} else if (!executeEndTime) {
|
|
100
|
+
callback(new Error('请选择运行结束时间'))
|
|
101
|
+
} else {
|
|
102
|
+
callback()
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
const validateWatchDate = function (rule, value, callback) {
|
|
106
|
+
let context = this
|
|
107
|
+
let form = context.getForm()
|
|
108
|
+
let { executeEndTime, executeStartTime, executeFlag, superviseEndTime, superviseStartTime, superviseFlag } = form
|
|
109
|
+
if (superviseFlag) {
|
|
110
|
+
callback()
|
|
111
|
+
} else {
|
|
112
|
+
if (!executeFlag) {
|
|
113
|
+
// 需要监测时间
|
|
114
|
+
if (!superviseStartTime) {
|
|
115
|
+
callback(new Error('请选择监测开始时间'))
|
|
116
|
+
} else if (!superviseEndTime) {
|
|
117
|
+
callback(new Error('请选择监测结束时间'))
|
|
118
|
+
} else if (superviseEndTime < superviseStartTime) {
|
|
119
|
+
callback(new Error('结束时间需要大于开始时间'))
|
|
120
|
+
} else if (superviseStartTime < executeStartTime && executeStartTime) {
|
|
121
|
+
callback(new Error('监测开始时间需要大于运行开始时间'))
|
|
122
|
+
} else if (superviseEndTime < executeEndTime) {
|
|
123
|
+
callback(new Error('监测结束时间需要大于运行结束时间'))
|
|
124
|
+
} else {
|
|
125
|
+
callback()
|
|
126
|
+
}
|
|
127
|
+
} else {
|
|
128
|
+
if (!superviseEndTime) {
|
|
129
|
+
callback(new Error('请选择监测结束时间'))
|
|
130
|
+
} else if (superviseEndTime < executeEndTime) {
|
|
131
|
+
callback(new Error('监测结束时间需要大于运行结束时间'))
|
|
132
|
+
} else {
|
|
133
|
+
callback()
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
const validatexpiraTime = function (rule, value, callback) {
|
|
139
|
+
let context = this.$refs.form
|
|
140
|
+
let form = context.getForm()
|
|
141
|
+
let { expirationTime, executeStartTime } = form
|
|
142
|
+
let moment = new Date()
|
|
143
|
+
if (executeStartTime) {
|
|
144
|
+
if (expirationTime) {
|
|
145
|
+
if (expirationTime > moment && ((expirationTime - moment) > 300000) && expirationTime < executeStartTime) {
|
|
146
|
+
callback()
|
|
147
|
+
} else if (expirationTime < moment || (expirationTime > moment && (expirationTime - moment) < 300000)) {
|
|
148
|
+
callback(new Error('审批时限最早时间应设置为此刻后5分钟'))
|
|
149
|
+
} else {
|
|
150
|
+
callback(new Error('审批时限不得晚于活动开始时间'))
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
} else if (expirationTime) {
|
|
154
|
+
if (expirationTime > moment && ((expirationTime - moment) > 300000)) {
|
|
155
|
+
callback()
|
|
156
|
+
} else {
|
|
157
|
+
callback(new Error('审批时限最早时间应设置为此刻后5分钟'))
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
let query = this.$route.query
|
|
162
|
+
let type = query.type
|
|
163
|
+
let isTemplate = type === 'template-root' || type === 'template-branch'
|
|
164
|
+
return {
|
|
165
|
+
mode: query.mode || 'add',
|
|
166
|
+
type: query.type || 'event',
|
|
167
|
+
isLoop: query.isLoop === 'true' || query.isLoop === true,
|
|
168
|
+
treeData: [],
|
|
169
|
+
treeProps: {
|
|
170
|
+
id: 'code',
|
|
171
|
+
label: 'label',
|
|
172
|
+
pid: 'parent',
|
|
173
|
+
children: 'children'
|
|
174
|
+
},
|
|
175
|
+
fields: [
|
|
176
|
+
{
|
|
177
|
+
title: '创建人',
|
|
178
|
+
type: 'text',
|
|
179
|
+
key: 'actInitiatorName',
|
|
180
|
+
defaultValue: '',
|
|
181
|
+
disabled: this.isText,
|
|
182
|
+
isShow: false,
|
|
183
|
+
renderContent: (h, item, form) => <p class="form-text">{form.actInitiatorName + `(${form.actInitiator})`}</p>
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
title: '创建机构',
|
|
187
|
+
type: 'text',
|
|
188
|
+
key: 'actInitiatorOrgName',
|
|
189
|
+
defaultValue: '',
|
|
190
|
+
disabled: this.isText,
|
|
191
|
+
isShow: false
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
title: '活动类型',
|
|
195
|
+
type: 'input',
|
|
196
|
+
key: 'actType',
|
|
197
|
+
disabled: this.isText || this.isPauseUpdate,
|
|
198
|
+
rule: [
|
|
199
|
+
{ required: true, message: '请选择活动类型', trigger: ['change', 'blur']}
|
|
200
|
+
],
|
|
201
|
+
renderContent: (h, item, form) =>
|
|
202
|
+
<TreeSelect
|
|
203
|
+
vModel={form.actType}
|
|
204
|
+
options={this.treeData}
|
|
205
|
+
treeProps={this.treeProps}
|
|
206
|
+
expandNode={true}
|
|
207
|
+
expand={false}
|
|
208
|
+
disabled={this.isText || this.isPauseUpdate}
|
|
209
|
+
onChange={() => this.setDefaultTarget(form)}
|
|
210
|
+
></TreeSelect>
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
title: '营销活动名称',
|
|
214
|
+
type: 'input',
|
|
215
|
+
key: 'actName',
|
|
216
|
+
isRequired: true,
|
|
217
|
+
props: {
|
|
218
|
+
maxlength: 50
|
|
219
|
+
},
|
|
220
|
+
disabled: this.isText
|
|
221
|
+
},
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
{
|
|
225
|
+
title: '活动成本预算',
|
|
226
|
+
key: 'budgetAmount',
|
|
227
|
+
type: 'input-number',
|
|
228
|
+
props: {
|
|
229
|
+
unit: '元',
|
|
230
|
+
max: 1000000000
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
title: '监测方式',
|
|
235
|
+
key: 'monitorType',
|
|
236
|
+
type: 'select',
|
|
237
|
+
isRequired: true,
|
|
238
|
+
defaultValue: '1',
|
|
239
|
+
isShow: () => !this.isLoop,
|
|
240
|
+
options: [],
|
|
241
|
+
onInput: (value, item, form) => {
|
|
242
|
+
form.superviseFlag = false
|
|
243
|
+
form.superviseStartTime = null
|
|
244
|
+
form.superviseEndTime = null
|
|
245
|
+
form.monitorDelay = value === '2' ? '30' : ''
|
|
246
|
+
},
|
|
247
|
+
props: {
|
|
248
|
+
clearable: false
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
title: '活动ID',
|
|
253
|
+
type: 'input',
|
|
254
|
+
key: 'actNumber',
|
|
255
|
+
isShow: false,
|
|
256
|
+
disabled: true,
|
|
257
|
+
renderContent: (h, item, form) => {
|
|
258
|
+
return (form.actNumber ?
|
|
259
|
+
<div>
|
|
260
|
+
<el-input disabled vModel={form.actNumber} />
|
|
261
|
+
</div> :
|
|
262
|
+
<div style="display: flex;">
|
|
263
|
+
<el-input style="{width: 70%;}" disabled vModel={form.actNumber} />
|
|
264
|
+
<div
|
|
265
|
+
style="width: 36px;height: 18px;line-height: 14px;color: #1664FF;cursor:pointer;padding-left: 8px;"
|
|
266
|
+
onClick={() => this.handleGetActNumber(form) }
|
|
267
|
+
>保存生成</div>
|
|
268
|
+
</div>
|
|
269
|
+
)
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
type: 'input',
|
|
274
|
+
key: 'placeholder ',
|
|
275
|
+
isShow: false
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
title: '有无营销名单',
|
|
279
|
+
type: 'radio-group',
|
|
280
|
+
key: 'marketingFlag',
|
|
281
|
+
options: [
|
|
282
|
+
{ label: '有营销名单', value: '1' },
|
|
283
|
+
{ label: '无营销名单', value: '0' }
|
|
284
|
+
],
|
|
285
|
+
defaultValue: '1',
|
|
286
|
+
isRequired: true,
|
|
287
|
+
disabled: this.isPauseUpdate,
|
|
288
|
+
isShow: () => false
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
title: '活动子类型',
|
|
292
|
+
type: 'select',
|
|
293
|
+
key: 'actTypeSub',
|
|
294
|
+
options: [],
|
|
295
|
+
isShow: (form) => form.actType === '01',
|
|
296
|
+
isRequired: true,
|
|
297
|
+
disabled: this.isText || this.isPauseUpdate,
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
title: '剔除历史下发客户',
|
|
301
|
+
key: 'excludeHisCust',
|
|
302
|
+
type: 'switch',
|
|
303
|
+
settings: {
|
|
304
|
+
class: 'inline close basic'
|
|
305
|
+
},
|
|
306
|
+
isShow: () => !this.isLoop && false,
|
|
307
|
+
isRequired: true,
|
|
308
|
+
defaultValue: false
|
|
309
|
+
},
|
|
310
|
+
// {
|
|
311
|
+
// title: '审批时限',
|
|
312
|
+
// key: 'expirationTime',
|
|
313
|
+
// isShow: (form) => form.isNeedSmsApprove === '1',
|
|
314
|
+
// rule: [
|
|
315
|
+
// { required: false, validator: validatexpiraTime.bind(this), trigger: 'change' }
|
|
316
|
+
// ],
|
|
317
|
+
// renderContent: (h, item, form) => {
|
|
318
|
+
// h = this.$createElement
|
|
319
|
+
// return <event-approve-time readonly={this.isText} form={form} />
|
|
320
|
+
// }
|
|
321
|
+
// },
|
|
322
|
+
|
|
323
|
+
{
|
|
324
|
+
title: '活动运行时间',
|
|
325
|
+
key: 'run',
|
|
326
|
+
rule: [
|
|
327
|
+
{ required: true, validator: validateRunDate.bind(this), trigger: 'change' }
|
|
328
|
+
],
|
|
329
|
+
renderContent: (h, item, form) => <EventRunTime readonly={this.isText} portHotDeplayReadonly={this.portHotDeplayReadonly} isPauseUpdate={this.isPauseUpdate} form={form} />
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
title: '活动监测时间',
|
|
333
|
+
key: 'watch',
|
|
334
|
+
isShow: (form) => form.monitorType !== '2',
|
|
335
|
+
rule: [
|
|
336
|
+
{ required: true, validator: validateWatchDate.bind(this), trigger: 'change' }
|
|
337
|
+
],
|
|
338
|
+
renderContent: (h, item, form) => <EventWatchTime readonly={this.isText} portHotDeplayReadonly={this.portHotDeplayReadonly} isPauseUpdate={this.isPauseUpdate} form={form} />
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
title: '监测时长',
|
|
342
|
+
key: 'monitorDelay',
|
|
343
|
+
type: 'select',
|
|
344
|
+
isRequired: true,
|
|
345
|
+
isShow: (form) => form.monitorType === '2',
|
|
346
|
+
options: [],
|
|
347
|
+
defaultValue: '30',
|
|
348
|
+
renderContent: (h, item, form) => {
|
|
349
|
+
return (<div style="display: flex;">
|
|
350
|
+
<yt-select style="flex: 1;" vModel={form.monitorDelay} options={item.options} />
|
|
351
|
+
<span class="pl-2">天</span>
|
|
352
|
+
</div>)
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
title: '周期执行',
|
|
357
|
+
key: 'cycleFlag',
|
|
358
|
+
type: 'switch',
|
|
359
|
+
settings: {
|
|
360
|
+
class: 'inline close basic'
|
|
361
|
+
},
|
|
362
|
+
isShow: (form) => !this.isLoop && false,
|
|
363
|
+
defaultValue: false,
|
|
364
|
+
onInput: (value, item, form) => {
|
|
365
|
+
form.cycleRange = 'day'
|
|
366
|
+
form.cycleWay = ''
|
|
367
|
+
form.cycleTime = null
|
|
368
|
+
this.setCycleOptions(form)
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
key: 'zhanweifu', // 占位
|
|
373
|
+
isShow: () => false
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
title: '执行周期',
|
|
377
|
+
key: 'cycleRange',
|
|
378
|
+
type: 'radio-group',
|
|
379
|
+
isShow: (form) => form.cycleFlag && !this.isLoop,
|
|
380
|
+
isRequired: true,
|
|
381
|
+
defaultValue: 'day',
|
|
382
|
+
options: [],
|
|
383
|
+
onInput: (value, item, form) => {
|
|
384
|
+
form.cycleWay = ['week', 'month'].includes(value) ? [] : ''
|
|
385
|
+
this.setCycleOptions(form)
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
title: '活动目标',
|
|
390
|
+
key: 'areas',
|
|
391
|
+
defaultValue: [],
|
|
392
|
+
isRequired: true,
|
|
393
|
+
isShow: (form) => !this.isLoop && form.cycleFlag,
|
|
394
|
+
renderContent: (h, item, form) => {
|
|
395
|
+
const handleValid = () => {
|
|
396
|
+
const elementFormVm = this.$refs.form.$refs.form
|
|
397
|
+
elementFormVm.validateField('areas')
|
|
398
|
+
}
|
|
399
|
+
return (
|
|
400
|
+
<ActTarget
|
|
401
|
+
vModel={form.areas}
|
|
402
|
+
form={form}
|
|
403
|
+
readonly={this.isText || this.isPauseUpdate || this.portHotDeplayReadonly}
|
|
404
|
+
onInput={() => handleValid()}
|
|
405
|
+
/>
|
|
406
|
+
)
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
title: '周期方式',
|
|
411
|
+
key: 'cycleWay',
|
|
412
|
+
type: 'select',
|
|
413
|
+
options: [],
|
|
414
|
+
isShow: (form) => form.cycleFlag && !this.isLoop,
|
|
415
|
+
isRequired: true,
|
|
416
|
+
props: {
|
|
417
|
+
multiple: false
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
title: '开始时间',
|
|
422
|
+
key: 'cycleTime',
|
|
423
|
+
type: 'time',
|
|
424
|
+
isShow: (form) => form.cycleFlag && !this.isLoop,
|
|
425
|
+
isRequired: true,
|
|
426
|
+
props: {
|
|
427
|
+
valueFormat: 'HH:mm:ss'
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
title: '认定方式',
|
|
432
|
+
key: 'targetConfirmType',
|
|
433
|
+
type: 'select',
|
|
434
|
+
options: []
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
title: '活动目标',
|
|
438
|
+
key: 'areas',
|
|
439
|
+
defaultValue: [],
|
|
440
|
+
isRequired: true,
|
|
441
|
+
isShow: (form) => this.isLoop || (!this.isLoop && !form.cycleFlag),
|
|
442
|
+
renderContent: (h, item, form) => {
|
|
443
|
+
const handleValid = () => {
|
|
444
|
+
const elementFormVm = this.$refs.form.$refs.form
|
|
445
|
+
elementFormVm.validateField('areas')
|
|
446
|
+
}
|
|
447
|
+
let intoFlag = 'create'
|
|
448
|
+
return <ActTarget ref="actTarget" vModel={form.areas} form={form} readonly={this.isText || this.isPauseUpdate || this.portHotDeplayReadonly} onInput={() => handleValid()} />
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
title: '活动周期',
|
|
453
|
+
key: 'actCycleFrequencyJsonString',
|
|
454
|
+
defaultValue: '',
|
|
455
|
+
isShow: (form) => this.isLoop,
|
|
456
|
+
isRequired: true,
|
|
457
|
+
renderContent: (h, item, form) => {
|
|
458
|
+
let handleClearValid = () => {
|
|
459
|
+
this.$refs.form?.$refs.form?.validateField('actCycleFrequencyJsonString')
|
|
460
|
+
}
|
|
461
|
+
return (<CycleSetting
|
|
462
|
+
ref="cycleSetting"
|
|
463
|
+
isAIMode={form.actType === AI_EVENT}
|
|
464
|
+
isCanvas={this.mode === 'update'}
|
|
465
|
+
readonly={this.isText}
|
|
466
|
+
onValid={ () => handleClearValid() }
|
|
467
|
+
form={form}
|
|
468
|
+
/>)
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
title: '参与限制',
|
|
473
|
+
key: 'actCycleLimitType',
|
|
474
|
+
defaultValue: '',
|
|
475
|
+
isShow: (form) => this.isLoop,
|
|
476
|
+
isRequired: true,
|
|
477
|
+
options: [
|
|
478
|
+
{label:'当天',value:'day'},
|
|
479
|
+
{label:'当周',value:'week'},
|
|
480
|
+
{label:'当月',value:'month'},
|
|
481
|
+
{label:'当季',value:'quarter'}
|
|
482
|
+
],
|
|
483
|
+
renderContent: (h, item, form) => {
|
|
484
|
+
const toInteger = () => {
|
|
485
|
+
let reg = /^[1-9]+$/
|
|
486
|
+
if(!reg.test(form.actCycleLimitValue)){
|
|
487
|
+
this.$message.warning("只能输入正整数")
|
|
488
|
+
// 用以在dom渲染挂载后重新触发dom渲染挂载
|
|
489
|
+
this.$nextTick(() => {
|
|
490
|
+
form.actCycleLimitValue = parseInt(form.actCycleLimitValue)
|
|
491
|
+
})
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
return (<div class="flex gap-2" style="flex-wrap: wrap; align-items: center">
|
|
495
|
+
<span style="line-height: 16px">当前{this.joName},同一个用户</span>
|
|
496
|
+
<yt-select class="w-20" options={item.options} vModel={form.actCycleLimitType}></yt-select>
|
|
497
|
+
<span style="line-height: 16px">内,最多参与</span>
|
|
498
|
+
<el-input-number vModel={form.actCycleLimitValue} onChange={toInteger} min={1} style="width: 24%;"></el-input-number>
|
|
499
|
+
次
|
|
500
|
+
</div>)
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
title: '子活动',
|
|
505
|
+
key: 'corn6',
|
|
506
|
+
defaultValue: '',
|
|
507
|
+
isShow: (form) => this.isLoop,
|
|
508
|
+
renderContent: (h, item, form) => <SubActivityTable ref="subActivityTable" isView={false} isInit={this.mode === 'update'} form={form} />
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
title: '试运行群组选择',
|
|
512
|
+
key: 'testGroupView',
|
|
513
|
+
defaultValue: null,
|
|
514
|
+
isShow: () => !this.isLoop,
|
|
515
|
+
// renderTitle: (h, item, form) => {
|
|
516
|
+
// let num = form.testGroupView && form.testGroupView.custCnt ? form.testGroupView.custCnt : 0
|
|
517
|
+
// const handleClickNum = () => {
|
|
518
|
+
// this.$refs['test-run']?.openDetail()
|
|
519
|
+
// }
|
|
520
|
+
// const clearNum = () => {
|
|
521
|
+
// form.testGroupView = null
|
|
522
|
+
// form.testGroupCompents = ''
|
|
523
|
+
// }
|
|
524
|
+
// return (<div class="flex-between">
|
|
525
|
+
// <span>
|
|
526
|
+
// <span>试运行群组选择</span>
|
|
527
|
+
// <yt-button type="text" onClick={ handleClickNum }>
|
|
528
|
+
// <span class="font-green">({num})</span>
|
|
529
|
+
// </yt-button>
|
|
530
|
+
// </span>
|
|
531
|
+
// <yt-button type="text" disabled={this.isText || this.isPauseUpdate} size="mini" onClick={clearNum}>清空</yt-button>
|
|
532
|
+
// </div>)
|
|
533
|
+
// },
|
|
534
|
+
renderContent: (h, item, form) => {
|
|
535
|
+
h = this.$createElement
|
|
536
|
+
const handleChange = (pkId, row) => {
|
|
537
|
+
form.testGroupView = row
|
|
538
|
+
form.testGroupCompents = pkId
|
|
539
|
+
}
|
|
540
|
+
const handleClickNum = () => {
|
|
541
|
+
this.$refs['test-run']?.openDetail()
|
|
542
|
+
}
|
|
543
|
+
const clearNum = () => {
|
|
544
|
+
form.testGroupView = null
|
|
545
|
+
form.testGroupCompents = ''
|
|
546
|
+
}
|
|
547
|
+
return (<DetailTestRunCustomer
|
|
548
|
+
ref="test-run"
|
|
549
|
+
form={form}
|
|
550
|
+
onClickNum={handleClickNum}
|
|
551
|
+
onClearNum={clearNum}
|
|
552
|
+
disabled={this.isText || this.isPauseUpdate}
|
|
553
|
+
onChange={(pkId, row) => handleChange(pkId, row)}
|
|
554
|
+
/>)
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
title: '活动说明',
|
|
559
|
+
key: 'actDesc',
|
|
560
|
+
type: 'textarea',
|
|
561
|
+
isRequired: false,
|
|
562
|
+
props: {
|
|
563
|
+
maxlength: 1000,
|
|
564
|
+
placeholder: `此项活动的目的,此项活动针对的目标客群特征,对应的产品、渠道、优惠政策`
|
|
565
|
+
},
|
|
566
|
+
attrs: {
|
|
567
|
+
rows: 4
|
|
568
|
+
},
|
|
569
|
+
disabled: this.isText
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
key: 'executeStartTime',
|
|
573
|
+
defaultValue: null,
|
|
574
|
+
isShow: false
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
key: 'executeEndTime',
|
|
578
|
+
defaultValue: dayjs().add(3, 'month').set('hour', 23).set('minute', 59).set('second', 59),
|
|
579
|
+
isShow: false
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
key: 'executeFlag',
|
|
583
|
+
defaultValue: true,
|
|
584
|
+
isShow: false
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
key: 'superviseStartTime',
|
|
588
|
+
defaultValue: null,
|
|
589
|
+
isShow: false
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
key: 'superviseEndTime',
|
|
593
|
+
defaultValue: null,
|
|
594
|
+
isShow: false
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
key: 'superviseFlag',
|
|
598
|
+
defaultValue: true,
|
|
599
|
+
isShow: false
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
key: 'cornData',
|
|
603
|
+
defaultValue: {
|
|
604
|
+
month: [],
|
|
605
|
+
day: [],
|
|
606
|
+
week: [],
|
|
607
|
+
hour: []
|
|
608
|
+
},
|
|
609
|
+
isShow: false
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
key: 'hotDeployType',
|
|
613
|
+
defaultValue: '0',
|
|
614
|
+
isShow: false
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
key: 'testGroupCompents',
|
|
618
|
+
defaultValue: '',
|
|
619
|
+
isShow: false
|
|
620
|
+
}
|
|
621
|
+
],
|
|
622
|
+
tableData: [],
|
|
623
|
+
stepIndex: 0,
|
|
624
|
+
libId: '',
|
|
625
|
+
oldLibId: undefined,
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
watch: {
|
|
629
|
+
libId: {
|
|
630
|
+
handler(newLibId, oldLibId) {
|
|
631
|
+
this.oldLibId = oldLibId
|
|
632
|
+
this.$parent.getChannelCompAllList()
|
|
633
|
+
},
|
|
634
|
+
immediate: true
|
|
635
|
+
},
|
|
636
|
+
defaultLibId: {
|
|
637
|
+
handler(newVal) {
|
|
638
|
+
this.libId = newVal;
|
|
639
|
+
},
|
|
640
|
+
immediate: true
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
created(){
|
|
644
|
+
this.fields.forEach(item => {
|
|
645
|
+
if(item.title?.includes('活动')) {
|
|
646
|
+
item.title = item.title.replace('活动',this.joName)
|
|
647
|
+
}
|
|
648
|
+
if (item.key === 'actDesc') {
|
|
649
|
+
item.props.placeholder = item.props.placeholder.replace('活动',this.joName)
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
})
|
|
653
|
+
},
|
|
654
|
+
computed: {
|
|
655
|
+
...mapState(['profile', 'config', 'customerTagMap', 'libList']),
|
|
656
|
+
...mapGetters({
|
|
657
|
+
defaultLibId: 'libId'
|
|
658
|
+
}),
|
|
659
|
+
joName(){
|
|
660
|
+
return this.config.IS_ACTIVITY ? this.config.IS_ACTIVITY : ''
|
|
661
|
+
},
|
|
662
|
+
portHotDeplayReadonly() {
|
|
663
|
+
return this.$route.query.mode === 'pause_update' ? (this.isSupportHotDeploy ? false : true) : this.isText
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
async mounted() {
|
|
667
|
+
// 周期活动不涉及成本管理相关操作
|
|
668
|
+
if (!this.isLoop && this.config.SHOW_COST === '1') {
|
|
669
|
+
this.$refs.cost.form.tableData = []
|
|
670
|
+
// vuex 中设置成本校验状态为true
|
|
671
|
+
this.setCostValid(true)
|
|
672
|
+
}
|
|
673
|
+
await this.getMulActTypeList()
|
|
674
|
+
this.getOptions()
|
|
675
|
+
},
|
|
676
|
+
methods: {
|
|
677
|
+
...mapMutations({
|
|
678
|
+
setCostValid: 'market/setCostValid',
|
|
679
|
+
}),
|
|
680
|
+
handleLibIdChange() {
|
|
681
|
+
this.$confirm('切换标签库会清空画布所有内容,是否继续?', '提示', { type: 'warning' }).then(() => {
|
|
682
|
+
console.log('切换成功')
|
|
683
|
+
// todo 切换成功,清空画布内容、活动目标
|
|
684
|
+
this.$parent.$refs.detail.clearCanvas()
|
|
685
|
+
let detailForm = this.getForm()
|
|
686
|
+
this.setActNumber({ ...detailForm, areas: [], actType: '' })
|
|
687
|
+
this.resetLibId()
|
|
688
|
+
}).catch(() => {
|
|
689
|
+
this.libId = this.oldLibId
|
|
690
|
+
})
|
|
691
|
+
},
|
|
692
|
+
async getMulActTypeList() {
|
|
693
|
+
const data = await getMulActTypeList({ libId: this.getLibId() })
|
|
694
|
+
let target = data.data.sort((a, b) => a.sort - b.sort)
|
|
695
|
+
let tree = this.$util.listToTree({
|
|
696
|
+
data: target,
|
|
697
|
+
rootValue: null,
|
|
698
|
+
valueKey: 'id',
|
|
699
|
+
parentKey: 'parentId',
|
|
700
|
+
labelKey: 'name'
|
|
701
|
+
})
|
|
702
|
+
let formatTree = pruneTree(tree)
|
|
703
|
+
this.treeData = getDisabled(formatTree)
|
|
704
|
+
},
|
|
705
|
+
setDefaultTarget(form) {
|
|
706
|
+
let code = form.actType
|
|
707
|
+
if (!code) return
|
|
708
|
+
getTargetById(code).then(res => {
|
|
709
|
+
form.areas = formatTargetToPage((res.data || []), this.customerTagMap)
|
|
710
|
+
})
|
|
711
|
+
},
|
|
712
|
+
getOptions() {
|
|
713
|
+
this.$nextTick(() => {
|
|
714
|
+
this.$refs.form?.clear()
|
|
715
|
+
let profile = this.profile
|
|
716
|
+
let params = {
|
|
717
|
+
actInitiator: profile.userName,
|
|
718
|
+
actInitiatorName: profile.positionName,
|
|
719
|
+
actInitiatorOrgName: profile.orgName
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
if (this.mode === 'add' && this.treeData && this.treeData.length) {
|
|
723
|
+
let actType = ''
|
|
724
|
+
function loop (list) {
|
|
725
|
+
if (list[0].children && list[0].children.length) {
|
|
726
|
+
loop(list[0].children)
|
|
727
|
+
} else {
|
|
728
|
+
actType = list[0].code
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
loop(this.treeData)
|
|
732
|
+
params.actType = actType
|
|
733
|
+
}
|
|
734
|
+
if (this.routerParams && this.routerParams.length) {
|
|
735
|
+
let routeParams = {
|
|
736
|
+
...params,
|
|
737
|
+
...JSON.parse(this.routerParams)
|
|
738
|
+
}
|
|
739
|
+
this.tableData = routeParams.tableData
|
|
740
|
+
delete routeParams.tableData
|
|
741
|
+
this.$refs.form.setForm(routeParams)
|
|
742
|
+
} else {
|
|
743
|
+
this.$refs.form?.setForm(params)
|
|
744
|
+
}
|
|
745
|
+
})
|
|
746
|
+
let list = [
|
|
747
|
+
'bigsales.OPPT_TYPE',
|
|
748
|
+
'bigsales.OPPT_SUB_TYPE',
|
|
749
|
+
'bigsales.OPPT_MONITOR_TYPE',
|
|
750
|
+
'bigsales.OPPT_MONITOR_DELAY',
|
|
751
|
+
'bigsales.OPPT_CYCLE_RANGE',
|
|
752
|
+
'bigsales.TARGET_DETERMINE_METHOD'
|
|
753
|
+
]
|
|
754
|
+
this.$getOptionsForSystemParams(list).then(data => {
|
|
755
|
+
this.fields.find(item => item.key === 'actType').options = data[0]
|
|
756
|
+
this.fields.find(item => item.key === 'actTypeSub').options = data[1]
|
|
757
|
+
this.fields.find(item => item.key === 'monitorType').options = data[2]
|
|
758
|
+
this.fields.find(item => item.key === 'monitorDelay').options = data[3]
|
|
759
|
+
this.fields.find(item => item.key === 'cycleRange').options = data[4]
|
|
760
|
+
this.fields.find(item => item.key === 'targetConfirmType').options = data[5]
|
|
761
|
+
this.$nextTick(() => {
|
|
762
|
+
this.$refs.form.clear()
|
|
763
|
+
})
|
|
764
|
+
})
|
|
765
|
+
},
|
|
766
|
+
setCycleOptions(form) {
|
|
767
|
+
let type = form?.cycleRange || ''
|
|
768
|
+
let options = dayOptions
|
|
769
|
+
let multiple = false
|
|
770
|
+
switch (type) {
|
|
771
|
+
case 'day':
|
|
772
|
+
options = dayOptions
|
|
773
|
+
multiple = false
|
|
774
|
+
break
|
|
775
|
+
case 'week':
|
|
776
|
+
options = weekOptions
|
|
777
|
+
multiple = true
|
|
778
|
+
break
|
|
779
|
+
case 'month':
|
|
780
|
+
options = monthOptions()
|
|
781
|
+
multiple = true
|
|
782
|
+
break
|
|
783
|
+
default:
|
|
784
|
+
break
|
|
785
|
+
}
|
|
786
|
+
this.$nextTick(() => {
|
|
787
|
+
this.fields.find((i) => i.key === 'cycleWay').options = options
|
|
788
|
+
this.fields.find((i) => i.key === 'cycleWay').props.multiple = multiple
|
|
789
|
+
setTimeout(() => {
|
|
790
|
+
this.$refs.form?.clear()
|
|
791
|
+
}, 100)
|
|
792
|
+
})
|
|
793
|
+
},
|
|
794
|
+
// 下一步
|
|
795
|
+
goNext({ immediateSave }, dialogInset = false) {
|
|
796
|
+
this.$refs.actTarget.getForm()
|
|
797
|
+
let params = this.getForm()
|
|
798
|
+
if (!this.isLoop && this.config.SHOW_COST === '1') {
|
|
799
|
+
// 非周期活动有成本管理
|
|
800
|
+
let costValid = this.$refs.cost.valid()
|
|
801
|
+
this.setCostValid(costValid)
|
|
802
|
+
params.costsResponseDTOS = this.$refs.cost.form.tableData
|
|
803
|
+
params.totalCost = this.$refs.cost.totalCost
|
|
804
|
+
}
|
|
805
|
+
this.$emit('next', {
|
|
806
|
+
mode: 'add',
|
|
807
|
+
params: JSON.stringify(params),
|
|
808
|
+
isLoop: this.isLoop,
|
|
809
|
+
immediateSave: immediateSave ? true : false
|
|
810
|
+
})
|
|
811
|
+
},
|
|
812
|
+
setForm(params) {
|
|
813
|
+
this.setCycleOptions(params)
|
|
814
|
+
this.$nextTick(() => {
|
|
815
|
+
this.$refs.form.reset()
|
|
816
|
+
this.$refs.form.setForm(params)
|
|
817
|
+
this.$refs.cycleSetting && this.$refs.cycleSetting.showData()
|
|
818
|
+
setTimeout(() => {
|
|
819
|
+
this.$refs.subActivityTable && this.$refs.subActivityTable.getTable()
|
|
820
|
+
}, 1000)
|
|
821
|
+
})
|
|
822
|
+
},
|
|
823
|
+
setActNumber (params) {
|
|
824
|
+
this.$nextTick(() => {
|
|
825
|
+
this.$refs.form.setForm(params)
|
|
826
|
+
})
|
|
827
|
+
},
|
|
828
|
+
resetLibId() {
|
|
829
|
+
this.getMulActTypeList()
|
|
830
|
+
},
|
|
831
|
+
getForm() {
|
|
832
|
+
return {
|
|
833
|
+
...this.$refs.form.getForm(),
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
handleFormSubmit(form, valid) {
|
|
837
|
+
if (valid) {
|
|
838
|
+
let params = this.getForm()
|
|
839
|
+
params.tableData = this.tableData
|
|
840
|
+
// this.goNext({ immediateSave: true })
|
|
841
|
+
this.$emit('save-first-step-form',{
|
|
842
|
+
ode: 'add',
|
|
843
|
+
params: JSON.stringify(params),
|
|
844
|
+
isLoop: this.isLoop,
|
|
845
|
+
immediateSave: true
|
|
846
|
+
} )
|
|
847
|
+
}
|
|
848
|
+
},
|
|
849
|
+
handleClose() {
|
|
850
|
+
this.$emit('cancel')
|
|
851
|
+
let name = this.isLoop ? 'market/cycle' : 'market/event'
|
|
852
|
+
this.$router.replace({
|
|
853
|
+
name,
|
|
854
|
+
query: {
|
|
855
|
+
__beforeClose: true
|
|
856
|
+
}
|
|
857
|
+
})
|
|
858
|
+
},
|
|
859
|
+
handleGetActNumber (form) {
|
|
860
|
+
let params = {
|
|
861
|
+
createUser: form.actInitiator,
|
|
862
|
+
type: this.isLoop ? 1 : 0
|
|
863
|
+
}
|
|
864
|
+
getActNumber(params).then(res => {
|
|
865
|
+
form.actNumber = res.data
|
|
866
|
+
})
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
</script>
|
|
871
|
+
<style lang="less" scoped>
|
|
872
|
+
.event-basis-news {
|
|
873
|
+
width: 100%;
|
|
874
|
+
height: 100%;
|
|
875
|
+
.el-step__title {
|
|
876
|
+
line-height: 32px !important;
|
|
877
|
+
}
|
|
878
|
+
.basis-main{
|
|
879
|
+
height: calc(100% - 40px);
|
|
880
|
+
overflow-y: auto;
|
|
881
|
+
background-color: #fff;
|
|
882
|
+
padding-bottom: 50px;
|
|
883
|
+
}
|
|
884
|
+
.step-header {
|
|
885
|
+
// height: 76px;
|
|
886
|
+
padding: 16px 0 10px 0;
|
|
887
|
+
margin-bottom: 24px;
|
|
888
|
+
border-bottom: 1px solid #E3E5E8;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
.yt-form {
|
|
892
|
+
width: 80%;
|
|
893
|
+
margin: 0 auto 56px;
|
|
894
|
+
}
|
|
895
|
+
.form-footer{
|
|
896
|
+
width: 100%;
|
|
897
|
+
height: 40px;
|
|
898
|
+
// box-shadow: 0px 0px 16px 0px rgb(172 182 195 / 65%);
|
|
899
|
+
background-color: #fff;
|
|
900
|
+
z-index: 11;
|
|
901
|
+
position: absolute;
|
|
902
|
+
left: 0;
|
|
903
|
+
bottom: 0;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.title {
|
|
907
|
+
font-size: 16px;
|
|
908
|
+
font-weight: bold;
|
|
909
|
+
padding: 0 0 16px;
|
|
910
|
+
|
|
911
|
+
span {
|
|
912
|
+
border-left: 2px solid #13B4F5;
|
|
913
|
+
padding-left: 5px;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
margin-top: 10px;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
.cost-table {
|
|
920
|
+
margin-bottom: 30px;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.table-icon {
|
|
924
|
+
font-size: 20px;
|
|
925
|
+
cursor: pointer;
|
|
926
|
+
margin: 10px 5px;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
.btn-box {
|
|
930
|
+
width: 100%;
|
|
931
|
+
height: 56px;
|
|
932
|
+
box-shadow: 0px 0px 16px 0px rgba(172, 182, 195, 0.65);
|
|
933
|
+
background-color: #fff;
|
|
934
|
+
z-index: 11;
|
|
935
|
+
position: absolute;
|
|
936
|
+
left: 0;
|
|
937
|
+
bottom: 0;
|
|
938
|
+
.flex();
|
|
939
|
+
}
|
|
940
|
+
.label-view {
|
|
941
|
+
width: 80%;
|
|
942
|
+
margin: 0 auto;
|
|
943
|
+
// margin-bottom: 18px;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
}
|
|
947
|
+
</style>
|