Commit e02dd920 by xuyl

v2.7.0需求开发以及七月份UI改版

1 parent 1416b0c1
......@@ -15,7 +15,7 @@
"echarts": "^5.2.0",
"element-ui": "^2.4.5",
"glsx-common": "^1.4.6",
"glsx-components": "^1.4.2",
"glsx-components": "^1.4.4",
"glsx-table": "^1.1.0",
"jquery": "^3.6.0",
"sha1": "^1.1.1",
......
......@@ -2,53 +2,54 @@ import Vue from 'vue'
import { message } from '@/plugins/element.js'
import { fetchConfig } from '@/config'
import ElementUI from 'element-ui'
import { GLButton, GLTable, GLCombiForm } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { GLButton, GLTable, GLCombiForm, GLDialog } from 'glsx-components' //权限按钮 (根据权限动态创建)
import GLFull from '@/components/GLFull'
import { getRoutes } from '@/router'
import render from './render'
Vue.use(ElementUI)
Vue.use(GLTable)
Vue.use(GLCombiForm)
Vue.use(GLDialog)
Vue.component('GLFull', GLFull)
import 'glsx-components/dist/glsx-components.css'
let routes = []
let router = null
let instance = null
// http:调的是新版标签的接口,http2:调的是客户相关接口;http3:企微授权那边的接口 目前导出接口都测试的:http3
// http:调的是新版标签的接口,http2:调的是客户相关接口;http3:企微授权那边的接口 目前导出接口都测试的:http3
export async function bootstrap({ name, id, history, common, messenger, globalState, routerBase }) {
const { response, request, request2, request3, request4, sign, secret, sign_common, request_common } = await fetchConfig(globalState.configSwitch) //globalState.configSwitch
Vue.prototype.$history = history
Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState
Vue.prototype.$common = common
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http2 = new common.Http({ response, request: request2, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http3 = new common.Http({ response, request: request3, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
// Vue.prototype.$http4 = new common.Http({ response, request: request4, sign, secret, alert: message.error, headers: { token: 'scrm-base-e2d4f962-4ca3-4044-83e7-01ba314d8e3d-rop' } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: "mini-14eda653-4284-4165-bb85-325bb82a516d-rop" } })
Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: globalState.session.token } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
//Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
const routesData = common.utils.deepClone(globalState.routers)
routes = getRoutes(routesData)
// { name, id, }
subscribe({ messenger })
Vue.use(GLButton, { routes, routerBase })
const { response, request, request2, request3, request4, sign, secret, sign_common, request_common } = await fetchConfig(globalState.configSwitch) //globalState.configSwitch
Vue.prototype.$history = history
Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState
Vue.prototype.$common = common
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http2 = new common.Http({ response, request: request2, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http3 = new common.Http({ response, request: request3, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
// Vue.prototype.$http4 = new common.Http({ response, request: request4, sign, secret, alert: message.error, headers: { token: 'scrm-base-e2d4f962-4ca3-4044-83e7-01ba314d8e3d-rop' } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: "mini-14eda653-4284-4165-bb85-325bb82a516d-rop" } })
Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: globalState.session.token } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
//Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
const routesData = common.utils.deepClone(globalState.routers)
routes = getRoutes(routesData)
// { name, id, }
subscribe({ messenger })
Vue.use(GLButton, { routes, routerBase })
}
export async function mount(props) {
const insts = render(props.routerBase, routes)
router = insts.router
instance = insts.vm
const insts = render(props.routerBase, routes)
router = insts.router
instance = insts.vm
}
export async function unmount() {
instance.$destroy()
instance.$el.innerHTML = ''
instance = null
router = null
instance.$destroy()
instance.$el.innerHTML = ''
instance = null
router = null
}
function subscribe({ messenger }) {
messenger.subscribe(v => {
console.log(`监听到子应用${v.from}发来消息:`, v)
})
}
messenger.subscribe(v => {
console.log(`监听到子应用${v.from}发来消息:`, v)
})
}
\ No newline at end of file
.el-select {
width: 100%;
width: 100%;
}
.el-pagination {
display: flex;
margin-top: 18px;
display: flex;
margin-top: 18px;
}
.el-message-box__btns .el-button--small {
min-width: 68px;
}
.glsx-table .el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: $btnBlue;
color: #fff;
min-width: 68px;
}
.el-dialog__header .el-dialog__title {
height: 28px;
font-size: 20px;
font-weight: bold;
color: #333333;
line-height: 28px;
.glsx-table .el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: $btnBlue;
color: #fff;
}
/deep/ .el-input__inner:focus {
border-color: $btnBlue !important;
border-color: $btnBlue !important;
}
/deep/.el-range-editor.is-active,
.el-range-editor.is-active:hover {
border-color: $btnBlue;
border-color: $btnBlue;
}
.el-message-box {
width: 547px;
height: 310px;
box-sizing: border-box;
padding-bottom: 10px;
width: 547px;
height: 310px;
box-sizing: border-box;
padding-bottom: 10px;
}
.el-message-box__title {
padding-left: 0;
margin-bottom: 0;
font-size: 20px;
line-height: 1;
color: #333;
padding-left: 0;
margin-bottom: 0;
font-size: 20px;
line-height: 1;
color: #333;
}
.el-message-box__title {
display: block !important;
display: block !important;
}
.el-message-box__headerbtn {
display: block !important;
color: #666666;
display: block !important;
color: #666666;
}
.el-message-box__header {
position: relative;
padding: 15px 20px;
border-bottom: 1px solid #e6e6e6;
position: relative;
padding: 15px 20px;
border-bottom: 1px solid #e6e6e6;
}
.el-message-box__content {
text-align: center;
padding: 60px 0;
text-align: center;
padding: 60px 0;
}
.el-icon-warning {
display: block !important;
font-size: 33px !important;
color: #5850ff !important;
position: relative;
left: 50%;
transform: translateX(-50%);
margin-bottom: 12px;
display: block !important;
font-size: 33px !important;
color: #5850ff !important;
position: relative;
left: 50%;
transform: translateX(-50%);
margin-bottom: 12px;
}
.el-message-box__status.el-icon-error {
display: block !important;
font-size: 33px !important;
position: relative;
left: 50%;
transform: translateX(-50%);
margin-bottom: 12px;
display: block !important;
font-size: 33px !important;
position: relative;
left: 50%;
transform: translateX(-50%);
margin-bottom: 12px;
}
.el-tooltip__popper.is-dark {
background: #666666 !important;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06) !important;
font-size: 12px;
font-weight: 400;
color: #ffffff;
line-height: 18px;
background: #666666 !important;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06) !important;
font-size: 12px;
font-weight: 400;
color: #ffffff;
line-height: 18px;
}
.el-tooltip__popper[x-placement^="top"] .popper__arrow {
border-top-color: #666666 !important;
border-top-color: #666666 !important;
}
.el-tooltip__popper[x-placement^="top"] .popper__arrow:after {
border-top-color: #666666 !important;
}
border-top-color: #666666 !important;
}
\ No newline at end of file
......@@ -10,9 +10,6 @@
<el-button v-if="scope.scope.sopStatus == 1" type="text" @click="handleDelete(scope.scope)">删除</el-button>
</template>
</GLTable>
<GLFooter class="gl-footer">
<el-button type="primary" @click="goback()">返回</el-button>
</GLFooter>
</div>
</div>
</template>
......@@ -128,15 +125,6 @@ export default {
//没数据的时候要算高度
},
methods: {
// 返回
goback() {
const { flag } = this.$route.query.crowQuery ? JSON.parse(this.$route.query.crowQuery) : this.$route.query
if (flag) {
this.$router.push('/clientDataOverview/index')
} else {
this.$router.push('/clientDataOverview/grouping')
}
},
// 结束
handleEnd(row) {
this.secondConfirm('结束', '结束SOP后,将不再进行营销任务自动推送,且不可恢复。是否确定结束?', 'clientDataOverview', 'endSopEventApi', { sopId: row.id })
......@@ -149,6 +137,7 @@ export default {
this.$confirm(txt, title, {
confirmButtonText: '确定',
cancelButtonText: '取消',
customClass: 'gl-message-box',
type: 'warning',
callback: action => {
if (action == 'confirm') {
......
......@@ -37,11 +37,6 @@
</div>
</div>
<add-or-edit ref="addOrEditForm"></add-or-edit>
<GLFooter class="GLFooter">
<el-button type="primary" @click="goback">
返回
</el-button>
</GLFooter>
</div>
</template>
......@@ -176,14 +171,12 @@ export default {
handleAdd(row) {
this.$refs.addOrEditForm.init(row)
},
goback() {
this.$router.push(`/clientDataOverview/index`)
},
//删除
handleDelete(scope) {
this.$confirm('是否确认将此分群删除?', '删除', {
confirmButtonText: '是',
cancelButtonText: '否',
customClass: 'gl-message-box',
type: 'warning'
})
.then(async () => {
......@@ -294,7 +287,7 @@ export default {
<style lang="scss" scoped>
@import '@/styles/variables.scss';
@import '@/styles/resetelement.scss';
.GLFooter{
.GLFooter {
z-index: 100;
}
.header-button {
......
......@@ -92,9 +92,6 @@
</div>
</GLTable>
</div>
<GLFooter class="gl-footer">
<el-button type="primary" @click="goback()">返回</el-button>
</GLFooter>
</el-tab-pane>
<el-tab-pane label="营销计划" name="second">
<template v-if="activeName == 'second'"><marketing-plan :crowdGroupId="crowdGroupId"></marketing-plan></template>
......@@ -347,13 +344,6 @@ export default {
this.marketPeopleFormList[id].optionList = staff
})
},
goback() {
if (this.$route.query && this.$route.query.flag) {
this.$router.push('/clientDataOverview/index')
} else {
this.$router.push('/clientDataOverview/grouping')
}
},
// 导出
handleExport() {
var params = {
......
......@@ -82,11 +82,18 @@
<!-- 1-是,2-否 -->
<span>{{ leftPanelInfo.isJoin == 1 ? '是' : leftPanelInfo.isJoin == 0 ? '否' : '' }}</span>
</p>
<p v-if="isCgacar">
<span>关注公众号:</span>
<!-- 1-是,2-否 -->
<span>{{ leftPanelInfo.subscribeName }}</span>
</p>
<template v-if="isCgacar">
<p>
<span>关注公众号:</span>
<!-- 1-是,2-否 -->
<span>{{ leftPanelInfo.subscribeName }}</span>
</p>
<p>
<span>关注小程序:</span>
<!-- 1-是,2-否 -->
<span>{{ leftPanelInfo.subscribeName }}</span>
</p>
</template>
<p>
<span>当前状态:</span>
......@@ -230,11 +237,11 @@
</div>
</div>
</div>
<div class="footer-panel">
<!-- <div class="footer-panel">
<div>
<el-button type="primary" @click="goBack">返回</el-button>
</div>
</div>
</div> -->
<basic-dialog class="phone-fill-box" :width="'720px'" title="添加联系电话" :isVisible="phoneVisible" @confirmDialog="phoneConfirmDialog" @closeDialog="phoneVisible = false" :isShowCloseBtn="true">
<div class="dialog-form">
<label>联系电话:</label>
......@@ -737,9 +744,9 @@ export default {
goNewTag() {
this.$router.push({ path: '/tagsManage/index' })
},
goBack() {
this.$router.go(-1)
},
// goBack() {
// this.$router.go(-1)
// },
//点击添加按钮
btnClick(pType, scope) {
......
......@@ -349,35 +349,70 @@ export default {
}
if (location.host.includes('cgacar')) {
// cgacar
this.clientManageFormList.push({
type: 'select',
name: 'subscribe',
label: '关注公众号',
placeholder: '请选择',
optionLabel: 'label',
optionId: 'value',
optionList: [
{
label: '全部',
value: null
},
{
label: '是',
value: 1
},
{
label: '否',
value: 0
}
]
})
this.tableParams.tableColumns.splice(6, 0, {
label: '关注公众号',
prop: 'subscribe',
width: 140,
line: 1,
addHtml: 'subscribe'
})
this.clientManageFormList.push(
{
type: 'select',
name: 'subscribe',
label: '关注公众号',
placeholder: '请选择',
optionLabel: 'label',
optionId: 'value',
optionList: [
{
label: '全部',
value: null
},
{
label: '是',
value: 1
},
{
label: '否',
value: 0
}
]
},
{
type: 'select',
name: 'subscribe',
label: '关注小程序',
placeholder: '请选择',
optionLabel: 'label',
optionId: 'value',
optionList: [
{
label: '全部',
value: null
},
{
label: '是',
value: 1
},
{
label: '否',
value: 0
}
]
}
)
this.tableParams.tableColumns.splice(
6,
0,
{
label: '关注公众号',
prop: 'subscribe',
width: 140,
line: 1,
addHtml: 'subscribe'
},
{
label: '关注小程序',
prop: 'subscribe',
width: 140,
line: 1,
addHtml: 'subscribe'
}
)
}
this.getDictionaryFun()
this.getStaffList()
......
......@@ -393,6 +393,7 @@ export default {
this.$confirm('暂未选中标签,无法生成人群规则逻辑,快去选标签吧?', '提示', {
confirmButtonText: '我知道了',
cancelButtonText: '取消',
customClass: 'gl-message-box',
showCancelButton: false,
type: 'warning'
})
......
......@@ -44,12 +44,7 @@
</div>
</div>
</div>
<div class="footer-panel">
<div>
<el-button type="primary" @click="goBack">返回</el-button>
</div>
</div>
<el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn">
<GLDialog title="人群规则说明" :visible.sync="dialogRuleVisible" :hasFooter="false">
<div class="crowd-dialog-wrap color-3">
<div class="condition font-14">
<b>说明:</b>
......@@ -71,8 +66,8 @@
</div>
</div>
</div>
</el-dialog>
<el-dialog title="人群规则逻辑" class="crowd-logic-dialog" width="720px" :before-close="handleClose" :visible.sync="dialogLogicVisible" :show-close="isShowCloseBtn">
</GLDialog>
<GLDialog title="人群规则逻辑" class="crowd-logic-dialog" :visible.sync="dialogLogicVisible" :hasFooter="false">
<div class="crowd-logic-dialog-wrap">
<div :class="{ 'crowd-flex': true }" v-if="this.selectedArray.length > 1">
<div class="crowd-line" id="lineHeight"></div>
......@@ -93,7 +88,7 @@
</div>
</div>
</div>
</el-dialog>
</GLDialog>
</div>
</template>
......@@ -275,24 +270,6 @@ export default {
}
}
}
.footer-panel {
position: fixed;
bottom: 0px;
height: 78px;
left: 220px;
width: 100%;
background: #ffffff;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
z-index: 999;
div {
display: inline-block;
position: relative;
transform: translate(-50%, -50%);
left: 50%;
top: 50%;
margin-left: -110px;
}
}
.crowd-dialog {
/deep/.el-dialog__header {
padding: 15px 20px;
......
......@@ -325,6 +325,7 @@ export default {
this.$confirm('当前有内容信息未保存,是否继续返回?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
customClass: 'gl-message-box',
type: 'warning'
})
.then(() => {
......
......@@ -265,6 +265,7 @@ export default {
this.$confirm(`是否确认${rowData.status == 1 ? '停用' : '启用'}?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
customClass: 'gl-message-box',
type: 'warning'
})
.then(() => {
......@@ -409,7 +410,7 @@ export default {
}
.toptip {
margin-bottom: 10px;
&:nth-last-of-type(-n+4) {
&:nth-last-of-type(-n + 4) {
margin-bottom: 0;
}
}
......
......@@ -36,7 +36,7 @@
</div>
</div>
<!-- 功能介绍 -->
<el-dialog title="功能介绍" :visible.sync="showFuncIntro" width="55%" :before-close="handleClose">
<GLDialog title="功能介绍" mode="big" :visible.sync="showFuncIntro" :hasFooter="true">
<div class="dialogEncircle ">
<span class="funcText">线索管理模块可查看客户在小程序端留存的售前售后线索,通过配置跟进员工,使线索展示在员工企微任务栏并推送消息提醒,员工跟进线索并输入跟进记录后完成线索跟进</span>
<div class="funcIro">
......@@ -69,7 +69,7 @@
<span slot="footer" class="dialog-footer">
<el-button type="primary" size="small" @click="showFuncIntro = false">关闭</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
......
......@@ -34,9 +34,6 @@
</div>
</div>
</div>
<GLFooter class="gl-footer">
<el-button @click="goback()" type="primary" size="small">返回</el-button>
</GLFooter>
</div>
</template>
<script>
......@@ -146,9 +143,6 @@ export default {
this.copySameDescri = JSON.parse(JSON.stringify(this.theSameDescri))
this.copySameDescri.splice(3, 0, addcolList)
},
goback() {
this.$router.push('/leadManage/index')
},
getBaseDetail() {
let params = { id: this.leadId }
getBaseInfo(params).then(res => {
......
......@@ -133,7 +133,7 @@
</div>
</div>
</div>
<el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleRuleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn">
<!-- <el-dialog title="人群规则说明" class="crowd-dialog" width="720px" :before-close="handleRuleClose" :visible.sync="dialogRuleVisible" :show-close="isShowCloseBtn">
<div class="crowd-dialog-wrap color-3">
<div class="condition font-14">
<b>说明:</b>
......@@ -155,7 +155,30 @@
</div>
</div>
</div>
</el-dialog>
</el-dialog> -->
<GLDialog title="人群规则说明" :visible.sync="dialogRuleVisible" :hasFooter="false">
<div class="crowd-dialog-wrap color-3">
<div class="condition font-14">
<b>说明:</b>
<br />
<span>
标签组内已选标签取
<b>并集(或)</b>
,即满足一个条件即可、标签组之间取
<b>交集(且)</b>
,即同时满足标签组条件。
</span>
</div>
<div class="flex-between">
<div class="static-image">
<img src="@/assets/crowdManage/sum.png" alt="" />
</div>
<div class="static-image">
<img src="@/assets/crowdManage/intersection.png" alt="" />
</div>
</div>
</div>
</GLDialog>
<basic-dialog class="role" :title="tagDialogTitle" width="712px" :isVisible="tagVisible" @confirmDialog="handleConfirm" @closeDialog="handleClose">
<slot>
<div class="form-title">
......@@ -232,7 +255,7 @@
</rule-form>
</slot>
</basic-dialog>
<basic-dialog class="group-box" title="保存为人群" :isVisible="groupVisible" @confirmDialog="groupConfirmDialog" @closeDialog="groupVisible = false">
<GLDialog title="保存为人群" :visible.sync="groupVisible" :hasFooter="true">
<div class="dialog-form">
<div class="dialog-form-item">
<label>
......@@ -256,8 +279,12 @@
<span>{{ crowdForm.crowdDesc.length }}/100</span>
</div>
</div>
</basic-dialog>
<el-dialog title="提示" :visible.sync="successVisible" width="30%">
<span slot="footer" class="dialog-footer">
<el-button plain size="small" class="btn-three" @click="groupVisible = false">取消</el-button>
<el-button type="primary" size="small" @click="groupConfirmDialog">确定</el-button>
</span>
</GLDialog>
<GLDialog title="提示" :visible.sync="successVisible" :hasFooter="false">
<div class="success-panel">
<i class="el-icon-circle-check"></i>
</div>
......@@ -265,7 +292,7 @@
<div class="success-tips-h1">已保存为人群</div>
<div class="success-tips-h2" @click="jumpGroup">立即前往“人群管理”></div>
</div>
</el-dialog>
</GLDialog>
<div class="loading-containner" v-if="userLoading">
<div class="loading-box">客户列表加载中</div>
</div>
......@@ -303,7 +330,6 @@ export default {
}
}
var checkTagsInput = (rule, value, callBack) => {
console.log('value值为:', value, typeof value, value.length)
if (value && value.length == 0) {
return callBack(new Error('请添加标签'))
} else {
......@@ -311,6 +337,8 @@ export default {
}
}
return {
isShowCloseBtn: true,
dialogMode: 'mid',
successVisible: false,
userLoading: false,
dialogRuleVisible: false,
......@@ -534,7 +562,6 @@ export default {
this.merchantModel = this.$globalState.session.merchantModel
this.accountLevel = this.$globalState.session.accountLevel
this.userType = this.$globalState.session.userType
console.log(this.$globalState.session, '555')
// if (this.merchantModel == 1) {
// if (!(this.accountLevel == 1 && this.userType == 1)) this.tagsGroupList.splice(0, 1) //只能创建自店标签
// }
......@@ -587,7 +614,6 @@ export default {
.replace(/groupName/g, 'labelGroupName')
.replace(/groupType/g, 'labelGroupType')
)
console.log(getDatas)
var params = {
addOrEdit: 'add',
fromPage: '/custom/tagsManage/index',
......@@ -598,14 +624,12 @@ export default {
labelList: [...getDatas]
}
}
console.log(params)
this.$common.utils.storage.set('sopInfo', params)
this.$history.push({
path: 'marketing/sop/editSop'
})
},
toViewCustomer(info) {
console.log(info)
const id = info.labelGroup.id
const type = info.labelType
this.$router.push({
......@@ -613,9 +637,7 @@ export default {
path: `/tagsManage/viewCustomers/${id}/${type}`
})
},
watchInput() {
console.log('点击标签组名称输入框')
},
watchInput() {},
showTagArray(list) {
if (list.length == 0) {
return []
......@@ -624,7 +646,6 @@ export default {
return list.slice(0, 9)
},
checkInputContent: function(e) {
console.log(e)
//确保每个输入框的内容不和已存在的编辑标签相同
let isHasSameTag = this.editTagList.some(ele => ele.name == e)
if (isHasSameTag) {
......@@ -654,7 +675,6 @@ export default {
return true //门店版都显示编辑按钮
},
expandeClick() {
// console.log('expandeClick')
this.expande = !this.expande
},
closeInitPanel() {
......@@ -688,7 +708,6 @@ export default {
this.getCustomersListData()
},
btnClick(pType, rowData) {
console.log(pType, rowData, 'btnClick')
switch (pType) {
case 'create':
this.tagDialogTitle = '添加标签组'
......@@ -786,7 +805,6 @@ export default {
return
}
}
console.log('点击了几次')
this.updateTagFun()
this.newAddTagFun()
// this.handleClose()
......@@ -867,10 +885,7 @@ export default {
this.tagForm.initTagsGroup = 2
}
this.tagForm.tagsName = ''
// console.log(this.tagForm.initTagsGroup, '7777')
// console.log(this.tagForm, '内')
}
// console.log(this.tagForm, '外')
this.tagForm.tagsList = [] //取消时清空新增标签
this.tagVisible = !this.tagVisible
},
......@@ -885,7 +900,6 @@ export default {
params['labelDTO.labelType'] = this.tagForm.initTagsGroup == 1 ? (this.$globalState.session.merchantModel == 1 ? '集团标签' : '企业标签') : '自店标签'
params['labelDTO.labelList'] = this.tagForm.tagsList
params['labelDTO.isAddLabelGroupEnter'] = this.tagDialogTitle == '添加标签组' ? true : false
console.log(params)
newAddTag(params).then(res => {
if (!res) {
return
......@@ -980,9 +994,7 @@ export default {
})
return this.$Utils.cutMaxCharStr(inputValue)
},
handleSelect(value) {
console.log('值内容', value)
}
handleSelect(value) {}
//注意问问他们后台怎么处理转义字符
//限制输入特殊字符
// keyUp(e) {
......@@ -1110,9 +1122,9 @@ export default {
b {
color: #666666;
}
span {
white-space: nowrap;
}
// span {
// white-space: nowrap;
// }
}
.static-image {
width: 335px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!