微调
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<el-tab-pane v-for="tab in tabData" :key="tab.value" :label="tab.label" :name="tab.value">
|
<el-tab-pane v-for="tab in tabData" :key="tab.value" :label="tab.label" :name="tab.value">
|
||||||
<div v-if="activeName == tab.value">
|
<div v-if="activeName == tab.value">
|
||||||
<div class="dialog-footer">
|
<div class="dialog-footer">
|
||||||
<el-button :icon="CirclePlus" type="primary" @click="openDialog('add')">新增</el-button>
|
<!-- <el-button :icon="CirclePlus" type="primary" @click="openDialog('add')">新增</el-button>-->
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex">
|
<div style="display: flex">
|
||||||
<!-- 2级tab -->
|
<!-- 2级tab -->
|
||||||
|
|||||||
@@ -139,6 +139,7 @@ onMounted(async () => {
|
|||||||
label: item.name || '',
|
label: item.name || '',
|
||||||
value: item.id
|
value: item.id
|
||||||
}));
|
}));
|
||||||
|
controlContent.value.sourceId = pqSourceArray.value[0].value
|
||||||
nextTick(async () => {
|
nextTick(async () => {
|
||||||
await treeInfo(modeStore.currentMode)
|
await treeInfo(modeStore.currentMode)
|
||||||
formContent.value.pattern = modeId.value
|
formContent.value.pattern = modeId.value
|
||||||
@@ -151,7 +152,7 @@ watch(webMsgSend, function (newValue, oldValue) {
|
|||||||
if (newValue.requestId.includes('formal_real&&') && newValue.operateCode === 'OPER_GATHER') {
|
if (newValue.requestId.includes('formal_real&&') && newValue.operateCode === 'OPER_GATHER') {
|
||||||
if (newValue.code === 10200) {
|
if (newValue.code === 10200) {
|
||||||
ElMessage.success('启动成功!')
|
ElMessage.success('启动成功!')
|
||||||
startDisabeld.value = true
|
startDisabeld.value = false
|
||||||
pauseDisabled.value = false
|
pauseDisabled.value = false
|
||||||
}else if(newValue.code !== 10201){
|
}else if(newValue.code !== 10201){
|
||||||
ElMessage.error('启动失败!')
|
ElMessage.error('启动失败!')
|
||||||
|
|||||||
Reference in New Issue
Block a user