|
@@ -5,45 +5,70 @@
|
5
|
5
|
{{tab.name}}<text v-if="tab.num !== ''">({{tab.num}})</text>
|
6
|
6
|
</view>
|
7
|
7
|
</view>
|
8
|
|
- <scroll-view scroll-y class="body">
|
|
8
|
+ <!-- <scroll-view scroll-y class="body"> -->
|
|
9
|
+ <view class="body view-body">
|
9
|
10
|
<!-- 转派 -->
|
10
|
11
|
<template v-if="dataInfo.tabActiveValue === 'redeploy'">
|
11
|
12
|
<view class="form_item">
|
12
|
13
|
<view class="title select"><text class="required newicon newicon-bitian"></text>工作组:</view>
|
13
|
|
- <uni-data-select class="value" v-model="dataInfo.groupId" :localdata="dataInfo.groupList" :clear="false" placeholder="请选择工作组" @change="changeGroup" :class="{formRed: isSubmit && !dataInfo.groupId}"></uni-data-select>
|
14
|
|
- </view>
|
|
14
|
+ <!-- <uni-data-select class="value" v-model="dataInfo.groupId" :localdata="dataInfo.groupList" :clear="false" placeholder="请选择工作组" @change="changeGroup" :class="{formRed: isSubmit && !dataInfo.groupId}"></uni-data-select> -->
|
|
15
|
+ <uni-data-picker class="value" placeholder="请选择工作组"
|
|
16
|
+ :localdata="dataInfo.groupList" v-model="dataInfo.groupId"
|
|
17
|
+ :clear-icon="false" @change="changeGroup" :class="{formRed: isSubmit && !dataInfo.groupId}">
|
|
18
|
+ </uni-data-picker>
|
|
19
|
+ </view>
|
15
|
20
|
<view class="form_item">
|
16
|
21
|
<view class="title radio"><text class="required newicon newicon-bitian"></text>是否转派到人:</view>
|
17
|
22
|
<uni-data-checkbox class="value" v-model="dataInfo.isAssignUser" :localdata="dataInfo.isAssignUserList" @change="changeIsAssignUser" />
|
18
|
23
|
</view>
|
19
|
24
|
<view class="form_item" v-if="dataInfo.isAssignUser === 1">
|
20
|
25
|
<view class="title select"><text class="required newicon newicon-bitian"></text>转派对象:</view>
|
21
|
|
- <uni-data-select class="value" v-model="dataInfo.userId" :localdata="dataInfo.userList" :clear="false" placeholder="请选择转派对象" :class="{formRed: isSubmit && dataInfo.groupId && dataInfo.isAssignUser == 1 && !dataInfo.userId}"></uni-data-select>
|
22
|
|
- </view>
|
|
26
|
+ <!-- <uni-data-select class="value" v-model="dataInfo.userId" :localdata="dataInfo.userList" :clear="false" placeholder="请选择转派对象" :class="{formRed: isSubmit && dataInfo.groupId && dataInfo.isAssignUser == 1 && !dataInfo.userId}"></uni-data-select> -->
|
|
27
|
+ <uni-data-picker class="value" placeholder="请选择转派对象"
|
|
28
|
+ :localdata="dataInfo.userList" v-model="dataInfo.userId"
|
|
29
|
+ :clear-icon="false" :class="{formRed: isSubmit && dataInfo.groupId && dataInfo.isAssignUser == 1 && !dataInfo.userId}">
|
|
30
|
+ </uni-data-picker>
|
|
31
|
+ </view>
|
23
|
32
|
</template>
|
24
|
33
|
|
25
|
34
|
<!-- 指派 -->
|
26
|
35
|
<template v-if="dataInfo.tabActiveValue === 'assign'">
|
27
|
36
|
<view class="form_item">
|
28
|
37
|
<view class="title select"><text class="required newicon newicon-bitian"></text>院区:</view>
|
29
|
|
- <uni-data-select class="value" v-model="dataInfo.branchId" :localdata="dataInfo.branchList" :clear="false" placeholder="请选择院区" @change="changeBranch" :class="{formRed: isSubmit && !dataInfo.branchId}"></uni-data-select>
|
30
|
|
- </view>
|
|
38
|
+ <!-- <uni-data-select class="value" v-model="dataInfo.branchId" :localdata="dataInfo.branchList" :clear="false" placeholder="请选择院区" @change="changeBranch" :class="{formRed: isSubmit && !dataInfo.branchId}"></uni-data-select> -->
|
|
39
|
+ <uni-data-picker class="value" placeholder="请选择院区"
|
|
40
|
+ :localdata="dataInfo.branchList" v-model="dataInfo.branchId"
|
|
41
|
+ :clear-icon="false" @change="changeBranch" :class="{formRed: isSubmit && !dataInfo.branchId}">
|
|
42
|
+ </uni-data-picker>
|
|
43
|
+ </view>
|
31
|
44
|
<view class="form_item">
|
32
|
45
|
<view class="title select"><text class="required newicon newicon-bitian"></text>责任科室:</view>
|
33
|
|
- <uni-data-select class="value" v-model="dataInfo.dutyId" :localdata="dataInfo.dutyList" :clear="false" placeholder="请选择责任科室" @change="changeDuty" :class="{formRed: isSubmit && !dataInfo.dutyId}"></uni-data-select>
|
34
|
|
- </view>
|
|
46
|
+ <!-- <uni-data-select class="value" v-model="dataInfo.dutyId" :localdata="dataInfo.dutyList" :clear="false" placeholder="请选择责任科室" @change="changeDuty" :class="{formRed: isSubmit && !dataInfo.dutyId}"></uni-data-select> -->
|
|
47
|
+ <uni-data-picker class="value" placeholder="请选择责任科室"
|
|
48
|
+ :localdata="dataInfo.dutyList" v-model="dataInfo.dutyId"
|
|
49
|
+ :clear-icon="false" @change="changeDuty" :class="{formRed: isSubmit && !dataInfo.dutyId}">
|
|
50
|
+ </uni-data-picker>
|
|
51
|
+ </view>
|
35
|
52
|
<view class="form_item">
|
36
|
53
|
<view class="title select"><text class="required newicon newicon-bitian"></text>工作组:</view>
|
37
|
|
- <uni-data-select class="value" v-model="dataInfo.groupId" :localdata="dataInfo.groupList" :clear="false" placeholder="请选择工作组" @change="changeGroup" :class="{formRed: isSubmit && !dataInfo.groupId}"></uni-data-select>
|
38
|
|
- </view>
|
|
54
|
+ <!-- <uni-data-select class="value" v-model="dataInfo.groupId" :localdata="dataInfo.groupList" :clear="false" placeholder="请选择工作组" @change="changeGroup" :class="{formRed: isSubmit && !dataInfo.groupId}"></uni-data-select> -->
|
|
55
|
+ <uni-data-picker class="value" placeholder="请选择工作组"
|
|
56
|
+ v-model="dataInfo.groupId" :localdata="dataInfo.groupList"
|
|
57
|
+ :clear-icon="false" @change="changeGroup" :class="{formRed: isSubmit && !dataInfo.groupId}">
|
|
58
|
+ </uni-data-picker>
|
|
59
|
+ </view>
|
39
|
60
|
<view class="form_item">
|
40
|
61
|
<view class="title radio"><text class="required newicon newicon-bitian"></text>是否指派到人:</view>
|
41
|
62
|
<uni-data-checkbox class="value" v-model="dataInfo.isAssignUser" :localdata="dataInfo.isAssignUserList" @change="changeIsAssignUser" />
|
42
|
63
|
</view>
|
43
|
64
|
<view class="form_item" v-if="dataInfo.isAssignUser === 1">
|
44
|
65
|
<view class="title select"><text class="required newicon newicon-bitian"></text>指派对象:</view>
|
45
|
|
- <uni-data-select class="value" v-model="dataInfo.userId" :localdata="dataInfo.userList" :clear="false" placeholder="请选择指派对象" :class="{formRed: isSubmit && dataInfo.groupId && dataInfo.isAssignUser == 1 && !dataInfo.userId}"></uni-data-select>
|
46
|
|
- </view>
|
|
66
|
+ <!-- <uni-data-select class="value" v-model="dataInfo.userId" :localdata="dataInfo.userList" :clear="false" placeholder="请选择指派对象" :class="{formRed: isSubmit && dataInfo.groupId && dataInfo.isAssignUser == 1 && !dataInfo.userId}"></uni-data-select> -->
|
|
67
|
+ <uni-data-picker class="value" placeholder="请选择指派对象"
|
|
68
|
+ v-model="dataInfo.userId" :localdata="dataInfo.userList"
|
|
69
|
+ :clear-icon="false" :class="{formRed: isSubmit && dataInfo.groupId && dataInfo.isAssignUser == 1 && !dataInfo.userId}">
|
|
70
|
+ </uni-data-picker>
|
|
71
|
+ </view>
|
47
|
72
|
</template>
|
48
|
73
|
|
49
|
74
|
<!-- 退回 -->
|
|
@@ -54,7 +79,8 @@
|
54
|
79
|
<view class="tips">注:退回后,由调度台重新指派。</view>
|
55
|
80
|
</view>
|
56
|
81
|
</template>
|
57
|
|
- </scroll-view>
|
|
82
|
+ </view>
|
|
83
|
+ <!-- </scroll-view> -->
|
58
|
84
|
<view class="foot_common_btns">
|
59
|
85
|
<button @click="goBack" type="default" class="cancelButton btn">返回</button>
|
60
|
86
|
<button @click="submit" type="default" class="primaryButton btn">提交</button>
|