88 lines
2.7 KiB
Vue
88 lines
2.7 KiB
Vue
|
|
<template>
|
|||
|
|
<div class="">
|
|||
|
|
<el-row>
|
|||
|
|
<el-button icon="el-icon-arrow-left" size="small" @click="backClick">返回</el-button>
|
|||
|
|
<el-button size="small" @click="successOrder">操作</el-button>
|
|||
|
|
</el-row>
|
|||
|
|
<el-descriptions title="基本信息:" class="margin-top" :column="1" border>
|
|||
|
|
<el-descriptions-item label="洲序号">{{ emisContinent.id }}</el-descriptions-item>
|
|||
|
|
<el-descriptions-item label="洲名称">{{ emisContinent.name }}</el-descriptions-item>
|
|||
|
|
<el-descriptions-item label="英文名称">{{ emisContinent.nameEn }}</el-descriptions-item>
|
|||
|
|
<el-descriptions-item label="洲代码(段码使用)">{{ emisContinent.code }}</el-descriptions-item>
|
|||
|
|
<el-descriptions-item label="二字码">{{ emisContinent.twoCode }}</el-descriptions-item>
|
|||
|
|
<el-descriptions-item label="三字码">{{ emisContinent.threeCode }}</el-descriptions-item>
|
|||
|
|
<el-descriptions-item label="备注">{{ emisContinent.remark }}</el-descriptions-item>
|
|||
|
|
<el-descriptions-item label="租户ID">{{ emisContinent.tenantId }}</el-descriptions-item>
|
|||
|
|
<el-descriptions-item label="删除标志(0代表存在">{{ emisContinent.delFlag }}</el-descriptions-item>
|
|||
|
|
<el-descriptions-item label="创建者">{{ emisContinent.createBy }}</el-descriptions-item>
|
|||
|
|
<el-descriptions-item label="创建时间">{{ emisContinent.createTime }}</el-descriptions-item>
|
|||
|
|
<el-descriptions-item label="更新者">{{ emisContinent.updateBy }}</el-descriptions-item>
|
|||
|
|
<el-descriptions-item label="更新时间">{{ emisContinent.updateTime }}</el-descriptions-item>
|
|||
|
|
</el-descriptions>
|
|||
|
|
</div>
|
|||
|
|
</template>
|
|||
|
|
|
|||
|
|
<script>
|
|||
|
|
import { getEmisContinent } from "@/api/emis/emisContinent";
|
|||
|
|
|
|||
|
|
export default {
|
|||
|
|
name: "emisContinentView",
|
|||
|
|
props:{
|
|||
|
|
id:undefined
|
|||
|
|
},
|
|||
|
|
dicts: [],
|
|||
|
|
data() {
|
|||
|
|
return {
|
|||
|
|
// 遮罩层
|
|||
|
|
loading: true,
|
|||
|
|
// 地球洲表格数据
|
|||
|
|
emisContinent: {}
|
|||
|
|
|
|||
|
|
};
|
|||
|
|
},
|
|||
|
|
created() {
|
|||
|
|
this.initData();
|
|||
|
|
},
|
|||
|
|
watch: {
|
|||
|
|
"id": {
|
|||
|
|
handler (newValue, oldValue) {
|
|||
|
|
this.id = newValue;
|
|||
|
|
this.initData();
|
|||
|
|
},
|
|||
|
|
deep: true
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
methods: {
|
|||
|
|
/** 查询地球洲列表 */
|
|||
|
|
initData() {
|
|||
|
|
this.loading = true;
|
|||
|
|
getEmisContinent(this.id).then(response => {
|
|||
|
|
this.emisContinent = response.data;
|
|||
|
|
this.loading = false;
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
},
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
};
|
|||
|
|
</script>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<style rel="stylesheet/scss" lang="scss">
|
|||
|
|
|
|||
|
|
.margin-top{
|
|||
|
|
margin-top: 20px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.el-descriptions-item__label.is-bordered-label {
|
|||
|
|
min-width: 80px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.printMeClass {
|
|||
|
|
font-family: SimHei;
|
|||
|
|
label {
|
|||
|
|
font-weight: normal;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
</style>
|