微调
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
</span> -->
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu>
|
||||
<el-dropdown-item command="高精度设备-PQV520-2">高精度设备-PQV520-2</el-dropdown-item>
|
||||
<el-dropdown-item command="高精度设备-PQV520-3">高精度设备-PQV520-3</el-dropdown-item>
|
||||
<el-dropdown-item command="高精度设备-PQV520-4">高精度设备-PQV520-4</el-dropdown-item>
|
||||
<el-dropdown-item command="高精度设备-PQV520-2">高精度设备-PQV-520便携式电能质量监测装置-2</el-dropdown-item>
|
||||
<el-dropdown-item command="高精度设备-PQV520-3">高精度设备-PQV-520便携式电能质量监测装置-3</el-dropdown-item>
|
||||
<el-dropdown-item command="高精度设备-PQV520-4">高精度设备-PQV-520便携式电能质量监测装置-4</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</template>
|
||||
</el-dropdown>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<!-- 基础信息弹出框 -->
|
||||
<el-dialog :model-value="visible" :title="dialogTitle" v-bind="dialogSmall" @close="handleCancel" width="500" draggable>
|
||||
<el-dialog :model-value="visible" :title="dialogTitle" v-bind="dialogSmall" @close="handleCancel" draggable>
|
||||
<div>
|
||||
<el-form :model="formData" ref='formRuleRef' :rules='rules'>
|
||||
<el-form-item label="名称" prop="name" :label-width="100">
|
||||
@@ -197,6 +197,8 @@ const rules: Ref<Record<string, Array<FormItemRule>>> = ref({
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
<style scoped lang="scss">
|
||||
:deep(.dialog-small .el-dialog__body){
|
||||
max-height: 330px !important;
|
||||
}
|
||||
</style>
|
||||
@@ -167,30 +167,28 @@ const columns = reactive<ColumnProps<Plan.PlanAndSourceBO>[]>([
|
||||
{
|
||||
prop: 'name',
|
||||
label: '名称',
|
||||
width: 200,
|
||||
width: 220,
|
||||
search: { el: 'input' },
|
||||
},
|
||||
{
|
||||
prop: 'testSourceName',
|
||||
label: '检测源',
|
||||
width: 215,
|
||||
width: 365,
|
||||
render: scope => {
|
||||
return (
|
||||
<div class='flx-flex-start'>
|
||||
<el-button type='primary' link onClick={() => showData(scope.row.testSourceName)}>
|
||||
{scope.row.testSourceName}
|
||||
</el-button>
|
||||
|
||||
<moreButtons isShow={isVisible(scope.row)} ></moreButtons>
|
||||
</div>
|
||||
|
||||
)
|
||||
},
|
||||
},
|
||||
{
|
||||
prop: 'script_Id',
|
||||
label: '检测脚本',
|
||||
width: 350,
|
||||
width: 360,
|
||||
enum: testScriptDataList,
|
||||
fieldNames: { label: 'label', value: 'id' },
|
||||
render: scope => {
|
||||
@@ -219,14 +217,14 @@ const columns = reactive<ColumnProps<Plan.PlanAndSourceBO>[]>([
|
||||
{
|
||||
prop: 'dataSource_Ids',
|
||||
label: '数据源',
|
||||
width: 200,
|
||||
width: 120,
|
||||
// enum: testSoureDataList,
|
||||
// fieldNames: { label: 'label', value: 'id' },
|
||||
},
|
||||
{
|
||||
prop: 'test_State',
|
||||
label: '检测状态',
|
||||
width: 100,
|
||||
width: 120,
|
||||
enum: dictTestState,
|
||||
// enum: dictStore.getDictData('planTestState'),
|
||||
search: { el: 'select', props: { filterable: true } },
|
||||
@@ -235,7 +233,7 @@ const columns = reactive<ColumnProps<Plan.PlanAndSourceBO>[]>([
|
||||
{
|
||||
prop: 'report_State',
|
||||
label: '检测报告状态',
|
||||
width: 150,
|
||||
width: 120,
|
||||
enum: dictReportState,
|
||||
// enum: dictStore.getDictData('planReportState'),
|
||||
search: { el: 'select', props: { filterable: true } },
|
||||
@@ -244,7 +242,7 @@ const columns = reactive<ColumnProps<Plan.PlanAndSourceBO>[]>([
|
||||
{
|
||||
prop: 'result',
|
||||
label: '检测结果',
|
||||
width: 100,
|
||||
width: 120,
|
||||
enum: dictResult,
|
||||
// enum: dictStore.getDictData('planResult'),
|
||||
search: { el: 'select', props: { filterable: true } },
|
||||
|
||||
Reference in New Issue
Block a user