63 lines
1.1 KiB
Vue
63 lines
1.1 KiB
Vue
<template>
|
|
<div class="Page" v-if="showPage">
|
|
<div class="processNames">{{ detail.processName }}</div>
|
|
|
|
<div class="types">{{ detail.classificationName }}</div>
|
|
|
|
<div class="conts" v-html="detail.needToKnow"></div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'detail',
|
|
components: {},
|
|
props: {},
|
|
data() {
|
|
return {
|
|
showPage: false,
|
|
id: '',
|
|
detail: {},
|
|
}
|
|
},
|
|
computed: {},
|
|
watch: {},
|
|
onLoad(option) {
|
|
this.id = option.id
|
|
this.getDetail()
|
|
},
|
|
onShow() {},
|
|
methods: {
|
|
getDetail() {
|
|
this.$instance.post(`/app/approval-process-def/info-id?id=${this.id}`).then((res) => {
|
|
if (res.code == 0) {
|
|
this.detail = res.data
|
|
this.showPage = true
|
|
}
|
|
})
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.Page {
|
|
padding: 32px 32px 48px 32px;
|
|
background: #fff;
|
|
.processNames {
|
|
font-size: 48px;
|
|
font-weight: 600;
|
|
}
|
|
.types {
|
|
padding-top: 16px;
|
|
font-size: 30px;
|
|
color: #999999;
|
|
}
|
|
.conts {
|
|
padding-top: 64px;
|
|
font-size: 36px;
|
|
line-height: 64px;
|
|
}
|
|
}
|
|
</style>
|