cloud-web-corejs 1.0.54-dev.374 → 1.0.54-dev.376
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/baseAttachment/mixins.js +1 -270
- package/src/components/fileLibrary/filterDialog.vue +130 -83
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +2 -2
- package/src/components/fileLibrary/mixins/indexMixins.js +2 -2
- package/src/components/fileLibrary/mixins/propertiesDialogMixins.js +1 -1
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +2 -2
- package/src/components/fileLibrary/propertiesDialog.vue +99 -78
- package/src/components/scriptDescription/button.vue +25 -15
- package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +19 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +13 -2
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +9 -2
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1598 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +7 -2
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +7 -0
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +35 -27
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +10 -10
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +4 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +11 -8
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +9 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +44 -78
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +2 -1
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +2 -2
- package/src/components/xform/lang/zh-CN.js +2 -2
- package/src/layout/components/Sidebar/default.vue +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<el-dialog
|
|
3
|
-
:title="$t2('文件详情','components.fileLibrary.fileDetail')"
|
|
3
|
+
:title="$t2('文件详情', 'components.fileLibrary.fileDetail')"
|
|
4
4
|
:append-to-body="true"
|
|
5
5
|
:modal-append-to-body="falseValue"
|
|
6
6
|
:close-on-click-modal="falseValue"
|
|
@@ -18,85 +18,97 @@
|
|
|
18
18
|
<el-form ref="editForm" :model="attachmentDTO">
|
|
19
19
|
<div class="d-header clearfix">
|
|
20
20
|
<div class="fl">
|
|
21
|
-
<i class="el-icon-info"/>
|
|
22
|
-
{{ $t2(
|
|
21
|
+
<i class="el-icon-info" />
|
|
22
|
+
{{ $t2("文件详情", "components.fileLibrary.fileDetail") }}
|
|
23
23
|
</div>
|
|
24
24
|
<div class="fr">
|
|
25
|
-
<el-button
|
|
26
|
-
|
|
25
|
+
<el-button
|
|
26
|
+
type="primary"
|
|
27
|
+
class="button-sty"
|
|
28
|
+
icon="el-icon-check"
|
|
29
|
+
@click="saveData"
|
|
30
|
+
v-if="isEdit && attachmentDTO.status != 1"
|
|
31
|
+
>{{ $t2("保存", "system.button.save") }}
|
|
27
32
|
</el-button>
|
|
28
33
|
</div>
|
|
29
34
|
</div>
|
|
30
35
|
<baseTabs>
|
|
31
|
-
<baseTabPane :label="$t2('基本信息','system.label.baseInfo')">
|
|
36
|
+
<baseTabPane :label="$t2('基本信息', 'system.label.baseInfo')">
|
|
32
37
|
<template #default>
|
|
33
38
|
<table class="table-detail">
|
|
34
39
|
<tbody>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
pathName
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
<
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
<
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
<
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
<
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
<
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
40
|
+
<tr>
|
|
41
|
+
<th>{{ $t2("文件路径", "components.fileLibrary.filePath") }}</th>
|
|
42
|
+
<td colspan="3">
|
|
43
|
+
<el-breadcrumb separator-class="el-icon-arrow-right">
|
|
44
|
+
<el-breadcrumb-item
|
|
45
|
+
v-for="(pathName, index) in pathNameArr"
|
|
46
|
+
:key="index"
|
|
47
|
+
>{{ pathName }}
|
|
48
|
+
</el-breadcrumb-item>
|
|
49
|
+
</el-breadcrumb>
|
|
50
|
+
</td>
|
|
51
|
+
</tr>
|
|
52
|
+
<tr>
|
|
53
|
+
<th>
|
|
54
|
+
{{ $t2("文件名称", "components.fileLibrary.fileName") }}
|
|
55
|
+
</th>
|
|
56
|
+
<td colspan="3">
|
|
57
|
+
<el-input v-model="fileName" clearable v-if="isEdit">
|
|
58
|
+
<template slot="append">{{ filePrefix }}</template>
|
|
59
|
+
</el-input>
|
|
60
|
+
<template v-else>{{ attachmentDTO.fileName }}</template>
|
|
61
|
+
</td>
|
|
62
|
+
</tr>
|
|
63
|
+
<tr>
|
|
64
|
+
<th>{{ $t2("所属对象描述", "components.fileLibrary.note") }}</th>
|
|
65
|
+
<td colspan="3">{{ attachmentDTO.note }}</td>
|
|
66
|
+
</tr>
|
|
67
|
+
<tr>
|
|
68
|
+
<th>{{ $t1("文件类型名") }}</th>
|
|
69
|
+
<td colspan="3">
|
|
70
|
+
<b>{{ attachmentDTO.fileTypeName }}</b>
|
|
71
|
+
</td>
|
|
72
|
+
</tr>
|
|
73
|
+
<tr>
|
|
74
|
+
<th>{{ $t2("文件大小", "components.fileLibrary.fileSize") }}</th>
|
|
75
|
+
<td>{{ formatFileSize(attachmentDTO.fileSize) }}</td>
|
|
76
|
+
<th>{{ $t2("版本号", "components.fileLibrary.fileRev") }}</th>
|
|
77
|
+
<td>{{ attachmentDTO.rev }}</td>
|
|
78
|
+
</tr>
|
|
79
|
+
<tr>
|
|
80
|
+
<th>{{ $t2("分辨率", "components.fileLibrary.widthHeight") }}</th>
|
|
81
|
+
<td>{{ attachmentDTO.widthHeight }}</td>
|
|
82
|
+
<th>{{ $t2("是否归档", "components.fileLibrary.status") }}</th>
|
|
83
|
+
<td>{{ attachmentDTO.status == 1 ? "已归档" : "未归档" }}</td>
|
|
84
|
+
</tr>
|
|
85
|
+
<!-- <tr>
|
|
78
86
|
<th>状态</th>
|
|
79
87
|
<td>{{ attachmentDTO.status == 1 ? '归档' : '未归档' }}</td>
|
|
80
88
|
</tr>-->
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
<tr>
|
|
90
|
+
<th>{{ $t2("文件编码", "components.fileLibrary.fileSn") }}</th>
|
|
91
|
+
<td colspan="3">{{ attachmentDTO.fileSn }}</td>
|
|
92
|
+
</tr>
|
|
93
|
+
<tr>
|
|
94
|
+
<th>{{ $t2("创建人", "system.label.createBy") }}</th>
|
|
95
|
+
<td>{{ attachmentDTO._createBy }}</td>
|
|
96
|
+
<th>{{ $t2("创建时间", "system.label.createDate") }}</th>
|
|
97
|
+
<td>{{ attachmentDTO.createDate }}</td>
|
|
98
|
+
</tr>
|
|
91
99
|
</tbody>
|
|
92
100
|
</table>
|
|
93
101
|
</template>
|
|
94
102
|
</baseTabPane>
|
|
95
|
-
<baseTabPane :label="$t2('文件属性','components.fileLibrary.fileAttribute')">
|
|
103
|
+
<baseTabPane :label="$t2('文件属性', 'components.fileLibrary.fileAttribute')">
|
|
96
104
|
<template #button>
|
|
97
|
-
<el-button
|
|
98
|
-
|
|
99
|
-
|
|
105
|
+
<el-button
|
|
106
|
+
class="button-sty"
|
|
107
|
+
@click="addItem"
|
|
108
|
+
icon="el-icon-plus"
|
|
109
|
+
v-if="isEdit && attachmentDTO.status != 1"
|
|
110
|
+
>
|
|
111
|
+
{{ $t2("新增文件属性", "components.fileLibrary.addFileAttribute") }}
|
|
100
112
|
</el-button>
|
|
101
113
|
</template>
|
|
102
114
|
<template #default>
|
|
@@ -109,24 +121,33 @@
|
|
|
109
121
|
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
110
122
|
@custom="$vxeTableUtil.customHandle"
|
|
111
123
|
>
|
|
112
|
-
<template #attributeName="{row,rowIndex}">
|
|
113
|
-
<el-form-item
|
|
114
|
-
|
|
115
|
-
|
|
124
|
+
<template #attributeName="{ row, rowIndex }">
|
|
125
|
+
<el-form-item
|
|
126
|
+
:prop="'fileAttachAttributeDTOs.' + rowIndex + '.attributeName'"
|
|
127
|
+
:rules="[{ required: true, trigger: 'blur' }]"
|
|
128
|
+
>
|
|
129
|
+
<el-input v-model="row.attributeName" clearable v-if="isEdit" />
|
|
116
130
|
<template v-else>{{ row.attributeName }}</template>
|
|
117
131
|
</el-form-item>
|
|
118
132
|
</template>
|
|
119
|
-
<template #attributeValue="{row}">
|
|
120
|
-
<el-input v-model="row.attributeValue" clearable v-if="isEdit"/>
|
|
133
|
+
<template #attributeValue="{ row }">
|
|
134
|
+
<el-input v-model="row.attributeValue" clearable v-if="isEdit" />
|
|
121
135
|
<template v-else>{{ row.attributeValue }}</template>
|
|
122
136
|
</template>
|
|
123
|
-
<template #operate="{row,rowIndex}">
|
|
124
|
-
<a
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
137
|
+
<template #operate="{ row, rowIndex }">
|
|
138
|
+
<a
|
|
139
|
+
class="a-link"
|
|
140
|
+
@click="attachmentDTO.fileAttachAttributeDTOs.splice(rowIndex, 1)"
|
|
141
|
+
v-if="isEdit"
|
|
142
|
+
>
|
|
143
|
+
<el-tooltip
|
|
144
|
+
:enterable="false"
|
|
145
|
+
effect="dark"
|
|
146
|
+
:content="$t2('删除', 'components.fileLibrary.delete')"
|
|
147
|
+
placement="top"
|
|
148
|
+
popper-class="tooltip-skin"
|
|
149
|
+
>
|
|
150
|
+
<i class="el-icon-delete" />
|
|
130
151
|
</el-tooltip>
|
|
131
152
|
</a>
|
|
132
153
|
</template>
|
|
@@ -155,9 +176,9 @@
|
|
|
155
176
|
</template>
|
|
156
177
|
|
|
157
178
|
<script>
|
|
158
|
-
import mixins from
|
|
179
|
+
import mixins from "./mixins/propertiesDialogMixins";
|
|
159
180
|
|
|
160
181
|
export default {
|
|
161
|
-
mixins: [mixins]
|
|
182
|
+
mixins: [mixins],
|
|
162
183
|
};
|
|
163
184
|
</script>
|
|
@@ -1,26 +1,36 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<span>
|
|
3
|
-
<el-tooltip :content="
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
<el-tooltip :content="title" placement="top">
|
|
4
|
+
<a @click="showDialog = true" class="tips-icon"
|
|
5
|
+
><i class="el-icon-view el-icon-question"></i
|
|
6
|
+
></a>
|
|
7
|
+
</el-tooltip>
|
|
8
|
+
<scriptDescriptionDialog
|
|
9
|
+
:path="path"
|
|
10
|
+
v-if="showDialog"
|
|
11
|
+
:visiable.sync="showDialog"
|
|
12
|
+
></scriptDescriptionDialog>
|
|
8
13
|
</span>
|
|
9
14
|
</template>
|
|
10
15
|
<script>
|
|
11
|
-
|
|
12
16
|
export default {
|
|
13
17
|
name: "scriptDescriptionButton",
|
|
14
|
-
components: {
|
|
15
|
-
|
|
18
|
+
components: {
|
|
19
|
+
scriptDescriptionDialog: () => import("../../components/scriptDescription/dialog"),
|
|
20
|
+
},
|
|
21
|
+
props: {
|
|
22
|
+
path: String,
|
|
23
|
+
title: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: () => this.$t2("脚本说明", "components.scriptDescription.title"),
|
|
26
|
+
},
|
|
27
|
+
},
|
|
16
28
|
data() {
|
|
17
29
|
return {
|
|
18
|
-
showDialog: false
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
30
|
+
showDialog: false,
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
};
|
|
22
34
|
</script>
|
|
23
35
|
|
|
24
|
-
<style scoped>
|
|
25
|
-
|
|
26
|
-
</style>
|
|
36
|
+
<style scoped></style>
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
119
119
|
methods: {
|
|
120
120
|
reload(e,option){
|
|
121
121
|
let updateParam = option?.updateParam || {};
|
|
122
|
-
Object.assign(this.formConfig,updateParam)
|
|
122
|
+
if(this.formConfig)Object.assign(this.formConfig,updateParam)
|
|
123
123
|
this.showRender = false;
|
|
124
124
|
this.getReportTemplate();
|
|
125
125
|
},
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
<form-item-wrapper :designer="designer" :field="field" :rules="rules" :design-state="designState"
|
|
3
3
|
:parent-widget="parentWidget" :parent-list="parentList" :index-of-parent-list="indexOfParentList"
|
|
4
4
|
:sub-form-row-index="subFormRowIndex" :sub-form-col-index="subFormColIndex" :sub-form-row-id="subFormRowId">
|
|
5
|
-
<el-cascader ref="fieldEditor" :options="field.options.optionItems"
|
|
5
|
+
<el-cascader ref="fieldEditor" :options="field.options.optionItems"
|
|
6
|
+
v-model="fieldModel" class="full-width-input"
|
|
7
|
+
v-show="!isReadMode"
|
|
6
8
|
:disabled="field.options.disabled"
|
|
7
9
|
:size="field.options.size"
|
|
8
10
|
:clearable="field.options.clearable"
|
|
@@ -13,6 +15,9 @@
|
|
|
13
15
|
@focus="handleFocusCustomEvent" @blur="handleBlurCustomEvent"
|
|
14
16
|
@change="handleChangeEvent">
|
|
15
17
|
</el-cascader>
|
|
18
|
+
<template v-if="isReadMode">
|
|
19
|
+
<span class="readonly-mode-field">{{contentForReadMode}}</span>
|
|
20
|
+
</template>
|
|
16
21
|
</form-item-wrapper>
|
|
17
22
|
</template>
|
|
18
23
|
|
|
@@ -101,6 +106,19 @@
|
|
|
101
106
|
})
|
|
102
107
|
}, 100)
|
|
103
108
|
},
|
|
109
|
+
contentForReadMode() {
|
|
110
|
+
if (!!this.field.options.multiple) {
|
|
111
|
+
//console.log('test======', this.$refs.fieldEditor.presentTags)
|
|
112
|
+
const curTags = this.$refs.fieldEditor.presentTags
|
|
113
|
+
if (!curTags || (curTags.length <= 0)) {
|
|
114
|
+
return '--'
|
|
115
|
+
} else {
|
|
116
|
+
return curTags.map(tagItem => tagItem.text).join(', ')
|
|
117
|
+
}
|
|
118
|
+
} else {
|
|
119
|
+
return this.$refs.fieldEditor.presentText || '--'
|
|
120
|
+
}
|
|
121
|
+
},
|
|
104
122
|
|
|
105
123
|
}
|
|
106
124
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<form-item-wrapper :designer="designer" :field="field" :rules="rules" :design-state="designState"
|
|
3
3
|
:parent-widget="parentWidget" :parent-list="parentList" :index-of-parent-list="indexOfParentList"
|
|
4
4
|
:sub-form-row-index="subFormRowIndex" :sub-form-col-index="subFormColIndex" :sub-form-row-id="subFormRowId">
|
|
5
|
-
<el-checkbox-group ref="fieldEditor" v-model="fieldModel"
|
|
5
|
+
<el-checkbox-group ref="fieldEditor" v-model="fieldModel" v-show="!isReadMode"
|
|
6
6
|
:disabled="field.options.disabled" :size="field.options.size"
|
|
7
7
|
@change="handleChangeEvent">
|
|
8
8
|
<template v-if="!!field.options.buttonStyle">
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
:style="{display: field.options.displayStyle}">{{ getI18nLabel(item[labelField]) }}</el-checkbox>
|
|
17
17
|
</template>
|
|
18
18
|
</el-checkbox-group>
|
|
19
|
+
<template v-if="isReadMode">
|
|
20
|
+
<span class="readonly-mode-field">{{optionLabel}}</span>
|
|
21
|
+
</template>
|
|
19
22
|
</form-item-wrapper>
|
|
20
23
|
</template>
|
|
21
24
|
|
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
<form-item-wrapper :designer="designer" :field="field" :rules="rules" :design-state="designState"
|
|
3
3
|
:parent-widget="parentWidget" :parent-list="parentList" :index-of-parent-list="indexOfParentList"
|
|
4
4
|
:sub-form-row-index="subFormRowIndex" :sub-form-col-index="subFormColIndex" :sub-form-row-id="subFormRowId">
|
|
5
|
-
<el-color-picker ref="fieldEditor" v-model="fieldModel"
|
|
5
|
+
<el-color-picker ref="fieldEditor" v-model="fieldModel" v-show="!isReadMode"
|
|
6
6
|
:size="field.options.size"
|
|
7
7
|
:disabled="field.options.disabled"
|
|
8
8
|
@change="handleChangeEvent">
|
|
9
9
|
</el-color-picker>
|
|
10
|
+
<template v-if="isReadMode">
|
|
11
|
+
<span class="readonly-mode-field">{{fieldModel}}</span>
|
|
12
|
+
</template>
|
|
10
13
|
</form-item-wrapper>
|
|
11
14
|
</template>
|
|
12
15
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:parent-widget="parentWidget" :parent-list="parentList" :index-of-parent-list="indexOfParentList"
|
|
4
4
|
:sub-form-row-index="subFormRowIndex" :sub-form-col-index="subFormColIndex"
|
|
5
5
|
:sub-form-row-id="subFormRowId">
|
|
6
|
-
<el-date-picker ref="fieldEditor" :type="field.options.type" v-model="fieldModel" class="full-width-input"
|
|
6
|
+
<el-date-picker ref="fieldEditor" :type="field.options.type" v-model="fieldModel" v-show="!isReadMode" class="full-width-input"
|
|
7
7
|
:disabled="field.options.disabled" :readonly="field.options.readonly"
|
|
8
8
|
:size="field.options.size"
|
|
9
9
|
:clearable="field.options.clearable" :editable="field.options.editable"
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
@focus="handleFocusCustomEvent" @blur="handleBlurCustomEvent"
|
|
15
15
|
@change="handleChangeEvent">
|
|
16
16
|
</el-date-picker>
|
|
17
|
+
<template v-if="isReadMode">
|
|
18
|
+
<span class="readonly-mode-field">{{contentForReadMode}}</span>
|
|
19
|
+
</template>
|
|
17
20
|
</form-item-wrapper>
|
|
18
21
|
</template>
|
|
19
22
|
|
|
@@ -64,7 +67,15 @@ export default {
|
|
|
64
67
|
rules: [],
|
|
65
68
|
}
|
|
66
69
|
},
|
|
67
|
-
computed: {
|
|
70
|
+
computed: {
|
|
71
|
+
contentForReadMode() {
|
|
72
|
+
if (!this.fieldModel) {
|
|
73
|
+
return ''
|
|
74
|
+
} else {
|
|
75
|
+
return this.fieldModel[0] + ' - ' + this.fieldModel[1]
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
},
|
|
68
79
|
beforeCreate() {
|
|
69
80
|
/* 这里不能访问方法和属性!! */
|
|
70
81
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
:parent-widget="parentWidget" :parent-list="parentList" :index-of-parent-list="indexOfParentList"
|
|
4
4
|
:sub-form-row-index="subFormRowIndex" :sub-form-col-index="subFormColIndex"
|
|
5
5
|
:sub-form-row-id="subFormRowId">
|
|
6
|
-
<el-date-picker ref="fieldEditor" :type="field.options.type" v-model="fieldModel" class="full-width-input"
|
|
6
|
+
<el-date-picker ref="fieldEditor" :type="field.options.type" v-model="fieldModel" v-show="!isReadMode" class="full-width-input"
|
|
7
7
|
:readonly="field.options.readonly" :disabled="field.options.disabled"
|
|
8
8
|
:size="field.options.size"
|
|
9
9
|
:clearable="field.options.clearable" :editable="field.options.editable"
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
:picker-options="pickerOptions"
|
|
15
15
|
>
|
|
16
16
|
</el-date-picker>
|
|
17
|
+
<template v-if="isReadMode">
|
|
18
|
+
<span class="readonly-mode-field">{{contentForReadMode}}</span>
|
|
19
|
+
</template>
|
|
17
20
|
</form-item-wrapper>
|
|
18
21
|
</template>
|
|
19
22
|
|
|
@@ -65,7 +68,11 @@ export default {
|
|
|
65
68
|
pickerOptions: {}
|
|
66
69
|
}
|
|
67
70
|
},
|
|
68
|
-
computed: {
|
|
71
|
+
computed: {
|
|
72
|
+
contentForReadMode() {
|
|
73
|
+
return this.fieldModel ? this.fieldModel : ''
|
|
74
|
+
},
|
|
75
|
+
},
|
|
69
76
|
beforeCreate() {
|
|
70
77
|
/* 这里不能访问方法和属性!! */
|
|
71
78
|
},
|