Commit 201e7228 authored by 11528's avatar 11528

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

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