Commit 8fb3c099 authored by wangxl's avatar wangxl

333

parent b2651582
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</a-row> </a-row>
<a-row> <a-row>
<a-col :span="24"> <a-col :span="24">
<audit-list v-model="projectInfo.auditList" /> <audit-list v-model="formData.auditList" />
</a-col> </a-col>
</a-row> </a-row>
<a-form-model ref="form" :model="auditObj" :rules="rules" class="from-table font-line-space"> <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' ...@@ -48,7 +48,7 @@ import AuditEdit from '@/views/audit/components/auditEdit'
export default { export default {
name: "Audit", name: "Audit",
components: { components: {
projectInfo, projectInfoKey, AuditList, AuditEdit formData, projectInfoKey, AuditList, AuditEdit
}, },
data () { data () {
return { return {
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
{ title: '单位科研项目及资金管理制度', key: '10', isShow: true }, { title: '单位科研项目及资金管理制度', key: '10', isShow: true },
// { title: '诚信承诺书', key: '11', isShow: true }, // { title: '诚信承诺书', key: '11', isShow: true },
], ],
projectInfo: { formData: {
id: null, id: null,
organizationCode: null, organizationCode: null,
address: null, address: null,
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
this.loading = true this.loading = true
this.$api.project.getProjectInfoById(pars).then(({ data = {} }) => { this.$api.project.getProjectInfoById(pars).then(({ data = {} }) => {
if (data) { if (data) {
this.projectInfo = data this.formData = data
this.loading = false this.loading = false
} else } else
this.$emit('close', 'error') 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