|
@@ -15,7 +15,7 @@
|
|
</div>
|
|
</div>
|
|
</template-page>
|
|
</template-page>
|
|
<div class="cartographer_big">
|
|
<div class="cartographer_big">
|
|
- <el-dialog title="创建" width="100%" :modal="false" :visible.sync="createFormBool" :before-close="handleClose">
|
|
|
|
|
|
+ <el-dialog :title="id?'详情':'创建'" width="100%" :modal="false" :visible.sync="createFormBool" :before-close="handleClose">
|
|
<formModule v-if="createFormBool" :id="id" :handleClose="handleClose" />
|
|
<formModule v-if="createFormBool" :id="id" :handleClose="handleClose" />
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
@@ -99,6 +99,14 @@ export default {
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+ created() {
|
|
|
|
+ if (this.pageType == "detail") {
|
|
|
|
+ this.id = this.pageCode
|
|
|
|
+ this.createFormBool = true
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+
|
|
methods: {
|
|
methods: {
|
|
// 列表请求函数
|
|
// 列表请求函数
|
|
getList(p) {
|
|
getList(p) {
|