|
@@ -56,7 +56,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="责任人" style="width:100%;" prop="assigner">
|
|
<el-form-item label="责任人" style="width:100%;" prop="assigner">
|
|
- <el-select v-model="formInline.assigner" filterable remote reserve-keyword :remote-method="remoteMethod" :loading="loading" size="small" style="width: 100%" placeholder="请输入姓名或邮箱前缀" @change="getcurrentHandler(formInline.assigner)">
|
|
|
|
|
|
+ <el-select v-model="formInline.assigner" multiple filterable remote :remote-method="remoteMethod" :loading="loading" size="small" style="width: 100%" placeholder="请输入姓名或邮箱前缀" @change="getcurrentHandler(formInline.assigner)">
|
|
<el-option v-for="item in options" :key="item.idap" :label="item.name" :value="test2(item, 0)">
|
|
<el-option v-for="item in options" :key="item.idap" :label="item.name" :value="test2(item, 0)">
|
|
<div style="display: flex;justify-content: start;">
|
|
<div style="display: flex;justify-content: start;">
|
|
<div style="min-width:100px;color: #8492a6; font-size: 13px; overflow:hidden">{{ item.deptName }}</div>
|
|
<div style="min-width:100px;color: #8492a6; font-size: 13px; overflow:hidden">{{ item.deptName }}</div>
|
|
@@ -99,7 +99,7 @@
|
|
<el-input v-model="formInline.creatorList" :disabled="true" size="small" placeholder="请输入姓名或邮箱前缀" style="width:100%;" />
|
|
<el-input v-model="formInline.creatorList" :disabled="true" size="small" placeholder="请输入姓名或邮箱前缀" style="width:100%;" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="修复人" style="width:100%;" prop="currentHandler">
|
|
<el-form-item label="修复人" style="width:100%;" prop="currentHandler">
|
|
- <el-select v-model="formInline.currentHandler" filterable remote reserve-keyword :remote-method="remoteMethod" :loading="loading" size="small" style="width: 100%" placeholder="请输入姓名或邮箱前缀">
|
|
|
|
|
|
+ <el-select v-model="formInline.currentHandler" multiple filterable remote :remote-method="remoteMethod" :loading="loading" size="small" style="width: 100%" placeholder="请输入姓名或邮箱前缀">
|
|
<el-option v-for="item in options" :key="item.idap" :label="item.name" :value="test2(item, 0)">
|
|
<el-option v-for="item in options" :key="item.idap" :label="item.name" :value="test2(item, 0)">
|
|
<div style="display: flex;justify-content: start;">
|
|
<div style="display: flex;justify-content: start;">
|
|
<div style="min-width:100px;color: #8492a6; font-size: 13px; overflow:hidden">{{ item.deptName }}</div>
|
|
<div style="min-width:100px;color: #8492a6; font-size: 13px; overflow:hidden">{{ item.deptName }}</div>
|
|
@@ -367,8 +367,11 @@ export default {
|
|
bug_created(e) { // 创建(提交)
|
|
bug_created(e) { // 创建(提交)
|
|
this.$refs['formInline'].validate((valid) => {
|
|
this.$refs['formInline'].validate((valid) => {
|
|
if (valid) {
|
|
if (valid) {
|
|
|
|
+ const data = e
|
|
|
|
+ data.currentHandler = e.currentHandler.join()
|
|
|
|
+ data.assigner = e.assigner.join()
|
|
var user = { name: this.userNames, ename: this.userInformation, id: '' }
|
|
var user = { name: this.userNames, ename: this.userInformation, id: '' }
|
|
- bugCreate({ bugBaseInfo: e, user }).then(res => {
|
|
|
|
|
|
+ bugCreate({ bugBaseInfo: data, user }).then(res => {
|
|
this.bugListSelect()
|
|
this.bugListSelect()
|
|
this.modalShow = false
|
|
this.modalShow = false
|
|
this.$message({ message: res.msg, type: 'success', duration: 1000, offset: 150 })
|
|
this.$message({ message: res.msg, type: 'success', duration: 1000, offset: 150 })
|