irc_web/src/views/reviewers/curriculumVitae/components/info/pay.vue

145 lines
4.0 KiB
Vue

<template>
<div class="pay">
<div class="title">
<span>{{ $t('curriculumVitae:pay:title') }}</span>
<el-button type="text" class="editBtn" @click.stop="openEdit">
{{ $t('common:button:edit') }}
</el-button>
</div>
<div class="message">
<el-form :inline="true" class="demo-form-inline">
<el-form-item
:label="$t('curriculumVitae:pay:form:payCardId')"
style="width: 45%"
>21323123123123123213123123213123</el-form-item
>
<el-form-item
:label="$t('curriculumVitae:pay:form:username')"
style="width: 45%"
>wangxiaoshuang</el-form-item
>
<el-form-item
:label="$t('curriculumVitae:pay:form:bank')"
style="width: 45%"
></el-form-item>
<el-form-item
:label="$t('curriculumVitae:pay:form:idCard')"
style="width: 45%"
></el-form-item>
<el-form-item
:label="$t('curriculumVitae:pay:form:phone')"
style="width: 45%"
></el-form-item>
</el-form>
</div>
<base-model :config="model_cfg">
<template slot="dialog-body">
<el-form
ref="payFrom"
v-loading="loading"
:model="form"
:rules="rules"
label-width="100px"
size="small"
:inline="true"
class="demo-form-inline"
>
<el-form-item
style="width: 45%"
:label="$t('curriculumVitae:pay:form:payCardId')"
prop="InternationalizationType"
>
<el-input clearable placeholder=""></el-input>
</el-form-item>
<el-form-item
style="width: 45%"
:label="$t('curriculumVitae:pay:form:username')"
prop="InternationalizationType"
>
<el-input clearable placeholder=""></el-input>
</el-form-item>
<el-form-item
style="width: 45%"
:label="$t('curriculumVitae:pay:form:bank')"
prop="InternationalizationType"
>
<el-input clearable placeholder=""></el-input>
</el-form-item>
<el-form-item
style="width: 45%"
:label="$t('curriculumVitae:pay:form:idCard')"
prop="InternationalizationType"
>
<el-input clearable placeholder=""></el-input>
</el-form-item>
<el-form-item
style="width: 45%"
:label="$t('curriculumVitae:pay:form:phone')"
prop="InternationalizationType"
>
<el-input clearable placeholder=""></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: 'pay',
components: { BaseModel },
data() {
return {
model_cfg: {
visible: false,
showClose: true,
width: '800px',
title: this.$t('curriculumVitae:scientificResearchProject: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>
.pay {
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>