|
@@ -0,0 +1,195 @@
|
|
|
|
|
+<template>
|
|
|
|
|
+ <view class="app-main app-content">
|
|
|
|
|
+ <view style="width:100%;font-size:38upx;font-weight:bold;text-align: center;padding-top:15upx;padding-bottom:40upx;background-color: white;">失信人员查询系统</view>
|
|
|
|
|
+ <view style="background-color: white;">
|
|
|
|
|
+ <view style="width:100%;">
|
|
|
|
|
+ <button class="admin-button-com big blue" style="margin-left:2%;" @click="">手机号</button>
|
|
|
|
|
+ <button class="admin-button-com big" style="margin-left:20upx;" @click="">微信号</button>
|
|
|
|
|
+ <button class="admin-button-com big" style="margin-left:20upx;" @click="">名称</button>
|
|
|
|
|
+ <button class="admin-button-com big red" style="margin-right:2%;float: right;border: 1upx solid #3385FF;color:white;background-color:#3385FF;" @click="">新增</button>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view style="width:100%;text-align: center;padding-bottom:30upx;margin-top:10upx;">
|
|
|
|
|
+ <input v-model="search" name="search" type="text"
|
|
|
|
|
+ style="border:1upx solid #CCCCCC;width:96%;border-radius: 10upx;height:80upx;margin:0 auto;text-align: left;padding-left:8upx;font-size:30upx;" />
|
|
|
|
|
+ <view style="width:100%;font-size:30upx;color:black;margin:10upx 0 5upx 2%;text-align: left;">失信人员 50人</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <div class="list-wrap">
|
|
|
|
|
+ <block v-if="!$util.isEmpty(list.data)">
|
|
|
|
|
+ <div class="list" v-for="(item, index) in list.data" :key="index">
|
|
|
|
|
+ <llItem :item="item"></llItem>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </block>
|
|
|
|
|
+ <block v-else>
|
|
|
|
|
+ <app-wrapper-empty title="暂无数据" :is-empty="$util.isEmpty(list.data)" />
|
|
|
|
|
+ </block>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <script>
|
|
|
|
|
+ import NotLogin from "@/components/not-login";
|
|
|
|
|
+ import AppWrapperEmpty from "@/components/app-wrapper-empty";
|
|
|
|
|
+ import ModalModule from "@/components/plugin/modal";
|
|
|
|
|
+ import { list } from "@/mixins";
|
|
|
|
|
+ import { mapGetters } from "vuex";
|
|
|
|
|
+ import { getWorkList} from "@/api/work";
|
|
|
|
|
+ import AppSearchModule from "@/components/module/app-search";
|
|
|
|
|
+ import DropShopSelect from "@/components/module/shopSelect";
|
|
|
|
|
+ import llItem from "./components/item";
|
|
|
|
|
+ import DateSelect from "@/components/module/dateSelect";
|
|
|
|
|
+ export default {
|
|
|
|
|
+ name: "list",
|
|
|
|
|
+ components: {
|
|
|
|
|
+ AppWrapperEmpty,
|
|
|
|
|
+ ModalModule,
|
|
|
|
|
+ AppSearchModule,
|
|
|
|
|
+ DropShopSelect,
|
|
|
|
|
+ llItem,
|
|
|
|
|
+ DateSelect,
|
|
|
|
|
+ NotLogin
|
|
|
|
|
+ },
|
|
|
|
|
+ mixins: [list],
|
|
|
|
|
+ computed: {
|
|
|
|
|
+ ...mapGetters(["getLoginInfo", "getDictionariesInfo"])
|
|
|
|
|
+ },
|
|
|
|
|
+ data() {
|
|
|
|
|
+ return {
|
|
|
|
|
+ search:'',
|
|
|
|
|
+ inputFocus:false
|
|
|
|
|
+ };
|
|
|
|
|
+ },
|
|
|
|
|
+ onPullDownRefresh() {
|
|
|
|
|
+ this.resetList();
|
|
|
|
|
+ this.getList()
|
|
|
|
|
+ uni.stopPullDownRefresh()
|
|
|
|
|
+ },
|
|
|
|
|
+ onReachBottom() {
|
|
|
|
|
+ if (!this.list.finished) {
|
|
|
|
|
+ this.getList().then((res) => {
|
|
|
|
|
+ uni.stopPullDownRefresh();
|
|
|
|
|
+ });
|
|
|
|
|
+ } else {
|
|
|
|
|
+ uni.stopPullDownRefresh();
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ mounted() {
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ onLoad() {
|
|
|
|
|
+ this.getList()
|
|
|
|
|
+ },
|
|
|
|
|
+ methods: {
|
|
|
|
|
+ init(){
|
|
|
|
|
+ },
|
|
|
|
|
+ getList() {
|
|
|
|
|
+ return getWorkList({}).then((res) => {
|
|
|
|
|
+ this.completes(res);
|
|
|
|
|
+ if (this.$util.isEmpty(res.data)){
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ };
|
|
|
|
|
+ </script>
|
|
|
|
|
+ <style lang="scss" scoped>
|
|
|
|
|
+ .admin-button-com {
|
|
|
|
|
+ width: 140upx;
|
|
|
|
|
+ height: 60upx;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ line-height: 60upx;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ font-size: 26upx;
|
|
|
|
|
+ &.active {
|
|
|
|
|
+ border: 1upx solid #ccc;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ page{
|
|
|
|
|
+ width: 750upx;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ }
|
|
|
|
|
+ .app-content {
|
|
|
|
|
+ padding-bottom: 1upx;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ .select-dn_bx {
|
|
|
|
|
+ padding-left: 18upx;
|
|
|
|
|
+ }
|
|
|
|
|
+ .app-tabs {
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ /* 手机mobile屏幕小于1000px */
|
|
|
|
|
+ @media screen and (max-width: 1100px) {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ }
|
|
|
|
|
+ /* 收银台cashier屏幕大于1000px */
|
|
|
|
|
+ @media screen and (min-width:1100px) {
|
|
|
|
|
+ width: 40%;
|
|
|
|
|
+ }
|
|
|
|
|
+ z-index: 9;
|
|
|
|
|
+ }
|
|
|
|
|
+ .input-wrap_box {
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ z-index: 10;
|
|
|
|
|
+ /* 手机mobile屏幕小于1000px */
|
|
|
|
|
+ @media screen and (max-width: 1100px) {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ }
|
|
|
|
|
+ /* 收银台cashier屏幕大于1000px */
|
|
|
|
|
+ @media screen and (min-width:1100px) {
|
|
|
|
|
+ width: 40%;
|
|
|
|
|
+ }
|
|
|
|
|
+ height: 100upx;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ padding: 0 30upx;
|
|
|
|
|
+ & > view:nth-child(2) {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .list-wrap {
|
|
|
|
|
+ padding-top:10upx;
|
|
|
|
|
+ .list {
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ margin-bottom: 20upx;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .app-footer {
|
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .upload-confirm-wrap {
|
|
|
|
|
+ max-height: 600upx;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+ .modal-tit {
|
|
|
|
|
+ @include disFlex(center, center);
|
|
|
|
|
+ font-size: 40upx;
|
|
|
|
|
+ margin-top: 30upx;
|
|
|
|
|
+ margin-bottom: 50upx;
|
|
|
|
|
+ .iconfont {
|
|
|
|
|
+ color: #09bb07;
|
|
|
|
|
+ margin-right: 20upx;
|
|
|
|
|
+ font-size: 50upx;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .sel-wrap {
|
|
|
|
|
+ color: $fontColor2;
|
|
|
|
|
+ font-size: 32upx;
|
|
|
|
|
+ .sel-tit {
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+ }
|
|
|
|
|
+ .sel-btn {
|
|
|
|
|
+ @include disFlex(center, flex-start);
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+ padding: 10upx 0 40upx;
|
|
|
|
|
+ .admin-button-com {
|
|
|
|
|
+ margin-right: 20upx;
|
|
|
|
|
+ margin-top: 20upx;
|
|
|
|
|
+ padding-top: 16upx;
|
|
|
|
|
+ padding-bottom: 16upx;
|
|
|
|
|
+ border-radius: 4upx;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ </style>
|