Commit 3aa6f4b2 authored by zhanglw's avatar zhanglw

首页运载量图表

parent 239d6ee4
...@@ -2062,7 +2062,8 @@ var HttpReq = function(){ ...@@ -2062,7 +2062,8 @@ var HttpReq = function(){
//大屏——数据总览——中间下方图表 //大屏——数据总览——中间下方图表
apiPlanTime1Query: function(param){ apiPlanTime1Query: function(param){
return request({ return request({
url: '/api/Plan/time', // url: '/api/Plan/time',
url: '/api/carManager/productionByHour',
method: 'get', method: 'get',
params:param, params:param,
}) })
......
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
<div class="voiceAppContent_4"> <div class="voiceAppContent_4">
<button class="voiceAppContent_4_btns" @click="openVoiceView('广播')">广播</button> <button class="voiceAppContent_4_btns" @click="openVoiceView('广播')">广播</button>
<button class="voiceAppContent_4_btns" @click="openVoiceView('紧急通知')">紧急通知</button> <button class="voiceAppContent_4_btns" @click="openVoiceView('紧急通知')">紧急通知</button>
<button class="voiceAppContent_4_btns">下班</button> <button class="voiceAppContent_4_btns" @click="openVoiceView('下班')">下班</button>
</div> </div>
</div> </div>
</div> </div>
...@@ -188,7 +188,9 @@ ...@@ -188,7 +188,9 @@
</div> </div>
<!-- 录音弹窗 --> <!-- 录音弹窗 -->
<div class="peopleScheAssembly" v-if="voiceViewShow"> <div class="peopleScheAssembly" v-if="voiceViewShow">
<div style="color:white;font-size:14px;margin-bottom:1vh;font-size: 18px;font-weight: 600;">车辆调度<span style="font-size:14px">{{curPaItem.pointName}}</span></div> <div style="color:white;font-size:14px;margin-bottom:1vh;font-size: 18px;font-weight: 600;">{{actionType==='下班'?'车辆下班':'车辆调度'}}
<!-- <span style="font-size:14px">{{curPaItem.pointName}}</span>-->
</div>
<el-select v-show="actionType!=='通话'" v-model="selectCarFleet" placeholder="请选择车队" style="width:100%;margin:5px" @change="toSearchFn()" :popper-append-to-body="false"> <el-select v-show="actionType!=='通话'" v-model="selectCarFleet" placeholder="请选择车队" style="width:100%;margin:5px" @change="toSearchFn()" :popper-append-to-body="false">
<el-option v-for="(item,index) in carFleetData" :key="index" :label="item.name" :value="item.name" style="font-size:14px;"></el-option> <el-option v-for="(item,index) in carFleetData" :key="index" :label="item.name" :value="item.name" style="font-size:14px;"></el-option>
</el-select> </el-select>
...@@ -238,7 +240,8 @@ ...@@ -238,7 +240,8 @@
</div> </div>
</div> </div>
<div class="voiceAppContent_4"> <div class="voiceAppContent_4">
<button class="voiceAppContent_4_btns" @click="closeVoiceView()">关闭录音</button> <button v-show="actionType==='下班'" class="voiceAppContent_4_btns" @click="closeVoiceView(1)">下班</button>
<button class="voiceAppContent_4_btns" @click="closeVoiceView()">关闭</button>
</div> </div>
</div> </div>
</div> </div>
...@@ -366,8 +369,11 @@ export default { ...@@ -366,8 +369,11 @@ export default {
//开启录音 //开启录音
this.recOpen(); this.recOpen();
}, },
closeVoiceView(){ closeVoiceView(isXb){
this.voiceViewShow=false; this.voiceViewShow=false;
if(isXb){
}
//结束录音 //结束录音
this.recClose() this.recClose()
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment