|
|
|
@ -323,10 +323,12 @@ export default {
|
|
|
|
|
submit() {
|
|
|
|
|
this.$refs.form.validate(valid => {
|
|
|
|
|
if (valid) {
|
|
|
|
|
for (const item of this.dataInfo.extractAttributes) {
|
|
|
|
|
if (item.attrName === '' || item.attrValueType === '') {
|
|
|
|
|
this.$baseMessage.error('请填写完整属性')
|
|
|
|
|
return
|
|
|
|
|
if (this.dataInfo.type === '1') {
|
|
|
|
|
for (const item of this.dataInfo.extractAttributes) {
|
|
|
|
|
if (item.attrName === '' || item.attrValueType === '') {
|
|
|
|
|
this.$baseMessage.error('请填写完整属性')
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
const params = {
|
|
|
|
|