增加分配按钮的功能

This commit is contained in:
季圣华
2021-04-28 23:24:37 +08:00
parent 909af32e60
commit 04e3fc85b7
5 changed files with 121 additions and 51 deletions

View File

@@ -1,7 +1,7 @@
<template>
<a-modal
:title="title"
:width="800"
:width="width"
:visible="visible"
:confirmLoading="confirmLoading"
@ok="handleOk"
@@ -52,6 +52,7 @@
data () {
return {
title:"操作",
width: '800px',
visible: false,
model: {},
roleId: 0,
@@ -111,7 +112,7 @@
}
obj.then((res)=>{
if(res.code === 200){
that.$emit('ok');
that.$emit('ok', this.roleId);
}else{
that.$message.warning(res.data.message);
}