Browse Source

init

newStyle
lancer 3 years ago
parent
commit
0f9f39e071
6 changed files with 1627 additions and 1287 deletions
  1. +32
    -1
      src/views/Customer/AgentManagement.vue
  2. +853
    -680
      src/views/Customer/CompanyRecord.vue
  3. +703
    -598
      src/views/Customer/Companymanagement.vue
  4. +6
    -6
      src/views/Equipment/state.vue
  5. +31
    -0
      src/views/building/index.vue
  6. +2
    -2
      vue.config.js

+ 32
- 1
src/views/Customer/AgentManagement.vue View File

@@ -30,6 +30,25 @@
</el-option> </el-option>
</el-select> </el-select>
</div> </div>

<div class="div-lab">
<div class="label" style=" line-height: 30px;">地区:</div>
<el-select
v-model="provinceId"
placeholder="请选择"
class="div-inp"
filterable
clearable
>
<el-option
v-for="item in areaList"
:key="item.id"
:label="item.name"
:value="item.id"
>
</el-option>
</el-select>
</div>
</div> </div>
<div class="app-titel" style="margin-top: 15px"> <div class="app-titel" style="margin-top: 15px">
<div class="label">代理商名称:</div> <div class="label">代理商名称:</div>
@@ -503,6 +522,8 @@ export default {
resetFlag:false, resetFlag:false,
dialogVisible3:false, dialogVisible3:false,
operaVisible:false, operaVisible:false,
provinceId:'',
areaList:[],
timelist:'', timelist:'',
tableData: [], tableData: [],
addressOptions: [], addressOptions: [],
@@ -654,10 +675,18 @@ export default {
this.contractEndDate=this.timelist[1]; this.contractEndDate=this.timelist[1];
this.serviceStatus=this.$route.query.serviceStatus; this.serviceStatus=this.$route.query.serviceStatus;
} }

