Commit 29eebb97 by xuyl

更新UI改版和广汇代码

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