[update] binaji
This commit is contained in:
@@ -428,8 +428,7 @@ export default {
|
|||||||
Onchangelabel(val) {
|
Onchangelabel(val) {
|
||||||
console.log(val,'lllll')
|
console.log(val,'lllll')
|
||||||
// 新增
|
// 新增
|
||||||
if(this.title = '新增') {
|
if(this.title === '新增') {
|
||||||
console.log('xinzneg')
|
|
||||||
let _tt = []
|
let _tt = []
|
||||||
val.forEach((item) => {
|
val.forEach((item) => {
|
||||||
_tt.push({
|
_tt.push({
|
||||||
@@ -442,19 +441,19 @@ export default {
|
|||||||
})
|
})
|
||||||
this.contentList = _tt
|
this.contentList = _tt
|
||||||
} else {
|
} else {
|
||||||
// 编辑
|
// 编辑 todo
|
||||||
// console.log(this.contentListed,'this.contentListed')
|
// console.log(this.contentListed,'this.contentListed')
|
||||||
// let _tt = []
|
// val.forEach((item) => {
|
||||||
// this.contentListed.forEach((item) => {
|
// this.contentListed.push({
|
||||||
// _tt.push({
|
// textVal: item.text, // tab
|
||||||
// textVal: item.textVal, // tab
|
|
||||||
// certCategory: item.value, // 所属认证类别
|
// certCategory: item.value, // 所属认证类别
|
||||||
// paramsNumber: item.paramsNumber, // 编号
|
// paramsNumber: '', // 编号
|
||||||
// paramsName: item.paramsName, // 参数名称
|
// paramsName: '', // 参数名称
|
||||||
// description: item.description// 参数说明
|
// description: ''// 参数说明
|
||||||
// })
|
// })
|
||||||
// })
|
// })
|
||||||
// this.contentList = _tt
|
// this.contentList = this.contentListed
|
||||||
|
// this.contentList = val
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Onchange() {
|
Onchange() {
|
||||||
|
|||||||
Reference in New Issue
Block a user