From b32971b510810d697481bc677249d100de007059 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期四, 17 八月 2023 09:19:54 +0800
Subject: [PATCH] 小程序初始
---
web_standard/src/views/ext/plansExt.vue | 25 +++++++++++++------------
1 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/web_standard/src/views/ext/plansExt.vue b/web_standard/src/views/ext/plansExt.vue
index f8dcf28..6fdcdb1 100644
--- a/web_standard/src/views/ext/plansExt.vue
+++ b/web_standard/src/views/ext/plansExt.vue
@@ -2,7 +2,7 @@
<!-- <TableLayout> -->
<keep-alive><TableLayout v-permissions="['ext:plansext:query']">
<!-- 鎼滅储琛ㄥ崟 -->
- <el-form slot="search-form" ref="searchForm" :model="searchForm" label-suffix="锛�" label-width="90px" inline>
+ <el-form slot="search-form" ref="searchForm" :model="searchForm" label-suffix="锛�" label-width="110px" inline>
<el-form-item label="鎼滅储淇℃伅" prop="mixParam">
<el-input v-model="searchForm.mixParam" placeholder="璇疯緭鍏ョ墿鏂欏悕绉�/缂栫爜/宸ュ簭鍚嶇О" @keypress.enter.native="search"></el-input>
</el-form-item>
@@ -52,7 +52,7 @@
<el-form-item label="鎵规鍙�" prop="batch">
<el-input v-model="searchForm.batch" placeholder="璇疯緭鍏�" @keypress.enter.native="search"></el-input>
</el-form-item>
- <el-form-item label="璁″垝鏃ユ湡" prop="planDate">
+ <el-form-item label="璁″垝缁撴潫鏃ユ湡" prop="planDate">
<el-date-picker
value-format="yyyy-MM-dd"
v-model="time"
@@ -100,7 +100,7 @@
@row-style="rowStyle"
>
<el-table-column type="selection" fixed="left" width="55"></el-table-column>
- <el-table-column prop="id" label="璁″垝搴忓彿" fixed="left" min-width="80px">
+ <el-table-column prop="id" label="璁″垝搴忓彿" fixed="left" min-width="100px">
<template slot-scope="{row}">
<span>{{ row.id }}</span><el-tag type="danger" size="mini" v-if="row.hasExpire">寤舵湡</el-tag>
</template>
@@ -133,9 +133,9 @@
</template> -->
</el-table-column>
<el-table-column prop="workPlanEndDate" label="璁″垝缁撴潫鏃ユ湡" min-width="100px">
- <template slot-scope="{row}">
- {{ row.workPlanStartDate ? row.workPlanStartDate.substring(0, row.workPlanStartDate.length-9) : '-' }}
- </template>
+ <!-- <template slot-scope="{row}">
+ {{ row.workPlanEndDate ? row.workPlanEndDate.substring(0, row.workPlanEndDate.length-9) : '-' }}
+ </template> -->
</el-table-column>
<el-table-column label="璁″垝鐘舵��" min-width="80px">
@@ -295,8 +295,8 @@
factoryId: null,
status: null,
mixParam: null,
- endDate: null,
- startDate: null,
+ planDateStartDate: null,
+ planDateEndDate: null,
batch: null,
type: null,
workPlanCode: null
@@ -329,8 +329,9 @@
},
methods: {
selectDate (v) {
- this.searchForm.startDate = v[0]
- this.searchForm.endDate = v[1]
+ this.searchForm.planDateStartDate = v[0]
+ this.searchForm.planDateEndDate = v[1]
+ this.search()
},
selectFactroy (v) {
this.searchForm.procedureIdList = []
@@ -344,8 +345,8 @@
},
reset () {
this.$refs.searchForm.resetFields()
- this.searchForm.startDate = null
- this.searchForm.endDate = null
+ this.searchForm.planDateStartDate = null
+ this.searchForm.planDateEndDate = null
this.time = []
this.search()
},
--
Gitblit v1.9.3