|
|
@ -8,8 +8,8 @@ |
|
|
|
|
|
|
|
<view class="search"> |
|
|
|
<uv-search |
|
|
|
placeholder="请输入搜索内容" |
|
|
|
v-model="queryParams.title" |
|
|
|
placeholder="请输入搜索内容" |
|
|
|
v-model="queryParams.title" |
|
|
|
bgColor="#fff" |
|
|
|
height="80"></uv-search> |
|
|
|
</view> |
|
|
@ -20,11 +20,19 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="Urgent-Work-Order"> |
|
|
|
<Collection |
|
|
|
v-for="(item,index) in list" |
|
|
|
:obj="item" |
|
|
|
:key="index" |
|
|
|
/> |
|
|
|
<uv-swipe-action> |
|
|
|
<uv-swipe-action-item |
|
|
|
@click="clickAction" |
|
|
|
v-for="(item, index) in list" |
|
|
|
:key="index" |
|
|
|
style="margin-top: 30rpx;" |
|
|
|
:options="options"> |
|
|
|
<WorkOrderitem |
|
|
|
margin="0" |
|
|
|
:obj="item.workorderTemplate" |
|
|
|
/> |
|
|
|
</uv-swipe-action-item> |
|
|
|
</uv-swipe-action> |
|
|
|
</view> |
|
|
|
|
|
|
|
<tabber select="3" /> |
|
|
@ -33,19 +41,25 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import tabber from '@/components/base/tabbar.vue' |
|
|
|
import Collection from '@/components/work/Collection.vue' |
|
|
|
import WorkOrderitem from '@/components/work/WorkOrderitem.vue' |
|
|
|
import mixinsList from '@/mixins/list.js' |
|
|
|
import { mapState } from 'vuex' |
|
|
|
export default { |
|
|
|
mixins: [mixinsList], |
|
|
|
components: { |
|
|
|
tabber, |
|
|
|
Collection, |
|
|
|
WorkOrderitem, |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
mixinsListApi : 'queryCollectionList', |
|
|
|
tagIndex : 0, |
|
|
|
options: [{ |
|
|
|
text: '删除', |
|
|
|
style: { |
|
|
|
backgroundColor: '#f56c6c' |
|
|
|
} |
|
|
|
}] |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
@ -63,6 +77,9 @@ |
|
|
|
} |
|
|
|
this.getData() |
|
|
|
}, |
|
|
|
clickAction(e){ |
|
|
|
console.log(e); |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
@ -73,8 +90,6 @@ |
|
|
|
margin: 20rpx; |
|
|
|
} |
|
|
|
.Tabs { |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
} |
|
|
|
.Urgent-Work-Order{ |
|
|
|
padding: 20rpx; |
|
|
|