|
@@ -147,10 +147,10 @@
|
|
|
<MaterialManagementDialog ref="materialManagementDialog" @getUpload="getUpload"></MaterialManagementDialog>
|
|
|
|
|
|
</div>
|
|
|
- </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ // import MakeFormService from '@/api/form/MakeFormService'
|
|
|
import CommonApi from '@/api/cw/common/CommonApi'
|
|
|
import ReimbursementApprovalTypeService from '@/api/cw/reimbursementApproval/ReimbursementApprovalTypeService'
|
|
|
import ReimbursementTypeService from '@/api/sys/ReimbursementTypeService'
|
|
@@ -235,6 +235,7 @@
|
|
|
comment: ''
|
|
|
}
|
|
|
},
|
|
|
+ // makeFormService: null,
|
|
|
reimbursementApprovalTypeService: null,
|
|
|
reimbursementTypeService: null,
|
|
|
userService: null,
|
|
@@ -242,6 +243,7 @@
|
|
|
materialManagementService: null,
|
|
|
reimbursementService: null,
|
|
|
created () {
|
|
|
+ // this.makeFormService = new MakeFormService()
|
|
|
this.reimbursementApprovalTypeService = new ReimbursementApprovalTypeService()
|
|
|
this.userService = new UserService()
|
|
|
this.commonApi = new CommonApi()
|
|
@@ -250,7 +252,7 @@
|
|
|
this.reimbursementService = new ReimbursementService()
|
|
|
},
|
|
|
activated () {
|
|
|
- // this.init('view', this.businessId)
|
|
|
+ // this.createForm()
|
|
|
},
|
|
|
props: {
|
|
|
businessId: {
|
|
@@ -1053,6 +1055,17 @@
|
|
|
this.$router.push('/sys/dashboard/workBench/Pending')
|
|
|
}
|
|
|
this.close()
|
|
|
+ },
|
|
|
+ createForm () {
|
|
|
+ console.log(1442846239199617026)
|
|
|
+ this.makeFormService.queryById('1442846239199617026').then(({data}) => {
|
|
|
+ if (data.source) {
|
|
|
+ // this.options = JSON.parse(data.source)
|
|
|
+ } else {
|
|
|
+ // this.options = {'list': [], 'config': {'labelWidth': 100, 'labelPosition': 'right', 'size': 'small', 'customClass': ''}}
|
|
|
+ }
|
|
|
+ // this.generateModel(this.options.list)
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|