Commit cc83842a authored by caicaicai's avatar caicaicai

修改

parent 90056c26
...@@ -45,13 +45,13 @@ ...@@ -45,13 +45,13 @@
:rows="4" :rows="4"
placeholder="请输入内容" placeholder="请输入内容"
v-model="from.problem" v-model="from.problem"
style="font-size: 18px;width:24vw;"> style="font-size: 18px;width:30vw;">
</el-input> </el-input>
</div> </div>
</div> </div>
</div> </div>
<div class="submitDeStyle"> <div class="submitDeStyle">
<el-button :loading="submitLoading" type="primary" round style="width:8vw;height:5vh;font-size:18px;letter-spacing:2px;" @click="submitDeFn()">故障申报</el-button> <el-button :loading="submitLoading" type="primary" round style="width:10vw;height:5.5vh;font-size:18px;letter-spacing:2px;" @click="submitDeFn()">故障申报</el-button>
</div> </div>
</div> </div>
</template> </template>
...@@ -197,23 +197,23 @@ export default { ...@@ -197,23 +197,23 @@ export default {
} }
.failureDeMainViews{ .failureDeMainViews{
position: absolute; position: absolute;
z-index: 1; z-index: 2;
top: 50%; top: 50%;
left: 50%; left: 50%;
height: 80vh; height: 90vh;
width: 38vw; width: 40vw;
background:no-repeat center center url('~@/assets/images/truckTuPian/guzhangshenbankuang1.png'); background:no-repeat center center url('~@/assets/images/truckTuPian/guzhangshenbankuang1.png');
background-size:100% 100%; background-size:100% 100%;
transform: translate(-50%,-45%); transform: translate(-50%,-48%);
padding: 12px 30px 0px; padding: 12px 30px 0px;
box-sizing: border-box; box-sizing: border-box;
} }
.failureDeSmallTitle{ .failureDeSmallTitle{
color: white; color: white;
font-size: 18px; font-size: 17px;
text-align: center; text-align: center;
line-height: 4.5vh; line-height: 4.5vh;
width: 9vw; width: 11vw;
height: 4.5vh; height: 4.5vh;
background:no-repeat center center url('~@/assets/images/truckTuPian/xiaobiaotikuang.png'); background:no-repeat center center url('~@/assets/images/truckTuPian/xiaobiaotikuang.png');
background-size:100% 100%; background-size:100% 100%;
...@@ -263,6 +263,9 @@ export default { ...@@ -263,6 +263,9 @@ export default {
.el-radio{ .el-radio{
margin: 0; margin: 0;
} }
.el-radio.is-bordered{
padding: 8px 20px 0px 10px;
}
.failureDeContentFromViews{ .failureDeContentFromViews{
margin-top: 10px; margin-top: 10px;
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<span style="color:#00FFFF;">请车牌号 {{carnumber}} 前往</span> <span style="color:#00FFFF;">请车牌号 {{carnumber}} 前往</span>
<span style="color:#E47E1B;font-weight:600;">{{carDestination}}</span> <span style="color:#E47E1B;font-weight:600;">{{carDestination}}</span>
</div> </div>
<div class="orderText2" @click="startPaidanFn()" v-show="btnShow1">开始派单</div> <div class="orderText2" @click="startPaidanFn()" v-show="btnShow1">接受派单</div>
<div class="orderText2" @click="refusePaidanFn()" v-show="btnShow1">拒绝派单</div> <div class="orderText2" @click="refusePaidanFn()" v-show="btnShow1">拒绝派单</div>
<div class="orderText2" @click="finishPaidanFn()" v-show="btnShow2">卸车</div> <div class="orderText2" @click="finishPaidanFn()" v-show="btnShow2">卸车</div>
<audio controls currentTime autoplay :src='startOrderSrcUrl' style="display:none;" id="audio1"></audio> <audio controls currentTime autoplay :src='startOrderSrcUrl' style="display:none;" id="audio1"></audio>
...@@ -36,6 +36,9 @@ export default { ...@@ -36,6 +36,9 @@ export default {
httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',size:1,carNo:this.carnumber}).then((res) => { httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',size:1,carNo:this.carnumber}).then((res) => {
if(res.data.content.length == 0){ if(res.data.content.length == 0){
//this.loadData2(); //this.loadData2();
this.showDe = false;
this.btnShow1 = false;
this.btnShow2 = false;
}else{ }else{
httpGet(vehicleInformationQuery,{number:this.carnumber,size:1}).then((resSon1) => { httpGet(vehicleInformationQuery,{number:this.carnumber,size:1}).then((resSon1) => {
if(resSon1.code == 200){ if(resSon1.code == 200){
...@@ -73,6 +76,9 @@ export default { ...@@ -73,6 +76,9 @@ export default {
httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',size:1,carNo:this.carnumber}).then((res) => { httpGet(dingDanBiaoCaoZuo,{sort:'createTime,desc',size:1,carNo:this.carnumber}).then((res) => {
if(res.data.content.length == 0){ if(res.data.content.length == 0){
//this.loadData2(); //this.loadData2();
this.showDe = false;
this.btnShow1 = false;
this.btnShow2 = false;
}else{ }else{
httpGet(vehicleInformationQuery,{number:this.carnumber,size:1}).then((resSon1) => { httpGet(vehicleInformationQuery,{number:this.carnumber,size:1}).then((resSon1) => {
if(resSon1.code == 200){ if(resSon1.code == 200){
...@@ -241,14 +247,14 @@ export default { ...@@ -241,14 +247,14 @@ export default {
z-index: 2; z-index: 2;
position: absolute; position: absolute;
top: 8vh; top: 8vh;
left: 30vw; left: 20vw;
} }
.orderText1{ .orderText1{
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
width: 30vw; width: 45vw;
height: 5vh; height: 7vh;
border-radius: 5px; border-radius: 5px;
background-color: rgba(26,39,83,0.9); background-color: rgba(26,39,83,0.9);
border: 1px solid lightskyblue; border: 1px solid lightskyblue;
...@@ -262,14 +268,14 @@ export default { ...@@ -262,14 +268,14 @@ export default {
} }
.orderText2{ .orderText2{
margin-left: 20px; margin-left: 20px;
width: 7vw; width: 10vw;
line-height: 5vh; line-height: 7vh;
text-align: center; text-align: center;
height: 5vh; height: 7vh;
border-radius: 5px; border-radius: 5px;
background-color: rgba(26,39,83,0.9); background-color: rgba(26,39,83,0.9);
border: 1px solid lightskyblue; border: 1px solid lightskyblue;
font-size: 18px; font-size: 22px;
font-weight: 600; font-weight: 600;
color: lightskyblue; color: lightskyblue;
cursor: pointer; cursor: pointer;
......
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