鲁洪霞 2024-07-27 15:46:35 +08:00
parent 311b6a34e3
commit 8d7ed1c275
6 changed files with 68 additions and 28 deletions

View File

@ -39,13 +39,14 @@
<text>是否处罚{{ item.ISPUNISH && (item.ISPUNISH === "1" ? "是" : "否") }}</text>
</view>
<view class="flex-end mt-10 subtitle">
<u-button
v-if="item.CREATOR == userInfo.USER_ID
&& tabsType === '1'
"
type="primary" text="验收" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.HIDDEN_ID,'acceptance')"></u-button>
<u-button
type="primary" text="查看" size="mini" class="bth-mini ml-10" @click="fnNavigatorDetail(item.HIDDEN_ID,'view')"></u-button>
<view v-if="item.CREATOR == userInfo.USER_ID && tabsType === '1'">
<u-button type="primary" text="验收" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.HIDDEN_ID,'acceptance')"></u-button>
</view>
<view>
<u-button type="primary" text="查看" size="mini" class="bth-mini ml-10" @click="fnNavigatorDetail(item.HIDDEN_ID,'view')"></u-button>
</view>
<!-- <u-button
v-if="item.ISPUNISH !== '2'
&& !item.KEYPROJECTPUNISH_ID

View File

@ -9,7 +9,10 @@
clearable
shape="circle"
></u--input>
<u-button class="bth-mini ml-10" type="success" text="确定" @click="resetList"></u-button>
<view class="ml-10">
<u-button class="bth-mini ml-10" type="success" text="确定" @click="resetList"></u-button>
</view>
</view>
<u-list @scrolltolower="scrolltolower" v-if="list.length > 0">
<u-list-item v-for="(item, index) in list" :key="index">
@ -28,6 +31,9 @@
</view>
<view class="flex-between mt-10 subtitle">
<text>重点工程数{{item.OUTSOURCED_COUNT}}</text>
</view>
<view class="see_btn">
<u-button type="primary" text="进入" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.CORPINFO_ID)"/>
</view>
<!-- <view class="flex-between mt-10 subtitle">-->
@ -108,7 +114,11 @@ export default {
}
</script>
<style scoped>
<style scoped lang="scss">
.see_btn{
width: 200rpx;
float: right;
}
.btn-corner-label::before,
.btn-corner-label::after {
content: attr(data-label); /* 使用 attr 获取按钮的 data-label 属性的值作为角标内容 */

View File

@ -27,14 +27,18 @@
</view>
<view class="flex-between mt-10 subtitle">
<text>处罚处理状态{{ item.ISPUNISH == "2" ? "不处罚":item.HANDLED == "1" ?"已完成":item.ISPUNISH == "1" ? "待反馈" : "待处罚" }}</text>
<view class="flex-between">
<u-button
v-if="!item.ISPUNISH"
color="linear-gradient(to right, #ff6034, #ee0a24)"
text="处罚" size="mini" class="bth-mini ml-10"
@click="fnModalShow(item)"></u-button>
<u-button style="margin-left: 20rpx;" type="primary" text="查看" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.HIDDEN_ID)"></u-button>
</view>
</view>
<view class="flex-end">
<view class="wrap" v-if="!item.ISPUNISH">
<u-button
color="linear-gradient(to right, #ff6034, #ee0a24)"
text="处罚" size="mini" class="bth-mini ml-10"
@click="fnModalShow(item)"></u-button>
</view>
<view class="wrap"> <u-button style="margin-left: 20rpx;" type="primary" text="查看" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.HIDDEN_ID)"></u-button></view>
</view>
</view>
</u-list-item>
@ -231,6 +235,10 @@ export default {
}
</script>
<style scoped>
<style scoped lang="scss">
.wrap{
width: 200rpx;
margin: 0 10rpx;
}
</style>

View File

@ -9,7 +9,10 @@
clearable
shape="circle"
></u--input>
<u-button class="bth-mini ml-10" type="success" text="确定" @click="resetList"></u-button>
<view class="ml-10">
<u-button class="bth-mini ml-10" type="success" text="确定" @click="resetList"></u-button>
</view>
</view>
<u-list @scrolltolower="scrolltolower" v-if="list.length > 0">
<u-list-item v-for="(item, index) in list" :key="index">
@ -36,6 +39,9 @@
</view>
<view class="flex-between mt-10 subtitle">
<text>检查隐患数{{item.HIDDEN_COUNT}}</text>
</view>
<view class="see_btn">
<u-button type="primary" text="查看" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.KEYPROJECTCHECK_ID,'view')"></u-button>
</view>
</view>
@ -115,6 +121,10 @@ export default {
}
</script>
<style scoped>
<style scoped lang="scss">
.see_btn{
width: 200rpx;
float: right;
}
</style>

View File

@ -78,7 +78,7 @@
</view>
</u-cell>
<u-cell class="flex-none">
<view slot="value">
<view slot="value" style="width: 100%">
<view class="pr mt-10" v-for="(item,index) in form.situationList" :key="item.id">
<u--textarea v-model="item.SITUATION" placeholder="请输入检查情况" :disabled="disabled"></u--textarea>
<u-badge value="X" type="error" :offset="[-9,-10]" absolute
@ -88,8 +88,9 @@
</u-cell>
<u-cell class="flex-none">
<view slot="title" class="title required">检查人员</view>
<view slot="value" class="mt-10">
<u--textarea v-model="form.INSPECTION_USERS" placeholder="请输入检查人员" :disabled="disabled"></u--textarea>
<view slot="value" class="mt-10" >
<view>{{form.INSPECTION_USERS}}</view>
<!-- <u&#45;&#45;textarea v-model="form.INSPECTION_USERS" placeholder="请输入检查人员" :disabled="disabled" ></u&#45;&#45;textarea>-->
</view>
</u-cell>
<u-cell>
@ -100,7 +101,7 @@
</view>
</u-cell>
<u-cell class="title-none">
<view slot="value" style="flex: 1">
<view slot="value" style="width: 100%">
<uni-table border stripe emptyText="暂无更多数据">
<uni-tr>
<uni-th align="center">序号</uni-th>

View File

@ -9,7 +9,10 @@
clearable
shape="circle"
></u--input>
<u-button class="bth-mini ml-10" type="success" text="确定" @click="resetList"></u-button>
<view class="ml-10">
<u-button class="bth-mini ml-10" type="success" text="确定" @click="resetList"></u-button>
</view>
</view>
<u-list @scrolltolower="scrolltolower" v-if="list.length > 0">
<u-list-item v-for="(item, index) in list" :key="index">
@ -43,6 +46,9 @@
</view>
<view class="flex-between mt-10 subtitle">
<text>安全环保检查次数{{item.CHECK_COUNT}}</text>
</view>
<view class="see_btn">
<u-button type="primary" text="进入" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.OUTSOURCED_ID)"></u-button>
</view>
</view>
@ -113,6 +119,10 @@ export default {
}
</script>
<style scoped>
<style scoped lang="scss">
.see_btn{
width: 200rpx;
float: right;
}
</style>