Commit 2379436d by xinla

--no commit message

1 parent cf037571
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
this.$router.push({ path: path, query: { id } }) this.$router.push({ path: path, query: { id } })
}, },
removeFn(id) { removeFn(id) {
this.$confirm('是否确认删除当前质检规则??', '提示', { this.$confirm('是否确认删除当前质检规则?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</el-form> </el-form>
</div> </div>
<div class="g-footer-sticky bottom" v-if="roles[activeIndex]"> <div class="g-footer-sticky bottom" v-if="roles[activeIndex]">
<el-button plain type="danger">删除</el-button> <!-- <el-button plain type="danger">删除</el-button> -->
<el-button type="primary" @click="edtiFn">编辑</el-button> <el-button type="primary" @click="edtiFn">编辑</el-button>
</div> </div>
</div> </div>
......
...@@ -71,6 +71,8 @@ export default { ...@@ -71,6 +71,8 @@ export default {
// const operIds = id || this.ids + '' // const operIds = id || this.ids + ''
this.$confirm('是否确认删除?该操作不可撤销,请谨慎操作。', { this.$confirm('是否确认删除?该操作不可撤销,请谨慎操作。', {
title: '警告', title: '警告',
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning', type: 'warning',
}) })
.then(function () { .then(function () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!