// 获取地区列表
this.getCityList()
this.getAgentList() this.getAgentList()
}, },
methods: { methods: {
getCityList(){
this.$api.api.getAreaList({parentId:0})
.then(res=>{
// console.log(res,'地区列表');
this.areaList=res.data
})
},
saveOpera(){ saveOpera(){
this.$refs.operaForm.validate(valid=>{ this.$refs.operaForm.validate(valid=>{
if(valid){ if(valid){
@@ -962,6 +991,7 @@ export default {
this.serviceStatus=''; this.serviceStatus='';
this.agentName=''; this.agentName='';
this.operationalName=''; this.operationalName='';
this.provinceId=''
this.pageNum=1 this.pageNum=1
this.getAgentList() this.getAgentList()
}, },
@@ -979,6 +1009,7 @@ export default {
contractEndDate:this.contractEndDate, contractEndDate:this.contractEndDate,
serviceStatus:this.serviceStatus, serviceStatus:this.serviceStatus,
agentName:this.agentName, agentName:this.agentName,
provinceId:this.provinceId,
operationalName:this.operationalName, operationalName:this.operationalName,


}).then((res) => { }).then((res) => {


+ 853
- 680
src/views/Customer/CompanyRecord.vue
File diff suppressed because it is too large
View File


+ 703
- 598
src/views/Customer/Companymanagement.vue
File diff suppressed because it is too large
View File


+ 6
- 6
src/views/Equipment/state.vue View File

@@ -113,7 +113,7 @@
clearable clearable
filterable filterable
collapse-tags collapse-tags
v-model="searchForm.simAudioStatus"
v-model="searchForm.recCmd"
placeholder="请选择" placeholder="请选择"
> >
<el-option <el-option
@@ -373,7 +373,7 @@
}}指示灯</el-dropdown-item }}指示灯</el-dropdown-item
> >
<el-dropdown-item v-if="equ_state_WiFi" command="wifiShow">WiFi管理</el-dropdown-item> <el-dropdown-item v-if="equ_state_WiFi" command="wifiShow">WiFi管理</el-dropdown-item>
<el-dropdown-item v-if="equ_state_Voice" command="voiceOpen">录音{{row.simAudioStatus=='true'?'关闭':'开启'}}</el-dropdown-item>
<el-dropdown-item v-if="equ_state_Voice" command="voiceOpen">录音{{row.recCmd=='start'?'关闭':'开启'}}</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</template> </template>
@@ -553,11 +553,11 @@ export default {
], ],
audioStatusList: [ audioStatusList: [
{ {
value: true,
value: 'start',
label: "开启", label: "开启",
}, },
{ {
value: false,
value: 'stop',
label: "关闭", label: "关闭",
}, },
], ],
@@ -636,7 +636,7 @@ export default {
orgName: "", //公司名称 orgName: "", //公司名称
houseName: "", //楼盘名称 houseName: "", //楼盘名称
acceptanceStatus: "", //设备状态 acceptanceStatus: "", //设备状态
simAudioStatus: "", //录音状态
recCmd: "", //录音状态
simAudioUploadStatus: "", //上传状态 simAudioUploadStatus: "", //上传状态
offStatus: "", //关机状态 offStatus: "", //关机状态
onLine: "", onLine: "",
@@ -967,7 +967,7 @@ export default {
orgName: "", //公司名称 orgName: "", //公司名称
houseName: "", //楼盘名称 houseName: "", //楼盘名称
acceptanceStatus: "", //设备状态 acceptanceStatus: "", //设备状态
simAudioStatus: "", //录音状态
recCmd: "", //录音状态
simAudioUploadStatus: "", //上传状态 simAudioUploadStatus: "", //上传状态
offStatus: "", //关机状态 offStatus: "", //关机状态
onLine: "", onLine: "",


+ 31
- 0
src/views/building/index.vue View File

@@ -94,6 +94,24 @@
> >
</el-option> </el-option>
</el-select> </el-select>
</div>
<div class="div-lab">
<div class="label">地区:</div>
<el-select
v-model="searchForm.provinceId"
placeholder="请选择"
class="div-inp"
filterable
clearable
>
<el-option
v-for="item in areaList"
:key="item.id"
:label="item.name"
:value="item.id"
>
</el-option>
</el-select>
</div> </div>
<!-- <div v-if="orgType == 0" class="div-lab"> <!-- <div v-if="orgType == 0" class="div-lab">
<div class="label">运营人员:</div> <div class="label">运营人员:</div>
@@ -610,6 +628,7 @@ export default {
searchForm: { searchForm: {
corporateName: "", corporateName: "",
propertyName: "", propertyName: "",
provinceId:'',
serviceStatus: "", serviceStatus: "",
houseType: "", houseType: "",
// residueTime: 7, // residueTime: 7,
@@ -618,6 +637,7 @@ export default {
agentName: "", agentName: "",
operationalPeople: "", operationalPeople: "",
}, },
areaList:[],
options1: [ options1: [
{ {
value: "0", value: "0",
@@ -758,10 +778,20 @@ export default {
this.getOrgList(); this.getOrgList();
// 获取运营人员 // 获取运营人员
// this.getAllOperationsStaff(); // this.getAllOperationsStaff();
// 获取地区列表
this.getCityList()
// 获取列表数据 // 获取列表数据
this.zkhousePage(); this.zkhousePage();

}, },
methods: { methods: {
getCityList(){
this.$api.api.getAreaList({parentId:0})
.then(res=>{
// console.log(res,'地区列表');
this.areaList=res.data
})
},
bindAgent(row) { bindAgent(row) {
// console.log(row); // console.log(row);
this.findMyAgent(row); this.findMyAgent(row);
@@ -1133,6 +1163,7 @@ export default {
corporateName: "", corporateName: "",
propertyName: "", propertyName: "",
serviceStatus: "", serviceStatus: "",
provinceId:'',
houseType: "", houseType: "",
// residueTime: 7, // residueTime: 7,
startWorking: "", startWorking: "",


+ 2
- 2
vue.config.js View File

@@ -3,9 +3,9 @@
* https://cli.vuejs.org/zh/config/ * https://cli.vuejs.org/zh/config/
*/ */
// const url = 'http://pigx-gateway' // const url = 'http://pigx-gateway'
// const url = 'http://39.97.167.65:9999' //测试
const url = 'http://39.97.167.65:9999' //测试
// const url = 'http://192.168.31.169:9999' //长龙 // const url = 'http://192.168.31.169:9999' //长龙
const url = 'http://192.168.31.134:9999' //嘉豪
// const url = 'http://192.168.31.134:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑 // const url = 'http://192.168.31.100:9999' //王笑
// const url = 'http://nitu5e.natappfree.cc' //王笑 // const url = 'http://nitu5e.natappfree.cc' //王笑




Loading…
Cancel
Save