Jelajahi Sumber

2022-03-10 22:44

王克恕 3 tahun lalu
induk
melakukan
d380dc7ce7

+ 5 - 5
imcs-ui/src/views/zuihou/runManageCenter/orderMgr/components/runningOrder/components/PprogTask.vue

@@ -24,7 +24,7 @@
 	      	style="width: 100%;"
 	    >
 	    	<!-- 基础信息 -->
-	    	<el-table-column :label='$t("runCenter.table.oderTask.baseInfo")' align="center" width="555px" fixed>
+	    	<el-table-column :label='$t("runCenter.table.oderTask.baseInfo")' align="center" width="555px" fixed resizable="false">
 	    		<!-- 序号 -->
 		    	<el-table-column :label='$t("common.serialNo")' width="55px" align="center">
 			      <template slot-scope="scope">
@@ -89,14 +89,14 @@
 		      	<!-- 产品 -->
 		     	<el-table-column prop="bomDesc" :label='$t("runCenter.table.schedul.bomDesc")' :show-overflow-tooltip="true" width="100px"></el-table-column>
 		      	<!-- 工序号 -->
-		      	<el-table-column prop="procedureNo" :label='$t("runCenter.table.schedul.procedureNo")' :show-overflow-tooltip="true" width="100px"></el-table-column>
+		      	<el-table-column prop="procedureNo" :label='$t("runCenter.table.schedul.procedureNo")' :show-overflow-tooltip="true" width="70px"></el-table-column>
 		      	<!-- 生产资源 -->
-		      	<el-table-column prop="resourceDesc" :label='$t("runCenter.table.schedul.resourceDesc")' :show-overflow-tooltip="true" width="100px"></el-table-column>
+		      	<el-table-column prop="resourceDesc" :label='$t("runCenter.table.schedul.resourceDesc")' :show-overflow-tooltip="true" width="130px"></el-table-column>
 	      	</el-table-column>
 	      	<!-- 开始时间 -->
-	     	<el-table-column prop="expectStartTime" :label='$t("runCenter.table.oderTask.expectStartTime")' width="150px"></el-table-column>
+	     	<el-table-column prop="expectStartTime" :label='$t("runCenter.table.oderTask.expectStartTime")' width="150px" :resizable="false"></el-table-column>
 	      	<!-- 预计结束时间 -->
-	      	<el-table-column prop="expectEndTime" :label='$t("runCenter.table.oderTask.expectEndTime")' width="150px"></el-table-column>
+	      	<el-table-column prop="expectEndTime" :label='$t("runCenter.table.oderTask.expectEndTime")' width="150px" :resizable="false"></el-table-column>
 	      	<!-- 动态加的表头数据 -->
 	      	<el-table-column v-for="item in daysTitle" :key="item.id" :label="item.text" align="center">
 		      	<el-table-column v-for="(day, index) in item.children" :key="day.id" :prop="day.field" :label="day.text.toString()" align="center" class-name="dateColumnCls">

+ 9 - 2
imcs-ui/src/views/zuihou/runManageCenter/orderMgr/components/runningOrder/components/ProductionProgramme.vue

@@ -15,7 +15,6 @@
 
     <!-- 功能按钮 -->
     <el-row
-      v-if="type != 'view'"
       class="posionDiv"
     >
       <el-col align="right">
