gx
queenwuli
2021-01-07 9a025af56e141b416d3216af379d270c1285d42c
hive-app/pages/workbench/serviceOrderList.vue
@@ -42,7 +42,7 @@
                     </view>
                     
                  </view>
                  <view class="flex flex-v right">
                  <view class="flex flex-v right" style="flex: 0 0 70px;">
                     <text class="gray mb-5">{{item.timeLength}}分钟</text>
                     <text class="gray mt-5" v-for="(op, index) in item.projs">{{op.beautyName || '-'}}</text>
                     <text class="mt-10" :class="item.status==7 || item.status==8?'gray':'blue'">{{item.status | formatStatus}}</text>
@@ -91,7 +91,11 @@
            },
            {
               state: 1,
               name: '待预约'
               name: '待确认'
            },
            {
               state: 8,
               name: '待排班'
            },
            {
               state: 2,
@@ -121,6 +125,13 @@
         this.loadList();
         this.userId = this.$httpUtils.getRoleInfo().id;
      },
      onNavigationBarButtonTap(Object){
         if(Object.key === 'add'){
            uni.navigateTo({
               url: './selectCustomer?type=2'
            })
         }
      },
      methods:{
         loadList(){
            this.$httpUtils.request('/api/serviceOrder/findServiceOrderList', {