|
@@ -1,12 +1,17 @@
|
|
<template>
|
|
<template>
|
|
<div id="detail">
|
|
<div id="detail">
|
|
<el-row>
|
|
<el-row>
|
|
- <el-col :span="24">
|
|
|
|
|
|
+ <el-col :span="24" class="debt">
|
|
<el-col :span="24" class="top">
|
|
<el-col :span="24" class="top">
|
|
- 头部
|
|
|
|
|
|
+ <topInfo :topTitle="topTitle" :display="display"></topInfo>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24">
|
|
|
|
- <detailInfo :ruleForm="ruleForm" @submitForm="submitForm" @resetForm="resetForm"></detailInfo>
|
|
|
|
|
|
+ <el-col :span="24" class="main">
|
|
|
|
+ <el-col :span="24" class="back">
|
|
|
|
+ <detailTop @goBack="goBack"></detailTop>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="24" class="info">
|
|
|
|
+ <detailInfo :ruleForm="ruleForm" @submitForm="submitForm" @resetForm="resetForm"></detailInfo>
|
|
|
|
+ </el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -14,28 +19,55 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+import topInfo from '@/layout/common/topInfo.vue';
|
|
|
|
+import detailTop from '@/layout/common/detailTop.vue';
|
|
import detailInfo from '@/layout/institution/detailInfo.vue';
|
|
import detailInfo from '@/layout/institution/detailInfo.vue';
|
|
export default {
|
|
export default {
|
|
name: 'detail',
|
|
name: 'detail',
|
|
props: {},
|
|
props: {},
|
|
components: {
|
|
components: {
|
|
|
|
+ topInfo, //头部导航
|
|
|
|
+ detailTop, //返回
|
|
detailInfo, //提交
|
|
detailInfo, //提交
|
|
},
|
|
},
|
|
data: () => ({
|
|
data: () => ({
|
|
|
|
+ display: 'none',
|
|
|
|
+ topTitle: '金融机构',
|
|
ruleForm: {},
|
|
ruleForm: {},
|
|
}),
|
|
}),
|
|
created() {},
|
|
created() {},
|
|
computed: {},
|
|
computed: {},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 提交
|
|
submitForm(form) {
|
|
submitForm(form) {
|
|
console.log(form);
|
|
console.log(form);
|
|
this.resetForm();
|
|
this.resetForm();
|
|
},
|
|
},
|
|
|
|
+ // 取消
|
|
resetForm() {
|
|
resetForm() {
|
|
this.$router.push({ path: '/financial/index' });
|
|
this.$router.push({ path: '/financial/index' });
|
|
},
|
|
},
|
|
|
|
+ // 返回
|
|
|
|
+ goBack() {
|
|
|
|
+ this.$router.go(-1);
|
|
|
|
+ },
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
-<style lang="scss" scoped></style>
|
|
|
|
|
|
+<style lang="less" scoped>
|
|
|
|
+.debt {
|
|
|
|
+ padding: 20px;
|
|
|
|
+}
|
|
|
|
+.top {
|
|
|
|
+ border-bottom: 1px solid #ccc;
|
|
|
|
+}
|
|
|
|
+.main {
|
|
|
|
+ border-radius: 10px;
|
|
|
|
+ margin: 20px 0 0 0;
|
|
|
|
+ box-shadow: 0 0 3px #666;
|
|
|
|
+}
|
|
|
|
+.main .back {
|
|
|
|
+ padding: 10px 0 10px 15px;
|
|
|
|
+}
|
|
|
|
+</style>
|