|
@@ -91,47 +91,44 @@
|
|
|
</el-col>
|
|
|
<el-col :span="4" :xs="8">
|
|
|
<div class="group_itemOperations flex flex-pack-end items-center pr-1" style="height: 42px">
|
|
|
- <el-tooltip effect="dark" content="版本控制" placement="top">
|
|
|
- <div @click="historyEv(element)">
|
|
|
+ <div class="ml-2" @click="historyEv(element)" v-if="element.processVersion > 1">
|
|
|
+ <el-tooltip effect="dark" content="版本控制" placement="top">
|
|
|
<LeIcon
|
|
|
- v-if="element.processVersion > 1"
|
|
|
- class="text-lg ml-2 text-icon-color cursor-pointer"
|
|
|
+ class="text-lg text-icon-color cursor-pointer"
|
|
|
icon-class="icon-processInfo-hugeicons--git-merge"
|
|
|
/>
|
|
|
- </div>
|
|
|
- </el-tooltip>
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
|
|
|
- <el-tooltip effect="dark" content="编辑" placement="top">
|
|
|
- <div @click="updateEv(element)">
|
|
|
- <LeIcon class="text-lg ml-2 text-icon-color cursor-pointer" icon-class="icon-processInfo-mage--edit" />
|
|
|
- </div>
|
|
|
- </el-tooltip>
|
|
|
+ <div class="ml-2" @click="updateEv(element)">
|
|
|
+ <el-tooltip effect="dark" content="编辑" placement="top">
|
|
|
+ <LeIcon class="text-lg text-icon-color cursor-pointer" icon-class="icon-processInfo-mage--edit" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
|
|
|
- <el-tooltip content="复制" placement="top" effect="dark">
|
|
|
- <div @click="copyEv(element)">
|
|
|
- <LeIcon class="text-lg ml-2 text-icon-color cursor-pointer" icon-class="icon-processInfo-lucide--copy" />
|
|
|
- </div>
|
|
|
- </el-tooltip>
|
|
|
+ <div class="ml-2" @click="copyEv(element)">
|
|
|
+ <el-tooltip content="复制" placement="top" effect="dark">
|
|
|
+ <LeIcon class="text-lg text-icon-color cursor-pointer" icon-class="icon-processInfo-lucide--copy" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
|
|
|
- <el-tooltip v-if="element.processState === 1" effect="dark" content="禁用" placement="top">
|
|
|
- <div @click="enabledEv(element, 0)">
|
|
|
- <LeIcon
|
|
|
- class="text-lg ml-2 text-icon-color cursor-pointer"
|
|
|
- icon-class="icon-processInfo-solar--forbidden-circle-broken"
|
|
|
- />
|
|
|
- </div>
|
|
|
- </el-tooltip>
|
|
|
- <el-tooltip v-if="element.processState === 0" effect="dark" content="启用" placement="top">
|
|
|
- <div @click="enabledEv(element, 1)">
|
|
|
- <LeIcon class="text-lg ml-2 text-icon-color cursor-pointer" icon-class="icon-processInfo-heroicons--lock-open" />
|
|
|
- </div>
|
|
|
- </el-tooltip>
|
|
|
+ <div v-if="element.processState === 1" class="ml-2" @click="enabledEv(element, 0)">
|
|
|
+ <el-tooltip effect="dark" content="禁用" placement="top">
|
|
|
+ <LeIcon class="text-lg text-icon-color cursor-pointer" icon-class="icon-processInfo-solar--forbidden-circle-broken" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
|
|
|
- <el-tooltip content="删除" placement="top" effect="dark">
|
|
|
- <div @click="stopEv(element)">
|
|
|
- <LeIcon class="text-lg ml-2 text-rose-700 cursor-pointer" icon-class="icon-processInfo-iconoir--trash" />
|
|
|
- </div>
|
|
|
- </el-tooltip>
|
|
|
+ <div v-if="element.processState === 0" class="ml-2" @click="enabledEv(element, 1)">
|
|
|
+ <el-tooltip effect="dark" content="启用" placement="top">
|
|
|
+ <LeIcon class="text-lg text-icon-color cursor-pointer" icon-class="icon-processInfo-heroicons--lock-open" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="ml-2" @click="stopEv(element)">
|
|
|
+ <el-tooltip content="删除" placement="top" effect="dark">
|
|
|
+ <LeIcon class="text-lg text-rose-700 cursor-pointer" icon-class="icon-processInfo-iconoir--trash" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -442,7 +439,7 @@ defineExpose({
|
|
|
padding-right: 8px;
|
|
|
}
|
|
|
.group_itemOperations {
|
|
|
- cursor: pointer;
|
|
|
+ //cursor: pointer;
|
|
|
.le-icon {
|
|
|
flex-shrink: 0;
|
|
|
}
|