|
|
@@ -366,11 +366,19 @@
|
|
|
this.selection.map((item) => {
|
|
|
ids.push(item.id);
|
|
|
});
|
|
|
- this.$confirm(`是否要完结${this.selection.length}条工单?`, '提醒', {
|
|
|
- confirmButtonText: '确认',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
+ const h = this.$createElement;
|
|
|
+ this.$msgbox({
|
|
|
+ title: '提醒',
|
|
|
+ message: h('p', null, [
|
|
|
+ h('span', null, '是否要完结 '),
|
|
|
+ h('span', { style: 'color: #70B603' }, `${this.selection.length}`),
|
|
|
+ h('span', null, ' 条工单?'),
|
|
|
+ ]),
|
|
|
+ showCancelButton: true,
|
|
|
+ confirmButtonText: '确认',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
.then(() => {
|
|
|
batchCompletion(ids).then((res) => {
|
|
|
this.$message.success('成功');
|