【修改bug】删除字体变成红色

This commit is contained in:
zhoulingpo
2023-04-26 17:09:40 +08:00
parent 3e7b5a11a3
commit 347f7fc097
+11 -8
View File
@@ -27,7 +27,7 @@
<el-input v-model="q.name" placeholder="请输入报告名称"></el-input> <el-input v-model="q.name" placeholder="请输入报告名称"></el-input>
</div> </div>
</el-col> </el-col>
<el-col :span="6" align="right" class="tag-btns"> <el-col :span="6" align="right" class="tag-btns">
<el-button type="primary" @click="search">查询</el-button> <el-button type="primary" @click="search">查询</el-button>
<el-button type="default" @click="reset">重置</el-button> <el-button type="default" @click="reset">重置</el-button>
@@ -89,7 +89,7 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
<!--操作日志--> <!--操作日志-->
<el-dialog title="操作日志" :visible.sync="dialogLog" width="1100px" :close-on-click-modal="false" <el-dialog title="操作日志" :visible.sync="dialogLog" width="1100px" :close-on-click-modal="false"
:close-on-press-escape="false" modal-append-to-body append-to-body> :close-on-press-escape="false" modal-append-to-body append-to-body>
@@ -157,7 +157,7 @@
<!-- <el-button type="text" @click.stop="add">新建</el-button> --> <!-- <el-button type="text" @click.stop="add">新建</el-button> -->
<el-button type="text" v-if="data.parentId != '0'" <el-button type="text" v-if="data.parentId != '0'"
@click.stop="update(node, data)">编辑</el-button> @click.stop="update(node, data)">编辑</el-button>
<el-button type="text" v-if="data.parentId != '0'" <el-button type="text" v-if="data.parentId != '0'" class="deleRed"
@click.stop="deleteNode(node, data)">删除</el-button> @click.stop="deleteNode(node, data)">删除</el-button>
</span> </span>
</span> </span>
@@ -188,7 +188,7 @@
this.$message({type:'error',message:'单个关键词不能超过20个字'}) this.$message({type:'error',message:'单个关键词不能超过20个字'})
tags = newTags.slice(0,-1) tags = newTags.slice(0,-1)
} }
}" /> }" />
</el-form-item> </el-form-item>
<el-form-item label="内容摘要:"> <el-form-item label="内容摘要:">
@@ -426,7 +426,7 @@ export default {
this.$refs.tree.filter(val); this.$refs.tree.filter(val);
} }
}, },
methods: { methods: {
init() { init() {
this.getTreeLabel() this.getTreeLabel()
@@ -479,7 +479,7 @@ export default {
this.getTreeLabel() this.getTreeLabel()
} }
}) })
done(); done();
}) })
.catch(_ => { }); .catch(_ => { });
@@ -712,7 +712,7 @@ export default {
this.labelList(); this.labelList();
this.reset(); this.reset();
}, },
/* =============================================== 报告上传 =============================================== */ /* =============================================== 报告上传 =============================================== */
// 打开报告上传 // 打开报告上传
openReportAdd() { openReportAdd() {
@@ -815,7 +815,7 @@ export default {
confidentialLevel:undefined, //涉密等级 confidentialLevel:undefined, //涉密等级
labelList:[] //标签 labelList:[] //标签
}; };
this.tags = [] this.tags = []
this.mode = mode; this.mode = mode;
// this.labelList(); // this.labelList();
let rowData = JSON.parse(JSON.stringify(row)); let rowData = JSON.parse(JSON.stringify(row));
@@ -1422,4 +1422,7 @@ export default {
} }
} }
} }
.deleRed{
color: red !important;
}
</style> </style>