Commit 29eebb97 by xuyl

更新UI改版和广汇代码

1 parent e02dd920
<template>
<div class="square-main" v-loading="loading">
<el-dialog title="选择跟进专员" :visible.sync="dialogVisible" width="50%" :before-close="handleClose">
<GLDialog title="选择跟进专员" :visible.sync="dialogVisible">
<el-form :inline="true" :model="tableSearchForm">
<el-form-item size="small" label="员工">
<el-input v-model="tableSearchForm.username" placeholder="请输入员工姓名"></el-input>
......@@ -17,10 +17,10 @@
</GLTable>
<span slot="footer" class="dialog-footer">
<a class="dialog-jump" @click="jumpUrl">新增专员</a>
<el-button size="small" @click="handleCancel">取 消</el-button>
<el-button plain size="small" @click="handleCancel">取 消</el-button>
<el-button size="small" type="primary" @click.native="handleSelect">确 定</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
<script>
......
<template>
<div>
<el-dialog top="5vh" :title="dialogTitle" :visible.sync="groupVisible" width="50%" :before-close="handleClose">
<GLDialog :title="dialogTitle" :visible.sync="groupVisible">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="grouping-ruleForm">
<el-form-item label="分群名称" prop="crowdGroupName" size="small">
<el-input v-model="ruleForm.crowdGroupName" placeholder="请输入分群名称" maxlength="30" show-word-limit></el-input>
......@@ -52,17 +52,14 @@
</template>
</div>
<div class="el-form-item__error" v-show="crowdStatus">请选择人群</div>
<!-- <div class="group-tree-panel" :style="{ height: heightBox + 'px' }">
<el-tree @node-expand="nodeExpand" accordion :data="crowdUnitList" :props="defaultProps" show-checkbox></el-tree>
</div> -->
</div>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="groupVisible = false">取 消</el-button>
<el-button size="small" type="primary" @click="handleSelect">提 交</el-button>
<el-button plain size="small" class="btn-three" @click="groupVisible = false">取 消</el-button>
<el-button type="primary" size="small" @click="handleSelect">提 交</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
......
......@@ -367,9 +367,10 @@
<multiple-echart v-if="isReload" width="100%" height="420px" :totalData="allMapList" :isCloseShowNumTag="isCloseShowNumTag"></multiple-echart>
</template>
</div>
<el-dialog title="提示" :visible.sync="dialogVisible" top="15vh" width="30%" :before-close="handleClose">
<GLDialog title="提示" :visible.sync="dialogVisible">
<span>企微魔方正在开发中,敬请期待...</span>
</el-dialog>
</GLDialog>
</div>
</template>
......
......@@ -67,13 +67,15 @@
<template v-if="currentIndex == 3">
<potential-client ref="childCompPotential" :url="url"></potential-client>
</template>
<basic-dialog title="" width="547px" :isVisible="dialogVisible" btnOkLabel="我知道了" :isHasCancelBtn="false" @confirmDialog="handleConfirm" @closeDialog="handleClose">
<GLDialog mode="small" :visible.sync="dialogVisible">
<div class="content-body">
<p>该客户暂无员工跟进,无法查看该客户详情,</p>
<p class="bottomText">赶紧去加好友吧!</p>
</div>
</basic-dialog>
<span slot="footer" class="dialog-footer">
<el-button type="primary" size="small" @click="dialogVisible = false">我知道了</el-button>
</span>
</GLDialog>
</div>
</div>
</div>
......@@ -344,34 +346,12 @@ export default {
.el-button + .el-button {
margin-left: 20px;
}
// .el-button {
// font-size: 14px;
// font-weight: 400;
// padding: 9px 21px;
// background: $btnBlue;
// border-radius: 4px;
// border: none;
// }
// .el-button:first-child {
// background: #ffffff;
// border-radius: 4px;
// border: 1px solid #999999;
// font-weight: 400;
// color: #666666;
// }
.glsx-table {
margin-top: 20px;
}
}
}
/deep/ .el-dialog__header {
border: 0;
}
/deep/ .el-dialog__body {
border-bottom: 1px solid #e6e6e6;
padding: 0px 65px 35px;
min-height: 0;
.container {
.content-body {
font-size: 18px;
text-align: center;
font-weight: 400;
......@@ -380,11 +360,5 @@ export default {
margin-top: 10px;
}
}
}
/deep/ .el-dialog__footer {
text-align: center;
padding-top: 15px;
padding-bottom: 15px;
}
}
</style>
......@@ -71,12 +71,15 @@
<span @click="goDetail(scope.scope.id)" class="blue-text">详情</span>
</template>
</GLTable>
<basic-dialog title="" width="547px" :isVisible="dialogVisible" btnOkLabel="我知道了" :isHasCancelBtn="false" @confirmDialog="handleConfirm" @closeDialog="handleClose">
<GLDialog mode="small" :visible.sync="dialogVisible">
<div class="content-body">
<p>该客户暂无员工跟进,无法查看该客户详情,</p>
<p class="bottomText">赶紧去加好友吧!</p>
</div>
</basic-dialog>
<span slot="footer" class="dialog-footer">
<el-button type="primary" size="small" @click="dialogVisible = false">我知道了</el-button>
</span>
</GLDialog>
</div>
</div>
</div>
......@@ -418,47 +421,20 @@ export default {
.el-button + .el-button {
margin-left: 20px;
}
// .el-button {
// font-size: 14px;
// font-weight: 400;
// padding: 9px 21px;
// background: $btnBlue;
// border-radius: 4px;
// border: none;
// }
// .el-button:first-child {
// background: #ffffff;
// border-radius: 4px;
// border: 1px solid #999999;
// font-weight: 400;
// color: #666666;
// }
.glsx-table {
margin-top: 20px;
}
}
}
/deep/ .el-dialog__header {
border: 0;
}
/deep/ .el-dialog__body {
border-bottom: 1px solid #e6e6e6;
padding: 0px 65px 35px;
min-height: 0;
.container {
font-size: 18px;
text-align: center;
font-weight: 400;
color: #333333;
.bottomText {
margin-top: 10px;
}
}
}
/deep/ .el-dialog__footer {
.container-body {
font-size: 18px;
text-align: center;
padding-top: 15px;
padding-bottom: 15px;
font-weight: 400;
color: #333333;
.bottomText {
margin-top: 10px;
}
}
}
</style>
......@@ -89,9 +89,9 @@
<span>{{ leftPanelInfo.subscribeName }}</span>
</p>
<p>
<span>关注小程序:</span>
<span>登录小程序:</span>
<!-- 1-是,2-否 -->
<span>{{ leftPanelInfo.subscribeName }}</span>
<span>{{ leftPanelInfo.isLoginAppletName }}</span>
</p>
</template>
......@@ -1265,10 +1265,8 @@ export default {
}
.tags {
/deep/.app-dialog {
.el-dialog__body {
.container {
padding: 32px 74px;
}
.container {
padding: 32px 74px;
}
}
.hint-text {
......@@ -1372,9 +1370,4 @@ export default {
}
}
}
.phone-fill-box {
/deep/ .el-dialog__body {
min-height: 195px;
}
}
</style>
......@@ -49,6 +49,10 @@
<span slot="subscribe" slot-scope="scope">
<span>{{ scope.scope.subscribe == '1' ? '是' : '否' }}</span>
</span>
<span slot="isLoginApplet" slot-scope="scope">
<span>{{ scope.scope.isLoginApplet == '1' ? '是' : '否' }}</span>
</span>
<span slot="isJoin" slot-scope="scope">
<span>{{ scope.scope.isJoin ? '是' : '否' }}</span>
</span>
......@@ -374,8 +378,8 @@ export default {
},
{
type: 'select',
name: 'subscribe',
label: '关注小程序',
name: 'isLoginApplet',
label: '登录小程序',
placeholder: '请选择',
optionLabel: 'label',
optionId: 'value',
......@@ -406,11 +410,11 @@ export default {
addHtml: 'subscribe'
},
{
label: '关注小程序',
prop: 'subscribe',
label: '登录小程序',
prop: 'isLoginApplet',
width: 140,
line: 1,
addHtml: 'subscribe'
addHtml: 'isLoginApplet'
}
)
}
......
......@@ -118,7 +118,7 @@
<el-button type="primary" @click="handleSubmit">保存</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>
......@@ -140,8 +140,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="人群规则逻辑" :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>
......@@ -162,7 +162,7 @@
</div>
</div>
</div>
</el-dialog>
</GLDialog>
</div>
</template>
......@@ -936,25 +936,7 @@ export default {
.tooltip-text {
line-height: 18px;
}
.crowd-dialog {
/deep/.el-dialog__header {
padding: 15px 20px;
}
/deep/.el-dialog__body {
padding: 20px;
}
}
.crowd-logic-dialog {
/deep/.el-dialog__header {
padding: 15px 20px;
}
/deep/.el-dialog__body {
padding: 20px;
min-height: 260px;
max-height: 690px;
overflow: auto;
}
}
.crowd-dialog-wrap {
.condition {
......
......@@ -270,26 +270,6 @@ export default {
}
}
}
.crowd-dialog {
/deep/.el-dialog__header {
padding: 15px 20px;
}
/deep/.el-dialog__body {
padding: 20px;
}
}
.crowd-logic-dialog {
/deep/.el-dialog__header {
padding: 15px 20px;
}
/deep/.el-dialog__body {
padding: 20px;
min-height: 260px;
max-height: 690px;
overflow: auto;
}
}
.crowd-dialog-wrap {
.condition {
margin-bottom: 16px;
......
<template>
<div class="square-main" v-loading="loading">
<el-dialog title="选择跟进专员" :visible.sync="dialogVisible" width="50%" :before-close="handleClose">
<GLDialog title="选择跟进专员" :visible.sync="dialogVisible">
<el-form :inline="true" :model="tableSearchForm">
<el-form-item size="small" label="员工">
<el-input v-model="tableSearchForm.staffName" placeholder="请输入员工姓名"></el-input>
......@@ -18,7 +18,7 @@
<el-button size="small" @click="handleCancel">取 消</el-button>
<el-button size="small" type="primary" @click.native="handleSelect">确 定</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
......
......@@ -349,38 +349,35 @@ export default {
color: #5850ff;
}
}
/deep/.el-dialog__body {
padding: 30px 70px;
.dialogEncircle {
// width: 100%;
.funcText {
line-height: 20px;
color: #333;
font-weight: 600;
font-size: 14px;
}
.funcIro {
margin-top: 15px;
display: flex;
justify-content: space-between;
> div {
width: 23%;
div {
height: calc(100% - 65px);
display: flex;
align-items: center;
img {
width: 100%;
}
}
p {
margin-left: 5px;
margin-top: 22px;
color: #333;
line-height: 20px;
font-size: 14px;
.dialogEncircle {
// width: 100%;
.funcText {
line-height: 20px;
color: #333;
font-weight: 600;
font-size: 14px;
}
.funcIro {
margin-top: 15px;
display: flex;
justify-content: space-between;
> div {
width: 23%;
div {
height: calc(100% - 65px);
display: flex;
align-items: center;
img {
width: 100%;
}
}
p {
margin-left: 5px;
margin-top: 22px;
color: #333;
line-height: 20px;
font-size: 14px;
}
}
}
}
......
......@@ -82,7 +82,7 @@
</div>
</div>
<el-dialog title="选择标签" width="314px" :visible="dialogVisible" class="labelDialog" :before-close="handleDialogClose">
<GLTable title="选择标签" :visible.sync="dialogVisible">
<el-input placeholder="请输入搜索关键字" v-model="searchLabel" clearable>
<i slot="suffix" class="el-input__icon el-icon-search"></i>
</el-input>
......@@ -106,10 +106,10 @@
</div>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="resetSearch">重置</el-button>
<el-button type="primary" @click="searchClientData">确定</el-button>
<el-button plain size="small" class="btn-three" @click="resetSearch">重置</el-button>
<el-button type="primary" size="small" @click="searchClientData">确定123</el-button>
</span>
</el-dialog>
</GLTable>
</div>
</template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!