Commit fcfb7d93 by 张立顺

fix 路径跳转修复

1 parent 35c4e046
......@@ -92,9 +92,7 @@
>
保存为人群
</el-button>
<el-button plain size="small" @click="createMarketSOP()">
营销SOP
</el-button>
<el-button plain size="small" @click="createMarketSOP()">营销SOP</el-button>
</div>
</div>
<!-- noDataText="你当前还没有添加的标签" -->
......@@ -108,9 +106,9 @@
</div>
<span v-if="idx == 1">
<el-popover placement="right-start" trigger="hover">
<div v-for="(i, index) in scope.scope.nickNameList" style="padding-bottom:3px !important" :key="index">
<div v-for="(i, index) in scope.scope.nickNameList" style="padding-bottom: 3px !important" :key="index">
<span>{{ i.nickName }}</span>
<span style="height: 20px; font-size: 12px; letter-spacing: 0; line-height: 20px; font-weight: 400;margin-left:2px" :class="[i.type == 1 ? 'pure-green-text' : '', i.type == 2 ? 'pure-yello-text' : '']">@{{ i.corpName }}</span>
<span style="height: 20px; font-size: 12px; letter-spacing: 0; line-height: 20px; font-weight: 400; margin-left: 2px" :class="[i.type == 1 ? 'pure-green-text' : '', i.type == 2 ? 'pure-yello-text' : '']">@{{ i.corpName }}</span>
</div>
<img class="imgEll" src="@/assets/tagsManage/ellipsis.png" alt="" slot="reference" />
</el-popover>
......@@ -196,14 +194,14 @@
<div slot="tagsInput-type">
<div class="tagsWrap" v-if="tagDialogTitle == '编辑标签组'">
<div class="tagsWrapInput">
<span class="tag" :class="{ inputWrapShow: item.inputVisible }" v-for="item in editTagList" :key="item.id">
<!-- maxlength="30" show-word-limit -->
<span class="tag" :class="{ inputWrapShow: item.inputVisible }" v-for="item in editTagList" :key="item.id">
<!-- maxlength="30" show-word-limit -->
<el-input class="input-new-tag" v-if="item.inputVisible" v-model.trim="item.name" ref="saveTagInput" size="small" @blur="item.name = handleInputConfirm(item.name, item.id)" @keyup.enter.native="item.name = handleInputConfirm(item.name, item.id)"></el-input>
<el-tooltip class="item" :content="item.name" placement="top">
<span class="ellipsis-1" v-if="!item.inputVisible">{{ item.name }}</span>
</el-tooltip>
<img class="editIcon" src="@/assets/tagsManage/edit.png" @click="showInput(item.id)" alt="" v-show="!item.inputVisible" />
</span>
<img class="editIcon" src="@/assets/tagsManage/edit.png" @click="showInput(item.id)" alt="" v-show="!item.inputVisible" />
</span>
</div>
</div>
<div class="row-tag" v-for="(item, index) in tagForm.tagsList" :key="index">
......@@ -608,7 +606,7 @@ export default {
}
this.$common.utils.storage.set('sopInfo', params)
this.$history.push({
path: 'marketing/sop/editSop'
path: 'tools/sop/editSop'
})
},
toViewCustomer(info) {
......@@ -627,7 +625,7 @@ export default {
// return list
return list.slice(0, 9)
},
checkInputContent: function(e) {
checkInputContent: function (e) {
//确保每个输入框的内容不和已存在的编辑标签相同
let isHasSameTag = this.editTagList.some(ele => ele.name == e)
if (isHasSameTag) {
......@@ -731,7 +729,7 @@ export default {
this.tagForm.tagsName = rowData.labelGroup.name //标签组名
this.tagForm.initTagsGroup = rowData.labelType == '企业标签' || rowData.labelType == '集团标签' ? 1 : rowData.labelType == '自店标签' ? 2 : '' //标签组类型
},
handleConfirm: utils.debounce(function() {
handleConfirm: utils.debounce(function () {
this.$refs.tagForm.$children[0].validate(valid => {
if (!valid) {
if (this.tagForm.tagsList.length <= 0 && this.tagDialogTitle == '添加标签组') {
......@@ -1276,15 +1274,15 @@ export default {
}
.allTagsWrap {
position: relative;
display: -webkit-box;
overflow: hidden;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
padding-bottom: -2px;
box-sizing: border-box;
&:hover {
-webkit-line-clamp: 9999;
}
display: -webkit-box;
overflow: hidden;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
padding-bottom: -2px;
box-sizing: border-box;
&:hover {
-webkit-line-clamp: 9999;
}
.tag-box-wrap {
display: inline-block;
margin-right: 10px;
......@@ -1343,7 +1341,7 @@ export default {
flex-wrap: wrap;
align-content: flex-start;
padding-top: 3px;
.tagsWrapInput{
.tagsWrapInput {
border: 1px solid rgb(229, 229, 229);
padding: 8px;
width: 423px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!