| | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="24"> |
| | | <a-form-item |
| | | :labelCol="{span:3}" |
| | | :wrapperCol="{span:21}" |
| | | :labelCol="{span:4}" |
| | | :wrapperCol="{span:18}" |
| | | label="文件类型" |
| | | > |
| | | <a-radio-group |
| | | <j-dict-select-tag |
| | | allow-clear |
| | | placeholder="请选择文档类型" |
| | | :triggerChange="true" |
| | | dictCode="mom_eam_document_type,name,id, del_flag!='1'" |
| | | v-decorator="['fileType', validatorRules.fileType ]" |
| | | /> |
| | | <!-- <a-radio-group |
| | | v-for="(item,index) in fileTypes" |
| | | :key="index" |
| | | button-style="solid" |
| | |
| | | <a-radio-button :value="item.value"> |
| | | {{item.text}} |
| | | </a-radio-button> |
| | | </a-radio-group> |
| | | </a-radio-group> --> |
| | | |
| | | </a-form-item> |
| | | </a-col> |
| | |
| | | handleCancel() { |
| | | this.close(); |
| | | }, |
| | | initFileTypes() { |
| | | ajaxGetDictItems("common_upload_type", null).then((res) => { |
| | | if (res.success) { |
| | | this.fileTypes = res.result; |
| | | } |
| | | }) |
| | | }, |
| | | // initFileTypes() { |
| | | // ajaxGetDictItems("common_upload_type", null).then((res) => { |
| | | // if (res.success) { |
| | | // this.fileTypes = res.result; |
| | | // } |
| | | // }) |
| | | // }, |
| | | |
| | | }, |
| | | |
| | | created() { |
| | | this.initFileTypes(); |
| | | // this.initFileTypes(); |
| | | const token = Vue.ls.get(ACCESS_TOKEN); |
| | | const tenantid = Vue.ls.get(TENANT_ID) |
| | | this.headers = { |