| | |
| | | responseType: 'blob' |
| | | }) |
| | | } |
| | | |
| | | export const getFormTemplate = (params) => { |
| | | return request({ |
| | | url: '/ubcs-code/ubcs-code/mdmEngineController/getFormDefineByTemplateOid', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | } |
对比新文件 |
| | |
| | | <template>
|
| | | <div>
|
| | | </div>
|
| | | </template>
|
| | |
|
| | | <script>
|
| | | import { getFormTemplate } from '../../api/common';
|
| | | export default {
|
| | | name: 'FormTemplate',
|
| | | props: {
|
| | | visible: {
|
| | | type: Boolean,
|
| | | default: false
|
| | | },
|
| | | },
|
| | | created() {
|
| | | this.getFormTemplate()
|
| | | },
|
| | | data() {
|
| | | return {
|
| | | load: false
|
| | | }
|
| | | },
|
| | | methods: {
|
| | | getFormTemplate() {
|
| | | this.load = true
|
| | | getFormTemplate({
|
| | | templateOid: '78B8C7C5-A042-0B96-FE6D-65421451782A',
|
| | | codeClassifyOid: '4524E801-6CC6-92E8-1AC3-2AB9604E8F96'
|
| | | }).then(res => {
|
| | | console.log(res);
|
| | | }).catch(err => {
|
| | | console.log(err);
|
| | | })
|
| | | }
|
| | | }
|
| | | }
|
| | | </script>
|
| | |
|
| | | <style lang='less' scoped>
|
| | |
|
| | | </style> |
对比新文件 |
| | |
| | | <template>
|
| | | <div></div>
|
| | | </template>
|
| | |
|
| | | <script>
|
| | |
|
| | | </script>
|
| | |
|
| | | <style lang='less' scoped>
|
| | |
|
| | | </style> |