Commit 7dc58961 by 黑潮

update: 优化

parent acfb7d04
......@@ -90,7 +90,7 @@
<!-- <dm-delete v-if="scope.row.effectType !== 2 && scope.row.onlineStatus === 1 && scope.row.canEdit !== false" @confirm="offlineEcmPlan(scope.row)" tips="是否下线该计划?">
<el-button type="text">下线</el-button>
</dm-delete> -->
<el-dropdown-item @click="toRecord(row)">记录</el-dropdown-item>
<el-button type="text" @click="toRecord(scope.row)">记录</el-button>
<!-- <template v-if="scope.row.putonStatus !== 2 && scope.row.canEdit !== false">
<el-button v-if="xsxsFlag && isOpenFlag(scope.row.analyseJson)" type="text" @click="onDelete(scope.row)">删除</el-button>
<dm-delete v-else @confirm="delData(scope.row)" tips="是否删除该计划?">
......
......@@ -303,9 +303,9 @@ export default {
if (res.errorCode === 0) {
this.maxEventCount = Number(res.result.maxEventCount || 0);
let list = res.result.list || [];
let optionNameList = list.map(v => v.eventName);
let optionNameList = list.map(v => v.eventType);
this.allOptions.map(v => {
if (optionNameList.indexOf(v.name) >= 0) {
if (optionNameList.indexOf(v.value) >= 0) {
this.options.push(v);
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment