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