Commit c14e15da by cocomilk2012

update

parent 1dfcbd8a
......@@ -14,28 +14,28 @@
class="person-information-bottom-child"
id="person-information-yjrw"
>
<h3>{{ accept_work | isEmpty }}</h3>
<h3>{{ accept_work }}</h3>
<p>已接任务</p>
</div>
<div
class="person-information-bottom-child"
id="person-information-wcrw"
>
<h3>{{ perform_work | isEmpty }}</h3>
<h3>{{ perform_work }}</h3>
<p>完成任务</p>
</div>
<div
class="person-information-bottom-child"
id="person-information-ysbc"
>
<h3>{{ Payment_receivable | money(true, false) | isEmpty }}</h3>
<h3>{{ Payment_receivable }}</h3>
<p>应收报酬</p>
</div>
<div
class="person-information-bottom-child"
id="person-information-yysbc"
>
<h3>{{ receive_receivable | isEmpty }}</h3>
<h3>{{ receive_receivable }}</h3>
<p>已收报酬</p>
</div>
</div>
......@@ -58,7 +58,7 @@
</div>
<div class="fe-list-child-right">
<div class="fe-list-child-right-desc">
<h3>{{ item.paidSalary | money(true, true) }}</h3>
<h3>{{ item.paidSalary }}</h3>
<p :style="matchColor(item.billStatus)">
{{ item.billStatus }}
</p>
......@@ -96,10 +96,10 @@ export default class FlexEmployee extends Vue {
private name: string = ""; //入参
private birthday: string = ""; //
private accept_work: string = "";
private perform_work: string = "";
private Payment_receivable: string = "";
private receive_receivable: string = "";
private accept_work: string = "0";
private perform_work: string = "0";
private Payment_receivable: string = "0.00";
private receive_receivable: string = "0.00";
private fullName: string = "";
private taskRecordList: any = null;
......@@ -130,12 +130,14 @@ export default class FlexEmployee extends Vue {
idNo: idNo //371327198511175134
};
this.$server.EmployeeService.getAgileWorker(params).then((res: any) => {
console.log(res);
console.log("res=", res);
this.accept_work = res.alCount; // 已接任务
this.perform_work = res.comCount; // 完成任务
this.Payment_receivable = res.receivableSalary; // 应收报酬
this.receive_receivable = res.receivedSalary; // 已收报酬
this.taskRecordList = res.taskList; // 任务记录
console.log("taskRecordList=", this.taskRecordList);
localStorage.setItem("taskList", JSON.stringify(res.taskList));
});
}
......
......@@ -2,20 +2,20 @@
<div class="fe-detial-box">
<div class="fe-detial-top">
<h4>任务报酬</h4>
<h3>+{{ item.paidSalary | money }}</h3>
<h3>+{{ item.paidSalary }}</h3>
<p :style="matchColor(item.status)">{{ item.status }}</p>
</div>
<div class="fe-detial-bottom">
<div class="fe-detial-bottom-title">
<p>发包企业</p>
<p>订单标题</p>
<p>任务名称</p>
<p>服务类别</p>
<p>发放时间</p>
<p>收款账户</p>
</div>
<div class="fe-detial-bottom-detial">
<p>{{ item.fullName }}</p>
<p>{{ item.description }}</p>
<p>{{ item.title }}</p>
<p>{{ item.description }}</p>
<p>{{ item.payTime }}</p>
<p>{{ item.banko }}</p>
......@@ -57,6 +57,8 @@ export default class FlexEmployee extends Vue {
let task_info = localStorage.getItem("taskList");
if (task_info != null) {
let tasks = JSON.parse(task_info);
console.log(tasks.find((x: any) => x.id == id));
this.item = tasks.find((x: any) => x.id == id);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment