|
|
@ -16,6 +16,11 @@
|
|
|
|
<icon type="clear" :size='20' color='#bcbcbc' @tap="cleanTRAINNUM" v-show="postData.TRAINNUM"></icon>
|
|
|
|
<icon type="clear" :size='20' color='#bcbcbc' @tap="cleanTRAINNUM" v-show="postData.TRAINNUM"></icon>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="tag-view" v-if="info" v-for="(item,index) in info" :key="index" style="margin-left: 20rpx;">
|
|
|
|
|
|
|
|
<uni-badge class="uni-badge-left-margin" :text="item.count" absolute="rightTop" size="small">
|
|
|
|
|
|
|
|
<uni-tag :inverted="true" :text="item.train" type="primary"></uni-tag>
|
|
|
|
|
|
|
|
</uni-badge>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
<uni-card v-if="list" v-for="(item,index) in list" :title="item.worktype" :key="index">
|
|
|
|
<uni-card v-if="list" v-for="(item,index) in list" :title="item.worktype" :key="index">
|
|
|
|
<view class="example">
|
|
|
|
<view class="example">
|
|
|
|
<uni-forms ref="form" :modelValue="item" label-position="left">
|
|
|
|
<uni-forms ref="form" :modelValue="item" label-position="left">
|
|
|
@ -86,7 +91,8 @@
|
|
|
|
res) => {
|
|
|
|
res) => {
|
|
|
|
console.log(res)
|
|
|
|
console.log(res)
|
|
|
|
if (res.succeeded) {
|
|
|
|
if (res.succeeded) {
|
|
|
|
this.list = res.data
|
|
|
|
this.list = res.data[0]
|
|
|
|
|
|
|
|
this.info = res.data[1]
|
|
|
|
uni.hideLoading()
|
|
|
|
uni.hideLoading()
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.tui.toast(res.message, 2000, 'none')
|
|
|
|
this.tui.toast(res.message, 2000, 'none')
|
|
|
|