109 lines
2.7 KiB
Vue
109 lines
2.7 KiB
Vue
<template>
|
|
<div class="summarize">
|
|
<div class="title">
|
|
<span>{{ $t('curriculumVitae:summarize:title') }}</span>
|
|
<el-button type="text" class="editBtn" @click.stop="openEdit">
|
|
{{ $t('common:button:edit') }}
|
|
</el-button>
|
|
</div>
|
|
<template v-if="true">
|
|
<div class="message"></div>
|
|
</template>
|
|
<div class="noData" v-else>{{ $t('curriculumVitae:noData') }}</div>
|
|
<base-model :config="model_cfg">
|
|
<template slot="dialog-body">
|
|
<el-form
|
|
ref="summarizeFrom"
|
|
v-loading="loading"
|
|
:model="form"
|
|
:rules="rules"
|
|
label-width="80px"
|
|
size="small"
|
|
>
|
|
<el-form-item
|
|
:label="$t('curriculumVitae:summarize:form:summarize')"
|
|
prop="InternationalizationType"
|
|
>
|
|
<el-input
|
|
:placeholder="
|
|
$t('curriculumVitae:summarize:form:placeholder:summarize')
|
|
"
|
|
type="textarea"
|
|
:rows="2"
|
|
clearable
|
|
></el-input>
|
|
</el-form-item>
|
|
<el-form-item prop="InternationalizationType">
|
|
<el-input
|
|
:placeholder="
|
|
$t('curriculumVitae:summarize:form:placeholder:summarizeEN')
|
|
"
|
|
type="textarea"
|
|
:rows="2"
|
|
clearable
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form>
|
|
</template>
|
|
<template slot="dialog-footer">
|
|
<el-button size="small" type="primary" @click="handleCancle">
|
|
{{ $t('common:button:cancel') }}
|
|
</el-button>
|
|
<el-button size="small" type="primary" @click="handleSave">
|
|
{{ $t('common:button:save') }}
|
|
</el-button>
|
|
</template>
|
|
</base-model>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import BaseModel from '@/components/BaseModel'
|
|
export default {
|
|
name: 'summarize',
|
|
components: { BaseModel },
|
|
data() {
|
|
return {
|
|
model_cfg: {
|
|
visible: false,
|
|
showClose: true,
|
|
width: '600px',
|
|
title: this.$t('curriculumVitae:summarize:form:title'),
|
|
appendToBody: true,
|
|
},
|
|
form: {},
|
|
rules: {},
|
|
loading: false,
|
|
}
|
|
},
|
|
methods: {
|
|
openEdit() {
|
|
this.model_cfg.visible = true
|
|
},
|
|
handleCancle() {
|
|
this.model_cfg.visible = false
|
|
},
|
|
handleSave() {
|
|
this.model_cfg.visible = false
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
.summarize {
|
|
min-height: 100px;
|
|
.title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 10px;
|
|
}
|
|
.message {
|
|
margin: auto;
|
|
min-height: 100px;
|
|
background-color: #eee;
|
|
padding: 10px;
|
|
line-height: 30px;
|
|
border-radius: 5px;
|
|
}
|
|
}
|
|
</style> |