Commit 201e7228 authored by 11528's avatar 11528

不良定义和工站的确定和修改按钮样式

parent f65f1e66
......@@ -207,8 +207,8 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button class="canleBtn" @click="cancel">取 消</el-button>
<el-button type="danger" class="redBtn" @click="submitForm">确 定</el-button>
<el-button class="canleBtn" @click="cancel">取 消 Cancel</el-button>
<el-button type="danger" class="redBtn" @click="submitForm">确 定 Confirm</el-button>
</div>
</el-dialog>
</div>
......@@ -301,8 +301,8 @@ export default {
console.log(row)
const text = row.flag === '0' ? '停用' : '启用'
this.$confirm(`“${row.staName}”工站即将被${text},是否继续?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
confirmButtonText: '确定 Confirm',
cancelButtonText: '取消 Cancel',
cancelButtonClass: 'btn-custom-cancel',
customClass: 'confirmBtnSure',
type: 'warning'
......@@ -332,8 +332,8 @@ export default {
/** 删除按钮方法 **/
handleDelete(row) {
this.$confirm('所选择数据被删除后不可再恢复,是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
confirmButtonText: '确定 Confirm',
cancelButtonText: '取消 Cancel',
cancelButtonClass: 'btn-custom-cancel',
type: 'warning'
}).then(function() {
......
......@@ -227,8 +227,8 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button class="canleBtn" @click="cancel"></el-button>
<el-button class="redBtn" type="danger" @click="submitForm"></el-button>
<el-button class="canleBtn" @click="cancel"> 消 Cancel</el-button>
<el-button class="redBtn" type="danger" @click="submitForm"> 定 Confirm</el-button>
</div>
</el-dialog>
<!-- <el-dialog :close-on-click-modal="false" class="badDialog" title="修改" :visible.sync="openBadOne" width="60%" append-to-body>-->
......@@ -302,8 +302,8 @@
<!-- </el-row>-->
<!-- </el-form>-->
<!-- <div slot="footer" class="dialog-footer">-->
<!-- <el-button class="canleBtn" @click="cancel">取消</el-button>-->
<!-- <el-button class="redBtn" type="danger" @click="submitForm">确定</el-button>-->
<!-- <el-button class="canleBtn" @click="cancel">取消 Cancel</el-button>-->
<!-- <el-button class="redBtn" type="danger" @click="submitForm">确定 Confirm</el-button>-->
<!-- </div>-->
<!-- </el-dialog>-->
</div>
......@@ -445,8 +445,8 @@ export default {
handleDelete(row) {
const badId = row.businessId
this.$confirm('本条数据被删除后不可再恢复,是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
confirmButtonText: '确定 Confirm',
cancelButtonText: '取消 Cancel',
cancelButtonClass: 'btn-custom-cancel',
type: 'warning'
}).then(function() {
......@@ -468,7 +468,7 @@ export default {
this.title = '修改'
// this.getChildrenDept(userId)
},
/** 取消按钮操作 */
/** 取消 Cancel按钮操作 */
cancel() {
this.openBad = false
this.reset()
......@@ -477,8 +477,8 @@ export default {
handleStatusChange(row) {
const text = row.flag === '1' ? '启用' : '停用'
this.$confirm('确认要' + text + '编号为"' + row.rejectCode + '"的状态吗?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
confirmButtonText: '确定 Confirm',
cancelButtonText: '取消 Cancel',
cancelButtonClass: 'btn-custom-cancel',
type: 'warning'
}).then(function() {
......@@ -567,8 +567,8 @@ export default {
handleExport() {
const queryParams = this.queryParams
this.$confirm('是否确认导出所有用户信息?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
confirmButtonText: '确定 Confirm',
cancelButtonText: '取消 Cancel',
cancelButtonClass: 'btn-custom-cancel',
type: 'warning'
}).then(function() {
......
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