|
@ -1,69 +1,25 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div> |
|
|
<div> |
|
|
<Dialog |
|
|
<Dialog :title="dialogTitle" v-model="dialogVisible" :width="dialogWidth" :close-on-click-modal="false" :vLoading="formLoading"> |
|
|
:title="dialogTitle" |
|
|
|
|
|
v-model="dialogVisible" |
|
|
|
|
|
:width="dialogWidth" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
:vLoading="formLoading" |
|
|
|
|
|
> |
|
|
|
|
|
<div style="max-height: 80vh; overflow-y: auto; padding: 0px 20px"> |
|
|
<div style="max-height: 80vh; overflow-y: auto; padding: 0px 20px"> |
|
|
<!-- <el-form :model="data" label-width="auto" :rules="rules" ref="formMainRef"> |
|
|
<Form ref="formMainRef" :rules="rules" :schema="formSchema" :is-col="true" @opensearchTable="opensearchTable" /> |
|
|
|
|
|
|
|
|
</el-form> --> |
|
|
|
|
|
<Form |
|
|
|
|
|
ref="formMainRef" |
|
|
|
|
|
:rules="rules" |
|
|
|
|
|
:schema="formSchema" |
|
|
|
|
|
:is-col="true" |
|
|
|
|
|
@opensearchTable="opensearchTable" |
|
|
|
|
|
/> |
|
|
|
|
|
<div class="small-title">包装列表</div> |
|
|
<div class="small-title">包装列表</div> |
|
|
<div style="border:1px solid #dedede;margin-bottom:20px;display: flex;"> |
|
|
<div style="border:1px solid #dedede;margin-bottom:20px;display: flex;"> |
|
|
<TableForm |
|
|
<TableForm ref="tableFormRef" style="width:100%;" :maxHeight = "490" :tableFields="tableAllSchemas.tableFormColumns" :tableFormRules="tableFormRules" :tableData="data.packageList" :isShowButton="false" :isShowReduceButton="false" /> |
|
|
ref="tableFormRef" |
|
|
|
|
|
style="width:100%;" |
|
|
|
|
|
:maxHeight = "490" |
|
|
|
|
|
:tableFields="tableAllSchemas.tableFormColumns" |
|
|
|
|
|
:tableFormRules="tableFormRules" |
|
|
|
|
|
:tableData="data.packageList" |
|
|
|
|
|
:isShowButton="false" |
|
|
|
|
|
:isShowReduceButton="false" |
|
|
|
|
|
/> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<el-tabs |
|
|
<el-tabs v-model="editableTabsValue" class="demo-tabs" @edit="handleTabsEdit" type="border-card" tab-position="left" :stretch="false"> |
|
|
v-model="editableTabsValue" |
|
|
<el-tab-pane v-for="item in data.subList" :key="item.name" :label="item.processCode" :name="item.name"> |
|
|
class="demo-tabs" |
|
|
|
|
|
@edit="handleTabsEdit" |
|
|
|
|
|
type="border-card" |
|
|
|
|
|
tab-position="left" |
|
|
|
|
|
:stretch="false" |
|
|
|
|
|
> |
|
|
|
|
|
<el-tab-pane |
|
|
|
|
|
v-for="item in data.subList" |
|
|
|
|
|
:key="item.name" |
|
|
|
|
|
:label="item.processCode" |
|
|
|
|
|
:name="item.name" |
|
|
|
|
|
> |
|
|
|
|
|
<div class="small-title">检验工序</div> |
|
|
<div class="small-title">检验工序</div> |
|
|
<el-form :model="item" label-width="auto" :rules="rules" ref="formProcessRef"> |
|
|
<el-form :model="item" label-width="auto" :rules="rules" ref="formProcessRef"> |
|
|
<el-row :gutter="20"> |
|
|
<el-row :gutter="20"> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item label="编码" prop="processCode"> |
|
|
<el-form-item label="编码" prop="processCode"> |
|
|
<el-input |
|
|
<el-input v-model="item.processCode" placeholder="根据系统生成" :disabled="true" /> |
|
|
v-model="item.processCode" |
|
|
|
|
|
placeholder="根据系统生成" |
|
|
|
|
|
:disabled="true" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item label="检验特性编号"> |
|
|
<el-form-item label="检验特性编号"> |
|
|
<el-input |
|
|
<el-input v-model="item.inspectionFeatureCode" placeholder="根据系统生成" :disabled="true" /> |
|
|
v-model="item.inspectionFeatureCode" |
|
|
|
|
|
placeholder="根据系统生成" |
|
|
|
|
|
:disabled="true" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
@ -76,15 +32,6 @@ |
|
|
<el-input v-model="item.sequenceCode" :disabled="true" /> |
|
|
<el-input v-model="item.sequenceCode" :disabled="true" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<!-- <el-col :span="12"> |
|
|
|
|
|
<el-form-item label="检验特性编码"> |
|
|
|
|
|
<el-input |
|
|
|
|
|
v-model="item.inspectionCharCode" |
|
|
|
|
|
placeholder="根据系统生成" |
|
|
|
|
|
:disabled="true" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> --> |
|
|
|
|
|
</el-row> |
|
|
</el-row> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div class="small-title">检验特性</div> |
|
|
<div class="small-title">检验特性</div> |
|
@ -92,236 +39,94 @@ |
|
|
<el-row :gutter="20"> |
|
|
<el-row :gutter="20"> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item label="编码"> |
|
|
<el-form-item label="编码"> |
|
|
<el-input |
|
|
<el-input v-model="item.inspectionJobCharacteristicsUpdateReqVO.number" placeholder="根据系统生成" :disabled="true" /> |
|
|
v-model="item.inspectionJobCharacteristicsUpdateReqVO.number" |
|
|
|
|
|
placeholder="根据系统生成" |
|
|
|
|
|
:disabled="true" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item |
|
|
<el-form-item label="描述" prop="inspectionJobCharacteristicsUpdateReqVO.description"> |
|
|
label="描述" |
|
|
<el-input v-model="item.inspectionJobCharacteristicsUpdateReqVO.description" :disabled="true" /> |
|
|
prop="inspectionJobCharacteristicsUpdateReqVO.description" |
|
|
|
|
|
> |
|
|
|
|
|
<el-input |
|
|
|
|
|
v-model="item.inspectionJobCharacteristicsUpdateReqVO.description" |
|
|
|
|
|
:disabled="true" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item |
|
|
<el-form-item label="检验方法" prop="inspectionJobCharacteristicsUpdateReqVO.inspectionMethodCode"> |
|
|
label="检验方法" |
|
|
|
|
|
prop="inspectionJobCharacteristicsUpdateReqVO.inspectionMethodCode" |
|
|
|
|
|
> |
|
|
|
|
|
<div style="display: flex; width: 100%"> |
|
|
<div style="display: flex; width: 100%"> |
|
|
<el-input |
|
|
<el-input v-model="item.inspectionJobCharacteristicsUpdateReqVO.inspectionMethodName" disabled placeholder="请选择检验方法" /> |
|
|
v-model="item.inspectionJobCharacteristicsUpdateReqVO.inspectionMethodName" |
|
|
|
|
|
disabled |
|
|
|
|
|
placeholder="请选择检验方法" |
|
|
|
|
|
/> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item |
|
|
<el-form-item label="采样过程编码" prop="inspectionJobCharacteristicsUpdateReqVO.samplingProcessCode"> |
|
|
label="采样过程编码" |
|
|
|
|
|
prop="inspectionJobCharacteristicsUpdateReqVO.samplingProcessCode" |
|
|
|
|
|
> |
|
|
|
|
|
<div style="display: flex; width: 100%"> |
|
|
<div style="display: flex; width: 100%"> |
|
|
<el-input |
|
|
<el-input v-model="item.inspectionJobCharacteristicsUpdateReqVO.samplingProcessName" disabled placeholder="请选择采样过程编码" /> |
|
|
v-model="item.inspectionJobCharacteristicsUpdateReqVO.samplingProcessName" |
|
|
|
|
|
disabled |
|
|
|
|
|
placeholder="请选择采样过程编码" |
|
|
|
|
|
/> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<!-- <el-col :span="12"> |
|
|
|
|
|
<el-form-item |
|
|
|
|
|
label="动态修改规则编码" |
|
|
|
|
|
prop="inspectionJobCharacteristicsUpdateReqVO.dynamicUpdateCode" |
|
|
|
|
|
> |
|
|
|
|
|
<div style="display: flex; width: 100%"> |
|
|
|
|
|
<el-input |
|
|
|
|
|
v-model="item.inspectionJobCharacteristicsUpdateReqVO.dynamicUpdateName" |
|
|
|
|
|
disabled |
|
|
|
|
|
placeholder="请选择动态修改规则编码" |
|
|
|
|
|
/> |
|
|
|
|
|
</div> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> --> |
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item |
|
|
<el-form-item label="是否允许修改特征值" prop="inspectionJobCharacteristicsUpdateReqVO.isCanUpdate"> |
|
|
label="是否允许修改特征值" |
|
|
<el-switch v-model="item.inspectionJobCharacteristicsUpdateReqVO.isCanUpdate" disabled /> |
|
|
prop="inspectionJobCharacteristicsUpdateReqVO.isCanUpdate" |
|
|
|
|
|
> |
|
|
|
|
|
<el-switch |
|
|
|
|
|
v-model="item.inspectionJobCharacteristicsUpdateReqVO.isCanUpdate" |
|
|
|
|
|
disabled |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item |
|
|
<el-form-item label="结果录入方式" prop="inspectionJobCharacteristicsUpdateReqVO.resultEntryMethod"> |
|
|
label="结果录入方式" |
|
|
<el-select v-model="item.inspectionJobCharacteristicsUpdateReqVO.resultEntryMethod" placeholder="请选择结果录入方式" @change="resultEntryMethodChange($event, item)" disabled> |
|
|
prop="inspectionJobCharacteristicsUpdateReqVO.resultEntryMethod" |
|
|
<el-option v-for="dict in getStrDictOptions(DICT_TYPE.INSPECTION_CHARACTERISTICS_RESULT_ENTRY)" :key="dict.value" :label="dict.label" :value="dict.value" /> |
|
|
> |
|
|
|
|
|
<el-select |
|
|
|
|
|
v-model="item.inspectionJobCharacteristicsUpdateReqVO.resultEntryMethod" |
|
|
|
|
|
placeholder="请选择结果录入方式" |
|
|
|
|
|
@change="resultEntryMethodChange($event, item)" |
|
|
|
|
|
disabled |
|
|
|
|
|
> |
|
|
|
|
|
<el-option |
|
|
|
|
|
v-for="dict in getStrDictOptions( |
|
|
|
|
|
DICT_TYPE.INSPECTION_CHARACTERISTICS_RESULT_ENTRY |
|
|
|
|
|
)" |
|
|
|
|
|
:key="dict.value" |
|
|
|
|
|
:label="dict.label" |
|
|
|
|
|
:value="dict.value" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item |
|
|
<el-form-item label="特征类型" prop="inspectionJobCharacteristicsUpdateReqVO.featureType"> |
|
|
label="特征类型" |
|
|
<el-select v-model="item.inspectionJobCharacteristicsUpdateReqVO.featureType" placeholder="请选择特征类型" @change="changeFeatureType" disabled> |
|
|
prop="inspectionJobCharacteristicsUpdateReqVO.featureType" |
|
|
<el-option v-for="dict in getStrDictOptions(DICT_TYPE.INSPECTION_CHARACTERISTICS_FEATURE_TYPE)" :key="dict.value" :label="dict.label" :value="dict.value" /> |
|
|
> |
|
|
|
|
|
<el-select |
|
|
|
|
|
v-model="item.inspectionJobCharacteristicsUpdateReqVO.featureType" |
|
|
|
|
|
placeholder="请选择特征类型" |
|
|
|
|
|
@change="changeFeatureType" |
|
|
|
|
|
disabled |
|
|
|
|
|
> |
|
|
|
|
|
<el-option |
|
|
|
|
|
v-for="dict in getStrDictOptions( |
|
|
|
|
|
DICT_TYPE.INSPECTION_CHARACTERISTICS_FEATURE_TYPE |
|
|
|
|
|
)" |
|
|
|
|
|
:key="dict.value" |
|
|
|
|
|
:label="dict.label" |
|
|
|
|
|
:value="dict.value" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item |
|
|
<el-form-item label="开始时间" prop="inspectionJobCharacteristicsUpdateReqVO.inspectionStartTime"> |
|
|
label="开始时间" |
|
|
<el-date-picker v-model="item.inspectionJobCharacteristicsUpdateReqVO.inspectionStartTime" type="datetime" placeholder="请选择开始时间" style="width: 100%" value-format="x" /> |
|
|
prop="inspectionJobCharacteristicsUpdateReqVO.inspectionStartTime" |
|
|
|
|
|
> |
|
|
|
|
|
<el-date-picker |
|
|
|
|
|
v-model="item.inspectionJobCharacteristicsUpdateReqVO.inspectionStartTime" |
|
|
|
|
|
type="datetime" |
|
|
|
|
|
placeholder="请选择开始时间" |
|
|
|
|
|
style="width: 100%" |
|
|
|
|
|
value-format="x" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item |
|
|
<el-form-item label="结束时间" prop="inspectionJobCharacteristicsUpdateReqVO.inspectionEndTime"> |
|
|
label="结束时间" |
|
|
<el-date-picker v-model="item.inspectionJobCharacteristicsUpdateReqVO.inspectionEndTime" type="datetime" placeholder="请选择结束时间" style="width: 100%" value-format="x" /> |
|
|
prop="inspectionJobCharacteristicsUpdateReqVO.inspectionEndTime" |
|
|
|
|
|
> |
|
|
|
|
|
<el-date-picker |
|
|
|
|
|
v-model="item.inspectionJobCharacteristicsUpdateReqVO.inspectionEndTime" |
|
|
|
|
|
type="datetime" |
|
|
|
|
|
placeholder="请选择结束时间" |
|
|
|
|
|
style="width: 100%" |
|
|
|
|
|
value-format="x" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<!-- 手动评估的时候显示 --> |
|
|
<!-- 手动评估的时候显示 --> |
|
|
<el-col :span="12" v-if="item.samplingProcessRespVO.evaluationMode == 1"> |
|
|
<el-col :span="12" v-if="item.samplingProcessRespVO.evaluationMode == 1"> |
|
|
<el-form-item label="评估代码" required> |
|
|
<el-form-item label="评估代码" required> |
|
|
<el-select |
|
|
<el-select v-model="item.inspectionJobCharacteristicsUpdateReqVO.estimateCode" placeholder="请选择评估代码" @change="changeFeatureType"> |
|
|
v-model="item.inspectionJobCharacteristicsUpdateReqVO.estimateCode" |
|
|
<el-option v-for="dict in getStrDictOptions(DICT_TYPE.EVALUATION_CODE)" :key="dict.value" :label="dict.label" :value="dict.value" /> |
|
|
placeholder="请选择评估代码" |
|
|
</el-select> |
|
|
@change="changeFeatureType" |
|
|
</el-form-item> |
|
|
> |
|
|
</el-col> |
|
|
<el-option |
|
|
<el-col :span="24" v-for="(cur, i) in item.inspectionJobCharacteristicsUpdateReqVO.recordInspectionQuantifyList" :key="i" style="border: 1px solid #dedede; border-radius: 4px; padding-top: 16px; margin-bottom: 10px;"> |
|
|
v-for="dict in getStrDictOptions(DICT_TYPE.EVALUATION_CODE)" |
|
|
|
|
|
:key="dict.value" |
|
|
|
|
|
:label="dict.label" |
|
|
|
|
|
:value="dict.value" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-select> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col |
|
|
|
|
|
:span="24" |
|
|
|
|
|
style=" |
|
|
|
|
|
border: 1px solid #dedede; |
|
|
|
|
|
border-radius: 4px; |
|
|
|
|
|
padding-top: 16px; |
|
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
|
" |
|
|
|
|
|
v-for="(cur, i) in item.inspectionJobCharacteristicsUpdateReqVO |
|
|
|
|
|
.recordInspectionQuantifyList" |
|
|
|
|
|
:key="i" |
|
|
|
|
|
> |
|
|
|
|
|
<el-row> |
|
|
<el-row> |
|
|
<!-- 汇总录入的时候显示 --> |
|
|
<!-- 汇总录入的时候显示 --> |
|
|
<el-col |
|
|
<el-col :span="12" v-if="item.inspectionJobCharacteristicsUpdateReqVO.resultEntryMethod == 1"> |
|
|
:span="12" |
|
|
|
|
|
v-if="item.inspectionJobCharacteristicsUpdateReqVO.resultEntryMethod == 1" |
|
|
|
|
|
> |
|
|
|
|
|
<el-form-item label="合格数量" required> |
|
|
<el-form-item label="合格数量" required> |
|
|
<el-input v-model="cur.qualifiedQuantity" placeholder="请输入合格数量" type="number"/> |
|
|
<el-input v-model="cur.qualifiedQuantity" placeholder="请输入合格数量" type="number"/> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col |
|
|
<el-col :span="12" v-if="item.inspectionJobCharacteristicsUpdateReqVO.resultEntryMethod == 1"> |
|
|
:span="12" |
|
|
|
|
|
v-if="item.inspectionJobCharacteristicsUpdateReqVO.resultEntryMethod == 1" |
|
|
|
|
|
> |
|
|
|
|
|
<el-form-item label="不合格数量" required> |
|
|
<el-form-item label="不合格数量" required> |
|
|
<el-input |
|
|
<el-input v-model="cur.unqualifiedQuantity" type="number" placeholder="请输入不合格数量" /> |
|
|
v-model="cur.unqualifiedQuantity" type="number" |
|
|
|
|
|
placeholder="请输入不合格数量" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
|
|
|
<el-col :span="12" v-if="item.inspectionJobCharacteristicsUpdateReqVO.featureType == '0'"> |
|
|
<el-col |
|
|
|
|
|
:span="12" |
|
|
|
|
|
v-if="item.inspectionJobCharacteristicsUpdateReqVO.featureType == 0" |
|
|
|
|
|
> |
|
|
|
|
|
<el-form-item label="检验值" required> |
|
|
<el-form-item label="检验值" required> |
|
|
<el-input v-model="cur.inspectionValue" placeholder="请输入检验值" type="number"/> |
|
|
<el-input v-model="cur.inspectionValue" placeholder="请输入检验值" type="number"/> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col |
|
|
<el-col :span="12" v-if="item.inspectionJobCharacteristicsUpdateReqVO.featureType == '1'"> |
|
|
:span="12" |
|
|
|
|
|
v-if="item.inspectionJobCharacteristicsUpdateReqVO.featureType == '1'" |
|
|
|
|
|
> |
|
|
|
|
|
<el-form-item label="选定集" required> |
|
|
<el-form-item label="选定集" required> |
|
|
<el-select |
|
|
<el-select v-model="cur.qualitativeCode" placeholder="请选择选定集" @change="changeQualitativeCode($event, item, cur)"> |
|
|
v-model="cur.qualitativeCode" |
|
|
<el-option v-for="dict in item.selectedProjectRespVOList" :key="dict.dictionaryValue" :label="dict.dictionaryLabel" :value="dict.dictionaryValue" /> |
|
|
placeholder="请选择选定集" |
|
|
|
|
|
@change="changeQualitativeCode($event, item, cur)" |
|
|
|
|
|
> |
|
|
|
|
|
<el-option |
|
|
|
|
|
v-for="dict in item.selectedProjectRespVOList" |
|
|
|
|
|
:key="dict.dictionaryValue" |
|
|
|
|
|
:label="dict.dictionaryLabel" |
|
|
|
|
|
:value="dict.dictionaryValue" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12" v-if="item.inspectionJobCharacteristicsUpdateReqVO.featureType == 1" > |
|
|
<el-col :span="12" v-if="item.inspectionJobCharacteristicsUpdateReqVO.featureType == '1'" > |
|
|
<el-form-item label="缺陷级别" required> |
|
|
<el-form-item label="缺陷级别" required> |
|
|
<el-select v-model="cur.defectLevel" placeholder="请选择缺陷级别" disabled> |
|
|
<el-select v-model="cur.defectLevel" placeholder="请选择缺陷级别" disabled> |
|
|
<el-option |
|
|
<el-option v-for="dict in getStrDictOptions(DICT_TYPE.DEFECT_LEVEL)" :key="dict.value" :label="dict.label" :value="dict.value" /> |
|
|
v-for="dict in getStrDictOptions(DICT_TYPE.DEFECT_LEVEL)" |
|
|
|
|
|
:key="dict.value" |
|
|
|
|
|
:label="dict.label" |
|
|
|
|
|
:value="dict.value" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
@ -336,18 +141,10 @@ |
|
|
<ButtonBase :Butttondata="Butttondata" @button-base-click="buttonBaseClick" /> |
|
|
<ButtonBase :Butttondata="Butttondata" @button-base-click="buttonBaseClick" /> |
|
|
</template> |
|
|
</template> |
|
|
</Dialog> |
|
|
</Dialog> |
|
|
<Dialog |
|
|
<Dialog title="修改名称" v-model="dialogVisibleName" width="500px" :close-on-click-modal="false"> |
|
|
title="修改名称" |
|
|
|
|
|
v-model="dialogVisibleName" |
|
|
|
|
|
width="500px" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
> |
|
|
|
|
|
<div style="padding: 0px 20px"> |
|
|
<div style="padding: 0px 20px"> |
|
|
<el-form ref="nameRef" :model="nameForm"> |
|
|
<el-form ref="nameRef" :model="nameForm"> |
|
|
<el-form-item |
|
|
<el-form-item :rules="[{ required: true, message: '请输入名称', trigger: 'blur' }]" prop="name"> |
|
|
:rules="[{ required: true, message: '请输入名称', trigger: 'blur' }]" |
|
|
|
|
|
prop="name" |
|
|
|
|
|
> |
|
|
|
|
|
<el-input v-model="nameForm.name" style="width: 240px" placeholder="请输入名称" /> |
|
|
<el-input v-model="nameForm.name" style="width: 240px" placeholder="请输入名称" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|