|
@@ -100,7 +100,7 @@
|
|
|
<el-button
|
|
<el-button
|
|
|
link
|
|
link
|
|
|
type="warning"
|
|
type="warning"
|
|
|
- @click="openForm('fill', scope.row.id)"
|
|
|
|
|
|
|
+ @click="openForm('fill', scope.row.id, 'true')"
|
|
|
v-hasPermi="['pms:iot-rd-daily-report:non-productive']"
|
|
v-hasPermi="['pms:iot-rd-daily-report:non-productive']"
|
|
|
v-if="scope.row.auditStatus === 20"
|
|
v-if="scope.row.auditStatus === 20"
|
|
|
>
|
|
>
|
|
@@ -381,8 +381,8 @@ const resetQuery = () => {
|
|
|
|
|
|
|
|
/** 添加/修改操作 */
|
|
/** 添加/修改操作 */
|
|
|
const formRef = ref()
|
|
const formRef = ref()
|
|
|
-const openForm = (type: string, id?: number) => {
|
|
|
|
|
- push({ name: 'FillDailyReportForm', params: { id: id, mode: 'fill' }, query: { istime: 'true' } })
|
|
|
|
|
|
|
+const openForm = (type: string, id?: number, istime: string = 'false') => {
|
|
|
|
|
+ push({ name: 'FillDailyReportForm', params: { id: id, mode: 'fill' }, query: { istime: istime } })
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/** 删除按钮操作 */
|
|
/** 删除按钮操作 */
|