@@ -150,14 +150,14 @@ | |||
</div> | |||
</div> | |||
<el-dialog title="新增代理" :visible.sync="dialogVisible" @close="reset1"> | |||
<el-dialog title="新增代理" :visible.sync="dialogVisible" @close="reset1" :center="true" width="600px"> | |||
<el-form :model="addagentobj" label-position="labelPosition" :rules="rules" ref="addagentobj" label-width="140px" | |||
style="width: 60%; margin: 0 auto"> | |||
style="width: 80%; margin: 0 auto"> | |||
<el-form-item label="代理商名称:" prop="agentName"> | |||
<el-input v-model="addagentobj.agentName" maxlength="30" clearable></el-input> | |||
</el-form-item> | |||
<el-form-item label="合同起止日期:" prop="rulestimelist"> | |||
<el-date-picker v-model="addagentobj.rulestimelist" @change="confirmtime2()" type="daterange" | |||
<el-date-picker v-model="addagentobj.rulestimelist" style="width:100%" @change="confirmtime2()" type="daterange" | |||
range-separator="-" :default-time="['00:00:00', '23:59:59']" :clearable="false" value-format="yyyy-MM-dd" | |||
start-placeholder="开始日期" end-placeholder="结束日期"> | |||
</el-date-picker> | |||
@@ -194,7 +194,7 @@ | |||
</el-form-item> --> | |||
<el-form-item label="地区" prop="provinceId"> | |||
<el-cascader :props="props" @change="locationsChange" :options="addressOptions" placeholder="省/市" size="small" | |||
<el-cascader :props="props" style="width:100%" @change="locationsChange" :options="addressOptions" placeholder="省/市" size="small" | |||
separator="/" v-model="addagentobj.area" clearable></el-cascader> | |||
</el-form-item> | |||
<el-form-item label="详细地址:" prop="address"> | |||
@@ -221,20 +221,20 @@ | |||
v-model="addagentobj.managerPassword"></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible = false">取 消</el-button> | |||
<el-button type="primary" @click="add()" :loading="loadingFlag">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="编辑" :visible.sync="dialogVisible2" @close="reset2"> | |||
<el-dialog title="编辑" :visible.sync="dialogVisible2" @close="reset2" :center="true" width="600px"> | |||
<el-form :model="editoragentobj" label-position="labelPosition" :rules="editorrules" ref="editoragentobj" | |||
label-width="140px" style="width: 60%; margin: 0 auto"> | |||
label-width="140px" style="width: 80%; margin: 0 auto"> | |||
<el-form-item label="代理商名称:" prop="agentName"> | |||
<el-input v-model="editoragentobj.agentName" maxlength="30" clearable></el-input> | |||
</el-form-item> | |||
<el-form-item label="合同起止日期:" prop="rulestimelist"> | |||
<el-date-picker v-model="editoragentobj.rulestimelist" @change="confirmtime3()" type="daterange" | |||
<el-date-picker v-model="editoragentobj.rulestimelist" style="width:100%" @change="confirmtime3()" type="daterange" | |||
range-separator="-" :default-time="['00:00:00', '23:59:59']" :clearable="false" value-format="yyyy-MM-dd" | |||
start-placeholder="开始日期" end-placeholder="结束日期"> | |||
</el-date-picker> | |||
@@ -247,8 +247,8 @@ | |||
onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)));"></el-input> | |||
</el-form-item> | |||
<el-form-item label="地区" prop="provinceId"> | |||
<el-cascader :props="props" @change="locationsChange" :options="addressOptions" placeholder="省/市" size="small" | |||
<el-form-item label="地区" prop="provinceId" > | |||
<el-cascader :props="props" @change="locationsChange" style="width:100%" :options="addressOptions" placeholder="省/市" size="small" | |||
separator="/" v-model="editoragentobj.area" clearable></el-cascader> | |||
</el-form-item> | |||
<!-- <el-form-item label="省:" prop="provinceId"> | |||
@@ -286,13 +286,13 @@ | |||
</el-select> | |||
</el-form-item> --> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible2 = false">取 消</el-button> | |||
<el-button type="primary" @click="editor()" :loading="loadingFlag">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="更换账号" :visible.sync="dialogVisible3" @close="replaceClose"> | |||
<el-dialog title="更换账号" :visible.sync="dialogVisible3" @close="replaceClose" :center="true"> | |||
<el-form :model="replaceagentobj" label-position="labelPosition" :rules="ruleser" ref="replaceagentobj" | |||
label-width="140px" style="width: 60%; margin: 0 auto"> | |||
<el-form-item label="管理员账号:" prop="managerPhone"> | |||
@@ -302,13 +302,13 @@ | |||
<el-input show-password :disabled="passFlag" v-model="replaceagentobj.managerPassword"></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible3 = false">取 消</el-button> | |||
<el-button type="primary" @click="replace()" :loading="loadingFlag">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="编辑运营人员" :visible.sync="operaVisible"> | |||
<el-dialog title="编辑运营人员" :visible.sync="operaVisible" :center="true"> | |||
<el-form :model="operaForm" label-position="labelPosition" :rules="operaRules" ref="operaForm" | |||
label-width="140px"> | |||
<el-form-item label="运营人员:" prop="operationalPeople"> | |||
@@ -319,7 +319,7 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="operaVisible = false">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="saveOpera()">保存</el-button> | |||
</div> | |||
@@ -136,9 +136,9 @@ | |||
</div> | |||
</div> | |||
<el-dialog title="新增公司" :visible.sync="dialogVisible" @close="reset1"> | |||
<el-dialog title="新增公司" :visible.sync="dialogVisible" @close="reset1" :center="true" width="600px"> | |||
<el-form :model="addagentobj" label-position="labelPosition" :rules="rules" ref="addagentobj" label-width="140px" | |||
style="width: 60%; margin: 0 auto"> | |||
style="width: 80%; margin: 0 auto"> | |||
<!-- <el-form-item label="代理商名称:" prop="agentId"> --> | |||
<!-- <el-select v-model="addagentobj.agentId" placeholder="请选择" @change='clickagentId()'> --> | |||
<!-- <el-select v-model="addagentobj.agentId" placeholder="请选择"> | |||
@@ -156,8 +156,8 @@ | |||
onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)));" maxlength="11"></el-input> | |||
</el-form-item> | |||
<el-form-item label="地区" prop="provinceId"> | |||
<el-cascader :props="props" @change="locationsChange" :options="addressOptions" placeholder="省/市" size="small" | |||
<el-form-item label="地区" prop="provinceId" > | |||
<el-cascader :props="props" @change="locationsChange" style="width:100%" :options="addressOptions" placeholder="省/市" size="small" | |||
separator="/" v-model="editoragentobj.area" clearable></el-cascader> | |||
</el-form-item> | |||
<!-- <el-form-item label="省:" prop="provinceId"> | |||
@@ -199,15 +199,15 @@ | |||
v-model="addagentobj.managerPassword"></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible = false">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="add()">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="编辑" :visible.sync="dialogVisible2" @close="reset2"> | |||
<el-dialog title="编辑" :visible.sync="dialogVisible2" @close="reset2" :center="true" width="600px"> | |||
<el-form :model="editoragentobj" label-position="labelPosition" :rules="editorrules" ref="editoragentobj" | |||
label-width="140px" style="width: 60%; margin: 0 auto"> | |||
label-width="140px" style="width: 80%; margin: 0 auto"> | |||
<!-- <el-form-item label="代理商名称:" prop="operator"> --> | |||
<!-- <el-select v-model="editoragentobj.operator" placeholder="请选择" @change='clickagentId22()'> --> | |||
<!-- <el-select v-model="editoragentobj.operator" placeholder="请选择"> | |||
@@ -226,7 +226,7 @@ | |||
</el-form-item> | |||
<el-form-item label="地区" prop="provinceId"> | |||
<el-cascader :props="props" @change="locationsChange" :options="addressOptions" placeholder="省/市" size="small" | |||
<el-cascader :props="props" style="width:100%" @change="locationsChange" :options="addressOptions" placeholder="省/市" size="small" | |||
separator="/" v-model="editoragentobj.area" clearable></el-cascader> | |||
</el-form-item> | |||
<!-- <el-form-item label="省:" prop="provinceId"> | |||
@@ -260,15 +260,15 @@ | |||
</el-select> | |||
</el-form-item> --> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible2 = false">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="editor()">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="更换账号" :visible.sync="dialogVisible3" @close="replaceClose"> | |||
<el-dialog title="更换账号" :visible.sync="dialogVisible3" @close="replaceClose" :center="true" width="600px"> | |||
<el-form :model="replaceagentobj" label-position="labelPosition" :rules="ruleser" ref="replaceagentobj" | |||
label-width="140px" style="width: 60%; margin: 0 auto"> | |||
label-width="140px" style="width: 80%; margin: 0 auto"> | |||
<el-form-item label="管理员账号:" prop="managerPhone"> | |||
<el-input maxlength="11" v-model="replaceagentobj.managerPhone"></el-input> | |||
</el-form-item> | |||
@@ -276,13 +276,13 @@ | |||
<el-input show-password :disabled="passFlag" v-model="replaceagentobj.managerPassword"></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible3 = false">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="replace()">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog :title="sysFlag == 0 ? '绑定系统运营' : '绑定售后运营'" :visible.sync="operaVisible"> | |||
<el-dialog :title="sysFlag == 0 ? '绑定系统运营' : '绑定售后运营'" :visible.sync="operaVisible" :center="true" width="600px"> | |||
<el-form :model="operaForm" label-position="labelPosition" :rules="operaRules" ref="operaForm" | |||
label-width="140px"> | |||
<el-form-item label="运营人员:" prop="operationalPeople"> | |||
@@ -293,13 +293,13 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="operaVisible = false">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="saveOpera()">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="绑定代理商" :visible.sync="agentVisible"> | |||
<el-dialog title="绑定代理商" :visible.sync="agentVisible" :center="true" width="600px"> | |||
<el-form :model="agentForm" label-position="labelPosition" :rules="agentRule" ref="agentForm" label-width="140px"> | |||
<el-form-item label="代理商:" prop="agentId"> | |||
<el-select v-model="agentForm.agentId" style="width: 80%" multiple filterable placeholder="请选择"> | |||
@@ -308,7 +308,7 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="agentVisible = false">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="saveAgent()">保存</el-button> | |||
</div> | |||
@@ -151,7 +151,7 @@ | |||
</div> | |||
</div> | |||
<el-dialog title="新增公司" :visible.sync="dialogVisible"> | |||
<el-dialog title="新增公司" :visible.sync="dialogVisible" :center="true" width="600px"> | |||
<el-form | |||
:model="addagentobj" | |||
label-position="labelPosition" | |||
@@ -237,13 +237,13 @@ | |||
<el-input v-model="addagentobj.managerPassword"></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible = false">取 消</el-button> | |||
<el-button type="primary" @click="add()">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="编辑" :visible.sync="dialogVisible2"> | |||
<el-dialog title="编辑" :visible.sync="dialogVisible2" :center="true" width="600px"> | |||
<el-form | |||
:model="editoragentobj" | |||
label-position="labelPosition" | |||
@@ -308,13 +308,13 @@ | |||
</el-select> | |||
</el-form-item> --> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible2 = false">取 消</el-button> | |||
<el-button type="primary" @click="editor()">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="更换账号" :visible.sync="dialogVisible3"> | |||
<el-dialog title="更换账号" :visible.sync="dialogVisible3" :center="true" width="600px"> | |||
<el-form | |||
:model="replaceagentobj" | |||
label-position="labelPosition" | |||
@@ -330,7 +330,7 @@ | |||
<el-input v-model="replaceagentobj.managerPassword"></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible3 = false">取 消</el-button> | |||
<el-button type="primary" @click="replace()">保存</el-button> | |||
</div> | |||
@@ -339,6 +339,7 @@ | |||
<el-dialog | |||
:title="sysFlag == 0 ? '绑定系统运营' : '绑定售后运营'" | |||
:visible.sync="operaVisible" | |||
:center="true" width="600px" | |||
> | |||
<el-form | |||
:model="operaForm" | |||
@@ -364,13 +365,13 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="operaVisible = false">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="saveOpera()">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="绑定代理商" :visible.sync="agentVisible"> | |||
<el-dialog title="绑定代理商" :visible.sync="agentVisible" :center="true" width="600px"> | |||
<el-form | |||
:model="agentForm" | |||
label-position="labelPosition" | |||
@@ -396,7 +397,7 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="agentVisible = false">取 消</el-button> | |||
<el-button type="primary" @click="saveAgent()">保存</el-button> | |||
</div> | |||
@@ -57,14 +57,14 @@ | |||
</el-table> | |||
</div> | |||
<el-dialog :title="editFlag==true?'编辑阶段':'新增阶段'" :visible.sync="dialogVisible" @close="clear"> | |||
<el-dialog :title="editFlag==true?'编辑阶段':'新增阶段'" :visible.sync="dialogVisible" @close="clear" :center="true" width="600px"> | |||
<el-form | |||
:model="ruleForm" | |||
label-position="labelPosition" | |||
:rules="rules" | |||
ref="ruleForm" | |||
label-width="140px" | |||
style="width: 60%; margin: 0 auto" | |||
style="width: 80%; margin: 0 auto" | |||
> | |||
<el-form-item label="阶段名称:" prop="stageName"> | |||
<el-input v-model="ruleForm.stageName" maxlength="10" clearable=""></el-input> | |||
@@ -80,7 +80,7 @@ | |||
<el-input v-model="ruleForm.remarks" type="textarea" maxlength="50" show-word-limit></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible = false">取 消</el-button> | |||
<el-button type="primary" @click="addSure()">保存</el-button> | |||
</div> | |||
@@ -385,11 +385,12 @@ | |||
</div> | |||
<!-- 提示转义客户 --> | |||
<el-dialog title="客户流转" :visible.sync="dialogVisible" width="30%"> | |||
<el-dialog title="客户流转" :visible.sync="dialogVisible" width="30%" :center="true"> | |||
<div> | |||
<span>员工:</span> | |||
<el-select | |||
v-model="agentId" | |||
style="width:86%" | |||
clearable | |||
filterable | |||
placeholder="请选择" | |||
@@ -404,7 +405,7 @@ | |||
</el-option> | |||
</el-select> | |||
</div> | |||
<span slot="footer" class="dialog-footer"> | |||
<span slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button | |||
@click=" | |||
dialogVisible = false; | |||
@@ -95,8 +95,8 @@ | |||
<el-dialog :title='isshow' :visible.sync="dialogVisible" @closed='clear'> | |||
<el-form :model="addagentobj" label-position="labelPosition" :rules="rules" ref="addagentobj" label-width="140px" style="width:60%; margin: 0 auto;"> | |||
<el-dialog :title='isshow' :visible.sync="dialogVisible" @closed='clear' :center="true" width="600px"> | |||
<el-form :model="addagentobj" label-position="labelPosition" :rules="rules" ref="addagentobj" label-width="140px" style="width:80%; margin: 0 auto;"> | |||
<el-form-item label="批次号" prop="batchId"> | |||
<el-input v-model="addagentobj.batchId" maxlength="20" clearable></el-input> | |||
</el-form-item> | |||
@@ -116,7 +116,7 @@ | |||
<el-input type="textarea" v-model="addagentobj.remark" maxlength="50" show-word-limit></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible = false">取 消</el-button> | |||
<el-button type="primary" @click="editor()">保存</el-button> | |||
</div> | |||
@@ -431,6 +431,7 @@ | |||
title="新增设备" | |||
:visible.sync="dialogVisible" | |||
@close="resetImei" | |||
:center="true" width="600px" | |||
> | |||
<el-form | |||
:model="addForm" | |||
@@ -476,13 +477,13 @@ | |||
></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible = false">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="addEquipment()">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="编辑" :visible.sync="dialogVisible2"> | |||
<el-dialog title="编辑" :visible.sync="dialogVisible2" :center="true" width="600px"> | |||
<el-form | |||
:model="editForm" | |||
label-position="labelPosition" | |||
@@ -518,19 +519,20 @@ | |||
></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible2 = false">取 消</el-button> | |||
<el-button type="primary" @click="editor()">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="绑定" :visible.sync="dialogVisible3" @close="resetBind"> | |||
<el-dialog title="绑定" :center="true" width="600px" :visible.sync="dialogVisible3" @close="resetBind"> | |||
<el-form | |||
:model="bindForm" | |||
label-position="labelPosition" | |||
ref="bindForm" | |||
:rules="bindRules" | |||
label-width="100px" | |||
> | |||
<!-- <el-form-item label="绑定" prop="choic"> | |||
<el-radio-group v-model="bindForm.choic"> | |||
@@ -567,7 +569,7 @@ | |||
></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible3 = false">取 消</el-button> | |||
<el-button type="primary" @click="binding()">保存</el-button> | |||
</div> | |||
@@ -578,6 +580,7 @@ | |||
width="40%" | |||
:visible.sync="dialogVisible4" | |||
@close="resetBatch" | |||
:center="true" | |||
> | |||
<el-form | |||
:model="batchForm" | |||
@@ -605,7 +608,7 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible4 = false">取 消</el-button> | |||
<el-button type="primary" @click="Bulkbinding()">保存</el-button> | |||
</div> | |||
@@ -616,6 +619,7 @@ | |||
width="40%" | |||
:visible.sync="dialogVisible5" | |||
@close="resetBind" | |||
:center="true" | |||
> | |||
<el-form | |||
:model="bindForm" | |||
@@ -642,7 +646,7 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible5 = false">取 消</el-button> | |||
<el-button type="primary" @click="Masstransfer()">保存</el-button> | |||
</div> | |||
@@ -652,6 +656,7 @@ | |||
title="领用" | |||
:visible.sync="receiveVisible" | |||
@close="resetReceive" | |||
:center="true" width="600px" | |||
> | |||
<el-form | |||
:model="receiveForm" | |||
@@ -691,7 +696,7 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="receiveVisible = false">取 消</el-button> | |||
<el-button type="primary" @click="saveReceive()">保存</el-button> | |||
</div> | |||
@@ -701,6 +706,7 @@ | |||
<el-dialog | |||
title="转写设置" | |||
:visible.sync="receiveVisiblescd" | |||
:center="true" width="600px" | |||
> | |||
<div> | |||
<span>转写方式:</span> | |||
@@ -710,7 +716,7 @@ | |||
<el-radio :label="2">思必驰</el-radio> | |||
</el-radio-group> | |||
</div> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="receiveVisiblescd = false">取 消</el-button> | |||
<el-button type="primary" @click="shezhizhuanxei()">保存</el-button> | |||
</div> | |||
@@ -81,7 +81,7 @@ | |||
</el-select> | |||
</div> | |||
</div> | |||
<div class="app-titel" style="margin-top: 5px" v-show="isOpen"> | |||
<div class="app-titel" style="margin-top: 5px"> | |||
<div class="div-lab"> | |||
<div class="label">更新时间:</div> | |||
<el-date-picker | |||
@@ -165,7 +165,7 @@ | |||
</el-select> | |||
</div> | |||
<div class="div-lab"> | |||
<div class="div-lab" v-show="isOpen"> | |||
<div class="label">在线状态:</div> | |||
<el-select | |||
class="div-inp" | |||
@@ -185,7 +185,7 @@ | |||
</el-select> | |||
</div> | |||
<div class="div-lab"> | |||
<div class="div-lab" v-show="isOpen"> | |||
<div class="label">录音状态:</div> | |||
<el-select | |||
class="div-inp" | |||
@@ -225,7 +225,7 @@ | |||
</el-select> | |||
</div>--> | |||
<div class="div-lab"> | |||
<div class="div-lab" v-show="isOpen"> | |||
<div class="label">关机状态:</div> | |||
<el-select | |||
class="div-inp" | |||
@@ -244,7 +244,7 @@ | |||
</el-option> | |||
</el-select> | |||
</div> | |||
<div class="div-lab"> | |||
<div class="div-lab" v-show="isOpen"> | |||
<div class="label">领用人:</div> | |||
<el-input type="text" v-model="searchForm.userName"></el-input> | |||
</div> | |||
@@ -512,6 +512,7 @@ | |||
title="领用" | |||
:visible.sync="receiveVisible" | |||
@close="resetReceive" | |||
:center="true" width="600px" | |||
> | |||
<el-form | |||
:model="receiveForm" | |||
@@ -543,7 +544,7 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="receiveVisible = false">取 消</el-button> | |||
<el-button type="primary" @click="saveReceive()">保存</el-button> | |||
</div> | |||
@@ -554,6 +555,7 @@ | |||
width="40%" | |||
:visible.sync="dialogVisible5" | |||
@close="resetBind" | |||
:center="true" | |||
> | |||
<el-form | |||
:model="bindForm" | |||
@@ -580,13 +582,13 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible5 = false">取 消</el-button> | |||
<el-button type="primary" @click="Masstransfer()">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="WiFi管理" width="40%" :visible.sync="wifiVisible"> | |||
<el-dialog title="WiFi管理" width="40%" :visible.sync="wifiVisible" :center="true" > | |||
<el-form | |||
:model="wifiForm" | |||
:rules="wifiRule" | |||
@@ -639,7 +641,7 @@ | |||
show-password | |||
></el-input> | |||
</el-form-item> | |||
<el-form-item> | |||
<el-form-item style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="wifiVisible = false" type="primary" | |||
>取消</el-button | |||
> | |||
@@ -100,10 +100,10 @@ | |||
</el-dialog> | |||
<!-- 新增弹框 --> | |||
<el-dialog title="新增大类" :visible.sync="dialogShow"> | |||
<el-dialog title="新增大类" :visible.sync="dialogShow" :center="true" width="400px"> | |||
<el-form :model="addForm" label-position="left" label-width="80px"> | |||
<el-row :gutter="10"> | |||
<el-col :span="10"> | |||
<el-col :span="24"> | |||
<el-form-item label="一级大类名称:" v-if="level==0" :label-width="formLabelWidth"> | |||
<el-input v-model="addForm.name" autocomplete="off"></el-input> | |||
</el-form-item> | |||
@@ -116,7 +116,7 @@ | |||
</el-col> | |||
</el-row> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogShow = false">取 消</el-button> | |||
<el-button type="primary" @click="onSubmit">确 定</el-button> | |||
</div> | |||
@@ -90,6 +90,7 @@ | |||
<el-dialog | |||
:title="editFlag ? '编辑' : '新增'" | |||
:center="true" width="500px" | |||
:visible.sync="dialogVisible" | |||
@close="$refs.ruleForm.resetFields()" | |||
> | |||
@@ -99,13 +100,13 @@ | |||
:rules="ruleser" | |||
ref="ruleForm" | |||
label-width="140px" | |||
style="width: 60%; margin: 0 auto" | |||
style="width: 100%; margin: 0 auto" | |||
> | |||
<el-form-item label="敏感词" prop="words"> | |||
<el-input v-model="ruleForm.words" maxlength="8" clearable></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible = false">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="editor()" | |||
>保存</el-button | |||
@@ -106,6 +106,7 @@ | |||
:title="editFlag ? '修改常错词' : '新增常错词'" | |||
:visible.sync="dialogVisible" | |||
@close="reset" | |||
:center="true" width="600px" | |||
> | |||
<el-form | |||
:model="ruleForm" | |||
@@ -113,7 +114,7 @@ | |||
label-position="labelPosition" | |||
ref="ruleForm" | |||
label-width="140px" | |||
style="width: 60%; margin: 0 auto" | |||
style="width: 80%; margin: 0 auto" | |||
> | |||
<el-form-item label="正确词" prop="correctWord"> | |||
<el-input | |||
@@ -130,7 +131,7 @@ | |||
></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible = false">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="addSure()" | |||
>保存</el-button | |||
@@ -63,6 +63,7 @@ | |||
title="新增区域" | |||
:visible.sync="dialogVisible" | |||
@close="formClose" | |||
:center="true" width="600px" | |||
> | |||
<el-form | |||
:model="ruleForm" | |||
@@ -90,7 +91,7 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="dialogVisible = false">取 消</el-button> | |||
<el-button type="primary" @click="add" :loading="loadingFlag">{{ | |||
editFlag ? "保 存" : "确 定" | |||
@@ -279,11 +279,11 @@ | |||
</div> | |||
</div> | |||
<el-dialog :title="editFlag ? '编辑项目' : '新增项目'" :visible.sync="dialogVisible" @close="dialogClose"> | |||
<el-form :model="ruleForm" label-position="labelPosition" ref="ruleForm" label-width="150px" style="width: 60%" | |||
<el-dialog :title="editFlag ? '编辑项目' : '新增项目'" :visible.sync="dialogVisible" @close="dialogClose" width="600px" :center="true"> | |||
<el-form :model="ruleForm" label-position="labelPosition" ref="ruleForm" label-width="150px" style="width: 80%" | |||
:rules="rules"> | |||
<el-form-item label="公司" prop="orgCode" v-if="orgType != 2"> | |||
<el-select :disabled="editFlag == true" v-model="ruleForm.orgCode" filterable placeholder="请选择公司"> | |||
<el-select style="width: 100%" :disabled="editFlag == true" v-model="ruleForm.orgCode" filterable placeholder="请选择公司"> | |||
<el-option v-for="item in orgList" :key="item.id" :label="item.name" :value="item.orgCode"> | |||
</el-option> | |||
</el-select> | |||
@@ -300,7 +300,7 @@ | |||
<el-input v-model="ruleForm.propertyName" maxlength="30" clearable></el-input> | |||
</el-form-item> | |||
<el-form-item label="合同起止日期" prop="startWorking" v-if="orgType != 2"> | |||
<el-date-picker v-model="time" @change="timeChange" type="daterange" range-separator="-" | |||
<el-date-picker v-model="time" style="width: 100%" @change="timeChange" type="daterange" range-separator="-" | |||
:default-time="['00:00:00', '23:59:59']" value-format="yyyy-MM-dd" start-placeholder="开始日期" | |||
end-placeholder="结束日期"> | |||
</el-date-picker> | |||
@@ -313,7 +313,7 @@ | |||
onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)));"></el-input> | |||
</el-form-item> | |||
<el-form-item label="项目地区" prop="provinceId"> | |||
<el-cascader :props="props" @change="locationsChange" :options="addressOptions" placeholder="省/市" size="small" | |||
<el-cascader :props="props" style="width: 100%" @change="locationsChange" :options="addressOptions" placeholder="省/市" size="small" | |||
separator="/" v-model="ruleForm.area" filterable clearable></el-cascader> | |||
</el-form-item> | |||
<el-form-item label="详细地址" prop="address"> | |||
@@ -329,7 +329,7 @@ | |||
show-password :disabled="passFlag"></el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="addSurequxiao()">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="addSure"> | |||
<!-- {{ | |||
@@ -340,7 +340,7 @@ | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="更换账号" :visible.sync="changeFlag" @close="$refs.accountForm.resetFields()" width="400px"> | |||
<el-dialog title="更换账号" :visible.sync="changeFlag" @close="$refs.accountForm.resetFields()" width="400px" :center="true"> | |||
<el-form :model="accountForm" label-width="100px" ref="accountForm" :rules="accountRules"> | |||
<el-form-item label="管理员账号:" prop="managerPhone"> | |||
<el-input style="width: 200px" maxlength="11" v-model.number="accountForm.managerPhone" | |||
@@ -351,13 +351,13 @@ | |||
</el-input> | |||
</el-form-item> | |||
</el-form> | |||
<div style="display: flex; justify-content: space-around"> | |||
<div style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;" > | |||
<el-button @click="changeFlag = false">取 消</el-button> | |||
<el-button type="primary" @click="changeSure" :loading="loadingFlag">确 定</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog :title="sysFlag == 0 ? '绑定系统运营' : '绑定售后运营'" :visible.sync="operaVisible"> | |||
<el-dialog :title="sysFlag == 0 ? '绑定系统运营' : '绑定售后运营'" :visible.sync="operaVisible" :center="true"> | |||
<el-form :model="operaForm" label-position="labelPosition" :rules="operaRules" ref="operaForm" | |||
label-width="140px"> | |||
<el-form-item label="运营人员:" prop="operationalPeople"> | |||
@@ -368,13 +368,13 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="operaVisible = false">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="saveOpera()">保存</el-button> | |||
</div> | |||
</el-dialog> | |||
<el-dialog title="绑定代理商" :visible.sync="agentVisible"> | |||
<el-dialog title="绑定代理商" :visible.sync="agentVisible" :center="true"> | |||
<el-form :model="agentForm" label-position="labelPosition" :rules="agentRule" ref="agentForm" label-width="140px"> | |||
<el-form-item label="代理商:" prop="agentId"> | |||
<el-select v-model="agentForm.agentId" style="width: 80%" filterable clearable placeholder="请选择"> | |||
@@ -383,7 +383,7 @@ | |||
</el-select> | |||
</el-form-item> | |||
</el-form> | |||
<div slot="footer" class="dialog-footer"> | |||
<div slot="footer" class="dialog-footer" style="border-top:1px solid #eee;padding-top: 20px;display: flex;justify-content: end;"> | |||
<el-button @click="agentVisible = false">取 消</el-button> | |||
<el-button type="primary" :loading="loadingFlag" @click="saveAgent()">保存</el-button> | |||
</div> | |||