|
|
|
@ -22,11 +22,13 @@
|
|
|
|
|
<div class="info-row-style">
|
|
|
|
|
<div class="info-left">结束时间:</div>
|
|
|
|
|
<div class="info-right">
|
|
|
|
|
<div class="left-style">{{applyInfo.end_time}}</div>
|
|
|
|
|
<div class="right-style">
|
|
|
|
|
<div class="part-left">合计:</div>
|
|
|
|
|
<div class="part-right">{{applyInfo.total_hours + '小时' + '('+applyInfo.total_days+'工作日'+')'}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{applyInfo.end_time}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="info-row-style">
|
|
|
|
|
<div class="info-left">合计:</div>
|
|
|
|
|
<div class="info-right">
|
|
|
|
|
{{applyInfo.total_hours + '小时' + '('+applyInfo.total_days+'工作日'+')'}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="info-row-style">
|
|
|
|
@ -110,11 +112,12 @@
|
|
|
|
|
}], (result) => {
|
|
|
|
|
let res = result[0].data;
|
|
|
|
|
if (res.code === 2000) {
|
|
|
|
|
|
|
|
|
|
let dataBox = res.data;
|
|
|
|
|
if(dataBox.run){
|
|
|
|
|
this.applyInfo = dataBox.run;
|
|
|
|
|
this.fileList = JSON.parse(dataBox.run.attachment_json);
|
|
|
|
|
if(dataBox.run.attachment_json !== ""){
|
|
|
|
|
this.fileList = JSON.parse(dataBox.run.attachment_json);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
let typeId = dataBox.run.type_id;
|
|
|
|
|
this.typeStr = this.getTypeStr(typeId);
|
|
|
|
@ -130,7 +133,6 @@
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getTypeStr:function (typeId) {
|
|
|
|
|
console.log(typeId)
|
|
|
|
|
let str = "";
|
|
|
|
|
switch (typeId){
|
|
|
|
|
case 1:
|
|
|
|
|