部分内容优化

This commit is contained in:
wuhui_zzw 2023-11-15 10:09:31 +08:00
parent fa933cc7ed
commit 7c89cdd8e8
19 changed files with 50 additions and 158 deletions

View File

@ -1,12 +1,4 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
const { run } = require('runjs') const { run } = require('runjs')
const chalk = require('chalk') const chalk = require('chalk')

View File

@ -1,8 +1,8 @@
<template> <template>
<div class="ivu-global-footer i-copyright" v-if="openVersion !== '0'"> <!--<div class="ivu-global-footer i-copyright" v-if="openVersion !== '0'">-->
<div v-if="version.status == -1" class="ivu-global-footer-copyright">{{ `Copyright ${version.year} ` }}<a :href="`${version.url}`" target="_blank">{{ version.version }}</a></div> <!-- <div v-if="version.status == -1" class="ivu-global-footer-copyright">{{ `Copyright ${version.year} ` }}<a :href="`${version.url}`" target="_blank">{{ version.version }}</a></div>-->
<div v-else class="ivu-global-footer-copyright">{{ version.Copyright }}</div> <!-- <div v-else class="ivu-global-footer-copyright">{{ version.Copyright }}</div>-->
</div> <!--</div>-->
</template> </template>
<script> <script>
@ -12,7 +12,7 @@ export default {
name: 'i-copyright', name: 'i-copyright',
data () { data () {
return { return {
copyright: 'Copyright © 2022 西安众邦网络科技有限公司', copyright: '',
openVersion: '0', openVersion: '0',
copyright_status: '0', copyright_status: '0',
version: {} version: {}

View File

@ -335,7 +335,7 @@ export default {
'2.将第 2 步商城后台保存提交的配置信息(再次强调上一步需要提交哦~),在微信公众平台上填写。', '2.将第 2 步商城后台保存提交的配置信息(再次强调上一步需要提交哦~),在微信公众平台上填写。',
], ],
alert: [ alert: [
'1.URL填写内容为http://你的域名/api/Wechat/serve例如http://<a>www.crmeb.com</a>/api/Wechat/serve', '1.URL填写内容为http://你的域名/api/Wechat/serve',
'2.AppID、AppSecret、Token、消息加密方式、EncodingAESKey两边的服务器配置必须要<a href="javascript:;">完全一致</a>哦~', '2.AppID、AppSecret、Token、消息加密方式、EncodingAESKey两边的服务器配置必须要<a href="javascript:;">完全一致</a>哦~',
], ],
image: ['wechat-3-3-2.png'], image: ['wechat-3-3-2.png'],

View File

@ -71,8 +71,7 @@ export default {
"a", "a",
{ {
attrs: { attrs: {
href: href: "",
"http://www.crmeb.com/home/grant/applyauthorize.html",
target: "_blank" target: "_blank"
} }
}, },

View File

@ -85,13 +85,13 @@
</el-form> </el-form>
</div> </div>
</div> </div>
<div class="record_number"> <!--<div class="record_number">-->
<template v-if="copyright.status == -1"> <!-- <template v-if="copyright.status == -1">-->
<span class="cell">Copyright {{ copyright.year }}</span> <!-- <span class="cell">Copyright {{ copyright.year }}</span>-->
<a class="cell" :href="`http://${copyright.url}`" target="_blank">{{ copyright.version }}</a> <!-- <a class="cell" :href="`http://${copyright.url}`" target="_blank">{{ copyright.version }}</a>-->
</template> <!-- </template>-->
<template v-else>{{ copyright.Copyright }}</template> <!-- <template v-else>{{ copyright.Copyright }}</template>-->
</div> <!--</div>-->
<Verify @success="success" captchaType="blockPuzzle" :imgSize="{ width: '330px', height: '155px' }" ref="verify"></Verify> <Verify @success="success" captchaType="blockPuzzle" :imgSize="{ width: '330px', height: '155px' }" ref="verify"></Verify>
</div> </div>
</template> </template>

View File

@ -96,7 +96,6 @@
placeholder="请输入您在淘宝或小程序购买的源码订单号" placeholder="请输入您在淘宝或小程序购买的源码订单号"
class="customer" class="customer"
> >
<a slot="append" target="_blank" href="http://www.crmeb.com/home/grant/applyauthorize.html">联系客服获取订单号</a>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="手机号:" label-for="phone" prop="phone"> <el-form-item label="手机号:" label-for="phone" prop="phone">
@ -262,9 +261,7 @@ export default {
_this.authorizedPicture = img[0]; _this.authorizedPicture = img[0];
}); });
}, },
toCrmeb() { toCrmeb() {},
window.open('http://www.crmeb.com')
},
handleClose(){ handleClose(){
this.isTemplate = false this.isTemplate = false
this.getAuthData(); this.getAuthData();

View File

@ -67,20 +67,12 @@
/> />
</div> </div>
</el-card> </el-card>
</div> </div>
</template> </template>
<script> <script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEBCRMEB
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import { applyTempLstApi } from '@/api/sms' import { applyTempLstApi } from '@/api/sms'
import { roterPre } from '@/settings' import { roterPre } from '@/settings'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'

View File

@ -89,15 +89,7 @@
</template> </template>
<script> <script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEBCRMEB
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import { smsTempLstApi, tempCreateApi } from '@/api/sms' import { smsTempLstApi, tempCreateApi } from '@/api/sms'
import { roterPre } from '@/settings' import { roterPre } from '@/settings'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'

View File

@ -111,15 +111,7 @@
</template> </template>
<script> <script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEBCRMEB
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import { import {
createConfigSettingTable, createConfigSettingTable,
updateConfigSettingTable, updateConfigSettingTable,

View File

@ -165,15 +165,7 @@
</template> </template>
<script> <script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEBCRMEB
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import { replyListApi, replyDeleteApi, replyStatusApi, replyAddApi, replyEditApi } from '@/api/systemForm' import { replyListApi, replyDeleteApi, replyStatusApi, replyAddApi, replyEditApi } from '@/api/systemForm'
import { roterPre } from '@/settings' import { roterPre } from '@/settings'
import { getToken } from "@/utils/auth"; import { getToken } from "@/utils/auth";
@ -279,7 +271,7 @@ export default {
const _this = this; const _this = this;
this.$modalUpload(function(img) { this.$modalUpload(function(img) {
_this.formValidate.content = img[0]; _this.formValidate.content = img[0];
}); });
}, },
handleClose(tag) { handleClose(tag) {
@ -299,7 +291,7 @@ export default {
if (valid) { if (valid) {
this.loading = true; this.loading = true;
this.formValidate.keyword = this.labelarr.join(","); this.formValidate.keyword = this.labelarr.join(",");
this.message_id ? this.message_id ?
replyEditApi(this.message_id, this.formValidate) replyEditApi(this.message_id, this.formValidate)
.then(async res => { .then(async res => {
this.loading = false; this.loading = false;

View File

@ -59,15 +59,7 @@
</template> </template>
<script> <script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEBCRMEB
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import { roterPre } from '@/settings' import { roterPre } from '@/settings'
import { import {
createGroupTable, createGroupTable,

View File

@ -18,7 +18,7 @@
<div style="font-weight: bold;">小程序订阅消息</div> <div style="font-weight: bold;">小程序订阅消息</div>
<div>登录微信小程序后台基本设置服务类目增加生活服务 > 百货/超市/便利店 <span style="color: #FF9400;">(否则同步小程序订阅消息会报错)</span></div> <div>登录微信小程序后台基本设置服务类目增加生活服务 > 百货/超市/便利店 <span style="color: #FF9400;">(否则同步小程序订阅消息会报错)</span></div>
<div>同步小程序订阅消息 是在小程序后台未添加订阅消息模板的前提下使用的会新增一个模板消息并把信息同步过来如果小程序后台已经添加过的会跳过不会更新本项目数据库</div> <div>同步小程序订阅消息 是在小程序后台未添加订阅消息模板的前提下使用的会新增一个模板消息并把信息同步过来如果小程序后台已经添加过的会跳过不会更新本项目数据库</div>
<div style="font-weight: bold;">微信模板消息</div> <div style="font-weight: bold;">微信模板消息</div>
<div>登录微信公众号后台选择模板消息将模板消息的所在行业修改副行业为其他/其他 <span style="color: #FF9400;">(否则同步模板消息不成功)</span></div> <div>登录微信公众号后台选择模板消息将模板消息的所在行业修改副行业为其他/其他 <span style="color: #FF9400;">(否则同步模板消息不成功)</span></div>
<div>同步公众号模板消息 同步公众号模板会删除公众号后台现有的模板并重新添加新的模板然后同步信息到数据库如果多个项目使用同一个公众号的模板请谨慎操作</div> <div>同步公众号模板消息 同步公众号模板会删除公众号后台现有的模板并重新添加新的模板然后同步信息到数据库如果多个项目使用同一个公众号的模板请谨慎操作</div>
</el-collapse-item> </el-collapse-item>
@ -69,12 +69,12 @@
<el-switch v-if="scope.row.notice_sms == 0 || scope.row.notice_sms == 1" v-model="scope.row.notice_sms" :active-value="1" :inactive-value="0" active-text="开启" inactive-text="关闭" @click.native="onchangeIsShow(scope.row,'notice_sms')" /> <el-switch v-if="scope.row.notice_sms == 0 || scope.row.notice_sms == 1" v-model="scope.row.notice_sms" :active-value="1" :inactive-value="0" active-text="开启" inactive-text="关闭" @click.native="onchangeIsShow(scope.row,'notice_sms')" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" min-width="90" fixed="right"> <el-table-column label="操作" min-width="90" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- <el-button type="text" size="small" @click="onSet(scope.row.notice_config_id)">编辑</el-button> --> <!-- <el-button type="text" size="small" @click="onSet(scope.row.notice_config_id)">编辑</el-button> -->
<el-button type="text" size="small" @click="onChange(scope.row.notice_config_id)">设置</el-button> <el-button type="text" size="small" @click="onChange(scope.row.notice_config_id)">设置</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="block"> <div class="block">
@ -87,22 +87,14 @@
@size-change="handleSizeChange" @size-change="handleSizeChange"
@current-change="pageChange" @current-change="pageChange"
/> />
</div> </div>
</el-card> </el-card>
</div> </div>
</template> </template>
<script> <script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEBCRMEB
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import { messageManageLst, addMessageApi, messageSettingApi, messageStatusApi, syncAppletsApi, syncPublicApi, messageChangeApi } from '@/api/setting' import { messageManageLst, addMessageApi, messageSettingApi, messageStatusApi, syncAppletsApi, syncPublicApi, messageChangeApi } from '@/api/setting'
import { configApi } from '@/api/system' import { configApi } from '@/api/system'
import { roterPre } from '@/settings' import { roterPre } from '@/settings'
@ -212,5 +204,5 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
</style> </style>

View File

@ -21,24 +21,24 @@
<div v-if="['img','image','pic'].indexOf(item.key) > -1 || item.key.indexOf('pic') > -1 || item.key.indexOf('img') > -1 || item.key.indexOf('image') > -1 || item.key.indexOf('banner') > -1" class="demo-image__preview"> <div v-if="['img','image','pic'].indexOf(item.key) > -1 || item.key.indexOf('pic') > -1 || item.key.indexOf('img') > -1 || item.key.indexOf('image') > -1 || item.key.indexOf('banner') > -1" class="demo-image__preview">
<div v-if="Array.isArray(scope.row[item.key])"> <div v-if="Array.isArray(scope.row[item.key])">
<span v-for="(item,index) in scope.row[item.key]" :key="index"> <span v-for="(item,index) in scope.row[item.key]" :key="index">
<el-image <el-image
style="width: 36px; height: 36px; margin-right: 5px;" style="width: 36px; height: 36px; margin-right: 5px;"
:src="item" :src="item"
/> />
</span> </span>
</div> </div>
<div v-else> <div v-else>
<el-image <el-image
style="width: 36px; height: 36px" style="width: 36px; height: 36px"
:src="scope.row[item.key]" :src="scope.row[item.key]"
/> />
</div> </div>
</div> </div>
<span v-else-if="item.key=='type'"> <span v-else-if="item.key=='type'">
{{scope.row[item.key] == 1 ? '小图' : (scope.row[item.key] == 2 ? '中图' : '大图')}} {{scope.row[item.key] == 1 ? '小图' : (scope.row[item.key] == 2 ? '中图' : '大图')}}
</span> </span>
<span v-else>{{ scope.row[item.key] }}</span> <span v-else>{{ scope.row[item.key] }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -80,15 +80,7 @@
</template> </template>
<script> <script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEBCRMEB
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import { import {
createGroupData, createGroupData,
updateGroupData, updateGroupData,

View File

@ -7,15 +7,7 @@
</template> </template>
<script> <script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEBCRMEB
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import formCreate from '@form-create/element-ui' import formCreate from '@form-create/element-ui'
import { deliveryConfigApi, uploadApi } from '@/api/systemForm' import { deliveryConfigApi, uploadApi } from '@/api/systemForm'

View File

@ -7,7 +7,7 @@
<form-create v-if="FromData" :option="option" :rule="FromData.rule" @submit="onSubmit" /> <form-create v-if="FromData" :option="option" :rule="FromData.rule" @submit="onSubmit" />
</el-col> </el-col>
</el-row> </el-row>
</el-card> </el-card>
<el-drawer :visible.sync="guideShow" :title="`${title}引导`" size="800px"> <el-drawer :visible.sync="guideShow" :title="`${title}引导`" size="800px">
<component :is="types"></component> <component :is="types"></component>
@ -16,15 +16,7 @@
</template> </template>
<script> <script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEBCRMEB
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import guide from '@/components/settingGuide/index'; import guide from '@/components/settingGuide/index';
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import formCreate from '@form-create/element-ui' import formCreate from '@form-create/element-ui'
@ -77,7 +69,7 @@ export default {
let routerArr = this.$route.path.split('/') let routerArr = this.$route.path.split('/')
let routeKey = routerArr[routerArr.length-1] let routeKey = routerArr[routerArr.length-1]
this.getType(routeKey) this.getType(routeKey)
this.tempRoute = Object.assign({}, this.$route) //'wechat_open_app' this.tempRoute = Object.assign({}, this.$route) //'wechat_open_app'
}, },
methods: { methods: {
getFrom() { getFrom() {

View File

@ -35,15 +35,7 @@
</template> </template>
<script> <script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEBCRMEB
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import ueditorFrom from '@/components/ueditorFrom' import ueditorFrom from '@/components/ueditorFrom'
import { import {

View File

@ -55,15 +55,7 @@
</template> </template>
<script> <script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEBCRMEB
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import { import {
groupLstApi, groupLstApi,
groupFormApi, groupFormApi,

View File

@ -101,15 +101,7 @@
</template> </template>
<script> <script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEBCRMEB
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import { couponSendApi, platformLstApi } from '@/api/marketing' import { couponSendApi, platformLstApi } from '@/api/marketing'
import { roterPre } from '@/settings' import { roterPre } from '@/settings'
export default { export default {
@ -130,7 +122,7 @@ export default {
userFrom: { userFrom: {
type: Object, type: Object,
required: true required: true
} }
}, },
data() { data() {
return { return {
@ -179,7 +171,7 @@ export default {
search: that.userFrom, search: that.userFrom,
mark: that.filter(this.couponForm), mark: that.filter(this.couponForm),
is_all: that.allCheck ? 1 : 0, is_all: that.allCheck ? 1 : 0,
uid: that.checkedIds uid: that.checkedIds
} }
couponSendApi(params).then(res => { couponSendApi(params).then(res => {
that.$message.success(res.message) that.$message.success(res.message)
@ -187,7 +179,7 @@ export default {
}).catch(res => { }).catch(res => {
that.$message.error(res.message) that.$message.error(res.message)
}) })
}).catch(action => { }).catch(action => {
that.$message({ that.$message({
type: 'info', type: 'info',
@ -210,7 +202,7 @@ export default {
platformLstApi(this.tableFrom).then(res => { platformLstApi(this.tableFrom).then(res => {
this.tableData.data = res.data.list this.tableData.data = res.data.list
this.tableData.total = res.data.count this.tableData.total = res.data.count
this.listLoading = false this.listLoading = false
}).catch(res => { }).catch(res => {
this.listLoading = false this.listLoading = false
this.$message.error(res.message) this.$message.error(res.message)

View File

@ -7,8 +7,8 @@
<el-tab-pane label="微信用户" name="wechat" /> <el-tab-pane label="微信用户" name="wechat" />
<el-tab-pane label="小程序用户" name="routine" /> <el-tab-pane label="小程序用户" name="routine" />
<el-tab-pane label="H5用户" name="h5" /> <el-tab-pane label="H5用户" name="h5" />
<el-tab-pane label="APP" name="app" /> <!--<el-tab-pane label="APP" name="app" />-->
<el-tab-pane label="PC" name="pc" /> <!--<el-tab-pane label="PC" name="pc" />-->
</el-tabs> </el-tabs>
<div class="container"> <div class="container">
<el-form inline size="small" :label-position="labelPosition" label-width="100px"> <el-form inline size="small" :label-position="labelPosition" label-width="100px">