vue2-client 1.9.20 → 1.9.22
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
|
@@ -614,14 +614,14 @@ export default {
|
|
|
614
614
|
mounted () {
|
|
615
615
|
if (this.getSelectedData && typeof this.getSelectedData === 'function') {
|
|
616
616
|
const selectedId = this.getSelectedData()
|
|
617
|
-
console.log('注入数据', selectedId)
|
|
618
617
|
if (typeof selectedId === 'object') {
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
618
|
+
const data = JSON.parse(JSON.stringify(selectedId))
|
|
619
|
+
if (data.selectedId) {
|
|
620
|
+
data.selected_id = data.selectedId
|
|
621
|
+
delete data.selectedId
|
|
622
622
|
}
|
|
623
|
-
Object.assign(this.fixedAddForm,
|
|
624
|
-
Object.assign(this.fixedQueryForm,
|
|
623
|
+
Object.assign(this.fixedAddForm, data)
|
|
624
|
+
Object.assign(this.fixedQueryForm, data)
|
|
625
625
|
} else {
|
|
626
626
|
Object.assign(this.fixedAddForm, { selected_id: selectedId })
|
|
627
627
|
Object.assign(this.fixedQueryForm, { selected_id: selectedId })
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<XReport
|
|
5
5
|
ref="main"
|
|
6
6
|
:use-oss-for-img="false"
|
|
7
|
-
config-name="
|
|
7
|
+
config-name="medicalRecordCover"
|
|
8
8
|
server-name="af-his"
|
|
9
9
|
:show-img-in-cell="true"
|
|
10
10
|
:display-only="true"
|
|
@@ -28,13 +28,13 @@ export default {
|
|
|
28
28
|
XReport, XAddReport
|
|
29
29
|
},
|
|
30
30
|
mounted () {
|
|
31
|
-
this.$refs.main.openDialog('skinTestExecuActionCover',
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
)
|
|
31
|
+
// this.$refs.main.openDialog('skinTestExecuActionCover',
|
|
32
|
+
// {
|
|
33
|
+
// selectedId: 1,
|
|
34
|
+
// name: '皮肤测试执行单'
|
|
35
|
+
// },
|
|
36
|
+
// {}
|
|
37
|
+
// )
|
|
38
38
|
},
|
|
39
39
|
data () {
|
|
40
40
|
return {
|