9000系统测试用例调整

This commit is contained in:
sjl
2026-01-22 16:15:33 +08:00
parent 8b356c87a3
commit 56d65a6c17
59 changed files with 243 additions and 99 deletions

View File

@@ -74,7 +74,7 @@
>
<el-form :model="ruleForm" :rules="rules" ref="ruleFormRef" label-width="100px">
<el-form-item label="变压器名:" prop="tfName">
<el-input v-model="ruleForm.tfName" placeholder="请输入" clearable></el-input>
<el-input v-model="ruleForm.tfName" placeholder="请输入" clearable maxlength="32" show-word-limit></el-input>
</el-form-item>
<el-form-item label="接线方式:" prop="wiring" class="top">
<el-select style="width: 100%" v-model="ruleForm.wiring" clearable placeholder="请选择接线方式">
@@ -113,7 +113,7 @@
<el-col :span="8">
<div style="border-right: 1px solid; height: 100%" class="xiaoshou">
<div style="overflow-y: auto; height: 100%; overflow-x: auto;max-height: 350px;" class="tree mr10 xiaoshou">
<el-input placeholder="输入关键字检索" v-model="filterText1" clearable></el-input>
<el-input placeholder="输入关键字检索" v-model="filterText1" clearable maxlength="32" show-word-limit></el-input>
<el-tree
style="cursor: pointer;display: inline-block;"
:data="treeMenuLeftData"
@@ -163,7 +163,7 @@
<el-col :span="8">
<div style="border-left: 1px solid; height: 100%" class="xiaoshou">
<div style="overflow-y: auto; height: 100%;overflow-x: auto;max-height: 350px;" class="ml10 tree xiaoshou">
<el-input placeholder="输入关键字检索" v-model="filterText2" clearable></el-input>
<el-input placeholder="输入关键字检索" v-model="filterText2" clearable maxlength="32" show-word-limit></el-input>
<el-tree
style="cursor: pointer"
:data="treeMenuRightData"
@@ -372,6 +372,7 @@ const tableStore = new TableStore({
click: row => {
delTransformer([row.tfIndex]).then(res => {
ElMessage.success('删除成功')
menuTree.value.loadData()
tableStore.index()
})
}
@@ -413,6 +414,7 @@ const transformerAdd = () => {
message: '请选择变电站'
})
} else {
ruleForm.subIndex = parentId.value
transformerTitle.value = '新增变压器信息'
transformerInformation.value = true
nextTick(() => {

View File

@@ -55,10 +55,10 @@
<div class="box">
<el-form :model="form" label-width="100px" ref="ruleFormRef">
<el-form-item label="名称:">
<el-input v-model="form.tpName" placeholder="请输入"></el-input>
<el-input v-model="form.tpName" placeholder="请输入" maxlength="32" show-word-limit clearable></el-input>
</el-form-item>
<el-form-item label="描述:" class="mt20">
<el-input v-model="form.tfDescribe" placeholder="请输入"></el-input>
<el-input v-model="form.tfDescribe" placeholder="请输入" maxlength="32" show-word-limit clearable></el-input>
</el-form-item>
<el-form-item class="mt20 ml20">
<el-button @click="dialogFormVisible = false">取消</el-button>