vue2-client 1.14.87 → 1.14.89
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/base-client/components/his/XShiftSchedule/XShiftSchedule.vue +16 -24
- package/src/pages/addressSelect/addressDemo.vue +24 -24
- package/src/pages/userInfoDetailManage/InsuranceDetailQuery/index.vue +64 -0
- package/src/pages/userInfoDetailManage/userInfoDetailQueryTabs.vue +3 -0
package/package.json
CHANGED
@@ -7,17 +7,19 @@
|
|
7
7
|
<span slot="time" class="time-title">
|
8
8
|
<span v-for="(item, index) in configData.timePeriod" :key="index">{{ item }}</span>
|
9
9
|
</span>
|
10
|
-
<
|
11
|
-
|
12
|
-
<
|
13
|
-
|
10
|
+
<div v-for="(item, index) in weekDays" :key="index" :slot="item.key" class="week_last_next_btn">
|
11
|
+
<a-button slot="lastWeek" icon="left" size="large" @click="handleLastWeek" v-if="item.title == '周一'" />
|
12
|
+
<div class="time-title">
|
13
|
+
<span>{{item.title}}</span>
|
14
|
+
<span>{{ currentWeekDates[index].toLocaleDateString() }}</span>
|
15
|
+
</div>
|
16
|
+
<a-button slot="nextWeek" icon="right" size="large" @click="handleNextWeek" v-if="item.title == '周日'"/>
|
14
17
|
</div>
|
15
18
|
<template :slot="day.key" slot-scope="text, record" v-for="day in shiftTable">
|
16
19
|
<div class="time-title" :key="day.key">
|
17
20
|
<a-button v-for="(item, index) in record[day.key]" :key="index" @click="handleShiftChange(day.key, index, record)">{{ item === 1 || item === '1' ? '坐诊' : '休息' }}</a-button>
|
18
21
|
</div>
|
19
22
|
</template>
|
20
|
-
<a-button slot="nextWeek" icon="right" size="large" @click="handleNextWeek" />
|
21
23
|
<template slot="sk_limit" slot-scope="text, record">
|
22
24
|
<a-input-number id="inputNumber" v-model="record.sk_limit" :min="configData.sk_limitMin" :max="configData.sk_limitMax" />
|
23
25
|
</template>
|
@@ -49,29 +51,12 @@ export default {
|
|
49
51
|
return { title, key }
|
50
52
|
})],
|
51
53
|
// 排班时间表
|
52
|
-
shiftTable: [
|
53
|
-
{
|
54
|
-
dataIndex: 'lastWeek',
|
55
|
-
key: 'lastWeek',
|
56
|
-
slots: { title: 'lastWeek' },
|
57
|
-
scopedSlots: { customRender: 'lastWeekTitle' },
|
58
|
-
align: 'center',
|
59
|
-
width: 80
|
60
|
-
},
|
61
|
-
...['周一', '周二', '周三', '周四', '周五', '周六', '周日'].map((title, index) => {
|
54
|
+
shiftTable: [...['周一', '周二', '周三', '周四', '周五', '周六', '周日'].map((title, index) => {
|
62
55
|
const key = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'][index]
|
63
56
|
return {
|
64
|
-
key, dataIndex: key, scopedSlots: { customRender: key }, slots: { title: key }, align: 'center', width: 120
|
57
|
+
key, dataIndex: key, scopedSlots: { customRender: key }, slots: { title: key }, align: 'center', width: key === 'Monday' || key === 'Sunday' ? 170 : 120
|
65
58
|
}
|
66
59
|
}),
|
67
|
-
{
|
68
|
-
dataIndex: 'nextWeek',
|
69
|
-
key: 'nextWeek',
|
70
|
-
slots: { title: 'nextWeek' },
|
71
|
-
scopedSlots: { customRender: 'nextWeekTitle' },
|
72
|
-
align: 'center',
|
73
|
-
width: 80
|
74
|
-
},
|
75
60
|
{
|
76
61
|
title: '排班数',
|
77
62
|
key: 'sk_limit',
|
@@ -234,6 +219,13 @@ export default {
|
|
234
219
|
flex-direction: column !important;
|
235
220
|
align-items: center !important;
|
236
221
|
}
|
222
|
+
.week_last_next_btn {
|
223
|
+
display: flex;
|
224
|
+
flex-direction: row;
|
225
|
+
align-items: center;
|
226
|
+
justify-content: center;
|
227
|
+
gap: 16px;
|
228
|
+
}
|
237
229
|
::v-deep .ant-table-thead > tr > th,
|
238
230
|
::v-deep .ant-table-tbody > tr > td {
|
239
231
|
padding: 8px 16px !important;
|
@@ -1,24 +1,24 @@
|
|
1
|
-
<template>
|
2
|
-
<!-- 测试界面——测试地址选择新增组件-->
|
3
|
-
<div>
|
4
|
-
<a-button @click="open">打开选择地址弹窗</a-button>
|
5
|
-
<address-select :addressShow="showDialog"/>
|
6
|
-
</div>
|
7
|
-
</template>
|
8
|
-
|
9
|
-
<script>
|
10
|
-
import AddressSelect from '@/pages/addressSelect'
|
11
|
-
|
12
|
-
export default {
|
13
|
-
components: { AddressSelect },
|
14
|
-
data: () => ({
|
15
|
-
showDialog: false
|
16
|
-
}),
|
17
|
-
methods: {
|
18
|
-
open () {
|
19
|
-
console.log('打开选择地址弹窗')
|
20
|
-
this.showDialog = true
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<!-- 测试界面——测试地址选择新增组件-->
|
3
|
+
<div>
|
4
|
+
<a-button @click="open">打开选择地址弹窗</a-button>
|
5
|
+
<address-select :addressShow="showDialog"/>
|
6
|
+
</div>
|
7
|
+
</template>
|
8
|
+
|
9
|
+
<script>
|
10
|
+
import AddressSelect from '@/pages/addressSelect'
|
11
|
+
|
12
|
+
export default {
|
13
|
+
components: { AddressSelect },
|
14
|
+
data: () => ({
|
15
|
+
showDialog: false
|
16
|
+
}),
|
17
|
+
methods: {
|
18
|
+
open () {
|
19
|
+
console.log('打开选择地址弹窗')
|
20
|
+
this.showDialog = true
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
</script>
|
@@ -0,0 +1,64 @@
|
|
1
|
+
<template>
|
2
|
+
<a-card :bordered="false" v-if="currUserInfo">
|
3
|
+
<x-form-table
|
4
|
+
title="保险明细查询"
|
5
|
+
:queryParamsName="queryParamsName"
|
6
|
+
:fixedQueryForm="fixedQueryForm"
|
7
|
+
service-name="af-revenue"
|
8
|
+
@action="action"
|
9
|
+
ref="xFormTable">
|
10
|
+
</x-form-table>
|
11
|
+
</a-card>
|
12
|
+
</template>
|
13
|
+
|
14
|
+
<script>
|
15
|
+
import { mapState } from 'vuex'
|
16
|
+
|
17
|
+
export default {
|
18
|
+
name: 'InsuranceDetailQuery',
|
19
|
+
components: {
|
20
|
+
XFormTable: () => import('@vue2-client/base-client/components/common/XFormTable/XFormTable.vue')
|
21
|
+
},
|
22
|
+
data () {
|
23
|
+
return {
|
24
|
+
// 查询配置名称
|
25
|
+
queryParamsName: 'InsuranceDetailQueryCRUD',
|
26
|
+
// 查询表单固定值
|
27
|
+
fixedQueryForm: { t_f_userinfo_id: this.currUserInfo.f_userinfo_id },
|
28
|
+
// 是否显示详情抽屉
|
29
|
+
detailVisible: false,
|
30
|
+
// 当前记录
|
31
|
+
record: {}
|
32
|
+
}
|
33
|
+
},
|
34
|
+
props: {
|
35
|
+
currUserInfo: {
|
36
|
+
type: Object,
|
37
|
+
default: () => undefined
|
38
|
+
}
|
39
|
+
},
|
40
|
+
mounted () {
|
41
|
+
this.$refs.xFormTable.refresh(true)
|
42
|
+
},
|
43
|
+
methods: {
|
44
|
+
action (record, id, actionType) {
|
45
|
+
this.detailVisible = true
|
46
|
+
console.log('触发了详情操作', record, id, actionType)
|
47
|
+
},
|
48
|
+
onClose () {
|
49
|
+
this.detailVisible = false
|
50
|
+
// 关闭详情之后重新查询表单
|
51
|
+
this.$refs.xFormTable.refreshTable(true)
|
52
|
+
}
|
53
|
+
},
|
54
|
+
|
55
|
+
computed: {
|
56
|
+
...mapState('account', { currUser: 'user' }),
|
57
|
+
...mapState('setting', { isMobile: 'isMobile' })
|
58
|
+
},
|
59
|
+
}
|
60
|
+
</script>
|
61
|
+
|
62
|
+
<style scoped>
|
63
|
+
|
64
|
+
</style>
|
@@ -35,6 +35,7 @@ import WatchCollectionRecordQuery from '@vue2-client/pages/userInfoDetailManage/
|
|
35
35
|
import UserException from '@vue2-client/pages/userInfoDetailManage/UserException'
|
36
36
|
import PriceAdjustments from '@vue2-client/pages/userInfoDetailManage/PriceAdjustments'
|
37
37
|
import uploadFilesHistory from '@vue2-client/pages/userInfoDetailManage/uploadFilesHistory'
|
38
|
+
import InsuranceDetailQuery from '@vue2-client/pages/userInfoDetailManage/InsuranceDetailQuery'
|
38
39
|
|
39
40
|
export default {
|
40
41
|
name: 'UserInfoDetailQueryTabs',
|
@@ -58,6 +59,7 @@ export default {
|
|
58
59
|
UserException,
|
59
60
|
PriceAdjustments,
|
60
61
|
uploadFilesHistory,
|
62
|
+
InsuranceDetailQuery
|
61
63
|
},
|
62
64
|
props: {
|
63
65
|
userInfo: {
|
@@ -109,6 +111,7 @@ export default {
|
|
109
111
|
{ key: '14', label: '异常报警', permission: '异常报警', component: 'UserException' },
|
110
112
|
{ key: '15', label: '价格调整', permission: '价格调整', component: 'PriceAdjustments' },
|
111
113
|
{ key: '16', label: '附件查看', permission: '附件查看', component: 'uploadFilesHistory' },
|
114
|
+
{ key: '17', label: '保险明细', permission: '保险明细', component: 'InsuranceDetailQuery' },
|
112
115
|
],
|
113
116
|
}
|
114
117
|
},
|