|
@@ -67,25 +67,25 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<el-row class="h-[220px]">
|
|
|
- <el-col :span="6" class="flex flex-col items-center" @click="openFill(queryParams.deptId,3)">
|
|
|
+ <el-col :span="6" class="flex flex-col items-center" @click="openFill(queryParams.deptId,3,queryParams.createTime)">
|
|
|
<div ref="reportingChartRef" class="h-[160px] w-full"></div>
|
|
|
<div class="text-center mt-2" >
|
|
|
<span class="text-sm text-gray-600">总数</span>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="6" class="flex flex-col items-center" @click="openFill(queryParams.deptId,1)">
|
|
|
+ <el-col :span="6" class="flex flex-col items-center" @click="openFill(queryParams.deptId,1,queryParams.createTime)">
|
|
|
<div ref="dealFinishedChartRef" class="h-[160px] w-full"></div>
|
|
|
<div class="text-center mt-2">
|
|
|
<span class="text-sm text-gray-600">已填写</span>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="6" class="flex flex-col items-center" @click="openFill(queryParams.deptId,0)">
|
|
|
+ <el-col :span="6" class="flex flex-col items-center" @click="openFill(queryParams.deptId,0,queryParams.createTime)">
|
|
|
<div ref="transOrderChartRef" class="h-[160px] w-full"></div>
|
|
|
<div class="text-center mt-2">
|
|
|
<span class="text-sm text-gray-600">未填写</span>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="6" class="flex flex-col items-center" @click="openFill(queryParams.deptId,2)">
|
|
|
+ <el-col :span="6" class="flex flex-col items-center" @click="openFill(queryParams.deptId,2,queryParams.createTime)">
|
|
|
<div ref="writeChartRef" class="h-[160px] w-full"></div>
|
|
|
<div class="text-center mt-2">
|
|
|
<span class="text-sm text-gray-600">填写中</span>
|
|
@@ -102,19 +102,19 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<el-row class="h-[220px]">
|
|
|
- <el-col :span="6" class="flex flex-col items-center" @click="openForm(queryParams.deptId,2)">
|
|
|
+ <el-col :span="6" class="flex flex-col items-center" @click="openForm(queryParams.deptId,2,queryParams.createTime)">
|
|
|
<div ref="reportingChartRef1" class="h-[160px] w-full"></div>
|
|
|
<div class="text-center mt-2" >
|
|
|
<span class="text-sm text-gray-600">总数</span>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="6" class="flex flex-col items-center" @click="openForm(queryParams.deptId,1)">
|
|
|
+ <el-col :span="6" class="flex flex-col items-center" @click="openForm(queryParams.deptId,1,queryParams.createTime)">
|
|
|
<div ref="dealFinishedChartRef1" class="h-[160px] w-full"></div>
|
|
|
<div class="text-center mt-2">
|
|
|
<span class="text-sm text-gray-600">已填写</span>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="6" class="flex flex-col items-center" @click="openForm(queryParams.deptId,0)">
|
|
|
+ <el-col :span="6" class="flex flex-col items-center" @click="openForm(queryParams.deptId,0,queryParams.createTime)">
|
|
|
<div ref="transOrderChartRef1" class="h-[160px] w-full"></div>
|
|
|
<div class="text-center mt-2">
|
|
|
<span class="text-sm text-gray-600">待填写</span>
|
|
@@ -220,15 +220,15 @@ const handleQuery = () => {
|
|
|
}
|
|
|
|
|
|
const formRef = ref()
|
|
|
-const openForm = (deptId?:string,isFill?:string) => {
|
|
|
+const openForm = (deptId?:string,isFill?:string,createTime?:[]) => {
|
|
|
/*const type = '填写设备明细';
|
|
|
const id = queryParams.deptId
|
|
|
formRef.value.open(type,id)*/
|
|
|
|
|
|
- push({ name: 'FillOrderInfo2',params:{deptId,isFill}})
|
|
|
+ push({ name: 'FillOrderInfo2',params:{deptId,isFill,createTime}})
|
|
|
}
|
|
|
-const openFill = (deptId?:string,orderStatus?:string) => {
|
|
|
- push({ name: 'FillOrderInfo1',params:{deptId,orderStatus}})
|
|
|
+const openFill = (deptId?:string,orderStatus?:string,createTime?:[]) => {
|
|
|
+ push({ name: 'FillOrderInfo1',params:{deptId,orderStatus,createTime}})
|
|
|
}
|
|
|
|
|
|
|