检测首页增加不同入口的默认选择状态和禁止选择状态
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<!-- <el-button type='primary' :icon='Download' >下载报告</el-button> -->
|
||||
<!-- 表格操作 -->
|
||||
<template #operation='scope'>
|
||||
<el-button type='primary' link :icon='View' >查看</el-button>
|
||||
<!-- <el-button type='primary' link :icon='View' >查看</el-button> -->
|
||||
<el-button type='primary' link :icon='Delete' >移除</el-button>
|
||||
</template>
|
||||
</ProTable>
|
||||
@@ -100,7 +100,7 @@
|
||||
label: '归档状态',
|
||||
minWidth: 130,
|
||||
},
|
||||
{ prop: 'operation', label: '操作', fixed: 'right', minWidth: 200 },
|
||||
{ prop: 'operation', label: '操作', fixed: 'right', minWidth: 150 },
|
||||
])
|
||||
|
||||
const open = (textTitle: string) => {
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
minWidth: 120,
|
||||
},
|
||||
{
|
||||
prop: 'PlanName',
|
||||
prop: 'planName',
|
||||
label: '所属计划',
|
||||
search: { el: 'input' },
|
||||
minWidth: 280,
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
<el-form-item label="父计划" prop="father_Plan_Id" :label-width="100">
|
||||
<el-select v-model="formData.father_Plan_Id" placeholder="请选择父计划" autocomplete="off" :disabled="isReadOnly" @change="fatherPlanChange">
|
||||
<el-option
|
||||
v-for="plan in fatherPlanList"
|
||||
:key="plan.value"
|
||||
v-for="plan in testFatherPlanList"
|
||||
:key="plan.id"
|
||||
:label="plan.label"
|
||||
:value="plan.value">
|
||||
:value="plan.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@@ -62,7 +62,7 @@
|
||||
import{ElMessage, FormInstance,FormItemRule}from'element-plus'
|
||||
import { defineProps, defineEmits, reactive,watch,ref, Ref } from 'vue';
|
||||
import { dialogSmall} from '@/utils/elementBind'
|
||||
import {dictPattern,dictTestState,dictReportState,dictResult,testPlanDataList,testSoureDataList,testScriptDataList,testErrSystDataList,planData} from '@/api/plan/planData'
|
||||
import {dictPattern,dictTestState,dictReportState,dictResult,testPlanDataList,testSoureDataList,testScriptDataList,testErrSystDataList,planData,testFatherPlanList} from '@/api/plan/planData'
|
||||
|
||||
const props = defineProps<{
|
||||
visible: boolean;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<!-- <el-button type='primary' :icon='Download' >下载报告</el-button> -->
|
||||
<!-- 表格操作 -->
|
||||
<template #operation='scope'>
|
||||
<el-button type='primary' link :icon='View' >查看</el-button>
|
||||
<!-- <el-button type='primary' link :icon='View' >查看</el-button> -->
|
||||
<el-button type='primary' link :icon='Delete' >移除</el-button>
|
||||
</template>
|
||||
</ProTable>
|
||||
@@ -77,7 +77,7 @@
|
||||
search: { el: 'select' },
|
||||
minWidth: 150,
|
||||
},
|
||||
{ prop: 'operation', label: '操作', fixed: 'right', width: 330 },
|
||||
{ prop: 'operation', label: '操作', fixed: 'right', width: 150 },
|
||||
])
|
||||
|
||||
const open = (textTitle: string) => {
|
||||
|
||||
Reference in New Issue
Block a user