微调
This commit is contained in:
@@ -20,6 +20,7 @@ export namespace Device {
|
||||
export interface ReqDevReportParams extends ReqPage {
|
||||
planId?: string; // 计划id
|
||||
devId?: string; // 装置id
|
||||
scriptId?: string; // 脚本id
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -44,7 +45,7 @@ export namespace Device {
|
||||
encryptionFlag: number; //装置是否为加密版本
|
||||
series?: string | null; //装置识别码(3ds加密)
|
||||
devKey?: string | null; //装置秘钥(3ds加密)
|
||||
sampleID?: string| null; //样品编号
|
||||
sampleId?: string | null; //样品编号
|
||||
arrivedDate?: string; //送样日期
|
||||
cityName?: string | null; //所属地市名称
|
||||
gDName?: string | null; //所属供电公司名称
|
||||
@@ -81,7 +82,6 @@ export namespace Device {
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 被检设备表格查询分页返回的对象;
|
||||
*/
|
||||
|
||||
@@ -1064,7 +1064,7 @@ const openDrawer = async (title: string, row: any) => {
|
||||
|
||||
|
||||
if (title === '报告生成') {
|
||||
await generateDevReport({'planId': checkStore.plan.id, 'devId': row.id})
|
||||
await generateDevReport({'planId': checkStore.plan.id, 'devId': row.id,'scriptId':checkStore.plan.scriptId})
|
||||
emit('batchGenerateClicked') // 触发事件
|
||||
ElMessage.success({message: `报告生成成功!`})
|
||||
}
|
||||
|
||||
@@ -103,8 +103,8 @@
|
||||
<el-form-item label='密钥' prop='devKey' clearable v-if="formContent.encryptionFlag">
|
||||
<el-input v-model='formContent.devKey' placeholder="请输入密钥" show-password/>
|
||||
</el-form-item>
|
||||
<el-form-item label='样品编号' prop='sampleID' clearable v-if="DevIsShow && scene === '0'">
|
||||
<el-input v-model='formContent.sampleID' placeholder="请输入样品编号" />
|
||||
<el-form-item label='样品编号' prop='sampleId' clearable v-if="DevIsShow && scene === '0'">
|
||||
<el-input v-model='formContent.sampleId' placeholder="请输入样品编号" />
|
||||
</el-form-item>
|
||||
<el-form-item label='送样日期' prop='arrivedDate' v-if="scene === '0'">
|
||||
<el-date-picker
|
||||
|
||||
Reference in New Issue
Block a user