ViewMarketSendContent.vue
868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<template>
<el-dialog
:title="$t('marketLog.viewContent.title')"
:visible.sync="visible"
width="70%"
>
<el-form label-width="120px">
<el-form-item :label="$t('marketLog.viewContent.sendContent')">
<el-input
v-model="form.sendContent"
type="textarea"
:rows="8"
readonly
/>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="visible = false">
{{ $t('common.close') }}
</el-button>
</span>
</el-dialog>
</template>
<script>
export default {
name: 'ViewMarketSendContent',
data() {
return {
visible: false,
form: {
sendContent: ''
}
}
},
methods: {
open(data) {
this.form.sendContent = data.sendContent || ''
this.visible = true
}
}
}
</script>