You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
2.9 KiB

1 year ago
<template>
<view class="app-container">
<u-navbar
leftText="返回"
title="整改工单"
:autoBack="true"
:placeholder="true"
/>
<view class="list-item active view-global" v-for="item in 2" :key="item">
<view class="item-cell">
<view class="cell-lable">整改工单编号</view>
<view class="cell-value">202309120001</view>
</view>
<view class="item-cell">
<view class="cell-lable">整改主体名称</view>
<view class="cell-value">南京市XX街道XX路66号XX店</view>
</view>
<view class="item-cell">
<view class="cell-lable">整改截止时间</view>
<view class="cell-value">2023-09-12</view>
</view>
<view class="item-cell">
<view class="cell-lable">检察人员</view>
<view class="cell-value">张图</view>
</view>
<view class="item-cell">
<view class="cell-lable">发现隐患</view>
<view class="cell-value">xxxxxxxxxxxxx</view>
</view>
<view class="item-cell">
<view class="cell-lable">是否整改完成</view>
<view class="cell-value"></view>
</view>
<view class="cell-btn">
<u-button
text="整改复查"
size="small"
color="linear-gradient(90deg, #3976F1 0%, #3CA0F6 100%)"
:custom-style="{
width: '130rpx',
height: '65rpx',
margin: '0',
}"
@click="handleFc()"
></u-button>
<u-button
text="申请延期"
size="small"
color="linear-gradient(90deg, #F17539 0%, #F6993C 100%)"
v-show="item != 1"
:custom-style="{
width: '130rpx',
height: '65rpx',
margin: '0 20rpx 0 0',
}"
@click="handleYq()"
></u-button>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {};
},
methods: {
//复查
handleFc() {
uni.$u.route({
url: "/subViolation/ShengchanJiandu/WorkOrder/info",
});
},
//延期
handleYq() {
uni.$u.route({
url: "/subViolation/ShengchanJiandu/WorkOrder/postpone",
});
},
},
};
</script>
<style lang="scss" scoped>
.app-container {
.list-item {
background-color: #fff;
border-radius: 16rpx;
box-sizing: border-box;
padding: 25rpx;
margin-bottom: 30rpx;
.item-cell {
display: flex;
align-items: center;
.cell-lable {
width: 200rpx;
font-size: 28rpx;
font-weight: 400;
color: #9da2ab;
}
.cell-value {
flex: 1;
font-size: 28rpx;
font-weight: 400;
color: #2e2f31;
}
}
.cell-btn {
display: flex;
flex-direction: row-reverse;
}
& > view:not(.cell-btn) {
margin-bottom: 20rpx;
}
}
& > .list-item:last-child {
margin-bottom: 0;
}
}
</style>