提交 ddb154f7 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

fix issues

上级 a2f072bd
......@@ -268,9 +268,8 @@ export default {
this.refer.file = this.referFiles.join(',')
this.refer.colName = this.referColNames
} else if (this.refer.type == 'ranges' || this.refer.type == 'instances') {
this.refer.colName = this.referColNames.join(',')
this.refer.file = this.referFiles
} else if (this.refer.type == 'config' || this.refer.type == 'ranges' || this.refer.type == 'instances') {
console.log('')
} else if (this.refer.type === 'excel') {
if (this.refer.file.lastIndexOf('.xlsx') > 0) {
......@@ -359,9 +358,10 @@ export default {
})
} else if (this.refer.type != 'value') {
console.log(this.files, this.referFiles)
console.log('***', this.files, this.referFiles)
this.files.forEach((fi) => {
if (fi.referName === this.referFiles) id = fi.id
if (fi.referName === this.refer.file) id = fi.id
})
listReferResFieldForSelection(id, this.refer.type).then(json => {
......@@ -375,6 +375,7 @@ export default {
}
},
convertExcelFileColToPath() {
// excel refer has a sheet file after last "."
if (this.refer.type == 'excel') {
this.refer.file = this.refer.file.substring(0, this.refer.file.lastIndexOf('.')) + '.xlsx'
}
......
......@@ -9,4 +9,4 @@ fields:
select: name
where: state like '%山东%'
- field: 新字段333
range: 1-3
range: users/test/dir/content.yaml
134
135
136
137
138
139
147
150
151
152
157
158
159
182
187
188
130
131
132
155
156
186
185
176
145
133
149
153
173
177
180
181
189
199
193
\ No newline at end of file
DeepTest
禅道
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册