Commit 8fb3c099 authored by wangxl's avatar wangxl

333

parent b2651582
......@@ -22,7 +22,7 @@
</a-row>
<a-row>
<a-col :span="24">
<audit-list v-model="projectInfo.auditList" />
<audit-list v-model="formData.auditList" />
</a-col>
</a-row>
<a-form-model ref="form" :model="auditObj" :rules="rules" class="from-table font-line-space">
......@@ -48,7 +48,7 @@ import AuditEdit from '@/views/audit/components/auditEdit'
export default {
name: "Audit",
components: {
projectInfo, projectInfoKey, AuditList, AuditEdit
formData, projectInfoKey, AuditList, AuditEdit
},
data () {
return {
......@@ -66,7 +66,7 @@ export default {
{ title: '单位科研项目及资金管理制度', key: '10', isShow: true },
// { title: '诚信承诺书', key: '11', isShow: true },
],
projectInfo: {
formData: {
id: null,
organizationCode: null,
address: null,
......@@ -148,7 +148,7 @@ export default {
this.loading = true
this.$api.project.getProjectInfoById(pars).then(({ data = {} }) => {
if (data) {
this.projectInfo = data
this.formData = data
this.loading = false
} else
this.$emit('close', 'error')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment