|
@@ -250,9 +250,9 @@
|
|
|
type:type||'warning'
|
|
|
})
|
|
|
},
|
|
|
- showConfirmDialog(msg,resolve){
|
|
|
+ showConfirmDialog(msg,resolve,okText){
|
|
|
this.$confirm(msg, '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
+ confirmButtonText: okText||'确定',
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
@@ -265,7 +265,7 @@
|
|
|
if(code==='00000005'){
|
|
|
this.showConfirmDialog(msg,()=>{
|
|
|
this.unbindQcType(data,type);
|
|
|
- });
|
|
|
+ },'解绑');
|
|
|
}else{
|
|
|
if(type==='modify'){
|
|
|
this.toEditField(data,type); //编辑
|