浏览代码

Task 个人零工公开

rongxin_dev
zhaodengke 8 个月前
父节点
当前提交
fa66565219
共有 3 个文件被更改,包括 18 次插入18 次删除
  1. +13
    -3
      src/views/sunVillage_info/list_tourists_ranking.vue
  2. +4
    -14
      src/views/sunVillage_info/list_tourists_registration.vue
  3. +1
    -1
      src/views/sunVillage_info/list_tourists_registration_detail.vue

+ 13
- 3
src/views/sunVillage_info/list_tourists_ranking.vue 查看文件

@@ -25,7 +25,7 @@
<van-row>
<van-col :span="24">姓名</van-col>
</van-row>
<van-row v-for="(item,index) in applicationList" :key="index">
<van-row v-for="(item,index) in applicationList" :key="index" @click.prevent ="viewItem(item.id)">
<van-col :span="24">{{item.workerName}}</van-col>
</van-row>
<div class="name_bg"></div>
@@ -41,7 +41,7 @@
<van-col :span="5">工日值</van-col>
<van-col :span="4">金额(元)</van-col>
</van-row>
<van-row v-for="(item,index) in applicationList" :key="index">
<van-row v-for="(item,index) in applicationList" :key="index" @click="viewItem(item.id)">
<van-col :span="5">{{item.workReason}}</van-col>
<van-col :span="5">{{item.workerNote}}</van-col>
<van-col :span="5">{{item.workNum}}</van-col>
@@ -104,7 +104,7 @@
getList(){
var _this = this;
setTimeout(() => {
console.log(_this.queryParams)
//console.log(_this.queryParams)
listOddjob(_this.queryParams).then(response => {
_this.listLength = response.total;
_this.applicationList = response.rows;
@@ -119,6 +119,15 @@
});
}, 1000);
},
viewItem(id){
this.$router.push({
path: "/sunVillage_info/list_tourists_registration_detail",
query: {
id: id,
intent: 'view',
},
}).catch(() => {});
},
},
}
</script>
@@ -378,6 +387,7 @@
height: 100%;
position: absolute;
top: 0;
pointer-events: none;
}
.name_icon{
position: absolute;


+ 4
- 14
src/views/sunVillage_info/list_tourists_registration.vue 查看文件

@@ -64,21 +64,21 @@
<van-grid :column-num="3">
<van-grid-item text="查看" @click="viewItem(menuId)">
<template #icon>
<div class="opera_btn view">
<div class="menu_btn view">
<i class="icon "></i>
</div>
</template>
</van-grid-item>
<van-grid-item text="修改" @click="editItem(menuId)">
<template #icon>
<div class="opera_btn edit">
<div class="menu_btn edit">
<i class="icon "></i>
</div>
</template>
</van-grid-item>
<van-grid-item text="删除" @click="removeItem(menuId)">
<template #icon>
<div class="opera_btn delete">
<div class="menu_btn delete">
<i class="icon "></i>
</div>
</template>
@@ -596,7 +596,7 @@ import {delOddjob, listOddjob, tempWorkerOpenRemove} from "@/api/sunVillage_info
.clear{
clear: both;
}
.opera_btn{
.menu_btn{
width: 52px;
height: 52px;
border-radius: 50%;
@@ -634,15 +634,5 @@ import {delOddjob, listOddjob, tempWorkerOpenRemove} from "@/api/sunVillage_info
display: block;
}
}
&.list{
background: #79cf13;
.icon {
width: 29px;
height: 21px;
background: url('../../assets/images/sunVillage_info/list_icon_10.png') no-repeat;
background-size: 100% 100%;
display: block;
}
}
}
</style>

+ 1
- 1
src/views/sunVillage_info/list_tourists_registration_detail.vue 查看文件

@@ -42,7 +42,7 @@
</van-field>
<CommonUpload name="openPic3" v-model="form.openPic3" multiple :deletable="false" :show-upload="false"/>

<van-field v-model="form.remark" label="备注" input-align="right" :border="false" />
<van-field v-model="form.remark" label="备注" input-align="left" :border="false" />

</div>



正在加载...
取消
保存