744 lines
19 KiB
Vue
Executable File
744 lines
19 KiB
Vue
Executable File
<template>
|
||
<view>
|
||
<navigation-title title="工序首检" @touchmove.stop.prevent="moveHandle" :backClick="navigateBackClick"></navigation-title>
|
||
<view class="content">
|
||
<view class="detail-top-tab-class" @touchmove.stop.prevent="moveHandle">
|
||
<view class="detail-top-tab-col-class" @tap="pageFlagClick(1)">
|
||
<text :class="[pageFlag==1?'detail-top-tab-text-blue-class':'detail-top-tab-text-class']">全部</text>
|
||
<view class="detail-top-tab-line-class" v-show="pageFlag == 1"></view>
|
||
</view>
|
||
<view class="detail-top-tab-col-line-class"/>
|
||
<view class="detail-top-tab-col-class" @tap="pageFlagClick(2)">
|
||
<text :class="[pageFlag==2?'detail-top-tab-text-blue-class':'detail-top-tab-text-class']">未完成</text>
|
||
<view class="detail-top-tab-line-class" v-show="pageFlag == 2"></view>
|
||
</view>
|
||
<view class="detail-top-tab-col-line-class"/>
|
||
<view class="detail-top-tab-col-class" @tap="pageFlagClick(3)">
|
||
<text :class="[pageFlag==3?'detail-top-tab-text-blue-class':'detail-top-tab-text-class']">已完成</text>
|
||
<view class="detail-top-tab-line-class" v-show="pageFlag == 3"></view>
|
||
</view>
|
||
<!-- <view class="detail-top-tab-col-line-class"/>
|
||
<view class="detail-top-tab-col-class" @tap="pageFilterClick(pageFlag)">
|
||
<view class="detail-top-tab-row-col-class">
|
||
<text :class="[(pageFlag==4||deptID!='')?'detail-top-tab-text-blue-class':'detail-top-tab-text-class']">筛选</text>
|
||
<image src="../../../static/icon/MESQS19_Filter.png" v-show="pageFlag!=4 && deptID==''" ></image>
|
||
<image src="../../../static/icon/MESQS19_Filter_blue.png" v-show="pageFlag==4 || deptID!=''" ></image>
|
||
</view>
|
||
<view class="detail-top-tab-line-class" v-show="pageFlag == 4"></view>
|
||
</view> -->
|
||
</view>
|
||
|
||
<!-- <view class="detail-filter-tab-class" @touchmove.stop.prevent="moveHandle" v-show="pageFlag==4">
|
||
<view class="detail-filter-tab-line-class">
|
||
<text>部门:</text>
|
||
<xfl-select class="detail-filter-tab-line-xflselect-class" :list="deptInfoArray" ref="deptInfoXflselect"
|
||
:clearable="false" :showItemNum="5" :isCanInput="false" @change="deptInfoChange"
|
||
@touchmove.stop.prevent="moveHandle"></xfl-select>
|
||
</view>
|
||
<!-- <view class="detail-filter-tab-line-class">
|
||
<text>生产线:</text>
|
||
<xfl-select class="detail-filter-tab-line-xflselect-class" :list="productionLineInfoArray"
|
||
ref="productionLineInfoXflselect" :clearable="false" :showItemNum="5" :isCanInput="false"
|
||
@change="productionLineInfoChange" @touchmove.stop.prevent="moveHandle">
|
||
</xfl-select>
|
||
</view> -->
|
||
<!-- <view class="detail-filter-tab-line-class">
|
||
<text>工序:</text>
|
||
<xfl-select class="detail-filter-tab-line-xflselect-class" :list="workStepArray"
|
||
ref="workStepXflselect" :clearable="false" :showItemNum="5" :isCanInput="false"
|
||
@change="workStepChange" @touchmove.stop.prevent="moveHandle">
|
||
</xfl-select>
|
||
</view>
|
||
<view class="detail-filter-tab-line-class">
|
||
<text>任务单:</text>
|
||
<input class="detail-filter-tab-line-xflselect-class" v-model="FBillNO"
|
||
placeholder="输入生产任务单号" placeholder-style="color:#A1A1A1"
|
||
style="padding-left: 24rpx;"/>
|
||
</view>
|
||
<view class="detail-filter-tab-line-class">
|
||
<view class="button1" @tap="pageClearClick">清空</view>
|
||
<view class="button2" @tap="pageCheckClick">查看</view>
|
||
</view>
|
||
|
||
<view class="detail-filter-tab-mask-class" @tap="filterTabMaskClick"></view>
|
||
</view> -->
|
||
|
||
<view style="height: 10rpx;" @touchmove.stop.prevent="moveHandle"></view>
|
||
<view class="detail-table-class" v-for="(item,index) in taskList" @tap="itemClick(item)" :key="index">
|
||
<view class="detail-row0-class">
|
||
<text class="detail-row-title0-class">任务代码:</text>
|
||
<text class="detail-row-content0-class">{{item.FBillNO}}</text>
|
||
<text class="detail-row-content-red-class" v-if="item.FStatus=='0'">新任务</text>
|
||
<view class="detail-row-status-red-class" v-if="item.FStatus=='0'"></view>
|
||
<text class="detail-row-content-green-class" v-if="item.FStatus=='40'">已完成</text>
|
||
<view class="detail-row-status-green-class" v-if="item.FStatus=='40'"></view>
|
||
<text class="detail-row-content-yellow-class" v-if="item.FStatus=='20'">进行中</text>
|
||
<view class="detail-row-status-yellow-class" v-if="item.FStatus=='20'"></view>
|
||
</view>
|
||
<view class="detail-row-class">
|
||
<text class="detail-row-title-class">料号名称</text>
|
||
<text class="detail-row-content-class">{{item.FMaterialName}}</text>
|
||
</view>
|
||
<view class="detail-row-class">
|
||
<text class="detail-row-title-class">工序</text>
|
||
<text class="detail-row-content-class">{{item.FProcessName}}</text>
|
||
</view>
|
||
<view class="detail-row-class">
|
||
<text class="detail-row-title-class">开始时间</text>
|
||
<text class="detail-row-content-class">{{item.C_YMD}}</text>
|
||
</view>
|
||
<view class="detail-row-class">
|
||
<text class="detail-row-title-class">检查时间</text>
|
||
<text class="detail-row-content-class">{{item.FCheckDate}}</text>
|
||
</view>
|
||
<view class="detail-row-class">
|
||
<text class="detail-row-title-class">检查人</text>
|
||
<text class="detail-row-content-class">{{item.M_USER.length==0?item.C_USER:item.M_USER}}</text>
|
||
</view>
|
||
</view>
|
||
<view style="height: 10rpx;"></view>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
<script>
|
||
import Vue from 'vue';
|
||
import navigationTitle from '@/components/navigation-title/navigation-title.vue';
|
||
import {
|
||
mapState,
|
||
mapMutations
|
||
} from 'vuex';
|
||
|
||
var commonUtil = require('../../../common/util.js');
|
||
var _self;
|
||
|
||
export default {
|
||
components: {
|
||
navigationTitle
|
||
},
|
||
|
||
data() {
|
||
return {
|
||
scrollTop: 0,
|
||
old: {
|
||
scrollTop: 0
|
||
},
|
||
taskList:[],
|
||
pageIndex:1,
|
||
pageSize:6,
|
||
pageFlag:1,
|
||
showTips:false,
|
||
prgKey:"MESQS19",
|
||
nextPage:"MESQS19Item",
|
||
deptInfoArray:[],
|
||
// productionLineInfoArray:[],
|
||
workStepArray:[],
|
||
prePageFlag:0,
|
||
deptID:"",
|
||
sourcesID:"",
|
||
isSupport:false,
|
||
title:"工序首检",
|
||
orgid:"",
|
||
FBillNO:"",
|
||
FDeptNO:"",
|
||
FWorkStepNO:""
|
||
|
||
}
|
||
},
|
||
|
||
onLoad() {
|
||
this.getTaskList(1, this.pageSize);
|
||
this.pageIndex = 1;
|
||
this.getDeptInfoRequest();
|
||
this.getWorkStepInfo();
|
||
|
||
console.log(commonUtil);
|
||
_self = this;
|
||
},
|
||
|
||
onPullDownRefresh:function(){
|
||
_self.showTips = false;
|
||
|
||
this.getTaskList(1, this.pageSize);
|
||
setTimeout(()=>{
|
||
//停止下拉样式
|
||
uni.stopPullDownRefresh();
|
||
//隐藏标题读取
|
||
uni.hideNavigationBarLoading();
|
||
},
|
||
500);
|
||
},
|
||
|
||
onReachBottom:function(){
|
||
if(!_self.showTips) {
|
||
this.getTaskList(this.pageIndex, this.pageSize);
|
||
}
|
||
else {
|
||
uni.showToast({
|
||
icon: 'none',
|
||
title: '已经到底了'
|
||
});
|
||
}
|
||
},
|
||
|
||
onNavigationBarButtonTap:function(e){
|
||
let navigateUrl = '../../views/'+this.nextPage+'/'+this.nextPage;
|
||
uni.navigateTo({
|
||
url: navigateUrl,
|
||
});
|
||
},
|
||
|
||
computed: {
|
||
...mapState(['userInfo'])
|
||
},
|
||
|
||
methods: {
|
||
itemClick: function(item){
|
||
item.newPage = "Y";
|
||
let itemString = JSON.stringify(item);
|
||
|
||
let navigateUrl = '../../views/'+this.nextPage+'/'+this.nextPage+'?item='+itemString;
|
||
uni.navigateTo({
|
||
url: navigateUrl,
|
||
});
|
||
},
|
||
|
||
getWorkStepInfo(){
|
||
let userInfoLocal = uni.getStorageSync("userInfo");
|
||
let userID = this.userInfo.token;
|
||
this.orgid = uni.getStorageSync('orgid');
|
||
if(userInfoLocal && userInfoLocal.ID) {
|
||
if(userInfoLocal.ID.length > 0) {
|
||
if((!userID) || (userID.length <= 0)) {
|
||
userID = userInfoLocal.ID;
|
||
}
|
||
}
|
||
}
|
||
let requestParams = {
|
||
"id": userID,
|
||
"orgid":this.orgid,
|
||
"basicType":5
|
||
};
|
||
|
||
uni.showLoading({
|
||
icon:'loading',
|
||
title:'加载中……',
|
||
mask:true
|
||
});
|
||
|
||
this.$request.post(
|
||
{
|
||
data: {
|
||
action: 'QueryBasicData',
|
||
params: requestParams
|
||
}
|
||
}
|
||
).then(res => {
|
||
uni.hideLoading();
|
||
let data = JSON.parse(res);
|
||
data.forEach(
|
||
function(el){
|
||
el.value = el.FName;
|
||
}
|
||
);
|
||
this.workStepArray = data;
|
||
this.$forceUpdate();
|
||
});
|
||
},
|
||
|
||
getDeptInfoRequest: function() {
|
||
let userInfoLocal = uni.getStorageSync("userInfo");
|
||
let userID = this.userInfo.token;
|
||
if(userInfoLocal && userInfoLocal.ID) {
|
||
if(userInfoLocal.ID.length > 0) {
|
||
if((!userID) || (userID.length <= 0)) {
|
||
userID = userInfoLocal.ID;
|
||
}
|
||
}
|
||
}
|
||
let requestParams = {
|
||
"id": userID
|
||
};
|
||
|
||
uni.showLoading({
|
||
icon:'loading',
|
||
title:'加载中……',
|
||
mask:true
|
||
});
|
||
|
||
this.$request.post(
|
||
{
|
||
data: {
|
||
action: 'GetFDeptData',
|
||
params: requestParams
|
||
}
|
||
}
|
||
).then(res => {
|
||
uni.hideLoading();
|
||
let data = JSON.parse(res);
|
||
data.forEach(
|
||
function(el){
|
||
el.value = el.FName;
|
||
}
|
||
);
|
||
|
||
this.deptInfoArray = data;
|
||
this.$forceUpdate();
|
||
});
|
||
},
|
||
|
||
getTaskList: function(index, size, deptID, sourcesID) {
|
||
let userInfoLocal = uni.getStorageSync("userInfo");
|
||
let userID = this.userInfo.token;
|
||
this.orgid = uni.getStorageSync('orgid');
|
||
if(userInfoLocal && userInfoLocal.ID) {
|
||
if(userInfoLocal.ID.length > 0) {
|
||
if((!userID) || (userID.length <= 0)) {
|
||
userID = userInfoLocal.ID;
|
||
}
|
||
}
|
||
}
|
||
|
||
this.pageIndex = index;
|
||
let requestParams = {
|
||
"id": userID,
|
||
"orgid":this.orgid,
|
||
"Page": this.pageIndex.toString(),
|
||
"Size": size.toString(),
|
||
"Flag":this.pageFlag.toString(),
|
||
"PrgKey":this.prgKey,
|
||
"FDeptNO":this.FDeptNO,
|
||
"FWorkStepNO":this.FWorkStepNO,
|
||
"FBillNO":this.FBillNO
|
||
};
|
||
|
||
uni.showLoading({
|
||
icon:'loading',
|
||
title:'加载中……',
|
||
mask:true
|
||
});
|
||
|
||
this.$request.post(
|
||
{
|
||
data: {
|
||
action: 'GetBillListDataMESQS19',
|
||
params: requestParams
|
||
}
|
||
}
|
||
).then(res => {
|
||
uni.hideLoading();
|
||
let data = JSON.parse(res);
|
||
data.MainData.forEach(
|
||
function(el){
|
||
if(el.C_YMD) {
|
||
let C_YMD = commonUtil.removeLetter(el.C_YMD);
|
||
el.C_YMD = C_YMD.substr(0,10) + " " + C_YMD.substr(10 ,15);
|
||
}
|
||
if(el.FCheckDate) {
|
||
let FCheckDate = commonUtil.removeLetter(el.FCheckDate);
|
||
el.FCheckDate = FCheckDate.substr(0,10) + " " + FCheckDate.substr(10 ,15);
|
||
}
|
||
if(el.M_YMD != null && el.FStatus != "40") {
|
||
el.FStatus = 20;
|
||
}
|
||
}
|
||
);
|
||
if(this.pageIndex == 1) {
|
||
this.taskList = data.MainData;
|
||
this.pageIndex = this.pageIndex+1;
|
||
}
|
||
else {
|
||
if(data.MainData.length != 0) {
|
||
let newArray = this.taskList.concat(data.MainData);
|
||
this.taskList = newArray;
|
||
this.pageIndex = this.pageIndex+1;
|
||
if(data.MainData.length < 6) {
|
||
_self.showTips = true;
|
||
}
|
||
} else {
|
||
_self.showTips = true;
|
||
}
|
||
}
|
||
|
||
uni.hideLoading();
|
||
});
|
||
},
|
||
|
||
pageFlagClick: function(type){
|
||
this.pageFlag = type;
|
||
this.getTaskList(1, this.pageSize, "", "");
|
||
},
|
||
|
||
pageFilterClick: function(){
|
||
if(this.pageFlag != 4) {
|
||
this.prePageFlag = this.pageFlag;
|
||
}
|
||
this.pageFlag = 4;
|
||
//this.isSupport = !this.isSupport;
|
||
//#ifdef APP-PLUS
|
||
const pages = getCurrentPages();
|
||
const page = pages[pages.length - 1];
|
||
const currentWebview = page.$getAppWebview();
|
||
urrentWebview.setStyle({
|
||
pullToRefresh: {
|
||
support: !this.isSupport,
|
||
style: plus.os.name === 'Android' ? 'circle' : 'default'
|
||
}
|
||
});
|
||
//#endif
|
||
|
||
},
|
||
|
||
//查看按钮事件
|
||
pageCheckClick: function(type){
|
||
this.pageFlag = this.prePageFlag;
|
||
if(this.deptID.length>0){
|
||
this.getTaskList(1, this.pageSize, this.deptID, this.sourcesID);
|
||
}else{
|
||
return false;
|
||
}
|
||
|
||
//关闭筛选对话框
|
||
},
|
||
|
||
//清除按钮事件
|
||
pageClearClick: function(){
|
||
this.$refs.deptInfoXflselect.selectText = "请选择";
|
||
// this.$refs.productionLineInfoXflselect.selectText = "请选择";
|
||
this.$refs.workStepXflselect.selectText = "请选择";
|
||
this.deptID = "";
|
||
this.sourcesID = "";
|
||
this.FBillNO = "";
|
||
this.FDeptNO = "";
|
||
this.FWorkStepNO = "";
|
||
},
|
||
|
||
deptInfoChange: function({newVal, oldVal, index, orignItem}){
|
||
// this.productionLineInfoArray = new Array();
|
||
|
||
|
||
this.deptID = orignItem.FItemID;
|
||
this.FDeptNO = orignItem.FNumber;
|
||
// this.sourcesID = "";
|
||
|
||
// if(orignItem.ResourceList != null && orignItem.ResourceList != "null"){
|
||
// orignItem.ResourceList.forEach(
|
||
// function(el){
|
||
// el.value = el.FResourceName;
|
||
// }
|
||
// );
|
||
// this.productionLineInfoArray = orignItem.ResourceList;
|
||
// this.$refs.productionLineInfoXflselect.selectText = "请选择";
|
||
// }else{
|
||
// this.productionLineInfoArray = [];
|
||
// this.$refs.productionLineInfoXflselect.selectText = "无数据";
|
||
// }
|
||
},
|
||
|
||
productionLineInfoChange: function({newVal, oldVal, index, orignItem}){
|
||
this.sourcesID = orignItem.FResourceID;
|
||
},
|
||
workStepChange:function({newVal, oldVal, index, orignItem}){
|
||
this.FWorkStepNO = orignItem.FNO;
|
||
},
|
||
|
||
filterTabMaskClick: function(){
|
||
this.pageFlag = this.prePageFlag;
|
||
},
|
||
|
||
moveHandle: function(){
|
||
return false;
|
||
},
|
||
|
||
navigateBackClick: function(){
|
||
uni.redirectTo({
|
||
url:'../../tabbar/apply/apply'
|
||
})
|
||
},
|
||
|
||
onBackPress(options) {
|
||
uni.redirectTo({
|
||
url: '../../tabbar/apply/apply'
|
||
});
|
||
|
||
return true;
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss">
|
||
.content {
|
||
background-color: #F0F0F0;
|
||
display: flex;
|
||
flex-direction:column;
|
||
flex-wrap: nowrap;
|
||
justify-content: flex-start;
|
||
height: 100%;
|
||
}
|
||
|
||
.detail-top-tab-class{
|
||
background-color: #FFFFFF;
|
||
display: flex;
|
||
flex-direction:row;
|
||
flex-wrap: nowrap;
|
||
ustify-content: center;
|
||
align-items: center;
|
||
height: 80rpx;
|
||
}
|
||
|
||
.detail-top-tab-col-class{
|
||
width: 100rpx;
|
||
display: flex;
|
||
flex-direction:column;
|
||
flex-wrap: nowrap;
|
||
justify-content: center;
|
||
align-items: center;
|
||
flex-shrink: 1;
|
||
flex-grow: 1;
|
||
padding-bottom: 10rpx;
|
||
}
|
||
|
||
.detail-top-tab-col-class image{
|
||
height: 45rpx;
|
||
width: 45rpx;
|
||
background:yell;
|
||
}
|
||
|
||
.detail-top-tab-row-col-class{
|
||
display: flex;
|
||
flex-direction:row;
|
||
flex-wrap: nowrap;
|
||
justify-content: center;
|
||
align-items: center;
|
||
}
|
||
|
||
.detail-top-tab-col-line-class{
|
||
width: 1px;
|
||
height: 30rpx;
|
||
background-color: #D0D0D0;
|
||
justify-content: center;
|
||
align-items: center;
|
||
flex-shrink: 0;
|
||
flex-grow: 0;
|
||
}
|
||
|
||
.detail-top-tab-text-class{
|
||
font-size: 30rpx;
|
||
flex-shrink: 1;
|
||
flex-grow: 1;
|
||
}
|
||
|
||
.detail-top-tab-text-blue-class{
|
||
font-size: 30rpx;
|
||
flex-shrink: 1;
|
||
flex-grow: 1;
|
||
color: #3860F3;
|
||
}
|
||
|
||
.detail-top-tab-line-class{
|
||
width: 90rpx;
|
||
height:2rpx;
|
||
background-color:#3860F3;
|
||
flex-shrink: 0;
|
||
flex-grow: 0;
|
||
}
|
||
|
||
.detail-filter-tab-class{
|
||
display: flex;
|
||
flex-direction: column;
|
||
position: absolute;
|
||
margin-top: 80rpx;
|
||
width: 100%;
|
||
height: 100%;
|
||
z-index: 988;
|
||
}
|
||
|
||
.detail-filter-tab-line-class{
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
font-size: 30rpx;
|
||
background-color: #FFFFFF;
|
||
flex-grow: 0;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.detail-filter-tab-line-class text{
|
||
width: 200rpx;
|
||
height: 80rpx;
|
||
line-height: 80rpx;
|
||
margin-left: 40rpx;
|
||
}
|
||
|
||
.detail-filter-tab-line-xflselect-class{
|
||
height: 60rpx;
|
||
line-height: 80rpx;
|
||
margin-right: 40rpx;
|
||
border: #A1A1A1 solid 1.81rpx;
|
||
width: 100%;
|
||
border-radius: 9.05rpx;
|
||
}
|
||
|
||
.button1{
|
||
height: 70rpx;
|
||
line-height: 70rpx;
|
||
text-align: center;
|
||
flex-shrink: 1;
|
||
flex-grow: 1;
|
||
font-size: 30rpx;
|
||
color: #666666;
|
||
background-color: #F5F5F4;;
|
||
outline: none;
|
||
margin-top: 20rpx;
|
||
}
|
||
|
||
.button2{
|
||
height: 70rpx;
|
||
line-height: 70rpx;
|
||
text-align: center;
|
||
flex-shrink: 1;
|
||
flex-grow: 1;
|
||
font-size: 30rpx;
|
||
color: #FFFFFF;
|
||
background-color: #3860F3;
|
||
outline: none;
|
||
margin-top: 20rpx;
|
||
}
|
||
|
||
.detail-filter-tab-mask-class{
|
||
background: rgba(0, 0, 0, 0.4);
|
||
flex-shrink: 1;
|
||
flex-grow: 1;
|
||
}
|
||
|
||
.detail-table-class{
|
||
margin-top: 10rpx;
|
||
margin-left: 25rpx;
|
||
margin-right: 25rpx;
|
||
margin-bottom: 10rpx;
|
||
background-color: #FFFFFF;
|
||
border-radius:25rpx;
|
||
padding-top: 10rpx;
|
||
padding-bottom: 15rpx;
|
||
padding-left: 10rpx;
|
||
display: flex;
|
||
flex-direction:column;
|
||
flex-wrap: nowrap;
|
||
justify-content: flex-start;
|
||
flex-shrink: 0;
|
||
flex-grow: 0;
|
||
}
|
||
|
||
.detail-row0-class{
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
justify-content: flex-start;
|
||
align-items: center;
|
||
padding-left: 25rpx;
|
||
margin-top:5rpx;
|
||
}
|
||
|
||
.detail-row-content0-class{
|
||
font-size: 30rpx;
|
||
font-style: auto;
|
||
color: #3D3D3D;
|
||
flex-shrink: 1;
|
||
flex-grow: 1;
|
||
word-break: break-all;
|
||
line-height:50rpx;
|
||
}
|
||
|
||
.detail-row-class{
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
justify-content: flex-start;
|
||
align-items: center;
|
||
margin-top: 5rpx;
|
||
padding-right: 25rpx;
|
||
padding-left: 25rpx;
|
||
}
|
||
|
||
.detail-row-title0-class{
|
||
font-size: 30rpx;
|
||
font-style: auto;
|
||
color: #C2C2C;
|
||
width: 160rpx;
|
||
flex-shrink: 0;
|
||
flex-grow: 0;
|
||
}
|
||
|
||
.detail-row-title-class{
|
||
font-size: 28rpx;
|
||
font-style: auto;
|
||
color: #8F8F8F;
|
||
width: 120rpx;
|
||
flex-shrink: 0;
|
||
flex-grow: 0;
|
||
text-align: end;
|
||
padding-right: 25rpx;
|
||
}
|
||
|
||
.detail-row-content-class{
|
||
font-size: 28rpx;
|
||
font-style: auto;
|
||
color: #505050;
|
||
flex-shrink: 1;
|
||
flex-grow: 1;
|
||
line-height: 40rpx;
|
||
padding-right: 35rpx;
|
||
}
|
||
|
||
.detail-row-content-green-class{
|
||
flex-shrink: 0;
|
||
flex-grow: 0;
|
||
font-size: 28rpx;
|
||
font-style: auto;
|
||
color: #5EC02D;
|
||
font-weight: 1000;
|
||
width: 90rpx;
|
||
margin-left: 5rpx;
|
||
}
|
||
|
||
.detail-row-content-yellow-class{
|
||
flex-shrink: 0;
|
||
flex-grow: 0;
|
||
font-size: 28rpx;
|
||
font-style: auto;
|
||
color: #FAAE12;
|
||
font-weight: 1000;
|
||
width: 90rpx;
|
||
margin-left: 5rpx;
|
||
}
|
||
|
||
.detail-row-content-red-class{
|
||
flex-shrink: 0;
|
||
flex-grow: 0;
|
||
font-size: 28rpx;
|
||
font-style: auto;
|
||
color: #FF2E2E;
|
||
font-weight: 1000;
|
||
width: 90rpx;
|
||
}
|
||
|
||
.detail-row-status-green-class{
|
||
width: 2px;
|
||
height: 15px;
|
||
background: #5EC02D;
|
||
border-radius: 2px;
|
||
}
|
||
|
||
.detail-row-status-red-class{
|
||
width: 2px;
|
||
height: 15px;
|
||
background: #FF2E2E;
|
||
border-radius: 2px;
|
||
}
|
||
|
||
.detail-row-status-yellow-class{
|
||
width: 2px;
|
||
height: 15px;
|
||
background: #FAAE12;
|
||
border-radius: 2px;
|
||
}
|
||
</style>
|