|
|
@@ -25,20 +25,8 @@ |
|
|
|
<van-row> |
|
|
|
<van-col :span="24">姓名</van-col> |
|
|
|
</van-row> |
|
|
|
<van-row> |
|
|
|
<van-col :span="24">庞东旭</van-col> |
|
|
|
</van-row> |
|
|
|
<van-row> |
|
|
|
<van-col :span="24">庞东旭</van-col> |
|
|
|
</van-row> |
|
|
|
<van-row> |
|
|
|
<van-col :span="24">庞东旭</van-col> |
|
|
|
</van-row> |
|
|
|
<van-row> |
|
|
|
<van-col :span="24">庞东旭</van-col> |
|
|
|
</van-row> |
|
|
|
<van-row> |
|
|
|
<van-col :span="24">庞东旭</van-col> |
|
|
|
<van-row v-for="(item,index) in applicationList" :key="index"> |
|
|
|
<van-col :span="24">{{item.workerName}}</van-col> |
|
|
|
</van-row> |
|
|
|
<div class="name_bg"></div> |
|
|
|
<img src="../../assets/images/sunVillage_info/name_icon.png" class="name_icon"/> |
|
|
@@ -47,34 +35,18 @@ |
|
|
|
<div class="right_box"> |
|
|
|
<div class="right_box_box"> |
|
|
|
<van-row> |
|
|
|
<van-col :span="8">出工事由</van-col> |
|
|
|
<van-col :span="8">记工员</van-col> |
|
|
|
<van-col :span="8">出工数</van-col> |
|
|
|
<van-col :span="5">出工事由</van-col> |
|
|
|
<van-col :span="5">记工员</van-col> |
|
|
|
<van-col :span="4">出工数</van-col> |
|
|
|
<van-col :span="5">出工日期</van-col> |
|
|
|
<van-col :span="5">金额(元)</van-col> |
|
|
|
</van-row> |
|
|
|
<van-row> |
|
|
|
<van-col :span="8">收拾卫生(车)</van-col> |
|
|
|
<van-col :span="8">曲秀君王晓乐</van-col> |
|
|
|
<van-col :span="8">1车</van-col> |
|
|
|
</van-row> |
|
|
|
<van-row> |
|
|
|
<van-col :span="8">收拾卫生(车)</van-col> |
|
|
|
<van-col :span="8">曲秀君王晓乐</van-col> |
|
|
|
<van-col :span="8">1车</van-col> |
|
|
|
</van-row> |
|
|
|
<van-row> |
|
|
|
<van-col :span="8">收拾卫生(车)</van-col> |
|
|
|
<van-col :span="8">曲秀君王晓乐</van-col> |
|
|
|
<van-col :span="8">1车</van-col> |
|
|
|
</van-row> |
|
|
|
<van-row> |
|
|
|
<van-col :span="8">收拾卫生(车)</van-col> |
|
|
|
<van-col :span="8">曲秀君王晓乐</van-col> |
|
|
|
<van-col :span="8">1车</van-col> |
|
|
|
</van-row> |
|
|
|
<van-row> |
|
|
|
<van-col :span="8">收拾卫生(车)</van-col> |
|
|
|
<van-col :span="8">曲秀君王晓乐</van-col> |
|
|
|
<van-col :span="8">1车</van-col> |
|
|
|
<van-row v-for="(item,index) in applicationList" :key="index"> |
|
|
|
<van-col :span="5">{{item.workReason}}</van-col> |
|
|
|
<van-col :span="5">{{item.workerNote}}</van-col> |
|
|
|
<van-col :span="4">{{item.workNum}}</van-col> |
|
|
|
<van-col :span="5">{{item.jobTime}}</van-col> |
|
|
|
<van-col :span="5">{{item.totalMoney}}</van-col> |
|
|
|
</van-row> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@@ -106,7 +78,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { financePublicList,openRemove } from "@/api/sunVillage_info/fixedAssets"; |
|
|
|
import { listOddjob } from "@/api/sunVillage_info/fixedAssets"; |
|
|
|
import Cookies from "js-cookie"; |
|
|
|
import request from '@/utils/request' |
|
|
|
export default { |
|
|
@@ -143,13 +115,14 @@ |
|
|
|
if (this.$route.query.type == 'code'){ |
|
|
|
this.showBtn = false; |
|
|
|
} |
|
|
|
this.getList(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getList(){ |
|
|
|
var _this = this; |
|
|
|
setTimeout(() => { |
|
|
|
console.log(_this.queryParams) |
|
|
|
financePublicList(_this.queryParams).then(response => { |
|
|
|
listOddjob(_this.queryParams).then(response => { |
|
|
|
_this.listLength = response.total; |
|
|
|
_this.applicationList = response.rows; |
|
|
|
|
|
|
@@ -163,75 +136,6 @@ |
|
|
|
}); |
|
|
|
}, 1000); |
|
|
|
}, |
|
|
|
tabClick(year){ |
|
|
|
this.queryParams.year = year ; |
|
|
|
this.applicationList = []; |
|
|
|
this.getList(); |
|
|
|
}, |
|
|
|
tabShow(){ |
|
|
|
this.showTab = !this.showTab; |
|
|
|
}, |
|
|
|
/** 删除按钮操作 */ |
|
|
|
handleDelete(row,index) { |
|
|
|
let assetStatus = row.assetStatus ? row.assetStatus : data[0].assetStatus; |
|
|
|
if (assetStatus === '2' || assetStatus === '3') { |
|
|
|
this.$notify({ |
|
|
|
message: "不允许删除已出售或已报废的资产", |
|
|
|
type: "warning", |
|
|
|
}); |
|
|
|
return; |
|
|
|
} |
|
|
|
let useType = row.useType; |
|
|
|
if(useType == 3) { |
|
|
|
this.$notify({ |
|
|
|
message: "出租或出借的资产不允许删除", |
|
|
|
type: "warning", |
|
|
|
}); |
|
|
|
return ; |
|
|
|
} |
|
|
|
const ids = row.id || this.ids; |
|
|
|
|
|
|
|
this.$dialog.alert( |
|
|
|
{ |
|
|
|
message:'是否确认删除固定资产?', |
|
|
|
title:"警告", |
|
|
|
confirmButtonText: "确定", |
|
|
|
cancelButtonText: "取消", |
|
|
|
} |
|
|
|
) |
|
|
|
.then(function () { |
|
|
|
return delPermanent(ids); |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
this.applicationList.splice(index, 1); |
|
|
|
this.$notify({ type: 'success', message: '删除成功' }); |
|
|
|
}); |
|
|
|
}, |
|
|
|
goAdd(){ |
|
|
|
this.$router.push('/sunVillage_info/list_finance_add') |
|
|
|
}, |
|
|
|
goDetail(id){ |
|
|
|
this.$router.push({path:'/sunVillage_info/list_finance_detail',query: {id:id,type:'finance'}}) |
|
|
|
}, |
|
|
|
goEdit(id){ |
|
|
|
this.$router.push({path:'/sunVillage_info/list_finance_edit',query: {id:id,type:'finance'}}) |
|
|
|
}, |
|
|
|
goRemove(id){ |
|
|
|
this.$dialog.alert({ |
|
|
|
title: '提示', |
|
|
|
message: '确认删除?', |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
openRemove(id).then(response => { |
|
|
|
this.$notify({ type: 'success', message: '删除成功' }); |
|
|
|
this.getList() |
|
|
|
}); |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|
// on cancel |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
</script> |
|
|
|