修改资质详情LLP不显示问题
This commit is contained in:
parent
c72b62156c
commit
0ae268ecab
|
@ -54,6 +54,7 @@
|
|||
<el-table-column prop="dependencyName" label="属地" min-width="200" />
|
||||
<el-table-column prop="escUserName" label="ESC" min-width="100" />
|
||||
<el-table-column prop="deptName" label="部门" min-width="150" />
|
||||
<el-table-column prop="toolName" label="工具及防护用品名称" width="200" />
|
||||
<el-table-column prop="toolName" label="工具名称" min-width="180" />
|
||||
<el-table-column prop="toolSn" label="工具编号" min-width="130" />
|
||||
<el-table-column prop="expireDate" label="到期日期" min-width="130">
|
||||
|
|
|
@ -18,13 +18,18 @@
|
|||
<div class="applyFormContainer">
|
||||
<el-row class="myRow" :gutter="20">
|
||||
<el-col :span="8">
|
||||
<el-form-item label="工具名称" prop="toolName">
|
||||
<el-select v-model="ruleForm.toolName" placeholder="请选择工具名称" clearable>
|
||||
<el-form-item label="工具及防护用品名称" prop="toolName">
|
||||
<el-select v-model="ruleForm.toolName" placeholder="请选择工具及防护用品名称" clearable>
|
||||
<el-option v-for="dict in ppe_tool_name" :key="dict.value" :label="dict.label"
|
||||
:value="dict.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8" v-if="ruleForm.toolName == '其他'">
|
||||
<el-form-item label="工具名称" prop="toolSn">
|
||||
<el-input v-model="ruleForm.toolSn" placeholder="请输入工具名称" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="工具编号" prop="toolSn">
|
||||
<el-input v-model="ruleForm.toolSn" placeholder="请输入工具编号" clearable />
|
||||
|
@ -32,14 +37,14 @@
|
|||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="部门" prop="deptId">
|
||||
<el-tree-select v-model="ruleForm.deptId" :data="enabledDeptOptions"
|
||||
<el-tree-select v-model="ruleForm.deptId" :data="enabledDeptOptions" filterable
|
||||
:props="{ value: 'id', label: 'label', children: 'children' }" value-key="id"
|
||||
placeholder="请选择部门" check-strictly />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="属地" prop="dependencyId">
|
||||
<el-select v-model="ruleForm.dependencyId" placeholder="请选择属地"
|
||||
<el-form-item label="属地" prop="dependencyId">
|
||||
<el-select v-model="ruleForm.dependencyId" placeholder="请选择属地"
|
||||
@change="handleChoseDependency">
|
||||
<el-option v-for="item in busDependencyData" :key="item.id"
|
||||
:label="item.dependencyName" :value="item.id" />
|
||||
|
@ -68,9 +73,9 @@
|
|||
将文件拖曳至此区域,或 <em>点击上传</em>
|
||||
</div>
|
||||
</el-upload>
|
||||
<el-button class="downloadTemplateBtn" text v-if="ruleForm.toolName == '高压跨接盒标定'"
|
||||
<el-button class="downloadTemplateBtn" text v-if="ruleForm.toolName == '高压跨接盒'"
|
||||
@click="downloadDocxTemplate('WI')">下载WI模板</el-button>
|
||||
<el-button class="downloadTemplateBtn2" text v-if="ruleForm.toolName == '高压跨接盒标定'"
|
||||
<el-button class="downloadTemplateBtn2" text v-if="ruleForm.toolName == '高压跨接盒'"
|
||||
@click="downloadDocxTemplate('BIAOQIANYL')">下载标签样例模板</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -134,7 +139,7 @@ const { ppe_tool_name } = proxy.useDict("ppe_tool_name")
|
|||
const data = reactive({
|
||||
ruleForm: {},
|
||||
rules: {
|
||||
toolName: [{ required: true, message: "工具名称不能为空", trigger: "change" }],
|
||||
toolName: [{ required: true, message: "工具及防护用品名称不能为空", trigger: "change" }],
|
||||
toolSn: [{ required: true, message: "工具编号不能为空", trigger: "blur" }],
|
||||
deptId: [{ required: true, message: "部门不能为空", trigger: "change" }],
|
||||
dependencyId: [{ required: true, message: "属地不能为空", trigger: "change" }],
|
||||
|
|
|
@ -307,21 +307,21 @@
|
|||
placeholder="请选择急救证到期日期" style="width: 60%;" disabled />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="beforeCondition.hasQualified.length > 0">
|
||||
<el-col :span="12" v-if="beforeConditionInfo.hasQualified.length > 0">
|
||||
<el-form-item label="电工证初领日期">
|
||||
<el-date-picker v-model="beforeCondition.collectionDate" type="date"
|
||||
<el-date-picker v-model="beforeConditionInfo.collectionDate" type="date"
|
||||
format="YYYY-MM-DD" value-format="YYYY-MM-DD" placeholder="请选择电工证初领日期"
|
||||
style="width: 60%;" disabled />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="beforeCondition.hasQualified.length > 0">
|
||||
<el-col :span="12" v-if="beforeConditionInfo.hasQualified.length > 0">
|
||||
<el-form-item label="电工证复审日期">
|
||||
<el-date-picker v-model="beforeCondition.reviewDate" type="date"
|
||||
<el-date-picker v-model="beforeConditionInfo.reviewDate" type="date"
|
||||
format="YYYY-MM-DD" value-format="YYYY-MM-DD" placeholder="请选择电工证复审日期"
|
||||
style="width: 60%;" disabled />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8" v-if="beforeCondition.hasQualified.length > 0">
|
||||
<el-col :span="8" v-if="beforeConditionInfo.hasQualified.length > 0">
|
||||
<el-form-item label="电工证" prop="beforeCondition.certificatePhoto">
|
||||
<img :src="beforeConditionInfo.certificatePhoto.split('.').pop() == 'pdf' ? pdfIcon : baseUrl + beforeConditionInfo.certificatePhoto"
|
||||
class="avatar viewFile"
|
||||
|
|
|
@ -307,21 +307,21 @@
|
|||
placeholder="请选择急救证到期日期" style="width: 60%;" disabled />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="beforeCondition.hasQualified.length > 0">
|
||||
<el-col :span="12" v-if="beforeConditionInfo.hasQualified.length > 0">
|
||||
<el-form-item label="电工证初领日期">
|
||||
<el-date-picker v-model="beforeCondition.collectionDate" type="date"
|
||||
<el-date-picker v-model="beforeConditionInfo.collectionDate" type="date"
|
||||
format="YYYY-MM-DD" value-format="YYYY-MM-DD" placeholder="请选择电工证初领日期"
|
||||
style="width: 60%;" disabled />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="beforeCondition.hasQualified.length > 0">
|
||||
<el-col :span="12" v-if="beforeConditionInfo.hasQualified.length > 0">
|
||||
<el-form-item label="电工证复审日期">
|
||||
<el-date-picker v-model="beforeCondition.reviewDate" type="date"
|
||||
<el-date-picker v-model="beforeConditionInfo.reviewDate" type="date"
|
||||
format="YYYY-MM-DD" value-format="YYYY-MM-DD" placeholder="请选择电工证复审日期"
|
||||
style="width: 60%;" disabled />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8" v-if="beforeCondition.hasQualified.length > 0">
|
||||
<el-col :span="8" v-if="beforeConditionInfo.hasQualified.length > 0">
|
||||
<el-form-item label="电工证" prop="beforeCondition.certificatePhoto">
|
||||
<img :src="beforeConditionInfo.certificatePhoto.split('.').pop() == 'pdf' ? pdfIcon : baseUrl + beforeConditionInfo.certificatePhoto"
|
||||
class="avatar viewFile"
|
||||
|
|
|
@ -67,10 +67,10 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="操作" fixed="right" width="130">
|
||||
<template #default="scope">
|
||||
<el-button v-if="scope.row.reviewState != 1" type="primary" text class="replayTextBtn"
|
||||
<el-button type="primary" text class="replayTextBtn"
|
||||
v-hasPermi="['examinerTasks:edit']" @click="handleEdit(scope.row)">编辑</el-button>
|
||||
<el-divider v-if="scope.row.reviewState != 1" direction="vertical" class="verticalLine" />
|
||||
<el-button v-if="scope.row.reviewState != 1" type="primary" text class="deleteTextBtn"
|
||||
<el-divider direction="vertical" class="verticalLine" />
|
||||
<el-button type="primary" text class="deleteTextBtn"
|
||||
v-hasPermi="['examinerTasks:delete']" @click="handleDelete(scope.row)">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
Loading…
Reference in New Issue
Block a user