Browse Source

申请+申请详情

apply
song 4 years ago
parent
commit
b7c71b087e
  1. 18
      pages/Initiate-application.vue
  2. 8
      pages/application-details.vue

18
pages/Initiate-application.vue

@ -265,20 +265,6 @@ const data = reactive({
], ],
reviewerList: [], // reviewerList: [], //
checkerList: [], // checkerList: [], //
applyData: [
{
applicant:'代用名1',
money:100,
time:'2021/12/31 12:31',
type: 1
},
{
applicant:'代用名2',
money:100,
time:'2021/12/31 12:31',
type: 2
},
], //
isSuccess: false, // isSuccess: false, //
money: '', // money: '', //
submitName: '', // submitName: '', //
@ -495,12 +481,12 @@ function setParams(){
invoiceList.push(list) invoiceList.push(list)
if(isInvoice){ if(isInvoice){
param = { param = {
money: totleMoney,invoiceList, remark, checkerList, typeId, projectId: projectId.value, money: totleMoney * 100,invoiceList, remark, checkerList, typeId, projectId: projectId.value,
taskDetailId: taskDetailId.value, categoryId, rowId, submitName, department taskDetailId: taskDetailId.value, categoryId, rowId, submitName, department
} }
}else{ }else{
param = { param = {
money, remark, checkerList, typeId, projectId: projectId.value, categoryId, submitName, department money: money * 100, remark, checkerList, typeId, projectId: projectId.value, categoryId, submitName, department
} }
} }
return param return param

8
pages/application-details.vue

@ -19,10 +19,10 @@
<div class="text-sm pt-1">{{item.time}}</div> <div class="text-sm pt-1">{{item.time}}</div>
</div> </div>
<div class="text-center"> <div class="text-center">
<div :class="item.checkStatus === '1' ? 'text-green-500' : item.checkStatus === '2' ? 'text-red-500' : ''"> <div :class="item.checkStatus == '1' ? 'text-green-500' : item.checkStatus == '2' ? 'text-red-500' : ''">
{{item.checkStatus === '1' ? '已通过' : item.checkStatus === '2' ? '已驳回' : '待审批'}} {{item.checkStatus == '1' ? '已通过' : item.checkStatus == '2' ? '已驳回' : '待审批'}}
</div> </div>
<div class="mt-1"> <div v-if="item.checkStatus == '1' || item.checkStatus == '2'" class="mt-1">
<van-circle <van-circle
v-model:current-rate="currentRate" v-model:current-rate="currentRate"
:rate="100" :rate="100"
@ -83,7 +83,7 @@
</div> </div>
</div> </div>
<!-- 提交人信息 --> <!-- 提交人信息 -->
<div class="bg-white px-3"> <div class="bg-white px-3 mb-5">
<div class="text-gray-500 font-semibold px-1 py-3 mt-5">提交人信息</div> <div class="text-gray-500 font-semibold px-1 py-3 mt-5">提交人信息</div>
<div v-for="(item, index) in submitter" :key="index" class="flex py-2 px-4 text-gray-400 text-base justify-between"> <div v-for="(item, index) in submitter" :key="index" class="flex py-2 px-4 text-gray-400 text-base justify-between">
<div>{{item.name}}</div> <div>{{item.name}}</div>

Loading…
Cancel
Save