shish пре 1 година
родитељ
комит
0875fda8a5
3 измењених фајлова са 376 додато и 0 уклоњено
  1. 175 0
      hdApp/src/admin/ll/components/item.vue
  2. 195 0
      hdApp/src/admin/ll/list.vue
  3. 6 0
      hdApp/src/pages.json

+ 175 - 0
hdApp/src/admin/ll/components/item.vue

@@ -0,0 +1,175 @@
+<template>
+    <view  @click="pageTo({url:'/admin/work/detail',query: {id: item.id}})">
+        <view class="order-top_box" style="position:relative;">
+          <image style="width:130upx;position:absolute;top:110upx;right:25upx;border-radius:10upx;" mode="widthFix" :src="item.cover"></image>
+          <view class="tit">{{ item.sn||'' }}</view>
+          <view style="color:#666666;">待完成</view>
+        </view>
+        <view class="order-list_info">
+            <view class="order-info_box">
+                <view>单号:</view>
+                <view>{{ item.orderSn }}</view>
+            </view>
+            <view class="order-info_box">
+                <view>日期:</view>
+                <view>{{ item.addTime?item.addTime.substr(5,11):'' }}</view>
+            </view>
+            <view class="order-info_box">
+                <view>来源:</view>
+                <view>门店</view>
+            </view>
+            <view class="order-info_box">
+                <view>数量:</view>
+                <view>{{ item.num }}</view>
+            </view>
+            <view class="order-info_box">
+                <view>备注:</view>
+                <view style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:420upx;">{{ item.remark||'' }}</view>
+            </view>
+        </view>
+        <view class="list-bottom">
+            <view class="list-button">
+                <button class="admin-button-com bule">分享</button>
+            </view>
+        </view>
+    </view>
+</template>
+<script>
+export default {
+	name: "workItem",
+	components: {
+	},
+	props: {
+      item: { 
+        required: true
+      }
+	},
+	data() {
+		return {
+		};
+	},
+	methods: {
+
+	}
+};
+</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;
+  }
+}
+.list-top,
+.list-bottom {
+    padding: 15upx 30upx;
+    border-bottom: 1upx solid $borderColor;
+    color: $fontColor3;
+    .freight-text {
+        margin-right: 60upx;
+    }
+}
+.list-bottom {
+    & > view {
+        @include disFlex(center, flex-end);
+    }
+    .list-button {
+        .admin-button-com {
+            margin-left: 20upx;
+        }
+    }
+}
+.order-top_box {
+  display: flex;
+  align-items: center;
+  padding: 20upx 30upx 20upx;
+  & > .tit {
+    flex: 8;
+    color: #333333;
+    font-size: 30upx;
+    font-weight: 650;
+    margin-left:2upx;
+  }
+  & > .other-book{
+    flex: 1.5;
+    text-align: center;
+    color: white;
+    border:1upx solid #657cac;
+    border-radius:30upx;
+    padding:5upx 10upx;
+    font-size:20upx;
+    background:#657cac;
+    margin-right:20upx;
+  }
+  & > .other-refund{
+    flex: 1.5;
+    text-align: center;
+    color: #ff2842;
+    border:1upx solid red;
+    border-radius:30upx;
+    padding:5upx 12upx;
+    font-size:20upx;
+    margin-right:20upx;
+  }
+  & > .other-status{
+    flex: 1;
+    text-align: center;
+    color: #ff2842;
+    border:1upx solid red;
+    border-radius:30upx;
+    padding:5upx 12upx;
+    font-size:20upx;
+    margin-right:20upx;
+  }
+  & > .status {
+    flex: 2;
+    text-align: right;
+    color: #ff2842;
+    &.buleColor {
+      color: #21664f;
+    }
+    &.greenColor {
+      color: #21664f;
+    }
+  }
+}
+.order-list_info {
+  width:94vw;
+  margin:0 auto;
+  padding: 15upx 10upx 30upx;
+  border-bottom: 1upx solid #eeeeee;
+  border-top: 1upx solid #eeeeee;
+  & > .order-info_box {
+    display: flex;
+    align-items: center;
+    font-size: 26upx;
+    font-weight: 400;
+    margin-bottom: 5upx;
+    & > view:nth-child(1) {
+      color: #999999;
+    }
+    & > view:nth-child(2) {
+      color: #333333;
+    }
+    & > .price {
+      flex: 1;
+      font-size: 30upx;
+      color: #333333;
+      display: flex;
+      align-items: center;
+      justify-content: flex-end;
+      & .iconxiangyou {
+        color: #999999;
+        font-size: 25upx;
+        margin-left: 12upx;
+      }
+    }
+  }
+}
+</style>

+ 195 - 0
hdApp/src/admin/ll/list.vue

@@ -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>

+ 6 - 0
hdApp/src/pages.json

@@ -24,6 +24,12 @@
 				{"path": "set","style": {"navigationBarTitleText": "设置"}}
 				{"path": "set","style": {"navigationBarTitleText": "设置"}}
 			]
 			]
 		},
 		},
+		{
+			"root": "admin/ll",
+			"pages": [
+				{"path": "list","style": {"navigationBarTitleText": "失信人员"}}
+			]
+		},
 		{
 		{
 			"root": "admin/ptItem",
 			"root": "admin/ptItem",
 			"pages": [
 			"pages": [