css
parent
311b6a34e3
commit
8d7ed1c275
|
@ -39,13 +39,14 @@
|
||||||
<text>是否处罚:{{ item.ISPUNISH && (item.ISPUNISH === "1" ? "是" : "否") }}</text>
|
<text>是否处罚:{{ item.ISPUNISH && (item.ISPUNISH === "1" ? "是" : "否") }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex-end mt-10 subtitle">
|
<view class="flex-end mt-10 subtitle">
|
||||||
<u-button
|
<view v-if="item.CREATOR == userInfo.USER_ID && tabsType === '1'">
|
||||||
v-if="item.CREATOR == userInfo.USER_ID
|
<u-button type="primary" text="验收" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.HIDDEN_ID,'acceptance')"></u-button>
|
||||||
&& tabsType === '1'
|
</view>
|
||||||
"
|
<view>
|
||||||
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>
|
||||||
<u-button
|
</view>
|
||||||
type="primary" text="查看" size="mini" class="bth-mini ml-10" @click="fnNavigatorDetail(item.HIDDEN_ID,'view')"></u-button>
|
|
||||||
|
|
||||||
<!-- <u-button
|
<!-- <u-button
|
||||||
v-if="item.ISPUNISH !== '2'
|
v-if="item.ISPUNISH !== '2'
|
||||||
&& !item.KEYPROJECTPUNISH_ID
|
&& !item.KEYPROJECTPUNISH_ID
|
||||||
|
|
|
@ -9,7 +9,10 @@
|
||||||
clearable
|
clearable
|
||||||
shape="circle"
|
shape="circle"
|
||||||
></u--input>
|
></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>
|
</view>
|
||||||
<u-list @scrolltolower="scrolltolower" v-if="list.length > 0">
|
<u-list @scrolltolower="scrolltolower" v-if="list.length > 0">
|
||||||
<u-list-item v-for="(item, index) in list" :key="index">
|
<u-list-item v-for="(item, index) in list" :key="index">
|
||||||
|
@ -28,6 +31,9 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="flex-between mt-10 subtitle">
|
<view class="flex-between mt-10 subtitle">
|
||||||
<text>重点工程数:{{item.OUTSOURCED_COUNT}}</text>
|
<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)"/>
|
<u-button type="primary" text="进入" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.CORPINFO_ID)"/>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="flex-between mt-10 subtitle">-->
|
<!-- <view class="flex-between mt-10 subtitle">-->
|
||||||
|
@ -108,7 +114,11 @@ export default {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped lang="scss">
|
||||||
|
.see_btn{
|
||||||
|
width: 200rpx;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
.btn-corner-label::before,
|
.btn-corner-label::before,
|
||||||
.btn-corner-label::after {
|
.btn-corner-label::after {
|
||||||
content: attr(data-label); /* 使用 attr 获取按钮的 data-label 属性的值作为角标内容 */
|
content: attr(data-label); /* 使用 attr 获取按钮的 data-label 属性的值作为角标内容 */
|
||||||
|
|
|
@ -27,14 +27,18 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="flex-between mt-10 subtitle">
|
<view class="flex-between mt-10 subtitle">
|
||||||
<text>处罚处理状态:{{ item.ISPUNISH == "2" ? "不处罚":item.HANDLED == "1" ?"已完成":item.ISPUNISH == "1" ? "待反馈" : "待处罚" }}</text>
|
<text>处罚处理状态:{{ item.ISPUNISH == "2" ? "不处罚":item.HANDLED == "1" ?"已完成":item.ISPUNISH == "1" ? "待反馈" : "待处罚" }}</text>
|
||||||
<view class="flex-between">
|
|
||||||
<u-button
|
</view>
|
||||||
v-if="!item.ISPUNISH"
|
<view class="flex-end">
|
||||||
color="linear-gradient(to right, #ff6034, #ee0a24)"
|
<view class="wrap" v-if="!item.ISPUNISH">
|
||||||
text="处罚" size="mini" class="bth-mini ml-10"
|
<u-button
|
||||||
@click="fnModalShow(item)"></u-button>
|
color="linear-gradient(to right, #ff6034, #ee0a24)"
|
||||||
<u-button style="margin-left: 20rpx;" type="primary" text="查看" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.HIDDEN_ID)"></u-button>
|
text="处罚" size="mini" class="bth-mini ml-10"
|
||||||
</view>
|
@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>
|
||||||
</view>
|
</view>
|
||||||
</u-list-item>
|
</u-list-item>
|
||||||
|
@ -231,6 +235,10 @@ export default {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped lang="scss">
|
||||||
|
.wrap{
|
||||||
|
width: 200rpx;
|
||||||
|
margin: 0 10rpx;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -9,7 +9,10 @@
|
||||||
clearable
|
clearable
|
||||||
shape="circle"
|
shape="circle"
|
||||||
></u--input>
|
></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>
|
</view>
|
||||||
<u-list @scrolltolower="scrolltolower" v-if="list.length > 0">
|
<u-list @scrolltolower="scrolltolower" v-if="list.length > 0">
|
||||||
<u-list-item v-for="(item, index) in list" :key="index">
|
<u-list-item v-for="(item, index) in list" :key="index">
|
||||||
|
@ -36,6 +39,9 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="flex-between mt-10 subtitle">
|
<view class="flex-between mt-10 subtitle">
|
||||||
<text>检查隐患数:{{item.HIDDEN_COUNT}}</text>
|
<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>
|
<u-button type="primary" text="查看" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.KEYPROJECTCHECK_ID,'view')"></u-button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -115,6 +121,10 @@ export default {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped lang="scss">
|
||||||
|
.see_btn{
|
||||||
|
width: 200rpx;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
</view>
|
</view>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell class="flex-none">
|
<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">
|
<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--textarea v-model="item.SITUATION" placeholder="请输入检查情况" :disabled="disabled"></u--textarea>
|
||||||
<u-badge value="X" type="error" :offset="[-9,-10]" absolute
|
<u-badge value="X" type="error" :offset="[-9,-10]" absolute
|
||||||
|
@ -88,8 +88,9 @@
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell class="flex-none">
|
<u-cell class="flex-none">
|
||||||
<view slot="title" class="title required">检查人员:</view>
|
<view slot="title" class="title required">检查人员:</view>
|
||||||
<view slot="value" class="mt-10">
|
<view slot="value" class="mt-10" >
|
||||||
<u--textarea v-model="form.INSPECTION_USERS" placeholder="请输入检查人员" :disabled="disabled"></u--textarea>
|
<view>{{form.INSPECTION_USERS}}</view>
|
||||||
|
<!-- <u--textarea v-model="form.INSPECTION_USERS" placeholder="请输入检查人员" :disabled="disabled" ></u--textarea>-->
|
||||||
</view>
|
</view>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell>
|
<u-cell>
|
||||||
|
@ -100,7 +101,7 @@
|
||||||
</view>
|
</view>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell class="title-none">
|
<u-cell class="title-none">
|
||||||
<view slot="value" style="flex: 1">
|
<view slot="value" style="width: 100%">
|
||||||
<uni-table border stripe emptyText="暂无更多数据">
|
<uni-table border stripe emptyText="暂无更多数据">
|
||||||
<uni-tr>
|
<uni-tr>
|
||||||
<uni-th align="center">序号</uni-th>
|
<uni-th align="center">序号</uni-th>
|
||||||
|
@ -398,7 +399,7 @@ export default {
|
||||||
async onLoad(event) {
|
async onLoad(event) {
|
||||||
this.KEYPROJECTCHECK_ID = event.KEYPROJECTCHECK_ID
|
this.KEYPROJECTCHECK_ID = event.KEYPROJECTCHECK_ID
|
||||||
this.OUTSOURCED_ID = event.OUTSOURCED_ID
|
this.OUTSOURCED_ID = event.OUTSOURCED_ID
|
||||||
|
|
||||||
this.disabled = !(event.type === 'add' || event.type === 'edit');
|
this.disabled = !(event.type === 'add' || event.type === 'edit');
|
||||||
if (this.KEYPROJECTCHECK_ID) {
|
if (this.KEYPROJECTCHECK_ID) {
|
||||||
await this.fnGetKeyProjectsCheckView()
|
await this.fnGetKeyProjectsCheckView()
|
||||||
|
@ -648,7 +649,7 @@ export default {
|
||||||
TYPE: 102,
|
TYPE: 102,
|
||||||
CORPINFO_ID: this.userInfo.CORPINFO_ID,
|
CORPINFO_ID: this.userInfo.CORPINFO_ID,
|
||||||
// CORPINFO_ID: this.CORPINFO_ID,
|
// CORPINFO_ID: this.CORPINFO_ID,
|
||||||
|
|
||||||
},
|
},
|
||||||
loading:false
|
loading:false
|
||||||
})
|
})
|
||||||
|
|
|
@ -9,7 +9,10 @@
|
||||||
clearable
|
clearable
|
||||||
shape="circle"
|
shape="circle"
|
||||||
></u--input>
|
></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>
|
</view>
|
||||||
<u-list @scrolltolower="scrolltolower" v-if="list.length > 0">
|
<u-list @scrolltolower="scrolltolower" v-if="list.length > 0">
|
||||||
<u-list-item v-for="(item, index) in list" :key="index">
|
<u-list-item v-for="(item, index) in list" :key="index">
|
||||||
|
@ -43,6 +46,9 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="flex-between mt-10 subtitle">
|
<view class="flex-between mt-10 subtitle">
|
||||||
<text>安全环保检查次数:{{item.CHECK_COUNT}}</text>
|
<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>
|
<u-button type="primary" text="进入" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.OUTSOURCED_ID)"></u-button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -113,6 +119,10 @@ export default {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped lang="scss">
|
||||||
|
.see_btn{
|
||||||
|
width: 200rpx;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue