vue2-client 1.15.122 → 1.15.123
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
CHANGED
@@ -39,7 +39,7 @@
|
|
39
39
|
<!-- >-->
|
40
40
|
<!-- 使用-->
|
41
41
|
<!-- </a-button>-->
|
42
|
-
<a-button type="primary" @click="Recording" v-if="
|
42
|
+
<a-button type="primary" @click="Recording" v-if="canRecord" v-model="recording">
|
43
43
|
{{recording? '停止' : '录音'}}
|
44
44
|
</a-button>
|
45
45
|
<a-button type="primary" @click="openRenameModal" v-if="this.resId !== -1">
|
@@ -157,6 +157,8 @@ export default {
|
|
157
157
|
},
|
158
158
|
data () {
|
159
159
|
return {
|
160
|
+
temporaryParameter: {},
|
161
|
+
canRecord: false,
|
160
162
|
recording: false, // 是否正在录音
|
161
163
|
readonly: false,
|
162
164
|
ready: false,
|
@@ -200,7 +202,6 @@ export default {
|
|
200
202
|
],
|
201
203
|
// 编辑器实例
|
202
204
|
editorRef: null,
|
203
|
-
|
204
205
|
// 文档资源列表
|
205
206
|
resList: [],
|
206
207
|
// 文档资源ID
|
@@ -332,6 +333,8 @@ export default {
|
|
332
333
|
}
|
333
334
|
},
|
334
335
|
init (params) {
|
336
|
+
this.temporaryParameter = params
|
337
|
+
this.canRecord = params.canRecord == undefined || params.canRecord == null? false : params.canRecord
|
335
338
|
const {
|
336
339
|
fileUrl,
|
337
340
|
resId,
|
@@ -457,6 +460,8 @@ export default {
|
|
457
460
|
}
|
458
461
|
const outerObj = JSON.parse(extractedJsonStr)
|
459
462
|
console.log("outerObj = ", outerObj)
|
463
|
+
this.temporaryParameter.bindObject = {...this.temporaryParameter.bindObject, ...outerObj}
|
464
|
+
this.init(this.temporaryParameter)
|
460
465
|
} catch (e) {
|
461
466
|
console.error('总错误:', e.message)
|
462
467
|
this.$message.error(`解析失败: ${e.message}`)
|
@@ -60,7 +60,7 @@ path: 'example',
|
|
60
60
|
// component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
61
61
|
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
62
62
|
// component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
|
63
|
-
component: () => import('@vue2-client/base-client/components/
|
63
|
+
component: () => import('@vue2-client/base-client/components/his/XHisEditor/dome.vue'),
|
64
64
|
// component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
|
65
65
|
// component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
|
66
66
|
// component: () => import('@vue2-client/base-client/components/common/XRate/demo.vue'),
|