Commit a5ad1775 by xuyl

UI弹框改版

1 parent 29eebb97
...@@ -62,12 +62,15 @@ ...@@ -62,12 +62,15 @@
</template> </template>
<template v-if="currentIndex == 3"></template> <template v-if="currentIndex == 3"></template>
<basic-dialog title="" width="547px" :isVisible="dialogVisible" btnOkLabel="我知道了" :isHasCancelBtn="false" @confirmDialog="handleConfirm" @closeDialog="handleClose"> <GLDialog title="" :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>
...@@ -113,7 +116,6 @@ export default { ...@@ -113,7 +116,6 @@ export default {
url: url, url: url,
leftPanelList: {}, leftPanelList: {},
flushTime: false flushTime: false
} }
}, },
......
...@@ -242,14 +242,18 @@ ...@@ -242,14 +242,18 @@
<el-button type="primary" @click="goBack">返回</el-button> <el-button type="primary" @click="goBack">返回</el-button>
</div> </div>
</div> --> </div> -->
<basic-dialog class="phone-fill-box" :width="'720px'" title="添加联系电话" :isVisible="phoneVisible" @confirmDialog="phoneConfirmDialog" @closeDialog="phoneVisible = false" :isShowCloseBtn="true"> <GLDialog title="添加联系电话" :visible.sync="phoneVisible">
<div class="dialog-form"> <div class="dialog-form">
<label>联系电话:</label> <label>联系电话:</label>
<el-input v-model.trim="contactPhone" size="small" placeholder="请输入11位的手机号" maxlength="11"></el-input> <el-input v-model.trim="contactPhone" size="small" placeholder="请输入11位的手机号" maxlength="11"></el-input>
</div> </div>
</basic-dialog> <span slot="footer" class="dialog-footer">
<basic-dialog class="tags" :title="tagsDialogTitle" :width="'712px'" :isDestroyClose="true" :btnLoading="sloading" :isShowThirdBtn="true" :isShowCloseBtn="true" @btnEvent="goNewTag" :isVisible="tagsVisible" @confirmDialog="handleConfirm" @closeDialog="handleClose"> <el-button plain size="small" class="btn-three" @click="phoneVisible = false">取 消</el-button>
<slot> <el-button type="primary" size="small" @click="phoneConfirmDialog">确 定</el-button>
</span>
</GLDialog>
<GLDialog :title="tagsDialogTitle" :isDestroyClose="true" :btnLoading="sloading" :isShowThirdBtn="true" :isShowCloseBtn="true" @btnEvent="goNewTag" :visible.sync="tagsVisible" >
<div>
<p class="hint-text color-6"> <p class="hint-text color-6">
<span class="color-3">说明:</span> <span class="color-3">说明:</span>
仅支持{{ '企业' | tagType }}标签 仅支持{{ '企业' | tagType }}标签
...@@ -280,8 +284,12 @@ ...@@ -280,8 +284,12 @@
</div> </div>
</template> </template>
</div> </div>
</slot> </div>
</basic-dialog> <span slot="footer" class="dialog-footer">
<el-button plain size="small" class="btn-three" @click="handleClose">取 消</el-button>
<el-button type="primary" size="small" @click="handleConfirm">确 定</el-button>
</span>
</GLDialog>
</div> </div>
</template> </template>
......
...@@ -97,10 +97,14 @@ ...@@ -97,10 +97,14 @@
<el-button type="primary" @click="handleSubmit">确定</el-button> <el-button type="primary" @click="handleSubmit">确定</el-button>
<el-button @click="handleCancel">取消</el-button> <el-button @click="handleCancel">取消</el-button>
</div> </div>
<basic-dialog :title="'选择成员'" :width="'1142px'" :isVisible="membersVisible" @confirmDialog="handleConfirm" @closeDialog="membersVisible = !membersVisible"> <GLDialog :title="'选择成员'" :visible.sync="membersVisible">
<!-- <SelectMembers islord="false" :selectData="selectData" ref="membersForm"></SelectMembers> --> <!-- <SelectMembers islord="false" :selectData="selectData" ref="membersForm"></SelectMembers> -->
<SelectMember ref="membersForm" v-if="membersVisible" :selectData="selectData" :followData="followData"></SelectMember> <SelectMember ref="membersForm" v-if="membersVisible" :selectData="selectData" :followData="followData"></SelectMember>
</basic-dialog> <span slot="footer" class="dialog-footer">
<el-button plain size="small" class="btn-three" @click="membersVisible = false">取消</el-button>
<el-button type="primary" size="small" @click="handleConfirm">确定</el-button>
</span>
</GLDialog>
<!-- <SelectMember ref="membersForm"></SelectMember> --> <!-- <SelectMember ref="membersForm"></SelectMember> -->
<select-follow @selectTable="selectTable" ref="selectEmpForm"></select-follow> <select-follow @selectTable="selectTable" ref="selectEmpForm"></select-follow>
</div> </div>
......
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
</div> </div>
</div> </div>
<basic-dialog :title="dialogTitle" :width="'712px'" :isVisible="dialogVisible" @confirmDialog="handleConfirm" @closeDialog="closeDialog"> <GLdialog :title="dialogTitle" :visible.sync="dialogVisible">
<slot> <div>
<el-form v-if="dialogTitle == '添加网页消息'" :model="linkForm" :rules="linkRules" ref="linkForm" label-width="120px"> <el-form v-if="dialogTitle == '添加网页消息'" :model="linkForm" :rules="linkRules" ref="linkForm" label-width="120px">
<el-form-item label="网页标题" prop="title"> <el-form-item label="网页标题" prop="title">
<el-input v-model="linkForm.title" placeholder="请输入网页标题"></el-input> <el-input v-model="linkForm.title" placeholder="请输入网页标题"></el-input>
...@@ -77,8 +77,12 @@ ...@@ -77,8 +77,12 @@
<div class="form-tips">建议图片大小在2M以内,建议尺寸:352*282px</div> <div class="form-tips">建议图片大小在2M以内,建议尺寸:352*282px</div>
</el-form-item> </el-form-item>
</el-form> </el-form>
</slot> </div>
</basic-dialog> <span slot="footer" class="dialog-footer">
<el-button plain size="small" class="btn-three" @click="closeDialog">取 消</el-button>
<el-button type="primary" size="small" @click="handleConfirm">确 定</el-button>
</span>
</GLdialog>
</div> </div>
</template> </template>
<script> <script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!