1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <template>
- <view>
- <view class="list">
- <view class="item" v-for="(item,index) in list" :key="index" @click="go_container(item.id,item.gzm_name)">
- <view class="left">
- <view class="icon"></view>
- <view class="name">{{item.gzm_name}}</view>
- </view>
- <view class="right">
- <uni-icons type="arrowright"></uni-icons>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- name:"p-production-report-inner-3",
- props:[
- "mine",
- "org_num"
- ],
- data() {
- return {
- list:[]
- };
- },
- created() {
- this.$p_api.coalmine_working_face({
- mine:this.mine,
- org_num:this.org_num
- }).then((res)=>{
- // console.log(res.data.data)
- this.list = res.data.data
- })
- },
- methods:{
- go_container(id,title){
- uni.navigateTo({
- url:"../../production/production_report/detail/detail?id=" + id + "&title=" + title
- })
- }
- }
- }
- </script>
- <style lang="scss">
- .list{
- box-sizing: border-box;
- padding: 0 20rpx;
- .item{
- display: flex;
- justify-content: space-between;
-
- line-height: 90rpx;
- border-bottom: 1rpx solid #eee;
- .left{
- display: flex;
- align-items: baseline;
- .icon{
- width: 25rpx;
- height: 27rpx;
- background-image: url(./icon/icon.png);
- background-size: cover;
- }
- .name{
- margin-left: 12rpx;
-
- font-size: 28rpx;
- color: #1e1e1e;
- }
- }
- .right{}
- }
- }
- </style>
|