feat: 新增需求

This commit is contained in:
caijun
2026-01-19 17:34:15 +08:00
parent 8fa31df250
commit 9f5b2a92c4
67 changed files with 7518 additions and 481 deletions

View File

@@ -11,20 +11,27 @@
<view class='common-lable-entrust' v-if="item.delegateUser">
{{!category ? '委托' : '代理' }}
</view>
<view class='common-lable'
:class="{'urgent-lable':item.flowUrgent==2,'important-lable':item.flowUrgent==3}">
{{getLableValue(item.flowUrgent)}}
<view class='common-lable'>
单号
</view>
<text class="title u-font-28 u-line-1">{{item.fullName}}</text>
<text class="title u-font-28 u-line-1">{{item.businessInfo.billNo}}</text>
</view>
<text class="title u-line-1 u-font-24">审批节点{{item.currentNodeName}}<text
<text class="title u-line-1 u-font-24">单据类型{{item.name || item.processInstanceName}}<text
class="titInner">{{item.thisStep ? item.thisStep : ''}}</text></text>
<text class="time title u-font-24">发起时间<text
class="titInner">{{item.startTime?$u.timeFormat(item.startTime, 'yyyy-mm-dd hh:MM:ss'):''}}</text></text>
class="titInner">{{item.createTime?$u.timeFormat(item.createTime, 'yyyy-mm-dd hh:MM:ss'):''}}</text></text>
</view>
<view class="item-right">
<image :src="item.flowStatus" mode="widthFix" class="item-right-img">
</image>
<view v-if="category == 2" class="item-right">
<image v-if="item.result == 1" src="./img/jihuo.png" mode="widthFix" class="item-right-img" />
<image v-else src="./img/wanc.png" mode="widthFix" class="item-right-img" />
</view>
<view v-else class="item-right">
<image v-if="item.result == 1" src="./img/doing.png" mode="widthFix" class="item-right-img" />
<image v-if="item.result == 2" src="./img/togo.png" mode="widthFix" class="item-right-img" />
<image v-if="item.result == 3" src="./img/pass.png" mode="widthFix" class="item-right-img" />
<image v-if="item.result == 4" src="./img/quxiao.png" mode="widthFix" class="item-right-img" />
<image v-if="item.result == 5" src="./img/REJECTED.png" mode="widthFix" class="item-right-img" />
<image v-if="item.result == 6" src="./img/weipai.png" mode="widthFix" class="item-right-img" />
</view>
</view>
</template>
@@ -105,24 +112,6 @@
this.list.splice(index, 1)
})
},
getLableValue(value) {
var lableValue = ''
switch (value) {
case 1:
lableValue = '普通'
break;
case 2:
lableValue = '重要'
break;
case 3:
lableValue = '紧急'
break;
default:
lableValue = '普通'
break;
}
return lableValue
}
}
};
</script>