标准/译文申请 人员选择BUG
This commit is contained in:
@@ -273,7 +273,6 @@ export default {
|
|||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
let idList = ''
|
let idList = ''
|
||||||
let nameList = ''
|
let nameList = ''
|
||||||
console.log(data)
|
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
if (nameList.length > 0) {
|
if (nameList.length > 0) {
|
||||||
nameList += ','
|
nameList += ','
|
||||||
@@ -291,10 +290,7 @@ export default {
|
|||||||
const nameId = id.split(',')
|
const nameId = id.split(',')
|
||||||
let idList = []
|
let idList = []
|
||||||
nameId.forEach(item => {
|
nameId.forEach(item => {
|
||||||
let a, b
|
idList.push(item)
|
||||||
a = item.substring(item.indexOf('(') + 1)
|
|
||||||
b = a.substring(0, a.lastIndexOf(')'))
|
|
||||||
idList.push(b)
|
|
||||||
})
|
})
|
||||||
idList = idList.join(',')
|
idList = idList.join(',')
|
||||||
this.nodeList.push(idList)
|
this.nodeList.push(idList)
|
||||||
|
|||||||
Reference in New Issue
Block a user