@@ -218,7 +217,15 @@ export default {
     },
     // 【一键生产】按钮-事件
     oneProdBtn(){
-    	orderMgrApi.confirmSchedule({planIds:this.tenant.planIds, orderList: this.tenant.orderList}).then(res => {
+    	let obj = {
+    		orderList: this.tenant.orderList
+    	}
+    	if(this.type == 'view') {
+    		obj.planId = this.tenant.id;
+    	} else {
+    		obj.planIds = this.tenant.planIds;
+    	}
+    	orderMgrApi.confirmSchedule(obj).then(res => {
     		res = res.data
     		console.log("【一键生产】按钮: ", res)
     		if(res.isSuccess){

+ 478 - 0
imcs-ui/src/views/zuihou/runManageCenter/productionScheduling/components/MyDraw.vue

@@ -0,0 +1,478 @@
+<template>
+  <el-dialog
+  	:close-on-click-modal="false"
+  	:close-on-press-escape="false"
+  	:title="title"
+  	:append-to-body="true"
+  	:visible.sync="isVisible"
+  	width="960px"
+  	top="50px"
+  >
+    <el-form ref="form" :model="tenant" :rules="rules" label-position="right" label-width="130px">
+    	<div class="filter-container">
+	    	<!--<span>
+	    		<span>{{$t("prepare.searchForm.productName")}}:</span>
+	    		<el-input v-model="queryParams.model.name" :placeholder='$t("common.pleaseEnter")' style="width: 150px;" size="medium"/>
+	    	</span>
+	      <span style="margin-left: 15px;">
+	    		<span>{{$t("prepare.searchForm.model")}}:</span>
+	    		<el-input v-model="queryParams.model.model" :placeholder='$t("common.pleaseEnter")' style="width: 150px;" size="medium"/>
+	    	</span>
+	      <span style="margin-left: 15px;">
+		      <el-button plain type="primary" icon="el-icon-search" size="medium" @click="search">
+		        {{ $t("table.search") }}
+		      </el-button>
+		      <el-button plain type="warning" icon="el-icon-refresh" size="medium" @click="reset">
+		        {{ $t("table.reset") }}
+		      </el-button>
+	      </span>-->
+	      <!-- 增加抽检 -->
+	      <el-button type="primary" icon="el-icon-plus" size="medium" @click="addChoujian()">
+		        {{ $t("runCenter.common.addBtn") }}
+		      </el-button>
+    	</div>
+
+	    <!-- 列表数据
+	    	:expand-row-keys="expands"
+	      :tree-props="{children: 'children', hasChildren: 'hasChildren'}"
+	      row-key="id"
+	    -->
+	    <el-table
+	      :key="tableKey"
+	      ref="table"
+	      v-loading="loading"
+	      :data="tableData.records"
+	      border
+	      fit
+	      highlight-current-row
+	      style="width: 100%;"
+	      @selection-change="onSelectChange"
+	      @cell-click="cellClick"
+	    >
+	    	<el-table-column type="expand">
+	    		<template slot-scope="scope">
+	    			<div style="margin: 0 48px;">
+		    			<el-table
+						    :data="scope.row.children"
+						    style="width: 100%;margin-bottom: 20px;"
+						    border
+						 	>
+						 		<!-- 工序号 -->
+				        <el-table-column
+				          prop="id"
+				          :label="$t(&quot;runCenter.table.orderSldPro.partsNo&quot;)"
+				          align="center"
+				          :show-overflow-tooltip="true"
+				        >
+				          <template slot-scope="{ row }">
+				            <span>{{ row.id }}</span>
+				          </template>
+				        </el-table-column>
+				        <!-- 工序名称 -->
+				        <el-table-column
+				          prop="name"
+				          :label="$t(&quot;runCenter.table.orderSldPro.bomAlias&quot;)"
+				          align="center"
+				          :show-overflow-tooltip="true"
+				        />
+						 	</el-table>
+					 	</div>
+	    		</template>
+	    	</el-table-column>
+	      <el-table-column align="center" type="selection" width="40px" :reserve-selection="true" />
+	      <!-- 零件唯一码 -->
+        <el-table-column
+          prop="id"
+          :label="$t(&quot;runCenter.table.orderSldPro.partsNo&quot;)"
+          align="center"
+          :show-overflow-tooltip="true"
+          width="150px"
+        >
+          <template slot-scope="{ row }">
+            <span>{{ row.id }}</span>
+          </template>
+        </el-table-column>
+        <!-- 零件名称 -->
+        <el-table-column
+          prop="name"
+          :label="$t(&quot;runCenter.table.orderSldPro.name&quot;)"
+          align="center"
+        />
+        <!-- 零部件编号 -->
+        <el-table-column
+          prop="address"
+          :label="$t(&quot;runCenter.table.orderSldPro.partsAlias&quot;)"
+          align="center"
+          width="150px"
+        />
+        <!-- 数量 -->
+        <el-table-column
+          prop="name"
+          :label="$t(&quot;runCenter.table.orderSldPro.bomAlias&quot;)"
+          align="center"
+          :show-overflow-tooltip="true"
+          width="120px"
+        />
+        <!-- 计划开始日期 -->
+        <el-table-column
+          prop="date"
+          :label="$t(&quot;runCenter.table.orderSldPro.bomAlias&quot;)"
+          align="center"
+          :show-overflow-tooltip="true"
+          width="120px"
+        />
+        <!-- 计划完成日期 -->
+        <el-table-column
+          prop="date"
+          :label="$t(&quot;runCenter.table.orderSldPro.bomAlias&quot;)"
+          align="center"
+          :show-overflow-tooltip="true"
+          width="120px"
+        />
+        
+	    </el-table>
+
+	    <!-- 【分页组件】-->
+	    <pagination
+	      v-show="tableData.total > 0"
+	      :limit.sync="queryParams.size"
+	      :page.sync="queryParams.current"
+	      :total="Number(tableData.total)"
+	      @pagination="fetch"
+	    />
+
+    </el-form>
+    <div slot="footer" class="dialog-footer">
+      <el-button plain type="warning" @click="isVisible = false">{{ $t('common.cancel') }}</el-button>
+      <el-button plain type="primary" :disabled="confirmDisabled" @click="submitForm">{{ $t('common.confirm') }}</el-button>
+    </div>
+  </el-dialog>
+</template>
+<script>
+// 【夹具管理】-API
+import trayMgrApi from "@/api/prepareProductMgr/trayMgr"
+// 【分页】组件
+import Pagination from "@/components/Pagination"
+// 【BOM管理】-API
+import bomMgrApi from "@/api/prepareProductMgr/bomMgr"
+// 【共通】函数
+import { initQueryParams } from '@/utils/commons'
+export default {
+  name: 'MyDraw',
+  components: { Pagination },
+  props: {
+    dialogVisible: {
+      type: Boolean,
+      default: false
+    },
+    title: {
+      type: String,
+      default: ''
+    }
+  },
+  data () {
+    return {
+    	expands: [], // 展开行的key
+    	qiyongStatus: [], //状态
+    	statusList: [], // 启用状态
+    	queryParams: initQueryParams({}),
+    	selection: [],
+    	loading: false,
+    	tableKey: 0,
+      type: 'add',
+      tableData: {
+        total: 0
+      },
+      tenant: this.initTenant(),
+      screenWidth: 0,
+      width: this.initWidth(),
+      confirmDisabled: false,
+      roles: [],
+      rules: {
+        name: [
+        	{ required: true, message: this.$t("rules.require"), trigger: 'blur' }
+        ]
+      }
+    }
+  },
+  // 实例已经在内存中创建好,此时data和methods已将ok,如果要操作data中的数据或是调用methods中的方法,最早只能在created中操作
+  created() {
+  	// 加载列表数据
+  	this.fetch()
+  	// 调用常量-初始化值
+  	this.qiyongStatus = this.$constWKS.AUDIOLIST;
+  	this.statusList = this.$constWKS.STATUSORTHERLIST;
+	},
+  computed: {
+    isVisible: {
+      get () {
+        return this.dialogVisible
+      },
+      set () {
+        this.close()
+        this.reset()
+      }
+    }
+  },
+  mounted () {
+    window.onresize = () => {
+      return (() => {
+        this.width = this.initWidth()
+      })()
+    }
+  },
+  methods: {
+  	// 【新增】按钮-事件
+    addRes(){
+      this.tableData.push({
+      	key: "WKS_"+ Math.random(),
+      	id: '',
+      	positionSort: this.tableData.length + 1,
+      	size: '',
+      	remark: '',
+      	isEdit: true
+      })
+    },
+    // 【搜索】按钮-事件
+    search () {
+      this.fetch({
+        ...this.queryParams
+      })
+    },
+    // Table的选择事件
+    onSelectChange (selection) {
+      this.selection = selection
+    },
+    cellClick (row, column) {
+      if (column['columnKey'] === "operation") {
+        return
+      }
+      let flag = false
+      this.selection.forEach((item) => {
+        if (item.id === row.id) {
+          flag = true
+          this.$refs.table.toggleRowSelection(row)
+        }
+      })
+
+      if (!flag) {
+        this.$refs.table.toggleRowSelection(row, true)
+      }
+    },
+    // 【删除】按钮事件
+    singleDelete(row){
+    	this.$confirm(this.$t("tips.comTips"), this.$t("common.tips"), {
+      	distinguishCancelAndClose: true,
+        confirmButtonText: this.$t("common.confirm"),
+        cancelButtonText: this.$t("common.cancel"),
+        type: "warning"
+      }).then(() => {
+      	// 过滤符合条件的数据
+      	let arr = this.tableData.filter(item => item.key != row.key || item.id != row.id)
+      	// 给数据排序
+    		arr.forEach((item, index) => {
+    			item.positionSort = index + 1
+    		})
+      	// 给新的数据赋值
+    		this.tableData = arr;
+
+      }).catch(() => {})
+    },
+    // 【修改】按钮事件
+    edit(row){
+    	let list = new Array();
+    	this.tableData.forEach((item, index) => {
+    		// 当前编辑行
+    		if(!!item.id && item.id == row.id){
+    			item.isEdit = true
+    		}
+    		list.push(item)
+    	})
+    	// 赋值给当前
+    	this.tableData = list
+    },
+    initTenant () {
+      return {
+      	model: '',
+        name: '',
+        category: {
+          key: ''
+        },
+        brand: {
+          key: ''
+        },
+        status: '1'
+      }
+    },
+    initWidth () {
+      this.screenWidth = document.body.clientWidth
+      if (this.screenWidth < 991) {
+        return '90%'
+      } else if (this.screenWidth < 1400) {
+        return '45%'
+      } else {
+        return '800px'
+      }
+    },
+    setTenant (val) {
+    	if(val){
+    		this.tenant = { ...val }
+    	}
+    },
+    close () {
+      this.$emit('close')
+    },
+    
+    // 【重置】按钮-事件
+    reset () {
+    	// 初始化表单
+      this.queryParams = initQueryParams({})
+      // 清空列表选中的数据
+      this.$refs.table.clearSelection()
+    },
+    
+    submitForm () {
+    	this.selection.forEach(item => {
+    		// 页面需要参数: bomId
+    		item.bomId = item.id
+    	})
+    	// 把选择的数据提交到父组件
+    	this.$emit("success", this.selection)
+    	// 关闭弹出框
+    	this.isVisible = false
+    },
+    
+    save () {
+      trayMgrApi.save(this.tenant)
+        .then((response) => {
+          const res = response.data
+          if (res.isSuccess) {
+            this.isVisible = false
+            this.$message({
+              message: this.$t('tips.createSuccess'),
+              type: 'success'
+            })
+            // 通知列表
+	          this.$emit("success");
+	          // 通知列表-并关闭弹出框
+	          this.$emit("close");
+          }
+        }).finally(() => {
+          this.confirmDisabled = false
+          return true
+        })
+    },
+    
+    update () {
+      trayMgrApi.update(this.tenant)
+        .then((response) => {
+          const res = response.data
+          if (res.isSuccess) {
+            this.isVisible = false
+            this.$message({
+              message: this.$t('tips.updateSuccess'),
+              type: 'success'
+            })
+            // 通知列表
+	          this.$emit("success");
+	          // 通知列表-并关闭弹出框
+	          this.$emit("close");
+          }
+        }).finally(() => {
+          this.confirmDisabled = false
+          return true
+        })
+    },
+    
+    // 新增抽检-按钮事件
+    addChoujian() {
+    	console.log("新增抽检-按钮事件:");
+    },
+    
+    // 获取列表数据-函数
+    fetch (params = {}) {
+      this.loading = true
+
+			// 分页信息
+      this.queryParams.current = params.current ? params.current : this.queryParams.current
+      this.queryParams.size = params.size ? params.size : this.queryParams.size
+			// 必须传的参数
+			this.queryParams.audit_status = '2'
+			// 测试数据,真实数据,请使用page
+      bomMgrApi.page(this.queryParams).then(response => {
+      	const res = response.data
+        console.log("列表的数据111122233:", res)
+        if (res.isSuccess) {
+        	// 总数
+        	this.tableData.total = 4;
+        	// 数据
+        	this.tableData.records = [{
+		          id: 1,
+		          date: '2016-05-02',
+		          name: '王小虎',
+		          address: '上海市普陀区金沙江路 1518 弄'
+		        }, {
+		          id: 2,
+		          date: '2016-05-04',
+		          name: '王小虎',
+		          address: '上海市普陀区金沙江路 1517 弄'
+		        }, {
+		          id: 3,
+		          date: '2016-05-01',
+		          name: '王小虎',
+		          address: '上海市普陀区金沙江路 1519 弄',
+		          children: [{
+		              id: 31,
+		              date: '2016-05-01',
+		              name: '王小虎',
+		              address: '上海市普陀区金沙江路 1519 弄'
+		            }, {
+		              id: 32,
+		              date: '2016-05-01',
+		              name: '王小虎',
+		              address: '上海市普陀区金沙江路 1519 弄'
+		          }]
+		        }, {
+		          id: 4,
+		          date: '2016-05-03',
+		          name: '王小虎',
+		          address: '上海市普陀区金沙江路 1516 弄'
+		        }];
+        }
+        // eslint-disable-next-line no-return-assign
+      }).finally(() => this.loading = false)
+
+    },
+  }
+}
+</script>
+<style lang="scss" >
+.avatar-uploader .el-upload {
+  border: 1px dashed #d9d9d9;
+  border-radius: 6px;
+  cursor: pointer;
+  position: relative;
+  overflow: hidden;
+}
+.avatar-uploader .el-upload:hover {
+  border-color: #409eff;
+}
+.avatar-uploader-icon {
+  font-size: 28px;
+  color: #8c939d;
+  width: 100px;
+  height: 100px;
+  line-height: 100px;
+  text-align: center;
+}
+.avatar {
+  width: 100px;
+  height: 100px;
+  display: block;
+}
+.checkUsed{
+	display: inline-block;
+	margin-left: 10px;
+	color: #1890ff;
+}
+</style>

+ 344 - 294
imcs-ui/src/views/zuihou/runManageCenter/productionScheduling/components/SchedPlan.vue

@@ -1,295 +1,345 @@
-<template>
-	<div class="tabDiv">
-		<!--<p>共2个订单,5个计划</p>-->
-	    <el-table
-	      :key="tableKey"
-	      ref="table"
-	      v-loading="loading"
-	      :data="tableData.records"
-	      border
-	      fit
-	      row-key="id"
-	      style="width: 100%;"
-	    >
-	    	<el-table-column :label='$t("common.serialNo")' width="55px" align="center">
-		      <template slot-scope="scope">
-		        <div>
-		          {{scope.$index+(queryParams.current - 1) * queryParams.size + 1}}
-		        </div>
-		      </template>
-	      	</el-table-column>
-	      	<!-- 订单编号 -->
-		    <el-table-column prop="orderNo" :label='$t("runCenter.table.plan.orderNo")' :show-overflow-tooltip="true" width="170"></el-table-column>
-		    <!-- 计划编号 -->
-		    <el-table-column prop="planNo" :label='$t("runCenter.table.plan.planNo")' :show-overflow-tooltip="true" width="150"></el-table-column>
-		    <!-- 计划开始日期 -->
-		      <el-table-column prop="startTime" :label='$t("runCenter.table.plan.planStart")' :show-overflow-tooltip="true" width="160"></el-table-column>
-		      <!-- 计划完成日期 -->
-		      <el-table-column prop="endTime" :label='$t("runCenter.table.plan.planEnd")' :show-overflow-tooltip="true" width="160"></el-table-column>
-		      <!-- 产品 -->
-		      <el-table-column prop="bomDesc" :label='$t("runCenter.table.plan.bomName")' :show-overflow-tooltip="true" width="150"></el-table-column>
-		      <!-- 数量 -->
-		      <el-table-column prop="planBomNum" :label='$t("runCenter.table.plan.planNums")' :show-overflow-tooltip="true" width="120"></el-table-column>
-		      <!-- 计划状态 -->
-		      <el-table-column prop="planStatus" :label='$t("runCenter.table.plan.planStatus")' :show-overflow-tooltip="true" width="120" align="center">
-		        <template slot-scope="{ row }">
-			      	<el-tag v-if="row.planStatus == '1'" type="info">{{$t("runCenter.common.planStatus.one")}}</el-tag>
-					<el-tag v-if="row.planStatus == '2'" type="">{{$t("runCenter.common.planStatus.two")}}</el-tag>
-					<el-tag v-if="row.planStatus == '3'" type="success">{{$t("runCenter.common.planStatus.three")}}</el-tag>
-				</template>
-		      </el-table-column>
-		      <!-- 计划进度 -->
-		      <el-table-column prop="process" :label='$t("runCenter.table.plan.planProgress")' :show-overflow-tooltip="true" width="200">
-		      	<template slot-scope="scope">
-				  		<!--<el-progress v-if="scope.row.jindu <= 25" :text-inside="true" :stroke-width="24" :percentage="scope.row.jindu" status="exception"></el-progress>
-				  		<el-progress v-if="scope.row.jindu > 25 && scope.row.jindu <= 50" :text-inside="true" :stroke-width="24" :percentage="scope.row.jindu" status="warning"></el-progress>-->
-				  		<el-progress :text-inside="true" :stroke-width="24" :percentage="scope.row.process"></el-progress>
-				  		<!--<el-progress v-if="scope.row.jindu > 80" :text-inside="true" :stroke-width="24" :percentage="scope.row.jindu" status="success"></el-progress>-->
-				  	</template>
-		      </el-table-column>
-		      <!-- 排产 -->
-		      <el-table-column prop="schedulingStatus" :label='$t("runCenter.table.plan.schedulingStatus")' :show-overflow-tooltip="true" width="120" align="center">
-		      	<template slot-scope="{ row }">
-			      	<el-tag v-if="row.schedulingStatus == '1'" type="info">{{$t("runCenter.common.schedulingStatus.noStart")}}</el-tag>
-							<el-tag v-if="row.schedulingStatus == '2'">{{$t("runCenter.common.schedulingStatus.run")}}</el-tag>
-							<el-tag v-if="row.schedulingStatus == '3'" type="success">{{$t("runCenter.common.schedulingStatus.finished")}}</el-tag>
-						</template>
-		      </el-table-column>
-		      <!-- 生产 -->
-		      <el-table-column prop="produceStatus" :label='$t("runCenter.table.plan.produceStatus")' :show-overflow-tooltip="true" width="120" align="center">
-		      	<template slot-scope="{ row }">
-			      	<el-tag v-if="row.produceStatus == '1'" type="info">{{$t("runCenter.common.produceStatus.noStart")}}</el-tag>
-							<el-tag v-if="row.produceStatus == '2'">{{$t("runCenter.common.produceStatus.run")}}</el-tag>
-							<el-tag v-if="row.produceStatus == '3'" type="warning">{{$t("runCenter.common.produceStatus.panse")}}</el-tag>
-							<el-tag v-if="row.produceStatus == '4'" type="success">{{$t("runCenter.common.produceStatus.finished")}}</el-tag>
-						</template>
-		      </el-table-column>
-		      <!-- 优先级 -->
-		      <el-table-column prop="prority" :label='$t("runCenter.table.plan.priority")' :show-overflow-tooltip="true" width="120"></el-table-column>
-		      <!-- 生产节拍 -->
-		      <el-table-column prop="rhythmType" :label='$t("runCenter.table.plan.rhythmType")' :show-overflow-tooltip="true" width="120" align="center">
-		      	<template slot-scope="{ row }">
-		      		<el-tag v-if="row.rhythmType == '1'" type="success">{{$t("runCenter.common.rhythmType.auto")}}</el-tag>
-							<el-tag v-if="row.rhythmType == '2'">{{$t("runCenter.common.rhythmType.myself")}}</el-tag>
-						</template>
-		      </el-table-column>
-		      <!-- 生产单元 -->
-		      <el-table-column prop="zoenDesc" :label='$t("runCenter.table.plan.zoenDesc")' :show-overflow-tooltip="true" width="120"></el-table-column>
-		      <!-- 审核状态 -->
-		      <el-table-column prop="auditStatus" :label='$t("runCenter.table.plan.auditStatus")' align="center" width="90px">
-		      	<template slot-scope="{ row }">
-			      	<el-tag v-if="row.auditStatus == '1'" type="info">{{$t("common.audio.daiAudio")}}</el-tag>
-							<el-tag v-if="row.auditStatus == '2'" type="success">{{$t("common.audio.audioOk")}}</el-tag>
-							<el-tag v-if="row.auditStatus == '3'" type="danger">{{$t("common.audio.aduioFail")}}</el-tag>
-						</template>
-		      </el-table-column>
-		      <!-- 启用状态 -->
-		      <el-table-column prop="status" :label='$t("runCenter.table.plan.status")' :show-overflow-tooltip="true" width="120" align="center">
-		      	<template slot-scope="{ row }">
-							<el-tag v-if="row.status == '1'" type="success">{{$t("common.status.valid")}}</el-tag>
-							<el-tag v-if="row.status == '0'" type="danger">{{$t("common.status.stop")}}</el-tag>
-						</template>
-		      </el-table-column>
-		      <!-- 创建时间 -->
-		      <el-table-column prop="createTime" :label='$t("runCenter.table.plan.createTime")' width="160px"></el-table-column>
-	    </el-table>
-	    
-	    <!-- 【分页】组件 -->
-	  	<pagination
-	      v-show="tableData.total > 0"
-	      :limit.sync="queryParams.size"
-	      :page.sync="queryParams.current"
-	      :total="Number(tableData.total)"
-	      @pagination="fetch"
-	    />
-  	</div>
-</template>
-
-
-<script>
-// 【分页】组件
-import Pagination from "@/components/Pagination"
-// 【仓库类型管理】-API
-import warehouseTypeMgrApi from "@/api/modelingCenter/warehouseTypeMgr"
-// 【订单管理】-API
-import orderMgrApi from "@/api/runManageCenter/orderMgr"
-// 【计划管理】-API
-import planMgrApi from "@/api/runManageCenter/planMgr"
-// 列表查询的共通参数
-import { initQueryParams } from '@/utils/commons'
-export default {
-  name: 'PprogTask',
-  components: { Pagination },
-  props: {
-  },
-  data () {
-    return {
-    	titleData: [],  // table的动态表头数据
-    	qiyongStatus: [], //状态
-    	queryParams: initQueryParams({}),
-    	loading: false,
-    	tableKey: 0,
-      	tableData: {
-        	total: 0
-      	}
-    }
-  },
-  	// 实例已经在内存中创建好,此时data和methods已将ok,如果要操作data中的数据或是调用methods中的方法,最早只能在created中操作
-  	/*created() {
-	  	// 加载表头数据
-	  	this.creatTestData()
-	  	// 加载列表数据
-	  	this.fetch()
-	},*/
-	// 每次进入,都加载
-	activated(){
-		// 加载表头数据
-	  	this.creatTestData()
-	  	// 加载列表数据
-	  	this.fetch()
-	},
-  	computed: {
-	  	jinduNums(){
-	  		let num = Math.random()*100
-	  		return parseFloat(num.toFixed(2))
-	  	}
-  	},
-  mounted () {
-  },
-  methods: {
-  	// 生产表头数据-函数
-  	creatTestData(){
-  		/*this.titleData = [
-    		{id: '100', text: '2020-10', 
-    			children: [
-    				{id: '10001' text: '1', weekObj: {id: '100001', field: 'week', text: '日'}},
-    				{id: '10002', text: '2', weekObj: {id: '100002', field: 'week2', text: '一'}},
-    				{id: '10003', text: '3', weekObj: {id: '100003', field: 'week3', text: '二'}},
-    				{id: '10004', text: '4', weekObj: {id: '100004', field: 'week4', text: '三'}},
-    				{id: '10005', text: '5', weekObj: {id: '100005', field: 'week5', text: '四'}},
-    				{id: '10006', text: '6', weekObj: {id: '100006', field: 'week6', text: '五'}},
-    				{id: '10007', text: '7', weekObj: {id: '100007', field: 'week7', text: '六'}},
-    				{id: '10008', text: '8', weekObj: {id: '100008', field: 'week8', text: '一'}},
-    				{id: '10009', text: '9', weekObj: {id: '100009', field: 'week9', text: '二'}},
-    				{id: '100010', text: '10', weekObj: {id: '1000010', field: 'week10', text: '三'}},
-    				{id: '100011', text: '11', weekObj: {id: '1000011', field: 'week11', text: '四'}},
-    				{id: '100012', text: '12', weekObj: {id: '1000012', field: 'week12', text: '五'}}
-    			]
-    		},
-    		{id: '102', text: '2020-11', 
-    			children: [
-    				{id: '10201' text: '1', weekObj: {id: '102001', field: 'week', text: '日'}},
-    				{id: '10202', text: '2', weekObj: {id: '102002', field: 'week2', text: '一'}},
-    				{id: '10203', text: '3', weekObj: {id: '102003', field: 'week3', text: '二'}},
-    				{id: '10204', text: '4', weekObj: {id: '102004', field: 'week4', text: '三'}},
-    				{id: '10205', text: '5', weekObj: {id: '102005', field: 'week5', text: '四'}},
-    				{id: '10206', text: '6', weekObj: {id: '102006', field: 'week6', text: '五'}},
-    				{id: '10207', text: '7', weekObj: {id: '102007', field: 'week7', text: '六'}},
-    				{id: '10208', text: '8', weekObj: {id: '102008', field: 'week8', text: '一'}},
-    				{id: '10209', text: '9', weekObj: {id: '102009', field: 'week9', text: '二'}},
-    				{id: '102010', text: '10', weekObj: {id: '1020010', field: 'week10', text: '三'}},
-    				{id: '102011', text: '11', weekObj: {id: '1020011', field: 'week11', text: '四'}},
-    				{id: '102012', text: '12', weekObj: {id: '1020012', field: 'week12', text: '五'}}
-    			]
-    		},
-    		{id: '103', text: '2020-12', 
-    			children: [
-    				{id: '10301' text: '1', weekObj: {id: '103001', field: 'week', text: '日'}},
-    				{id: '10302', text: '2', weekObj: {id: '103002', field: 'week2', text: '一'}},
-    				{id: '10303', text: '3', weekObj: {id: '103003', field: 'week3', text: '二'}},
-    				{id: '10304', text: '4', weekObj: {id: '103004', field: 'week4', text: '三'}},
-    				{id: '10305', text: '5', weekObj: {id: '103005', field: 'week5', text: '四'}},
-    				{id: '10306', text: '6', weekObj: {id: '103006', field: 'week6', text: '五'}},
-    				{id: '10307', text: '7', weekObj: {id: '103007', field: 'week7', text: '六'}},
-    				{id: '10308', text: '8', weekObj: {id: '103008', field: 'week8', text: '一'}},
-    				{id: '10309', text: '9', weekObj: {id: '103009', field: 'week9', text: '二'}},
-    				{id: '103010', text: '10', weekObj: {id: '1030010', field: 'week10', text: '三'}},
-    				{id: '103011', text: '11', weekObj: {id: '1030011', field: 'week11', text: '四'}},
-    				{id: '103012', text: '12', weekObj: {id: '1030012', field: 'week12', text: '五'}}
-    			]
-    		},
-    	],*/
-    	// 生产30条数据
-    	let list = []
-  		for(let i = 0; i < 3; i++){
-  			list.push({
-  				id: '100' + i,
-  				text: "2020-1" + i,
-  				children: []
-  			})
-  			for(let j = 1; j < 25; j++){
-  				let week = ""
-  				if(j == 1 || j%7 == 0){
-  					week = "日"
-  				}
-  				if(j == 2 || j%7 == 1){
-  					week = "一"
-  				}
-  				if(j == 3 || j%7 == 2){
-  					week = "二"
-  				}
-  				if(j == 4 || j%7 == 3){
-  					week = "三"
-  				}
-  				if(j == 5 || j%7 == 4){
-  					week = "四"
-  				}
-  				if(j == 6 || j%7 == 5){
-  					week = "五"
-  				}
-  				if(j == 7 || j%7 == 6){
-  					week = "六"
-  				}
-  				list[i].children.push({
-					id: '1000'+ j, 
-					text: ''+ j, 
-					weekObj: {
-						id: '10000'+ j, 
-						field: 'week'+ j, 
-						text: week
-					}
-  				})
-  			}
-  		}
-  		// 赋值
-  		this.titleData = list
-  		console.log("表头数据:", this.titleData)
-  	},
-  	// tab点击-事件
-  	tabClick(e){
-  		// console.log("被选择的tab:", e.index)
-  	},
-    setTenant (val) {
-    	if(val){
-    		this.tenant = { ...val }
-    	}
-    },
-    fetch (params = {}) {
-        this.loading = true
-        // 日期区间段参数
-        if (this.queryParams.timeRange) {
-        	this.queryParams.map.createTime_st = this.queryParams.timeRange[0]
-        	this.queryParams.map.createTime_ed = this.queryParams.timeRange[1]
-        }
-        // 分页参数
-      	this.queryParams.current = params.current ? params.current : this.queryParams.current
-      	this.queryParams.size = params.size ? params.size : this.queryParams.size
-      	// 查询必须参数:进行中(当审核完成的时候,同时设置orderstaut=2)
-      	this.queryParams.model.orderProduceStatus = '1,2'
-	      	planMgrApi.page(this.queryParams).then(response => {
-	        const res = response.data
-	        if (res.isSuccess) {
-	          this.tableData = res.data
-	        }
-        // eslint-disable-next-line no-return-assign
-      	}).finally(() => this.loading = false)
-    },
-  }
-}
-</script>
-
-<style lang="scss" scoped>
-	.tabDiv{
-		margin: 10px;
-	}
+<template>
+	<div class="tabDiv">
+		<!--<p>共2个订单,5个计划</p>-->
+	    <el-table
+	      :key="tableKey"
+	      ref="table"
+	      v-loading="loading"
+	      :data="tableData.records"
+	      border
+	      fit
+	      row-key="id"
+	      style="width: 100%;"
+	    >
+	    	<el-table-column :label='$t("common.serialNo")' width="55px" align="center">
+		      <template slot-scope="scope">
+		        <div>
+		          {{scope.$index+(queryParams.current - 1) * queryParams.size + 1}}
+		        </div>
+		      </template>
+	      	</el-table-column>
+	      	<!-- 订单编号 -->
+		    <el-table-column prop="orderNo" :label='$t("runCenter.table.plan.orderNo")' :show-overflow-tooltip="true" width="170"></el-table-column>
+		    <!-- 计划编号 -->
+		    <el-table-column prop="planNo" :label='$t("runCenter.table.plan.planNo")' :show-overflow-tooltip="true" width="150"></el-table-column>
+		    <!-- 计划开始日期 -->
+		      <el-table-column prop="startTime" :label='$t("runCenter.table.plan.planStart")' :show-overflow-tooltip="true" width="160"></el-table-column>
+		      <!-- 计划完成日期 -->
+		      <el-table-column prop="endTime" :label='$t("runCenter.table.plan.planEnd")' :show-overflow-tooltip="true" width="160"></el-table-column>
+		      <!-- 产品 -->
+		      <el-table-column prop="bomDesc" :label='$t("runCenter.table.plan.bomName")' :show-overflow-tooltip="true" width="150"></el-table-column>
+		      <!-- 数量 -->
+		      <el-table-column prop="planBomNum" :label='$t("runCenter.table.plan.planNums")' :show-overflow-tooltip="true" width="120"></el-table-column>
+		      <!-- 计划状态 -->
+		      <el-table-column prop="planStatus" :label='$t("runCenter.table.plan.planStatus")' :show-overflow-tooltip="true" width="120" align="center">
+		        <template slot-scope="{ row }">
+			      	<el-tag v-if="row.planStatus == '1'" type="info">{{$t("runCenter.common.planStatus.one")}}</el-tag>
+					<el-tag v-if="row.planStatus == '2'" type="">{{$t("runCenter.common.planStatus.two")}}</el-tag>
+					<el-tag v-if="row.planStatus == '3'" type="success">{{$t("runCenter.common.planStatus.three")}}</el-tag>
+				</template>
+		      </el-table-column>
+		      <!-- 计划进度 -->
+		      <el-table-column prop="process" :label='$t("runCenter.table.plan.planProgress")' :show-overflow-tooltip="true" width="200">
+		      	<template slot-scope="scope">
+				  		<!--<el-progress v-if="scope.row.jindu <= 25" :text-inside="true" :stroke-width="24" :percentage="scope.row.jindu" status="exception"></el-progress>
+				  		<el-progress v-if="scope.row.jindu > 25 && scope.row.jindu <= 50" :text-inside="true" :stroke-width="24" :percentage="scope.row.jindu" status="warning"></el-progress>-->
+				  		<el-progress :text-inside="true" :stroke-width="24" :percentage="scope.row.process"></el-progress>
+				  		<!--<el-progress v-if="scope.row.jindu > 80" :text-inside="true" :stroke-width="24" :percentage="scope.row.jindu" status="success"></el-progress>-->
+				  	</template>
+		      </el-table-column>
+		      <!-- 排产 -->
+		      <el-table-column prop="schedulingStatus" :label='$t("runCenter.table.plan.schedulingStatus")' :show-overflow-tooltip="true" width="120" align="center">
+		      	<template slot-scope="{ row }">
+			      	<el-tag v-if="row.schedulingStatus == '1'" type="info">{{$t("runCenter.common.schedulingStatus.noStart")}}</el-tag>
+							<el-tag v-if="row.schedulingStatus == '2'">{{$t("runCenter.common.schedulingStatus.run")}}</el-tag>
+							<el-tag v-if="row.schedulingStatus == '3'" type="success">{{$t("runCenter.common.schedulingStatus.finished")}}</el-tag>
+						</template>
+		      </el-table-column>
+		      <!-- 生产 -->
+		      <el-table-column prop="produceStatus" :label='$t("runCenter.table.plan.produceStatus")' :show-overflow-tooltip="true" width="120" align="center">
+		      	<template slot-scope="{ row }">
+			      	<el-tag v-if="row.produceStatus == '1'" type="info">{{$t("runCenter.common.produceStatus.noStart")}}</el-tag>
+							<el-tag v-if="row.produceStatus == '2'">{{$t("runCenter.common.produceStatus.run")}}</el-tag>
+							<el-tag v-if="row.produceStatus == '3'" type="warning">{{$t("runCenter.common.produceStatus.panse")}}</el-tag>
+							<el-tag v-if="row.produceStatus == '4'" type="success">{{$t("runCenter.common.produceStatus.finished")}}</el-tag>
+						</template>
+		      </el-table-column>
+		      <!-- 优先级 -->
+		      <el-table-column prop="prority" :label='$t("runCenter.table.plan.priority")' :show-overflow-tooltip="true" width="120"></el-table-column>
+		      <!-- 生产节拍 -->
+		      <el-table-column prop="rhythmType" :label='$t("runCenter.table.plan.rhythmType")' :show-overflow-tooltip="true" width="120" align="center">
+		      	<template slot-scope="{ row }">
+		      		<el-tag v-if="row.rhythmType == '1'" type="success">{{$t("runCenter.common.rhythmType.auto")}}</el-tag>
+							<el-tag v-if="row.rhythmType == '2'">{{$t("runCenter.common.rhythmType.myself")}}</el-tag>
+						</template>
+		      </el-table-column>
+		      <!-- 生产单元 -->
+		      <el-table-column prop="zoenDesc" :label='$t("runCenter.table.plan.zoenDesc")' :show-overflow-tooltip="true" width="120"></el-table-column>
+		      <!-- 审核状态 -->
+		      <el-table-column prop="auditStatus" :label='$t("runCenter.table.plan.auditStatus")' align="center" width="90px">
+		      	<template slot-scope="{ row }">
+			      	<el-tag v-if="row.auditStatus == '1'" type="info">{{$t("common.audio.daiAudio")}}</el-tag>
+							<el-tag v-if="row.auditStatus == '2'" type="success">{{$t("common.audio.audioOk")}}</el-tag>
+							<el-tag v-if="row.auditStatus == '3'" type="danger">{{$t("common.audio.aduioFail")}}</el-tag>
+						</template>
+		      </el-table-column>
+		      <!-- 启用状态 -->
+		      <el-table-column prop="status" :label='$t("runCenter.table.plan.status")' :show-overflow-tooltip="true" width="120" align="center">
+		      	<template slot-scope="{ row }">
+							<el-tag v-if="row.status == '1'" type="success">{{$t("common.status.valid")}}</el-tag>
+							<el-tag v-if="row.status == '0'" type="danger">{{$t("common.status.stop")}}</el-tag>
+						</template>
+		      </el-table-column>
+		      <!-- 创建时间 -->
+		      <el-table-column prop="createTime" :label='$t("runCenter.table.plan.createTime")' width="160px"></el-table-column>
+		    <!-- 操作 -->
+	      	<el-table-column
+		        :label="$t('table.operation')"
+		        fixed="right"
+		        align="center"
+		        column-key="operation"
+		        width="100px"
+		    >
+		        <template slot-scope="{ row }">
+		        	<el-tooltip class="item" :content='$t("runCenter.common.chouqian")' effect="dark" placement="top-start">
+			          <a @click="myDraw(row)" style="color: #2db7f5;">{{ $t("runCenter.common.chouqian") }}</a>
+		          </el-tooltip>
+		        </template>
+		    </el-table-column>
+	    </el-table>
+	    
+	    <!-- 【分页】组件 -->
+	  	<pagination
+	      v-show="tableData.total > 0"
+	      :limit.sync="queryParams.size"
+	      :page.sync="queryParams.current"
+	      :total="Number(tableData.total)"
+	      @pagination="fetch"
+	    />
+	    
+	    <!-- [我的抽签]的组件 -->
+	    <my-draw
+	      ref="edit"
+	      :dialog-visible="dialog.isVisible"
+	      :title="dialog.title"
+	      @close="editClose"
+	      @success="editSuccess"
+	    />
+  	</div>
+</template>
+
+
+<script>
+	// 选择【我的抽签】组件
+	import MyDraw from "./MyDraw"
+	// 【分页】组件
+	import Pagination from "@/components/Pagination"
+	// 【仓库类型管理】-API
+	import warehouseTypeMgrApi from "@/api/modelingCenter/warehouseTypeMgr"
+	// 【订单管理】-API
+	import orderMgrApi from "@/api/runManageCenter/orderMgr"
+	// 【计划管理】-API
+	import planMgrApi from "@/api/runManageCenter/planMgr"
+	// 列表查询的共通参数
+	import { initQueryParams } from '@/utils/commons'
+export default {
+  name: 'PprogTask',
+  components: { Pagination, MyDraw },
+  props: {
+  },
+  data () {
+    return {
+    	dialog: {
+	        isVisible: false,
+	        title: ""
+	    },
+    	titleData: [],  // table的动态表头数据
+    	qiyongStatus: [], //状态
+    	queryParams: initQueryParams({}),
+    	loading: false,
+    	tableKey: 0,
+      	tableData: {
+        	total: 0
+      	}
+    }
+  },
+  	// 实例已经在内存中创建好,此时data和methods已将ok,如果要操作data中的数据或是调用methods中的方法,最早只能在created中操作
+  	/*created() {
+	  	// 加载表头数据
+	  	this.creatTestData()
+	  	// 加载列表数据
+	  	this.fetch()
+	},*/
+	// 每次进入,都加载
+	activated(){
+		// 加载表头数据
+	  	this.creatTestData()
+	  	// 加载列表数据
+	  	this.fetch()
+	},
+  	computed: {
+	  	jinduNums(){
+	  		let num = Math.random()*100
+	  		return parseFloat(num.toFixed(2))
+	  	}
+  	},
+  mounted () {
+  },
+  methods: {
+  	// 生产表头数据-函数
+  	creatTestData(){
+  		/*this.titleData = [
+    		{id: '100', text: '2020-10', 
+    			children: [
+    				{id: '10001' text: '1', weekObj: {id: '100001', field: 'week', text: '日'}},
+    				{id: '10002', text: '2', weekObj: {id: '100002', field: 'week2', text: '一'}},
+    				{id: '10003', text: '3', weekObj: {id: '100003', field: 'week3', text: '二'}},
+    				{id: '10004', text: '4', weekObj: {id: '100004', field: 'week4', text: '三'}},
+    				{id: '10005', text: '5', weekObj: {id: '100005', field: 'week5', text: '四'}},
+    				{id: '10006', text: '6', weekObj: {id: '100006', field: 'week6', text: '五'}},
+    				{id: '10007', text: '7', weekObj: {id: '100007', field: 'week7', text: '六'}},
+    				{id: '10008', text: '8', weekObj: {id: '100008', field: 'week8', text: '一'}},
+    				{id: '10009', text: '9', weekObj: {id: '100009', field: 'week9', text: '二'}},
+    				{id: '100010', text: '10', weekObj: {id: '1000010', field: 'week10', text: '三'}},
+    				{id: '100011', text: '11', weekObj: {id: '1000011', field: 'week11', text: '四'}},
+    				{id: '100012', text: '12', weekObj: {id: '1000012', field: 'week12', text: '五'}}
+    			]
+    		},
+    		{id: '102', text: '2020-11', 
+    			children: [
+    				{id: '10201' text: '1', weekObj: {id: '102001', field: 'week', text: '日'}},
+    				{id: '10202', text: '2', weekObj: {id: '102002', field: 'week2', text: '一'}},
+    				{id: '10203', text: '3', weekObj: {id: '102003', field: 'week3', text: '二'}},
+    				{id: '10204', text: '4', weekObj: {id: '102004', field: 'week4', text: '三'}},
+    				{id: '10205', text: '5', weekObj: {id: '102005', field: 'week5', text: '四'}},
+    				{id: '10206', text: '6', weekObj: {id: '102006', field: 'week6', text: '五'}},
+    				{id: '10207', text: '7', weekObj: {id: '102007', field: 'week7', text: '六'}},
+    				{id: '10208', text: '8', weekObj: {id: '102008', field: 'week8', text: '一'}},
+    				{id: '10209', text: '9', weekObj: {id: '102009', field: 'week9', text: '二'}},
+    				{id: '102010', text: '10', weekObj: {id: '1020010', field: 'week10', text: '三'}},
+    				{id: '102011', text: '11', weekObj: {id: '1020011', field: 'week11', text: '四'}},
+    				{id: '102012', text: '12', weekObj: {id: '1020012', field: 'week12', text: '五'}}
+    			]
+    		},
+    		{id: '103', text: '2020-12', 
+    			children: [
+    				{id: '10301' text: '1', weekObj: {id: '103001', field: 'week', text: '日'}},
+    				{id: '10302', text: '2', weekObj: {id: '103002', field: 'week2', text: '一'}},
+    				{id: '10303', text: '3', weekObj: {id: '103003', field: 'week3', text: '二'}},
+    				{id: '10304', text: '4', weekObj: {id: '103004', field: 'week4', text: '三'}},
+    				{id: '10305', text: '5', weekObj: {id: '103005', field: 'week5', text: '四'}},
+    				{id: '10306', text: '6', weekObj: {id: '103006', field: 'week6', text: '五'}},
+    				{id: '10307', text: '7', weekObj: {id: '103007', field: 'week7', text: '六'}},
+    				{id: '10308', text: '8', weekObj: {id: '103008', field: 'week8', text: '一'}},
+    				{id: '10309', text: '9', weekObj: {id: '103009', field: 'week9', text: '二'}},
+    				{id: '103010', text: '10', weekObj: {id: '1030010', field: 'week10', text: '三'}},
+    				{id: '103011', text: '11', weekObj: {id: '1030011', field: 'week11', text: '四'}},
+    				{id: '103012', text: '12', weekObj: {id: '1030012', field: 'week12', text: '五'}}
+    			]
+    		},
+    	],*/
+    	// 生产30条数据
+    	let list = []
+  		for(let i = 0; i < 3; i++){
+  			list.push({
+  				id: '100' + i,
+  				text: "2020-1" + i,
+  				children: []
+  			})
+  			for(let j = 1; j < 25; j++){
+  				let week = ""
+  				if(j == 1 || j%7 == 0){
+  					week = "日"
+  				}
+  				if(j == 2 || j%7 == 1){
+  					week = "一"
+  				}
+  				if(j == 3 || j%7 == 2){
+  					week = "二"
+  				}
+  				if(j == 4 || j%7 == 3){
+  					week = "三"
+  				}
+  				if(j == 5 || j%7 == 4){
+  					week = "四"
+  				}
+  				if(j == 6 || j%7 == 5){
+  					week = "五"
+  				}
+  				if(j == 7 || j%7 == 6){
+  					week = "六"
+  				}
+  				list[i].children.push({
+					id: '1000'+ j, 
+					text: ''+ j, 
+					weekObj: {
+						id: '10000'+ j, 
+						field: 'week'+ j, 
+						text: week
+					}
+  				})
+  			}
+  		}
+  		// 赋值
+  		this.titleData = list
+  		console.log("表头数据:", this.titleData)
+  	},
+  	// tab点击-事件
+  	tabClick(e){
+  		// console.log("被选择的tab:", e.index)
+  	},
+    setTenant (val) {
+    	if(val){
+    		this.tenant = { ...val }
+    	}
+    },
+    fetch (params = {}) {
+        this.loading = true
+        // 日期区间段参数
+        if (this.queryParams.timeRange) {
+        	this.queryParams.map.createTime_st = this.queryParams.timeRange[0]
+        	this.queryParams.map.createTime_ed = this.queryParams.timeRange[1]
+        }
+        // 分页参数
+      	this.queryParams.current = params.current ? params.current : this.queryParams.current
+      	this.queryParams.size = params.size ? params.size : this.queryParams.size
+      	// 查询必须参数:进行中(当审核完成的时候,同时设置orderstaut=2)
+      	this.queryParams.model.orderProduceStatus = '1,2'
+	      	planMgrApi.page(this.queryParams).then(response => {
+	        const res = response.data
+	        if (res.isSuccess) {
+	          this.tableData = res.data
+	        }
+        // eslint-disable-next-line no-return-assign
+      	}).finally(() => this.loading = false)
+    },
+    
+    // 【我的抽签】按钮-事件
+    myDraw(row) {
+    	this.$refs.edit.type = "edit"
+	    this.dialog.title = this.$t("runCenter.common.addBtn")
+	    this.dialog.isVisible = true
+    },
+    
+    // 【我的抽签-修改】弹出框,关闭
+  	editClose () {
+      this.dialog.isVisible = false
+    },
+    
+    // 【我的抽签-修改】弹出框,确定事件
+    editSuccess (arr) {
+    	console.log("【我的抽签-修改】:", arr);
+    	// 合并当前数组,和新增的数组
+    	// let list = [...this.tableData, ...arr]
+    	// 去除数组中重复的数据
+    	// this.tableData = arrReduce(list, "id")
+    },
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+	.tabDiv{
+		margin: 10px;
+	}
 </style>