main
liudan 2 years ago
parent 053518b916
commit 6e89957e03
  1. 2
      manifest.json
  2. 12
      pages/taskDetail/taskDetail.vue

@ -1,6 +1,6 @@
{
"name" : "任务系统",
"appid" : "__UNI__F6478FF",
"appid" : "__UNI__5261F10",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",

@ -20,7 +20,7 @@
<u-cell-group>
<u-cell size="large" center title="炉号" :value="info.heat_num" :titleStyle="{color:'#0076F6'}"></u-cell>
<u-cell size="large" title="不良品选项" center
v-if="contentInfo.rejects!='null'?true:(info.status==3?false:true)"
v-show="contentInfo.rejects!='null'?true:(info.status==3?false:true)"
:disabled="info.status==3?true:false" @click="sheetShow = true">
<view slot="value" style="flex:1;position: relative; " class="u-slot-value">
{{contentInfo.rejects!='null'?contentInfo.rejects:''}}
@ -47,11 +47,11 @@
<u-cell size="large" title="不合格数量" center :value="contentInfo.no_qualified_num.toString()"></u-cell>
<u-cell size="large" title="状态" center :value="contentInfo.statusName"></u-cell>
<u-cell size="large" title="用时" center :value="contentInfo.use_time"></u-cell>
<u-cell size="large" title="重要提示" :titleStyle="{color:'#E03023'}" center v-if="contentInfo.needing_remake" :value="contentInfo.needing_remake"></u-cell>
<u-cell size="large" title="重要提示" :titleStyle="{color:'#E03023'}" center v-show="contentInfo.needing_remake" :value="contentInfo.needing_remake"></u-cell>
<u-cell size="large" title="附件" center>
<view slot="value" class="u-slot-value fujian" @click="downLoad(contentInfo.file)" style="display: flex;align-items: center;">
<image src="../../static/img.png" v-if="contentInfo.file_suffix=='png'" mode=""></image>
<image src="../../static/pdf.png" v-if="contentInfo.file_suffix=='pdf'" mode=""></image>
<image src="../../static/img.png" v-show="contentInfo.file_suffix=='png'" mode=""></image>
<image src="../../static/pdf.png" v-show="contentInfo.file_suffix=='pdf'" mode=""></image>
<!-- <text style="overflow: hidden;width:400upx;text-overflow: ellipsis;">{{contentInfo.file}}</text> -->
<text style="color:#0076F6;text-decoration: underline;margin-left:10upx;">查看</text>
</view>
@ -328,8 +328,8 @@
this.contentInfo.needing_remake = res.data.needing_remake
this.checkboxList1 = res.data.rejects_list;
if(res.data.rejects!='null'){
console.log(res.data.rejects,"0000")
if(res.data.rejects&&res.data.rejects!='null'){
res.data.rejects.split(",").forEach(item=>{
this.checkboxValue1.push(item)
})

Loading…
Cancel
Save