huang_an 2 rokov pred
rodič
commit
d4a98c704c

+ 17 - 31
pages.json

@@ -1,5 +1,6 @@
 {
-	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+	"pages": [
+		//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
 		{
 			"path": "pages/login/login",
 			"style": {
@@ -33,7 +34,7 @@
 			}
 		},
 		{
-			"path": "pages/home/work/work",
+			"path": "pages/home/myTicket/myTicket",
 			"style": {
 				"navigationBarTitleText": "我的工单",
 				"navigationStyle": "custom",
@@ -81,7 +82,7 @@
 				"navigationBarTextStyle": "white"
 			}
 		},
-		
+
 		// {
 		// 	"path": "pages/home/wt/components/feeApplication/taskForm",
 		// 	"style": {
@@ -90,7 +91,7 @@
 		// 		"navigationBarTextStyle": "white"
 		// 	}
 		// },
-		
+
 		{
 			"path": "pages/home/backlog/result",
 			"style": {
@@ -1129,8 +1130,7 @@
 			}
 		},
 
-
-		// mes 
+		// mes
 		{
 			"path": "pages/production/report/index",
 			"style": {
@@ -1343,7 +1343,6 @@
 				"navigationBarTitleText": "工单列表",
 				"navigationStyle": "custom",
 				"navigationBarTextStyle": "white"
-
 			}
 		},
 
@@ -1382,7 +1381,6 @@
 			}
 		},
 
-
 		{
 			"path": "pages/pda/picking/bill/index",
 			"style": {
@@ -1392,7 +1390,6 @@
 			}
 		},
 
-
 		{
 			"path": "pages/pda/material_return/index/index",
 			"style": {
@@ -1461,7 +1458,6 @@
 			}
 		},
 
-
 		{
 			"path": "pages/pda/feeding/bill/index",
 			"style": {
@@ -1478,9 +1474,6 @@
 			}
 		},
 
