ocr文本状态修改
This commit is contained in:
@@ -89,10 +89,18 @@
|
||||
<span class="title-text-text">{{item.db_field_txt}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" :prop="item.db_field_name">
|
||||
<j-dict-select-tag class="box-input" v-model="formInline[item.db_field_name]"
|
||||
:disabled="disabled"
|
||||
:placeholder="$t('PleaseSelect')+item.db_field_txt" :type="'select'"
|
||||
:triggerChange="false" :dictCode="item.dict_field"/>
|
||||
<!-- <j-dict-select-tag class="box-input" v-model="formInline[item.db_field_name]"-->
|
||||
<!-- :disabled="disabled"-->
|
||||
<!-- :placeholder="$t('PleaseSelect')+item.db_field_txt" :type="'select'"-->
|
||||
<!-- :triggerChange="false" :dictCode="item.dict_field"/>-->
|
||||
<a-select class="box-input" v-model="formInline[item.db_field_name]"
|
||||
:disabled="disabled"
|
||||
:placeholder="$t('PleaseSelect')+item.db_field_txt" @change="handleChange">
|
||||
|
||||
<a-select-option v-for="(element) in item.value_list" :value="element">
|
||||
{{element}}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
},
|
||||
methods:{
|
||||
beforeUpload(file,fileList) {
|
||||
console.log('file',this.accept)
|
||||
// console.log('file',this.accept)
|
||||
this.fileTypeSatus=false
|
||||
if(this.myfileList&&this.myfileList.length>=1){
|
||||
this.$message.warning('只能上传一个文件')
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
})
|
||||
},
|
||||
afterVisibleChange(val) {
|
||||
console.log('visible', val);
|
||||
// console.log('visible', val);
|
||||
},
|
||||
onClose() {
|
||||
this.visible = false;
|
||||
@@ -242,22 +242,23 @@
|
||||
title:this.rows[0].title,
|
||||
|
||||
}
|
||||
if(this.rows[0].text_info=='发布稿(必读)'){
|
||||
params.fileType='1'
|
||||
}else if(this.rows[0].text_info=='增补件(必读)'){
|
||||
params.fileType='2'
|
||||
}else if(this.rows[0].text_info=='报批稿'){
|
||||
params.fileType='3'
|
||||
}else if(this.rows[0].text_info=='征求意见稿'){
|
||||
params.fileType='4'
|
||||
}else if(this.rows[0].text_info=='测试程序'){
|
||||
params.fileType='5'
|
||||
}else if(this.rows[0].text_info=='相关资料'){
|
||||
params.fileType='6'
|
||||
}
|
||||
params.fileType=this.rows[0].text_info
|
||||
// if(this.rows[0].text_info=='发布稿(必读)'){
|
||||
// params.fileType='1'
|
||||
// }else if(this.rows[0].text_info=='增补件(必读)'){
|
||||
// params.fileType='2'
|
||||
// }else if(this.rows[0].text_info=='报批稿'){
|
||||
// params.fileType='3'
|
||||
// }else if(this.rows[0].text_info=='征求意见稿'){
|
||||
// params.fileType='4'
|
||||
// }else if(this.rows[0].text_info=='测试程序'){
|
||||
// params.fileType='5'
|
||||
// }else if(this.rows[0].text_info=='相关资料'){
|
||||
// params.fileType='6'
|
||||
// }
|
||||
let formData = new FormData()
|
||||
Object.keys(params).forEach((key) => {
|
||||
console.log('key',key,params[key])
|
||||
// console.log('key',key,params[key])
|
||||
formData.append(key, params[key]);
|
||||
});
|
||||
// console.log('formData',params,formData.getAll)
|
||||
|
||||
Reference in New Issue
Block a user