imeik-bizui 1.7.0 → 1.7.2
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/dist/bizui/src/FieldCitySelect/index.vue +11 -1
- package/dist/bizui/src/FieldExpertSelect/index.vue +22 -1
- package/dist/imeik-bizui.common.js +116 -82
- package/dist/imeik-bizui.common.js.gz +0 -0
- package/dist/imeik-bizui.css +1 -1
- package/dist/imeik-bizui.css.gz +0 -0
- package/dist/imeik-bizui.umd.js +116 -82
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +3 -3
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="!attrs.isView ? 'w-full' : 'inline'">
|
|
3
3
|
<div v-if="attrs.isView">
|
|
4
|
-
<ImDiffText v-if="showDiff" :show-diff="showDiff" :old-value="myLabel" :no-absolute="true" :new-value="
|
|
4
|
+
<ImDiffText v-if="showDiff" :show-diff="showDiff" :old-value="myLabel" :no-absolute="true" :new-value="myDiffLabel" />
|
|
5
5
|
<span v-else :title="myLabel">{{ myLabel }}</span>
|
|
6
6
|
</div>
|
|
7
7
|
<el-cascader v-else v-model="myValue" :multiple="multiple" :props="props" :options="options" class="w-full" clearable filterable v-bind="$attrs" @change="onUpdate" v-on="listeners"></el-cascader>
|
|
@@ -75,6 +75,9 @@ export default {
|
|
|
75
75
|
myItem() {
|
|
76
76
|
return this.dataMap[this.myValue]
|
|
77
77
|
},
|
|
78
|
+
myDiffItem() {
|
|
79
|
+
return this.dataMap[this.diffValue]
|
|
80
|
+
},
|
|
78
81
|
|
|
79
82
|
/**
|
|
80
83
|
* 当前选中的值的文本
|
|
@@ -86,6 +89,13 @@ export default {
|
|
|
86
89
|
return ''
|
|
87
90
|
}
|
|
88
91
|
},
|
|
92
|
+
myDiffLabel() {
|
|
93
|
+
if (this.myDiffItem) {
|
|
94
|
+
return this.myDiffItem.fullname.replace(/\./g, '/')
|
|
95
|
+
} else {
|
|
96
|
+
return ''
|
|
97
|
+
}
|
|
98
|
+
},
|
|
89
99
|
|
|
90
100
|
/**
|
|
91
101
|
* 层级
|
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
<ImSelect v-if="!isView" v-model="row.doctorNumber" :class="{ 'is-error': row.valid === false && !row.doctorNumber }" :attrs="doctorAttrs" @input="changedoctorName(row)"></ImSelect>
|
|
7
7
|
<div v-else>
|
|
8
8
|
<ImDiffText v-if="showDiff" :show-diff="showDiff" :old-value="row.doctorName" :no-absolute="true" :new-value="row._newData?.doctorName" />
|
|
9
|
-
<div v-else>
|
|
9
|
+
<div v-else>
|
|
10
|
+
<p v-if="row.doctorNumber" class="text-button" @click="viewdoctorDetailItem(row)">{{ row.doctorName }}</p>
|
|
11
|
+
<p v-else>{{ row.doctorName }}</p>
|
|
12
|
+
</div>
|
|
10
13
|
</div>
|
|
11
14
|
</template>
|
|
12
15
|
<!-- 职业机构 -->
|
|
@@ -533,6 +536,19 @@ export default {
|
|
|
533
536
|
})
|
|
534
537
|
|
|
535
538
|
return sums
|
|
539
|
+
},
|
|
540
|
+
viewdoctorDetailItem(row) {
|
|
541
|
+
let host = ''
|
|
542
|
+
if (this.$bizui.env === 'testenv') {
|
|
543
|
+
host = '//usercenter-test.imeik.com'
|
|
544
|
+
} else if (this.$bizui.env === 'pre') {
|
|
545
|
+
host = '//usercenter-pre.imeik.com'
|
|
546
|
+
} else {
|
|
547
|
+
host = '//usercenter.imeik.com'
|
|
548
|
+
}
|
|
549
|
+
const token = this.$bizui.userTokenFunc()
|
|
550
|
+
const url = `${host}/user/expertDatabase/expertDetails?objectCode=${row.doctorNumber}&type=list&token=${token}&hideBar=1`
|
|
551
|
+
window.open(url)
|
|
536
552
|
}
|
|
537
553
|
}
|
|
538
554
|
}
|
|
@@ -586,4 +602,9 @@ export default {
|
|
|
586
602
|
/deep/ .el-input-number .el-input__inner {
|
|
587
603
|
text-align: left;
|
|
588
604
|
}
|
|
605
|
+
.text-button {
|
|
606
|
+
color: #3285f6;
|
|
607
|
+
font-weight: 500;
|
|
608
|
+
cursor: pointer;
|
|
609
|
+
}
|
|
589
610
|
</style>
|