-
-
-
 		{
 			"path": "pages/pda/jobBooking/index/index",
 			"style": {
@@ -1545,27 +1538,19 @@
 			}
 		},
 		{
-			"path" : "pages/pda/outsourcing/index/index",
-			"style" : 
-			{
-				"navigationStyle" : "custom",
-				"navigationBarTextStyle" : "white"
+			"path": "pages/pda/outsourcing/index/index",
+			"style": {
+				"navigationStyle": "custom",
+				"navigationBarTextStyle": "white"
 			}
 		},
 		{
-			"path" : "pages/pda/turnover/index/quality",
-			"style" : 
-			{
-			   "navigationStyle" : "custom",
-				"navigationBarTextStyle" : "white"
+			"path": "pages/pda/turnover/index/quality",
+			"style": {
+				"navigationStyle": "custom",
+				"navigationBarTextStyle": "white"
 			}
 		}
-
-
-
-
-
-
 	],
 	"tabBar": {
 		"color": "#908f8f",
@@ -1573,7 +1558,8 @@
 		"borderStyle": "black",
 		"backgroundColor": "#ffffff",
 		"fontSize": "14px",
-		"list": [{
+		"list": [
+			{
 				"pagePath": "pages/home/home",
 				"iconPath": "static/tab/home.png",
 				"selectedIconPath": "static/tab/home_.png",
@@ -1602,4 +1588,4 @@
 	"app-plus": {
 		"softinputMode": "adjustPan"
 	}
-}
+}

+ 66 - 34
pages/home/components/KdCard/config.js

@@ -10,7 +10,8 @@ const urgent = {
 
 export default {
 	// 维修工单
-	repair: [{
+	repair: [
+		{
 			label: '紧急程度',
 			key: 'urgent',
 			formatter: formatter(urgent)
@@ -35,16 +36,16 @@ export default {
 			key: 'content'
 		}
 	],
-	
-	
+
 	// 保养
-	maintenance: [{
-			label: '保养名称',
+	maintenance: [
+		{
+			label: '名称',
 			key: 'planName'
 		},
 		{
 			label: '设备分类',
-			key: 'bizTypeName'
+			key: 'categoryName'
 		},
 		{
 			label: '规则名称',
@@ -56,13 +57,33 @@ export default {
 		}
 	],
 	// 巡点检
-	patrol: [{
-			label: '巡点检名称',
+	patrol: [
+		{
+			label: '名称',
 			key: 'planName'
 		},
 		{
 			label: '设备分类',
-			key: 'bizTypeName'
+			key: 'categoryName'
+		},
+		{
+			label: '规则名称',
+			key: 'ruleName'
+		},
+		{
+			label: '计划完成时间',
+			key: 'planFinishTime'
+		}
+	],
+	// 量具送检
+	quantity: [
+		{
+			label: '名称',
+			key: 'planName'
+		},
+		{
+			label: '设备分类',
+			key: 'categoryName'
 		},
 		{
 			label: '规则名称',
@@ -74,7 +95,8 @@ export default {
 		}
 	],
 	// 盘点
-	check: [{
+	check: [
+		{
 			label: '盘点名称',
 			key: 'planName'
 		},
@@ -96,7 +118,8 @@ export default {
 		}
 	],
 	// 维修报工 待办
-	backlog_repair: [{
+	backlog_repair: [
+		{
 			label: '维修工单号',
 			key: 'workOrderCode'
 		},
@@ -118,7 +141,8 @@ export default {
 		}
 	],
 	// 维修计划审批 待办
-	backlog_repairPlan: [{
+	backlog_repairPlan: [
+		{
 			label: '计划单号',
 			key: 'workOrderCode'
 		},
@@ -144,7 +168,8 @@ export default {
 	// 	{label: "申请人", key: ""},
 	// ],
 	// 保养计划审批 待办
-	backlog_maintenancePlan: [{
+	backlog_maintenancePlan: [
+		{
 			label: '计划单号',
 			key: 'workOrderCode'
 		},
@@ -175,7 +200,8 @@ export default {
 	// 	{label: "申请人", key: ""},
 	// ],
 	// 巡点检计划审批 待办
-	backlog_patrolPlan: [{
+	backlog_patrolPlan: [
+		{
 			label: '计划单号',
 			key: 'workOrderCode'
 		},
@@ -198,7 +224,8 @@ export default {
 		}
 	],
 	// 盘点工单验收
-	backlog_check: [{
+	backlog_check: [
+		{
 			label: '盘点单号',
 			key: 'workOrderCode'
 		},
@@ -214,19 +241,20 @@ export default {
 
 		{
 			label: '计划完成时间',
-			key: 'planTime',
+			key: 'planTime'
 		},
 		{
 			label: '实际完成时间',
-			key: 'workOrderTime',
-		},
+			key: 'workOrderTime'
+		}
 	],
 	// 盘点计划审批
-	backlog_checkPlan: [{
+	backlog_checkPlan: [
+		{
 			label: '计划单号',
 			key: 'workOrderCode'
 		},
-	
+
 		{
 			label: '盘点仓库',
 			key: 'equiTypeName'
@@ -237,15 +265,16 @@ export default {
 		},
 		{
 			label: '计划完成时长',
-			key: 'sendingTime',
-		},
+			key: 'sendingTime'
+		}
 	],
 	// 出库审批
-	backlog_OUT_WAREPlan: [{
+	backlog_OUT_WAREPlan: [
+		{
 			label: '出库单号',
 			key: 'workOrderCode'
 		},
-/* 		{
+		/* 		{
 			label: '来源类型',
 			key: 'sourceType'
 		}, */
@@ -263,11 +292,12 @@ export default {
 		}
 	],
 	// 入库申请
-	backlog_IN_WAREPlan: [{
+	backlog_IN_WAREPlan: [
+		{
 			label: '入库单号',
 			key: 'workOrderCode'
 		},
-/* 		{
+		/* 		{
 			label: '来源类型',
 			key: 'sourceType'
 		}, */
@@ -285,23 +315,24 @@ export default {
 		}
 	],
 	// 库存调拨
-	backlog_TRANSFERPlan: [{
+	backlog_TRANSFERPlan: [
+		{
 			label: '调拨单号',
 			key: 'workOrderCode'
 		},
 		{
 			label: '调拨类型',
 			key: 'transferType',
-			formatter:(val)=>{
-				switch (Number(val)){
+			formatter: val => {
+				switch (Number(val)) {
 					case 1:
 						return '库内调拨'
-						break;
+						break
 					case 2:
 						return '库外调拨'
-						break;
+						break
 					default:
-						break;
+						break
 				}
 			}
 		},
@@ -323,7 +354,8 @@ export default {
 		}
 	],
 	// 报损报溢 工单审批
-	backlog_REPORT_LOSS_OVERFLOW: [{
+	backlog_REPORT_LOSS_OVERFLOW: [
+		{
 			label: '报损报溢单号',
 			key: 'workOrderCode'
 		},
@@ -344,4 +376,4 @@ export default {
 			key: 'applicantName'
 		}
 	]
-}
+}

+ 160 - 171
pages/home/components/KdCard/index.vue

@@ -1,184 +1,173 @@
 <template>
-  <view class="kd-card">
-    <view class="card-title">
-      <view class="">
-        <text v-if="orderTitle" class="orderTitle">{{ orderTitle }}</text>
-        <text>{{ title }}</text>
-      </view>
-      <text
-        v-if="status"
-        class="status"
-        :class="statusList[item.status && item.status.descp]"
-      >
-        {{ item.status && item.status.descp }}
-      </text>
-    </view>
+	<view class="kd-card">
+		<view class="card-title">
+			<view class="">
+				<text v-if="orderTitle" class="orderTitle">{{ orderTitle }}</text>
+				<text>{{ title }}</text>
+			</view>
+			<text v-if="status" class="status" :class="statusList[item.status && item.status.descp]">
+				{{ item.status && item.status.descp }}
+			</text>
+		</view>
 
-    <view @click="handleDetail">
-      <view class="card-body">
-	
-        <view class="card-col" v-for="itm in colOptions">
-          <text class="label">{{ itm.label }}</text>
-	
-          <text class="content" v-if="itm.formatter">{{
-            itm.formatter(item[itm.key])
-          }}</text>
-          <text class="content" v-else>{{ item[itm.key] }}</text>
-        </view>
+		<view @click="handleDetail">
+			<view class="card-body">
+				<view class="card-col" v-for="itm in colOptions">
+					<text class="label">{{ itm.label }}</text>
 
-        <view
-          class="asset"
-          v-if="type == 'check'"
-          :style="dictOpt.asset[item.assetDict]"
-        >
-          {{ getDictValue('物品类型', item.assetDict) }}
-        </view>
-      </view>
-      <view class="card-footer">
-		 
-        查看详情<u-icon name="arrow-right"></u-icon>
-      </view>
-    </view>
-  </view>
+					<text class="content" v-if="itm.formatter">{{ itm.formatter(item[itm.key]) }}</text>
+					<text class="content" v-else>{{ item[itm.key] }}</text>
+				</view>
+
+				<view class="asset" v-if="type == 'check'" :style="dictOpt.asset[item.assetDict]">
+					{{ getDictValue('物品类型', item.assetDict) }}
+				</view>
+			</view>
+			<view class="card-footer">
+				查看详情
+				<u-icon name="arrow-right"></u-icon>
+			</view>
+		</view>
+	</view>
 </template>
 
 <script>
-import itemConfig from './config.js'
-import dictMixins from '@/mixins/dictMixins'
-export default {
-  mixins: [dictMixins],
-  props: {
-    title: String,
-    orderTitle: String,
-    item: {
-      type: Object,
-      default: () => ({})
-    },
-    type: {
-      type: String,
-      required: true
-    },
-    status: {
-      type: Boolean,
-      default: false
-    }
-  },
-  data () {
-    return {
-      statusList: {
-        待接收: 'text-danger',
-        待执行: 'text-danger',
-        执行中: 'text-warning',
-        未修复: 'text-normal'
-      },
-      dictOpt: {
-        asset: {
-          1: {
-            color: '#027DB4',
-            backgroundColor: '#def5ff'
-          },
-          2: {
-            color: '#B8741A',
-            backgroundColor: '#fef1e8'
-          },
-          3: {
-            color: '#A30014',
-            backgroundColor: '#f9e5e7'
-          },
-          4: {
-            color: 'green',
-            backgroundColor: '#67C23A'
-          },
-          5: {
-            color: '#a30014',
-            backgroundColor: '#F56C6C'
-          },
-          6: {
-            color: '#f56c6c',
-            backgroundColor: '#fbc4c4'
-          },
-          7: {
-            color: '#e6a23c',
-            backgroundColor: '#fdf6ec'
-          }
-        }
-      }
-    }
-  },
-  created () {
-    this.requestDict('物品类型')
-  },
+	import itemConfig from './config.js'
+	// import dictMixins from '@/mixins/dictMixins'
+	export default {
+		// mixins: [dictMixins],
+		props: {
+			title: String,
+			orderTitle: String,
+			item: {
+				type: Object,
+				default: () => ({})
+			},
+			type: {
+				type: String,
+				required: true
+			},
+			status: {
+				type: Boolean,
+				default: false
+			}
+		},
+		data() {
+			return {
+				statusList: {
+					待接收: 'text-danger',
+					待执行: 'text-danger',
+					执行中: 'text-warning',
+					未修复: 'text-normal'
+				},
+				dictOpt: {
+					asset: {
+						1: {
+							color: '#027DB4',
+							backgroundColor: '#def5ff'
+						},
+						2: {
+							color: '#B8741A',
+							backgroundColor: '#fef1e8'
+						},
+						3: {
+							color: '#A30014',
+							backgroundColor: '#f9e5e7'
+						},
+						4: {
+							color: 'green',
+							backgroundColor: '#67C23A'
+						},
+						5: {
+							color: '#a30014',
+							backgroundColor: '#F56C6C'
+						},
+						6: {
+							color: '#f56c6c',
+							backgroundColor: '#fbc4c4'
+						},
+						7: {
+							color: '#e6a23c',
+							backgroundColor: '#fdf6ec'
+						}
+					}
+				}
+			}
+		},
+		// created () {
+		//   this.requestDict('物品类型')
+		// },
 
-  computed: {
-    colOptions () {
-      return (
-        itemConfig[this.item.workOrderType?.code == 10 ? 'planWx': this.type] || [
-          { label: '单号', key: 'workOrderCode' },
-          { label: '申请人', key: 'applicantName' },
-          { label: '申请时间', key: 'createTime' }
-        ]
-      )
-    }
-  },
-  methods: {
-    handleDetail () {
-      this.$emit('handleDetail', this.item)
-    }
-  }
-}
+		computed: {
+			colOptions() {
+				return (
+					itemConfig[this.item.workOrderType?.code == 10 ? 'planWx' : this.type] || [
+						{ label: '单号', key: 'workOrderCode' },
+						{ label: '申请人', key: 'applicantName' },
+						{ label: '申请时间', key: 'createTime' }
+					]
+				)
+			}
+		},
+		methods: {
+			handleDetail() {
+				this.$emit('handleDetail', this.item)
+			}
+		}
+	}
 </script>
 
 <style lang="scss" scoped>
-.kd-card {
-  font-size: 34rpx;
-  color: #333;
-  background-color: #fff;
-  border-radius: 8rpx;
-  word-break: break-all;
-  .status {
-    font-weight: normal;
-  }
-  .card-title {
-    font-weight: bold;
-  }
-  .card-footer,
-  .card-title {
-    display: flex;
-    justify-content: space-between;
-    padding: 12rpx 16rpx;
-  }
+	.kd-card {
+		font-size: 34rpx;
+		color: #333;
+		background-color: #fff;
+		border-radius: 8rpx;
+		word-break: break-all;
+		.status {
+			font-weight: normal;
+		}
+		.card-title {
+			font-weight: bold;
+		}
+		.card-footer,
+		.card-title {
+			display: flex;
+			justify-content: space-between;
+			padding: 12rpx 16rpx;
+		}
 
-  .card-body {
-    padding: 0 28rpx;
-    border-top: 1rpx solid #f2f2f2;
-    border-bottom: 1rpx solid #f2f2f2;
-    position: relative;
-    .asset {
-      position: absolute;
-      top: 10rpx;
-      right: 20rpx;
-      padding: 4rpx 8rpx;
-    }
-    .card-col {
-      padding: 8rpx 0;
-      display: flex;
+		.card-body {
+			padding: 0 28rpx;
+			border-top: 1rpx solid #f2f2f2;
+			border-bottom: 1rpx solid #f2f2f2;
+			position: relative;
+			.asset {
+				position: absolute;
+				top: 10rpx;
+				right: 20rpx;
+				padding: 4rpx 8rpx;
+			}
+			.card-col {
+				padding: 8rpx 0;
+				display: flex;
 
-      // line-height: ;
-      .label {
-        display: inline-block;
-        width: 6em;
-        color: #555;
-        text-align: right;
-        margin-right: 14rpx;
-      }
-      .content {
-        flex: 1;
-      }
-    }
-  }
-}
-.orderTitle {
-  color: #4b7902;
-  margin-right: 10rpx;
-}
+				// line-height: ;
+				.label {
+					display: inline-block;
+					width: 6em;
+					color: #555;
+					text-align: right;
+					margin-right: 14rpx;
+				}
+				.content {
+					flex: 1;
+				}
+			}
+		}
+	}
+	.orderTitle {
+		color: #4b7902;
+		margin-right: 10rpx;
+	}
 </style>

+ 22 - 21
pages/home/myTicket/myTicket.vue

@@ -77,24 +77,24 @@
 					}
 				],
 				tabList: [
-					{
-						name: '维修工单',
-						type: 'repair',
-						workOrderType: 3,
-						url: `/pages/maintain_service/detail/detail?`,
-						badge: {
-							value: 0
-						}
-					},
-					{
-						name: '计划维修工单',
-						type: 'repair',
-						workOrderType: 4,
-						url: `/pages/maintain_service/detail/detail?`,
-						badge: {
-							value: 0
-						}
-					},
+					// {
+					// 	name: '维修工单',
+					// 	type: 'repair',
+					// 	workOrderType: 3,
+					// 	url: `/pages/maintain_service/detail/detail?`,
+					// 	badge: {
+					// 		value: 0
+					// 	}
+					// },
+					// {
+					// 	name: '计划维修工单',
+					// 	type: 'repair',
+					// 	workOrderType: 4,
+					// 	url: `/pages/maintain_service/detail/detail?`,
+					// 	badge: {
+					// 		value: 0
+					// 	}
+					// },
 					{
 						name: '保养工单',
 						type: 'maintenance',
@@ -115,7 +115,7 @@
 					},
 					{
 						name: '量具送检工单',
-						type: 'check',
+						type: 'quantity',
 						workOrderType: 5,
 						url: `/pages/quantity/detail/detail?`,
 						badge: {
@@ -123,7 +123,7 @@
 						}
 					}
 				],
-				activeType: 'repair',
+				activeType: 'maintenance',
 				activeIndex: 0,
 				dataList: [],
 				moreSearch: false,
@@ -237,7 +237,7 @@
 				},
 				searchFrom: {
 					code: '',
-					status: ''
+					orderStatus: ''
 				},
 				page: 1
 			}
@@ -329,6 +329,7 @@
 						} else {
 							this.dataList = []
 						}
+						console.log(this.dataList)
 						uni.hideLoading()
 					})
 					.catch(() => {

+ 32 - 51
pages/index/index.vue

@@ -1,15 +1,12 @@
 <template>
 	<view>
-		<uni-nav-bar fixed="true" statusBar="true" title="工作中心" right-icon="scan" @clickRight="HandlScanCode">
-
-		</uni-nav-bar>
+		<uni-nav-bar fixed="true" statusBar="true" title="工作中心" right-icon="scan" @clickRight="HandlScanCode"></uni-nav-bar>
 		<view>
-			<CellTip title="生产管理" v-if='productionList.length > 0'></CellTip>
+			<CellTip title="生产管理" v-if="productionList.length > 0"></CellTip>
 			<view class="nav">
 				<view class="nav-content">
-					<view class="nav-item" v-for="(item) in productionList" :key="item.link_url"
-						@click="toNav(item.path)">
-						<span :class="'iconfont '  + item.icon"></span>
+					<view class="nav-item" v-for="item in productionList" :key="item.link_url" @click="toNav(item.path)">
+						<span :class="'iconfont ' + item.icon"></span>
 						<label>{{ item.title }}</label>
 						<label>{{ item.num }}</label>
 					</view>
@@ -33,11 +30,11 @@
       </view>
     </view> -->
 		<view>
-			<CellTip title="运维管理" v-if='operationsList.length > 0'></CellTip>
+			<CellTip title="运维管理" v-if="operationsList.length > 0"></CellTip>
 			<view class="nav">
 				<view class="nav-content">
-					<view class="nav-item" v-for="(item, index) in operationsList" @click="toNav(item.link_url)">
-						<span :class="item.class"></span>
+					<view class="nav-item" v-for="(item, index) in operationsList" @click="toNav(item.path)">
+						<span :class="'iconfont ' + item.icon"></span>
 						<label>{{ item.title }}</label>
 						<label>{{ item.num }}</label>
 					</view>
@@ -45,7 +42,7 @@
 			</view>
 		</view>
 		<view>
-			<CellTip title="仓储管理" v-if='warehousingList.length > 0'></CellTip>
+			<CellTip title="仓储管理" v-if="warehousingList.length > 0"></CellTip>
 
 			<view class="nav">
 				<view class="nav-content">
@@ -78,17 +75,16 @@
 </template>
 
 <script>
-	import CellTip from "@/components/CellTip.vue";
+	import CellTip from '@/components/CellTip.vue'
 	export default {
 		components: {
-			CellTip,
+			CellTip
 		},
 		data() {
 			return {
-				src1: "https://cdn.uviewui.com/uview/album/1.jpg",
+				src1: 'https://cdn.uviewui.com/uview/album/1.jpg',
 				//生产类
 				productionList: [
-
 					// {
 					// 	class: "iconfont icon-gongdanguanli",
 					// 	title: "生产工单",
@@ -99,13 +95,11 @@
 					// 	title: "领料",
 					// 	link_url: "/pages/pda/picking/index/index",
 					// },
-
 					// {
 					// 	class: "iconfont icon-gongdanguanli",
 					// 	title: "投料",
 					// 	link_url: "/pages/pda/feeding/index/index",
 					// },
-
 					// {
 					// 	class: "iconfont icon-gongdanguanli",
 					// 	title: "退料",
@@ -116,27 +110,21 @@
 					// 	title: "不合格品处置",
 					// 	link_url: "/pages/pda/nonconforming/index/index",
 					// },
-
 					// {
 					// 	class: "iconfont icon-gongdanguanli",
 					// 	title: "副产品回收",
 					// 	link_url: "/pages/pda/by_product_recovery/index/index",
 					// },
-
 					// {
 					// 	class: "iconfont icon-gongdanguanli",
 					// 	title: "工单交接",
 					// 	link_url: "/pages/pda/work_order_handover/index/index",
 					// },
-
 					// {
 					// 	class: "iconfont icon-gongdanguanli",
 					// 	title: "工单详情",
 					// 	link_url: "/pages/pda/work_order_details/index/index",
 					// },
-
-
-
 					// {
 					//   class: "iconfont icon-gongdanguanli",
 					//   title: "生产报工",
@@ -183,9 +171,9 @@
 				//   // },
 				// ],
 				//仓储管理
-			
+
 				warehousingList: [
-				/*
+					/*
 					{
 						class: "iconfont icon-wuliaoruku",
 						title: "入库管理",
@@ -254,7 +242,7 @@
 					}, 
 					*/
 				],
-				
+
 				//运维类
 				operationsList: [
 					/*	{
@@ -269,7 +257,6 @@
 							link_url: "/pages/maintenance/order/order",
 							//"num": 23
 						},
-
 						{
 							class: "iconfont icon-weixiugongdan",
 							title: "维修工单",
@@ -288,7 +275,6 @@
 							link_url: "/pages/repair/order/order",
 							//"num": 1
 						},*/
-
 					/* {
 		  class: 'iconfont icon-wuliaoruku',
 		  title: '入库登记',
@@ -303,28 +289,26 @@
 		}, */
 				],
 
-
 				treeList: []
-			};
+			}
 		},
 		created() {
 			this.getTree()
-
-
 		},
 		methods: {
 			getTree() {
-				let _list = uni.getStorageSync('treeList');
+				let _list = uni.getStorageSync('treeList')
 				let list = JSON.parse(_list) || []
-			
-
+				console.log('-----------list--------------')
+				console.log(list)
 				if (list[0] && list[0].children.length > 0) {
-					 list[0].children.forEach(f => {
-					if (f.path == "productionManage") {
-						this.productionList = f.children
-						
-					
-					}
+					list[0].children.forEach(f => {
+						if (f.path == 'productionManage') {
+							this.productionList = f.children
+						} else if (f.path == 'operationsList') {
+							this.operationsList = f.children
+							console.log(this.operationsList)
+						}
 					})
 				}
 			},
@@ -332,29 +316,26 @@
 			toNav(url) {
 				console.log(url)
 				uni.navigateTo({
-					url: url,
-				});
+					url: url
+				})
 			},
 			HandlScanCode() {
-
-
 				let _this = this
 				uni.scanCode({
-					success: function(res) {
+					success: function (res) {
 						_this.scantoRouter(res.result)
 					}
 				})
-
 			},
 			scantoRouter(result) {
 				uni.navigateTo({
 					url: `/pages/pda/workOrder/extrusionMolding/index?id=${result}`
 				})
 			}
-		},
-	};
+		}
+	}
 </script>
 
 <style lang="scss" scoped>
-	@import "index.scss";
-</style>
+	@import 'index.scss';
+</style>