Commit 9ec86729 by 胡悦

修改、合并

2 parents 74ff99e3 07e9dcbf
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"echarts": "^5.2.0", "echarts": "^5.2.0",
"element-ui": "^2.4.5", "element-ui": "^2.4.5",
"glsx-common": "^1.4.6", "glsx-common": "^1.4.6",
"glsx-components": "^1.2.3", "glsx-components": "^1.2.4",
"glsx-table": "^1.1.0", "glsx-table": "^1.1.0",
"jquery": "^3.6.0", "jquery": "^3.6.0",
"sha1": "^1.1.1", "sha1": "^1.1.1",
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</template> </template>
</template> </template>
</el-form-item> </el-form-item>
<el-form-item style="position:absolute;right:0;bottom:0;" v-if="!needShowExpande || expande"> <el-form-item style="position:absolute;right:-12px;bottom:0;" v-if="!needShowExpande || expande">
<template> <template>
<slot name="form-slot"></slot> <slot name="form-slot"></slot>
</template> </template>
......
...@@ -81,7 +81,8 @@ ...@@ -81,7 +81,8 @@
<span class="person-text">人</span> <span class="person-text">人</span>
</span> </span>
<span>未加企微的潜在(意向)客户</span> <span>未加企微的潜在(意向)客户</span>
<button class="btn" @click="toGuideCompanyWechat" v-if="accountLevel==4">引流企微&nbsp;&nbsp;&gt;&gt;</button> <!-- &nbsp;&nbsp;&gt;&gt;-->
<button class="btn" @click="toGuideCompanyWechat" v-if="accountLevel==4">引流企微 <i class="el-icon-d-arrow-right"></i></button>
</div> </div>
</div> </div>
</div> </div>
...@@ -123,7 +124,7 @@ ...@@ -123,7 +124,7 @@
<span class="person-text">人</span> <span class="person-text">人</span>
</span> </span>
<span>未加企微的购买(存档)客户</span> <span>未加企微的购买(存档)客户</span>
<button class="btn" @click="toGuideCompanyWechat" v-if="accountLevel==4">引流企微&nbsp;&nbsp;&gt;&gt;</button> <button class="btn" @click="toGuideCompanyWechat" v-if="accountLevel==4" >引流企微 <i class="el-icon-d-arrow-right"></i></button>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -440,7 +440,7 @@ export default { ...@@ -440,7 +440,7 @@ export default {
console.log(param, '参数') console.log(param, '参数')
addSingleClientTag(param) addSingleClientTag(param)
.then(res => { .then(res => {
if (res.code == 0) { if (res.data.code == 0) {
if (index == this.submitTagsList.length - 1) { if (index == this.submitTagsList.length - 1) {
this.$message.success('添加成功') this.$message.success('添加成功')
...@@ -449,7 +449,7 @@ export default { ...@@ -449,7 +449,7 @@ export default {
this.getPageDetail() //刷新当前页面 this.getPageDetail() //刷新当前页面
} }
} else { } else {
this.$message.error(res.message) this.$message.error(res.data.message)
} }
}) })
.catch(err => { .catch(err => {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<img src="@/assets/guestCustom/tips.png" class="tips-icon" alt /> <img src="@/assets/guestCustom/tips.png" class="tips-icon" alt />
<span>企业主体信息需要认证,才可使用该功能。</span> <span>企业主体信息需要认证,才可使用该功能。</span>
</div> </div>
<el-form :model="basicForm" :rules="basicRules" ref="basicForm" label-width="120px"> <el-form :model="basicForm" :rules="basicRules" ref="basicForm" label-width="124px">
<el-form-item label="组名" prop="orgName"> <el-form-item label="组名" prop="orgName">
<el-input v-model="basicForm.orgName" placeholder="为群聊设置一个组名" maxlength="10"></el-input> <el-input v-model="basicForm.orgName" placeholder="为群聊设置一个组名" maxlength="10"></el-input>
</el-form-item> </el-form-item>
...@@ -34,7 +34,9 @@ ...@@ -34,7 +34,9 @@
人 人
</span> </span>
<div class="sale-select" v-show="basicForm.userList"> <div class="sale-select" v-show="basicForm.userList">
<div :key="key" class="el-input-tag input-tag-wrapper"> <div class="el-input-tag input-tag-wrapper">
<el-scrollbar>
<div style="max-height: 64px;">
<el-tag <el-tag
v-for="(tag, idx) in basicForm.userList" v-for="(tag, idx) in basicForm.userList"
:key="idx" :key="idx"
...@@ -42,7 +44,8 @@ ...@@ -42,7 +44,8 @@
:disable-transitions="false" :disable-transitions="false"
@close="remove(tag, idx)" @close="remove(tag, idx)"
>{{ tag.staffName }}</el-tag> >{{ tag.staffName }}</el-tag>
<el-input size="small" style="outline: none; border: none"></el-input> </div>
</el-scrollbar>
</div> </div>
</div> </div>
<div class="form-tips">必须配置2个及以上成员</div> <div class="form-tips">必须配置2个及以上成员</div>
...@@ -320,6 +323,7 @@ export default { ...@@ -320,6 +323,7 @@ export default {
padding: 20px 0 17px 20px; padding: 20px 0 17px 20px;
font-size: 16px; font-size: 16px;
color: #333; color: #333;
font-weight: 600;
border-bottom: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8;
&::after { &::after {
content: ''; content: '';
...@@ -339,7 +343,7 @@ export default { ...@@ -339,7 +343,7 @@ export default {
} }
.el-form { .el-form {
padding: 32px 0 20px 66px; padding: 32px 0 20px 24px;
/deep/.el-input { /deep/.el-input {
width: 320px; width: 320px;
} }
...@@ -380,6 +384,7 @@ export default { ...@@ -380,6 +384,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.input-tag-wrapper { .input-tag-wrapper {
max-width: 320px; max-width: 320px;
position: relative; position: relative;
...@@ -388,19 +393,20 @@ export default { ...@@ -388,19 +393,20 @@ export default {
background-image: none; background-image: none;
border-radius: 4px; border-radius: 4px;
border: 1px solid #dcdfe6; border: 1px solid #dcdfe6;
box-sizing: border-box; max-height: 64px;
// box-sizing: border-box;
color: #606266; color: #606266;
display: inline-block; display: inline-block;
outline: none; outline: none;
padding: 0 10px 0 5px; padding: 0 0px 5px 5px;
flex-wrap: wrap; flex-wrap: wrap;
line-height: 32px; line-height: 32px;
transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
width: 100%; width: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
max-height: 64px;
overflow: auto; // overflow: auto;
/deep/ input { /deep/ input {
/* input { */ /* input { */
/* background-color: red!important; 调试用的样式 */ /* background-color: red!important; 调试用的样式 */
......
...@@ -2,9 +2,12 @@ ...@@ -2,9 +2,12 @@
<div class="select-emp-panel"> <div class="select-emp-panel">
<div class="scrm-p10 emp-tree-panel"> <div class="scrm-p10 emp-tree-panel">
<div class="popper-arrow"></div> <div class="popper-arrow"></div>
<div class="emp-scroll-panel" :style="{ <div class="emp-scroll-panel" :style="{
height: treeHeight + 'px' height: treeHeight + 'px'
}"> }">
<el-scrollbar>
<div style="max-height: 200px">
<div class="tree-title">所在门店/部门</div> <div class="tree-title">所在门店/部门</div>
<el-tree <el-tree
v-loading="loading" v-loading="loading"
...@@ -15,13 +18,18 @@ ...@@ -15,13 +18,18 @@
@node-click="handleNodeClick" @node-click="handleNodeClick"
></el-tree> ></el-tree>
</div> </div>
</el-scrollbar>
</div>
</div> </div>
<el-col <el-col
class="scrm-p10 emp-table-panel" class="scrm-p10 emp-table-panel"
:style="{ :style="{
height: treeHeight + 20 + 'px' height: treeHeight + 20 + 'px'
}" }"
> >
<el-scrollbar>
<div style="max-height: 200px">
<GLTable <GLTable
v-loading="loading" v-loading="loading"
ref="saleTable" ref="saleTable"
...@@ -31,6 +39,8 @@ ...@@ -31,6 +39,8 @@
:hasPage="false" :hasPage="false"
@selectionTable="selectionTable" @selectionTable="selectionTable"
></GLTable> ></GLTable>
</div>
</el-scrollbar>
</el-col> </el-col>
</div> </div>
</template> </template>
...@@ -153,7 +163,7 @@ export default { ...@@ -153,7 +163,7 @@ export default {
mounted() { mounted() {
console.log('islord', this.islord) console.log('islord', this.islord)
let clientHeight = document.documentElement.clientHeight let clientHeight = document.documentElement.clientHeight
this.treeHeight = clientHeight - 650 this.treeHeight = clientHeight - 700
this.listDepartmentTree() this.listDepartmentTree()
} }
} }
...@@ -170,7 +180,7 @@ export default { ...@@ -170,7 +180,7 @@ export default {
border: 1px solid #e4e7ed; border: 1px solid #e4e7ed;
.emp-scroll-panel { .emp-scroll-panel {
min-height: 200px; min-height: 200px;
overflow: auto; // overflow: auto;
box-sizing: border-box; box-sizing: border-box;
} }
.popper-arrow { .popper-arrow {
...@@ -204,7 +214,7 @@ export default { ...@@ -204,7 +214,7 @@ export default {
.emp-table-panel { .emp-table-panel {
flex: 1; flex: 1;
min-height: 200px; min-height: 200px;
overflow: auto; // overflow: auto;
margin-top: 10px; margin-top: 10px;
background: #ffffff; background: #ffffff;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06); box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<el-form-item label="请选择成员"> <el-form-item label="请选择成员">
<div class="sale-select"> <div class="sale-select">
<div class="el-input-tag input-tag-wrapper" @click="foucusTagInput"> <div class="el-input-tag input-tag-wrapper" @click="foucusTagInput">
<div class="tag-box">
<el-tag <el-tag
v-for="(tag, idx) in innerTags" v-for="(tag, idx) in innerTags"
:key="idx" :key="idx"
...@@ -11,6 +12,7 @@ ...@@ -11,6 +12,7 @@
:disable-transitions="false" :disable-transitions="false"
@close="remove(tag)" @close="remove(tag)"
>{{ tag.staffName }}</el-tag> >{{ tag.staffName }}</el-tag>
</div>
<el-input <el-input
size="small" size="small"
v-model.trim="newTag" v-model.trim="newTag"
...@@ -158,6 +160,10 @@ export default { ...@@ -158,6 +160,10 @@ export default {
} }
} }
} }
.tag-box {
max-height: 66px;
overflow: auto;
}
.input-tag-wrapper { .input-tag-wrapper {
position: relative; position: relative;
font-size: 14px; font-size: 14px;
...@@ -169,7 +175,7 @@ export default { ...@@ -169,7 +175,7 @@ export default {
color: #606266; color: #606266;
display: inline-block; display: inline-block;
outline: none; outline: none;
padding: 0 10px 0 5px; padding: 0 0 0 5px;
flex-wrap: wrap; flex-wrap: wrap;
line-height: 32px; line-height: 32px;
transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
...@@ -214,4 +220,15 @@ export default { ...@@ -214,4 +220,15 @@ export default {
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
} }
::-webkit-scrollbar {
/*滚动条整体样式*/
width: 6px;
height: 4px;
}
::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 4px;
background-color: rgba(144, 147, 153, 0.3);
}
</style> </style>
...@@ -733,6 +733,7 @@ export default { ...@@ -733,6 +733,7 @@ export default {
display: inline-block; display: inline-block;
margin-right: 10px; margin-right: 10px;
// margin-bottom: 10px; // margin-bottom: 10px;
// margin-bottom: 4px;
padding: 0 10px; padding: 0 10px;
box-sizing: border-box; box-sizing: border-box;
min-width: 76px; min-width: 76px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!