|
|
@@ -1,133 +1,274 @@
|
|
1
|
1
|
<template>
|
|
2
|
2
|
<view class="wrapper">
|
|
3
|
|
- <view class="detailContent">
|
|
4
|
|
- <view class="contentTable">
|
|
5
|
|
- <text class="contentTitle">工单编号:</text>
|
|
6
|
|
- <text class="contentText">{{ detailContentData.F_WorkOrderId }}</text>
|
|
7
|
|
- </view>
|
|
8
|
|
- <view class="contentTable">
|
|
9
|
|
- <text class="contentTitle">受理时间:</text>
|
|
10
|
|
- <text class="contentText">{{ detailContentData.F_CreateTime }}</text>
|
|
11
|
|
- </view>
|
|
12
|
|
- <view class="contentTable">
|
|
13
|
|
- <text class="contentTitle">来电人:</text>
|
|
14
|
|
- <text class="contentText">{{ detailContentData.F_CusName }}</text>
|
|
15
|
|
- </view>
|
|
16
|
|
- <view class="contentTable">
|
|
17
|
|
- <text class="contentTitle">来电号码:</text>
|
|
18
|
|
- <text class="contentText">{{ detailContentData.F_CusPhone }}</text>
|
|
19
|
|
- </view>
|
|
20
|
|
- <view class="contentTable">
|
|
21
|
|
- <text class="contentTitle">保密等级:</text>
|
|
22
|
|
- <text class="contentText">{{ String(detailContentData.F_IsProtect) === "0" ? "普通" : "保密" }}</text>
|
|
23
|
|
- </view>
|
|
24
|
|
- <view class="contentTable">
|
|
25
|
|
- <text class="contentTitle">地址:</text>
|
|
26
|
|
- <text class="contentText">{{ detailContentData.AreaName + detailContentData.F_SourceAddress }}</text>
|
|
27
|
|
- </view>
|
|
28
|
|
- <view class="contentTable">
|
|
29
|
|
- <text class="contentTitle">工单内容:</text>
|
|
30
|
|
- <text class="contentText">{{ detailContentData.F_Content == null ? detailContentData.F_ComContent : detailContentData.F_Content }}</text>
|
|
31
|
|
- </view>
|
|
32
|
|
- <view class="contentTable">
|
|
33
|
|
- <text class="contentTitle">来源:</text>
|
|
34
|
|
- <text class="contentText">{{ detailContentData.SourceName }}</text>
|
|
35
|
|
- </view>
|
|
36
|
|
- </view>
|
|
37
|
|
- <view class="form">
|
|
38
|
|
- <form @submit="formSubmit" @reset="formReset">
|
|
39
|
|
- <view class="uni-form-item uni-column">
|
|
40
|
|
- <view class="title">承办单位:</view>
|
|
41
|
|
- <view>
|
|
42
|
|
- <bjx-inputs the-style="" :value="formData.deptName" item-key="F_DeptName" placeholder="请输入内容" @list="getDeptData" @select="selectDept" overflow="hide"> </bjx-inputs>
|
|
43
|
|
- </view>
|
|
44
|
|
- </view>
|
|
45
|
|
- <view class="uni-form-item uni-column" v-if="isDisplay.urgentOrOrdinary">
|
|
46
|
|
- <view class="uni-title uni-common-pl">办理时限:</view>
|
|
47
|
|
- <view class="uni-list">
|
|
48
|
|
- <view class="uni-list-cell">
|
|
49
|
|
- <view class="uni-list-cell-db">
|
|
50
|
|
- <picker @change="bindPickerChangeProcessingTimeLimit" :value="pickerIndex.indexProcessingTimeLimit" :range="processingTimeLimitListData" :range-key="'text'">
|
|
51
|
|
- <view class="uni-input">{{ processingTimeLimitListData[pickerIndex.indexProcessingTimeLimit].text }}</view>
|
|
52
|
|
- </picker>
|
|
|
3
|
+ <view>
|
|
|
4
|
+ <uni-segmented-control :current="current" :values="items" @clickItem="onClickItem" styleType="text" activeColor="#4cd964"></uni-segmented-control>
|
|
|
5
|
+ <view>
|
|
|
6
|
+ <view v-show="current === 0">
|
|
|
7
|
+ <view class="detailContent">
|
|
|
8
|
+ <view class="contentTable">
|
|
|
9
|
+ <text class="contentTitle">工单编号:</text>
|
|
|
10
|
+ <text class="contentText">{{ detailContentData.workOrderId }}</text>
|
|
|
11
|
+ </view>
|
|
|
12
|
+ <view class="contentTable">
|
|
|
13
|
+ <text class="contentTitle">状态:</text>
|
|
|
14
|
+ <text class="contentText">{{ detailContentData.F_WorkState | workStateFilters(detailContentData) }}</text>
|
|
|
15
|
+ </view>
|
|
|
16
|
+ <view class="contentTable">
|
|
|
17
|
+ <text class="contentTitle">受理人:</text>
|
|
|
18
|
+ <text class="contentText">{{ detailContentData.F_CreateUser | acceptPersonFilters(detailContentData) }}</text>
|
|
|
19
|
+ </view>
|
|
|
20
|
+ <view class="contentTable">
|
|
|
21
|
+ <text class="contentTitle">处理方式:</text>
|
|
|
22
|
+ <text class="contentText">{{ detailContentData.F_IsResult | dealWithWayFilters }}</text>
|
|
|
23
|
+ </view>
|
|
|
24
|
+ <view class="contentTable">
|
|
|
25
|
+ <text class="contentTitle">录入时间:</text>
|
|
|
26
|
+ <text class="contentText">{{ detailContentData.F_CreateTime }}</text>
|
|
|
27
|
+ </view>
|
|
|
28
|
+ <view class="contentTable">
|
|
|
29
|
+ <text class="contentTitle">提交时间:</text>
|
|
|
30
|
+ <text class="contentText">{{ detailContentData.F_SubmitTime }}</text>
|
|
|
31
|
+ </view>
|
|
|
32
|
+ <view class="contentTable">
|
|
|
33
|
+ <text class="contentTitle">办理时间:</text>
|
|
|
34
|
+ <text class="contentText">{{ detailContentData.F_DealTime }}</text>
|
|
|
35
|
+ </view>
|
|
|
36
|
+ <view class="contentTable">
|
|
|
37
|
+ <text class="contentTitle">结案时间:</text>
|
|
|
38
|
+ <text class="contentText">{{ detailContentData.F_CloseTime }}</text>
|
|
|
39
|
+ </view>
|
|
|
40
|
+ <view class="contentTable">
|
|
|
41
|
+ <text class="contentTitle">三方通话:</text>
|
|
|
42
|
+ <text class="contentText">{{ detailContentData.F_Business | threeWayCallFilters }}</text>
|
|
|
43
|
+ </view>
|
|
|
44
|
+ <view class="contentTable">
|
|
|
45
|
+ <text class="contentTitle">反映类型:</text>
|
|
|
46
|
+ <text class="contentText">{{ detailContentData.TypeName1 }}</text>
|
|
|
47
|
+ </view>
|
|
|
48
|
+ <view class="contentTable">
|
|
|
49
|
+ <text class="contentTitle">紧急程度:</text>
|
|
|
50
|
+ <text class="contentText">{{ detailContentData.F_Level | levelFilters }}</text>
|
|
|
51
|
+ </view>
|
|
|
52
|
+ <view class="contentTable">
|
|
|
53
|
+ <text class="contentTitle">反映类别:</text>
|
|
|
54
|
+ <text class="contentText">{{ detailContentData.KeyName }}</text>
|
|
|
55
|
+ </view>
|
|
|
56
|
+ <view class="contentTable">
|
|
|
57
|
+ <text class="contentTitle">密级:</text>
|
|
|
58
|
+ <text class="contentText">{{ detailContentData.F_IsProtect | isProtectFilters }}</text>
|
|
|
59
|
+ </view>
|
|
|
60
|
+ <view class="contentTable">
|
|
|
61
|
+ <text class="contentTitle">办理单位:</text>
|
|
|
62
|
+ <text class="contentText">{{ detailContentData.deptname }}</text>
|
|
|
63
|
+ </view>
|
|
|
64
|
+ <view class="contentTable">
|
|
|
65
|
+ <text class="contentTitle">处理结果:</text>
|
|
|
66
|
+ <text class="contentText">{{ detailContentData.F_Result }}</text>
|
|
|
67
|
+ </view>
|
|
|
68
|
+ <view class="contentTable">
|
|
|
69
|
+ <text class="contentTitle">追加回复:</text>
|
|
|
70
|
+ <text class="contentText">{{ detailContentData.F_AdditionalReply }}</text>
|
|
|
71
|
+ </view>
|
|
|
72
|
+ <view class="contentTable">
|
|
|
73
|
+ <text class="contentTitle">结案意见:</text>
|
|
|
74
|
+ <text class="contentText">{{ detailContentData.F_FinalOpinion }}</text>
|
|
|
75
|
+ </view>
|
|
|
76
|
+ <view class="contentTable">
|
|
|
77
|
+ <text class="contentTitle">附件:</text>
|
|
|
78
|
+ <view class="contentText">
|
|
|
79
|
+ <show-file :file="File"></show-file>
|
|
53
|
80
|
</view>
|
|
|
81
|
+ <!-- <text >{{ detailContentData.SourceName }}</text> -->
|
|
54
|
82
|
</view>
|
|
55
|
83
|
</view>
|
|
56
|
84
|
</view>
|
|
57
|
|
- <view class="uni-form-item uni-column" v-if="!isDisplay.urgentOrOrdinary">
|
|
58
|
|
- <view class="uni-title uni-common-pl">紧急时限:</view>
|
|
59
|
|
- <view class="uni-list">
|
|
60
|
|
- <view class="test">
|
|
61
|
|
- <input class="uni-input" @click="DatePicker('datetime')" name="emergencyTimeFrame" :value="formData.emergencyTimeFrame" placeholder="紧急时限" />
|
|
62
|
|
- <!-- <text @click="DatePicker('datetime')">{{ formData.emergencyTimeFrame }}</text> -->
|
|
|
85
|
+ <view v-show="current === 1">
|
|
|
86
|
+ <view class="detailContent">
|
|
|
87
|
+ <view class="contentBlock">
|
|
|
88
|
+ <text class="title">二级办理单位</text>
|
|
|
89
|
+ <view class="content" v-for="item in twoAssignedInformation" :key="item.F_Id">
|
|
|
90
|
+ <view class="contentTable">
|
|
|
91
|
+ <text class="contentTitle">交办时间:</text>
|
|
|
92
|
+ <text class="contentText">{{ item.F_CreateTime }}</text>
|
|
|
93
|
+ </view>
|
|
|
94
|
+ <view class="contentTable">
|
|
|
95
|
+ <text class="contentTitle">办理时限:</text>
|
|
|
96
|
+ <text class="contentText">{{ item.F_LimitTime }}</text>
|
|
|
97
|
+ </view>
|
|
|
98
|
+ <view class="contentTable">
|
|
|
99
|
+ <text class="contentTitle">承办单位:</text>
|
|
|
100
|
+ <text class="contentText">{{ item.DeptName }}</text>
|
|
|
101
|
+ </view>
|
|
|
102
|
+ <view class="contentTable">
|
|
|
103
|
+ <text class="contentTitle">交办意见:</text>
|
|
|
104
|
+ <text class="contentText">{{ item.F_AssignedOpinion }}</text>
|
|
|
105
|
+ </view>
|
|
|
106
|
+ </view>
|
|
|
107
|
+ <yiLine>
|
|
|
108
|
+ <view></view>
|
|
|
109
|
+ </yiLine>
|
|
|
110
|
+ </view>
|
|
|
111
|
+ <view class="contentBlock">
|
|
|
112
|
+ <text class="title">三级办理单位</text>
|
|
|
113
|
+ <view class="content" v-for="item in threeAssignedInformation" :key="item.F_Id">
|
|
|
114
|
+ <view class="contentTable">
|
|
|
115
|
+ <text class="contentTitle">交办时间:</text>
|
|
|
116
|
+ <text class="contentText">{{ item.F_CreateTime }}</text>
|
|
|
117
|
+ </view>
|
|
|
118
|
+ <view class="contentTable">
|
|
|
119
|
+ <text class="contentTitle">办理时限:</text>
|
|
|
120
|
+ <text class="contentText">{{ item.F_LimitTime }}</text>
|
|
|
121
|
+ </view>
|
|
|
122
|
+ <view class="contentTable">
|
|
|
123
|
+ <text class="contentTitle">承办单位:</text>
|
|
|
124
|
+ <text class="contentText">{{ item.DeptName }}</text>
|
|
|
125
|
+ </view>
|
|
|
126
|
+ <view class="contentTable">
|
|
|
127
|
+ <text class="contentTitle">交办意见:</text>
|
|
|
128
|
+ <text class="contentText">{{ item.F_AssignedOpinion }}</text>
|
|
|
129
|
+ </view>
|
|
|
130
|
+ </view>
|
|
|
131
|
+ <yiLine>
|
|
|
132
|
+ <view></view>
|
|
|
133
|
+ </yiLine>
|
|
|
134
|
+ </view>
|
|
|
135
|
+ <view class="contentBlock">
|
|
|
136
|
+ <text class="title">退回审核</text>
|
|
|
137
|
+ <view class="content" v-for="item in backAuditList" :key="item.F_Id">
|
|
|
138
|
+ <view class="contentTable">
|
|
|
139
|
+ <text class="contentTitle">申请时间:</text>
|
|
|
140
|
+ <text class="contentText">{{ item.F_CreateTime }}</text>
|
|
|
141
|
+ </view>
|
|
|
142
|
+ <view class="contentTable">
|
|
|
143
|
+ <text class="contentTitle">申请原因:</text>
|
|
|
144
|
+ <text class="contentText">{{ item.F_Result }}</text>
|
|
|
145
|
+ </view>
|
|
|
146
|
+ <view class="contentTable">
|
|
|
147
|
+ <text class="contentTitle">状态:</text>
|
|
|
148
|
+ <text class="contentText">{{ item.F_IsAudit | backauditFilters }}</text>
|
|
|
149
|
+ </view>
|
|
|
150
|
+ <view class="contentTable">
|
|
|
151
|
+ <text class="contentTitle">审核时间:</text>
|
|
|
152
|
+ <text class="contentText">{{ item.F_AuditTime }}</text>
|
|
|
153
|
+ </view>
|
|
|
154
|
+ <view class="contentTable">
|
|
|
155
|
+ <text class="contentTitle">审核意见:</text>
|
|
|
156
|
+ <text class="contentText">{{ item.F_AuditReason }}</text>
|
|
|
157
|
+ </view>
|
|
|
158
|
+ <view class="contentTable">
|
|
|
159
|
+ <text class="contentTitle">申请单位:</text>
|
|
|
160
|
+ <text class="contentText">{{ item.DeptName }}</text>
|
|
|
161
|
+ </view>
|
|
|
162
|
+ <view class="contentTable">
|
|
|
163
|
+ <text class="contentTitle">附件:</text>
|
|
|
164
|
+ <view class="contentText">
|
|
|
165
|
+ </view>
|
|
|
166
|
+ </view>
|
|
|
167
|
+ </view>
|
|
|
168
|
+ <yiLine>
|
|
|
169
|
+ <view></view>
|
|
|
170
|
+ </yiLine>
|
|
63
|
171
|
</view>
|
|
64
|
|
- <mx-date-picker :show="showPicker" type="datetime" :value="formData.emergencyTimeFrame" :show-tips="true" :begin-text="'开始'" :end-text="'结束'" :show-seconds="true" @confirm="ed" @cancel="ed" />
|
|
65
|
|
- </view>
|
|
66
|
|
- </view>
|
|
67
|
|
- <view class="uni-form-item uni-column">
|
|
68
|
|
- <view class="title">调度意见:</view>
|
|
69
|
|
- <view class="uni-textarea">
|
|
70
|
|
- <textarea name="schedulingOpinions" :value="formData.schedulingOpinions" auto-height />
|
|
71
|
172
|
</view>
|
|
72
|
173
|
</view>
|
|
73
|
|
- <view class="uni-btn-v">
|
|
74
|
|
- <button form-type="submit" class="mini-btn" size="mini" type="default">保存</button>
|
|
75
|
|
- </view>
|
|
76
|
|
- </form>
|
|
77
|
|
- <!-- <view>
|
|
78
|
|
- <button form-type="submit" class="mini-btn" size="mini" type="default" @click="returnPage">返回</button>
|
|
79
|
|
- </view> -->
|
|
|
174
|
+ <view v-show="current === 2"></view>
|
|
|
175
|
+ </view>
|
|
80
|
176
|
</view>
|
|
81
|
177
|
</view>
|
|
82
|
178
|
</template>
|
|
83
|
179
|
|
|
84
|
180
|
<script>
|
|
85
|
|
-import BjxInputs from "@/components/bjx-inputs/bjx-inputs.vue"
|
|
86
|
|
-import MxDatePicker from "@/components/mx-datepicker/mx-datepicker.vue"
|
|
87
|
|
-// import bjxList from './list.vue' // 若要查看微信小程序 自定义组件嵌套产生的问题 可打开
|
|
|
181
|
+import yiLine from "../../components/yi-line/yi-line.vue"
|
|
|
182
|
+import showFile from "../../components/showFile/index.vue"
|
|
88
|
183
|
|
|
89
|
184
|
export default {
|
|
90
|
185
|
components: {
|
|
91
|
|
- BjxInputs,
|
|
92
|
|
- MxDatePicker,
|
|
|
186
|
+ yiLine,
|
|
|
187
|
+ showFile
|
|
93
|
188
|
},
|
|
94
|
189
|
data() {
|
|
95
|
190
|
return {
|
|
96
|
191
|
wid: "", // 工单编号
|
|
97
|
192
|
detailContentData: {}, // 详情内容
|
|
98
|
|
- deptListData: [],
|
|
99
|
|
- formData: {
|
|
100
|
|
- deptName: "", // 部门名称
|
|
101
|
|
- deptId: "", // 部门id
|
|
102
|
|
- processingTimeLimit: "1", // 普通时限
|
|
103
|
|
- schedulingOpinions: "请于1小时内与来电人取得联系(匿名除外),并于7个工作日内将办理情况反馈来电人,并将办理结果报市长便民公开电话受理中心,同时做好来电人信息保密工作。(若超期将进行通报;若无故不回复,将转交市委市政府督查局。)", // 调度意见
|
|
104
|
|
- emergencyTimeFrame: "", // 紧急时限
|
|
105
|
|
- },
|
|
106
|
|
- pickerIndex: {
|
|
107
|
|
- indexProcessingTimeLimit: 0, // 来源index
|
|
108
|
|
- },
|
|
109
|
|
- processingTimeLimitListData: [
|
|
|
193
|
+ twoAssignedInformation: [], // 二级交办信息
|
|
|
194
|
+ threeAssignedInformation: [], // 三级交办信息
|
|
|
195
|
+ backAuditList: [], // 退回审核
|
|
|
196
|
+ current: 0,
|
|
|
197
|
+ items: ["工单信息", "交办信息", "市长批示", "工单驳回", "办理情况", "延时审核", "回访信息", "督办信息", "市民催办", "办理过程", "市民评议", "多媒体审核"],
|
|
|
198
|
+ File: [
|
|
|
199
|
+ {
|
|
|
200
|
+ "F_AddTime": "2021-12-08 16:40:34",
|
|
|
201
|
+ "F_FileId": 86595,
|
|
|
202
|
+ "F_FileName": "(20211208164033996)588812181.jpg",
|
|
|
203
|
+ "F_FileType": ".jpg",
|
|
|
204
|
+ "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
|
|
|
205
|
+ "F_Size": 117990,
|
|
|
206
|
+ "F_UserCode": "10199"
|
|
|
207
|
+ },
|
|
|
208
|
+ {
|
|
|
209
|
+ "F_AddTime": "2021-12-08 16:40:34",
|
|
|
210
|
+ "F_FileId": 86595,
|
|
|
211
|
+ "F_FileName": "(20211208164033996)588812181.jpg",
|
|
|
212
|
+ "F_FileType": ".jpg",
|
|
|
213
|
+ "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
|
|
|
214
|
+ "F_Size": 117990,
|
|
|
215
|
+ "F_UserCode": "10199"
|
|
|
216
|
+ },
|
|
|
217
|
+ {
|
|
|
218
|
+ "F_AddTime": "2021-12-08 16:40:34",
|
|
|
219
|
+ "F_FileId": 86595,
|
|
|
220
|
+ "F_FileName": "(20211208164033996)588812181.jpg",
|
|
|
221
|
+ "F_FileType": ".jpg",
|
|
|
222
|
+ "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
|
|
|
223
|
+ "F_Size": 117990,
|
|
|
224
|
+ "F_UserCode": "10199"
|
|
|
225
|
+ },
|
|
110
|
226
|
{
|
|
111
|
|
- value: "1",
|
|
112
|
|
- text: "一天",
|
|
|
227
|
+ "F_AddTime": "2021-12-08 16:40:34",
|
|
|
228
|
+ "F_FileId": 86595,
|
|
|
229
|
+ "F_FileName": "(20211208164033996)588812181.jpg",
|
|
|
230
|
+ "F_FileType": ".jpg",
|
|
|
231
|
+ "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
|
|
|
232
|
+ "F_Size": 117990,
|
|
|
233
|
+ "F_UserCode": "10199"
|
|
113
|
234
|
},
|
|
114
|
235
|
{
|
|
115
|
|
- value: "3",
|
|
116
|
|
- text: "三天",
|
|
|
236
|
+ "F_AddTime": "2021-12-08 16:40:34",
|
|
|
237
|
+ "F_FileId": 86595,
|
|
|
238
|
+ "F_FileName": "(20211208164033996)588812181.jpg",
|
|
|
239
|
+ "F_FileType": ".jpg",
|
|
|
240
|
+ "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
|
|
|
241
|
+ "F_Size": 117990,
|
|
|
242
|
+ "F_UserCode": "10199"
|
|
117
|
243
|
},
|
|
118
|
244
|
{
|
|
119
|
|
- value: "5",
|
|
120
|
|
- text: "五天",
|
|
|
245
|
+ "F_AddTime": "2021-12-08 16:40:34",
|
|
|
246
|
+ "F_FileId": 86595,
|
|
|
247
|
+ "F_FileName": "(20211208164033996)588812181.jpg",
|
|
|
248
|
+ "F_FileType": ".pdf",
|
|
|
249
|
+ "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
|
|
|
250
|
+ "F_Size": 117990,
|
|
|
251
|
+ "F_UserCode": "10199"
|
|
121
|
252
|
},
|
|
122
|
253
|
{
|
|
123
|
|
- value: "7",
|
|
124
|
|
- text: "七天",
|
|
|
254
|
+ "F_AddTime": "2021-12-08 16:40:34",
|
|
|
255
|
+ "F_FileId": 86595,
|
|
|
256
|
+ "F_FileName": "(20211208164033996)588812181.jpg",
|
|
|
257
|
+ "F_FileType": ".pdf",
|
|
|
258
|
+ "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
|
|
|
259
|
+ "F_Size": 117990,
|
|
|
260
|
+ "F_UserCode": "10199"
|
|
125
|
261
|
},
|
|
126
|
|
- ],
|
|
127
|
|
- isDisplay: {
|
|
128
|
|
- urgentOrOrdinary: true,
|
|
129
|
|
- },
|
|
130
|
|
- showPicker: false,
|
|
|
262
|
+ {
|
|
|
263
|
+ "F_AddTime": "2021-12-08 16:40:34",
|
|
|
264
|
+ "F_FileId": 86595,
|
|
|
265
|
+ "F_FileName": "(20211208164033996)588812181.jpg",
|
|
|
266
|
+ "F_FileType": ".pdf",
|
|
|
267
|
+ "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
|
|
|
268
|
+ "F_Size": 117990,
|
|
|
269
|
+ "F_UserCode": "10199"
|
|
|
270
|
+ },
|
|
|
271
|
+ ]
|
|
131
|
272
|
}
|
|
132
|
273
|
},
|
|
133
|
274
|
onLoad(option) {
|
|
|
@@ -136,41 +277,11 @@ export default {
|
|
136
|
277
|
this.getDetail("0")
|
|
137
|
278
|
// 获取交办信息
|
|
138
|
279
|
// this.getDetail("1")
|
|
139
|
|
- //获取部门
|
|
140
|
|
- this.getDeptList()
|
|
141
|
280
|
},
|
|
142
|
281
|
methods: {
|
|
143
|
|
- formSubmit: function (e) {
|
|
144
|
|
- this.formData.schedulingOpinions = e.detail.value.schedulingOpinions
|
|
145
|
|
- console.log("form发生了submit事件,携带数据为:" + JSON.stringify(e.detail.value))
|
|
146
|
|
- this.saveData()
|
|
147
|
|
- },
|
|
148
|
|
- // 保存
|
|
149
|
|
- saveData() {
|
|
150
|
|
- const params = {
|
|
151
|
|
- workorderid: this.wid,
|
|
152
|
|
- state: 1, // 保存并交办
|
|
153
|
|
- maindeptid: String(this.formData.deptId), // 承办单位
|
|
154
|
|
- limittime: this.formData.processingTimeLimit, // 办理时限
|
|
155
|
|
- limittimes: this.formData.emergencyTimeFrame, // 紧急办理时限
|
|
156
|
|
- assignedopinion: this.formData.schedulingOpinions, //调度意见
|
|
157
|
|
- // assignid: "",
|
|
158
|
|
- token: uni.getStorageSync("token"),
|
|
159
|
|
- }
|
|
160
|
|
- this.$http
|
|
161
|
|
- .post("/WorkOrder/AssignWorkOrderNew", params)
|
|
162
|
|
- .then((response) => {
|
|
163
|
|
- if (response.state.toLowerCase() === "success") {
|
|
164
|
|
- this.returnPage()
|
|
165
|
|
- }
|
|
166
|
|
- })
|
|
167
|
|
- .catch((e) => {
|
|
168
|
|
- console.log(e)
|
|
169
|
|
- })
|
|
170
|
|
- },
|
|
171
|
282
|
// 返回列表页
|
|
172
|
283
|
returnPage() {
|
|
173
|
|
- uni.$emit("updateList",{});
|
|
|
284
|
+ uni.$emit("updateList", {})
|
|
174
|
285
|
uni.navigateBack({
|
|
175
|
286
|
delta: 2,
|
|
176
|
287
|
})
|
|
|
@@ -188,126 +299,209 @@ export default {
|
|
188
|
299
|
.then((response) => {
|
|
189
|
300
|
if (response.state.toLowerCase() === "success") {
|
|
190
|
301
|
let data = response.data
|
|
191
|
|
- if (type === "0") {
|
|
192
|
|
- this.detailContentData = data.data[0]
|
|
193
|
|
- this.isDisplay.urgentOrOrdinary = String(this.detailContentData.F_Level) === "2" ? false : true
|
|
194
|
|
- }
|
|
|
302
|
+ if (String(type) === "0") {
|
|
|
303
|
+ this.detailContentData = Object.assign({}, data.data[0])
|
|
|
304
|
+ } else if (String(type) === "1") {
|
|
|
305
|
+ this.twoAssignedInformation = data.jbdata;
|
|
|
306
|
+ this.threeAssignedInformation = data.ejjbdata;
|
|
|
307
|
+ this.backAuditList = data.thdata;
|
|
|
308
|
+ }
|
|
195
|
309
|
}
|
|
196
|
310
|
})
|
|
197
|
311
|
.catch((e) => {
|
|
198
|
312
|
console.log(e)
|
|
199
|
313
|
})
|
|
200
|
314
|
},
|
|
201
|
|
-
|
|
202
|
|
- getDeptList() {
|
|
203
|
|
- let params = {
|
|
204
|
|
- iscbdw: 2,
|
|
205
|
|
- token: uni.getStorageSync("token"),
|
|
|
315
|
+ onClickItem(e) {
|
|
|
316
|
+ this.current = e.currentIndex;
|
|
|
317
|
+ switch (e.currentIndex) {
|
|
|
318
|
+ case 1:
|
|
|
319
|
+ // 获取交办信息
|
|
|
320
|
+ this.getDetail("1");
|
|
|
321
|
+ break;
|
|
|
322
|
+ default:
|
|
|
323
|
+ break;
|
|
206
|
324
|
}
|
|
207
|
|
- this.$http
|
|
208
|
|
- .get("/Department/GetDeptList", params)
|
|
209
|
|
- .then((response) => {
|
|
210
|
|
- if (response.state.toLowerCase() === "success") {
|
|
211
|
|
- let data = response.data
|
|
212
|
|
- this.deptListData = data
|
|
213
|
|
- }
|
|
214
|
|
- })
|
|
215
|
|
- .catch((e) => {
|
|
216
|
|
- console.log(e)
|
|
217
|
|
- })
|
|
218
|
325
|
},
|
|
219
|
|
-
|
|
220
|
|
- // 远程加载数据 返回一个对象,{value: 输入框值, callback: 回调函数}
|
|
221
|
|
- getDeptData(e) {
|
|
222
|
|
- console.log("e", e)
|
|
223
|
|
- this.formData.deptName = e.value
|
|
224
|
|
- if (!e.value) {
|
|
225
|
|
- e.callback(this.deptListData)
|
|
226
|
|
- } else {
|
|
227
|
|
- let data = []
|
|
228
|
|
- this.deptListData.forEach((item) => {
|
|
229
|
|
- if (item.F_DeptName.indexOf(e.value) > -1) {
|
|
230
|
|
- data.push(item)
|
|
|
326
|
+ },
|
|
|
327
|
+ filters: {
|
|
|
328
|
+ workStateFilters(value, data) {
|
|
|
329
|
+ let str;
|
|
|
330
|
+ switch(value) {
|
|
|
331
|
+ case 0:
|
|
|
332
|
+ let entryTimeDate = new Date(Date.parse(Data[0].F_CreateTime));
|
|
|
333
|
+ let defaultTimeDate = new Date(Date.parse("2020-10-16 00:00:00"));
|
|
|
334
|
+ if (entryTimeDate >= defaultTimeDate) {
|
|
|
335
|
+ str = "新工单";
|
|
|
336
|
+ } else {
|
|
|
337
|
+ str = "新工单(历史工单)";
|
|
|
338
|
+ }
|
|
|
339
|
+ break;
|
|
|
340
|
+ case 1:
|
|
|
341
|
+ str = "待交办";
|
|
|
342
|
+ break;
|
|
|
343
|
+ case 2:
|
|
|
344
|
+ str = "待查收";
|
|
|
345
|
+ break;
|
|
|
346
|
+ case 3:
|
|
|
347
|
+ str = "退回审核中";
|
|
|
348
|
+ break;
|
|
|
349
|
+ case 4:
|
|
|
350
|
+ str = "办理中";
|
|
|
351
|
+ break;
|
|
|
352
|
+ case 5:
|
|
|
353
|
+ str = "延时审核中";
|
|
|
354
|
+ break;
|
|
|
355
|
+ case 6:
|
|
|
356
|
+ str = "已办理";
|
|
|
357
|
+ break;
|
|
|
358
|
+ case 7:
|
|
|
359
|
+ str = "待回访";
|
|
|
360
|
+ break;
|
|
|
361
|
+ case 8:
|
|
|
362
|
+ if (String(data.F_Identification) === "0" ) {
|
|
|
363
|
+ str = "重置转发";
|
|
|
364
|
+ } else if (String(data.F_Identification) === "1") {
|
|
|
365
|
+ str = "退回重办";
|
|
|
366
|
+ } else {
|
|
|
367
|
+ str = "重办中";
|
|
231
|
368
|
}
|
|
232
|
|
- })
|
|
233
|
|
- e.callback(data)
|
|
|
369
|
+ break;
|
|
|
370
|
+ case 9:
|
|
|
371
|
+ str = "已结案";
|
|
|
372
|
+ break;
|
|
|
373
|
+ case 10:
|
|
|
374
|
+ str = "待审核";
|
|
|
375
|
+ break;
|
|
|
376
|
+ case 11:
|
|
|
377
|
+ str = "重办待交办";
|
|
|
378
|
+ break;
|
|
|
379
|
+ case 13:
|
|
|
380
|
+ str = "重办驳回";
|
|
|
381
|
+ break;
|
|
|
382
|
+ default:
|
|
|
383
|
+ str = "";
|
|
|
384
|
+ break;
|
|
234
|
385
|
}
|
|
|
386
|
+ return str
|
|
235
|
387
|
},
|
|
236
|
|
-
|
|
237
|
|
- selectDept(value) {
|
|
238
|
|
- this.formData.deptName = value.F_DeptName
|
|
239
|
|
- this.formData.deptId = value.F_DeptId
|
|
|
388
|
+ acceptPersonFilters(value, data) {
|
|
|
389
|
+ let str;
|
|
|
390
|
+ switch(data.F_InfoSource) {
|
|
|
391
|
+ case 1:
|
|
|
392
|
+ str = data.F_CreateUser;
|
|
|
393
|
+ break;
|
|
|
394
|
+ default:
|
|
|
395
|
+ str = data.F_CusName;
|
|
|
396
|
+ break;
|
|
|
397
|
+ }
|
|
|
398
|
+ return str;
|
|
240
|
399
|
},
|
|
241
|
|
-
|
|
242
|
|
- //办理时限change
|
|
243
|
|
- bindPickerChangeProcessingTimeLimit: function (e) {
|
|
244
|
|
- this.pickerIndex.indexProcessingTimeLimit = e.target.value
|
|
245
|
|
- this.formData.processingTimeLimit = this.processingTimeLimitListData[e.target.value].value
|
|
|
400
|
+ dealWithWayFilters(value) {
|
|
|
401
|
+ let str;
|
|
|
402
|
+ switch(value) {
|
|
|
403
|
+ case 0:
|
|
|
404
|
+ str = "网络转办";
|
|
|
405
|
+ break;
|
|
|
406
|
+ case 1:
|
|
|
407
|
+ str = "当即办理";
|
|
|
408
|
+ break;
|
|
|
409
|
+ default:
|
|
|
410
|
+ str = "";
|
|
|
411
|
+ break;
|
|
|
412
|
+ }
|
|
|
413
|
+ return str;
|
|
246
|
414
|
},
|
|
247
|
|
-
|
|
248
|
|
- DatePicker(type) {
|
|
249
|
|
- //显示
|
|
250
|
|
- this.type = type
|
|
251
|
|
- this.showPicker = true
|
|
252
|
|
- this.formData.emergencyTimeFrame = this[type]
|
|
|
415
|
+ threeWayCallFilters(value) {
|
|
|
416
|
+ let str;
|
|
|
417
|
+ switch(value) {
|
|
|
418
|
+ case 1:
|
|
|
419
|
+ str = "是";
|
|
|
420
|
+ break;
|
|
|
421
|
+ default:
|
|
|
422
|
+ str = "否";
|
|
|
423
|
+ break;
|
|
|
424
|
+ }
|
|
|
425
|
+ return str;
|
|
253
|
426
|
},
|
|
254
|
|
- ed(e) {
|
|
255
|
|
- //选择
|
|
256
|
|
- this.showPicker = false
|
|
257
|
|
- if (e) {
|
|
258
|
|
- //选择的值
|
|
259
|
|
- console.log("value => " + e.value)
|
|
260
|
|
- //原始的Date对象
|
|
261
|
|
- console.log("date => " + e.date)
|
|
262
|
|
- this.timeFormat(e.date)
|
|
|
427
|
+ levelFilters(value) {
|
|
|
428
|
+ let str;
|
|
|
429
|
+ switch(value) {
|
|
|
430
|
+ case 1:
|
|
|
431
|
+ str = "普通";
|
|
|
432
|
+ break;
|
|
|
433
|
+ default:
|
|
|
434
|
+ str = "紧急";
|
|
|
435
|
+ break;
|
|
263
|
436
|
}
|
|
|
437
|
+ return str;
|
|
264
|
438
|
},
|
|
265
|
|
- timeFormat(date) {
|
|
266
|
|
- let year = date.getFullYear()
|
|
267
|
|
- let month = date.getMonth() + 1
|
|
268
|
|
- month = month < 10 ? "0" + month : month
|
|
269
|
|
- let day = date.getDate()
|
|
270
|
|
- day = day < 10 ? "0" + day : day
|
|
271
|
|
- let hours = date.getHours()
|
|
272
|
|
- hours = hours < 10 ? "0" + hours : hours
|
|
273
|
|
- let minute = date.getMinutes()
|
|
274
|
|
- minute = minute < 10 ? "0" + minute : minute
|
|
275
|
|
- let seconds = date.getSeconds()
|
|
276
|
|
- seconds = seconds < 10 ? "0" + seconds : seconds
|
|
277
|
|
- let time = `${year}-${month}-${day} ${hours}:${minute}:${seconds}`
|
|
278
|
|
- this.formData.emergencyTimeFrame = time
|
|
|
439
|
+ isProtectFilters(value) {
|
|
|
440
|
+ let str;
|
|
|
441
|
+ switch(value) {
|
|
|
442
|
+ case 0:
|
|
|
443
|
+ str = "普通";
|
|
|
444
|
+ break;
|
|
|
445
|
+ default:
|
|
|
446
|
+ str = "保密";
|
|
|
447
|
+ break;
|
|
|
448
|
+ }
|
|
|
449
|
+ return str;
|
|
279
|
450
|
},
|
|
280
|
|
- },
|
|
|
451
|
+ backauditFilters(value) {
|
|
|
452
|
+ let str;
|
|
|
453
|
+ switch(String(value)) {
|
|
|
454
|
+ case "1":
|
|
|
455
|
+ str = "同意";
|
|
|
456
|
+ break;
|
|
|
457
|
+ case "2":
|
|
|
458
|
+ str = "拒绝";
|
|
|
459
|
+ break;
|
|
|
460
|
+ default:
|
|
|
461
|
+ str = "";
|
|
|
462
|
+ break;
|
|
|
463
|
+ }
|
|
|
464
|
+ return str;
|
|
|
465
|
+ }
|
|
|
466
|
+ }
|
|
281
|
467
|
}
|
|
282
|
468
|
</script>
|
|
283
|
469
|
|
|
284
|
470
|
<style lang="scss">
|
|
285
|
471
|
.wrapper {
|
|
286
|
472
|
padding: 10px 10px 0 10px;
|
|
|
473
|
+
|
|
|
474
|
+ .segmented-control {
|
|
|
475
|
+ width: 100%;
|
|
|
476
|
+ overflow: auto;
|
|
|
477
|
+ /deep/ .segmented-control__item {
|
|
|
478
|
+ white-space: nowrap;
|
|
|
479
|
+ margin-right: 8px;
|
|
|
480
|
+ }
|
|
|
481
|
+ /deep/ .segmented-control__item:last-child {
|
|
|
482
|
+ margin-right: 0px;
|
|
|
483
|
+ }
|
|
|
484
|
+ }
|
|
287
|
485
|
.detailContent {
|
|
288
|
|
- margin: 0 0 15px 0;
|
|
|
486
|
+ margin: 15px 0 15px 0;
|
|
|
487
|
+ .contentBlock {
|
|
|
488
|
+ margin: 18px 0 0 0;
|
|
|
489
|
+ .title {
|
|
|
490
|
+ font-weight: 700;
|
|
|
491
|
+ }
|
|
|
492
|
+ .content {
|
|
|
493
|
+ margin: 5px 0 5px 0;
|
|
|
494
|
+ }
|
|
|
495
|
+ }
|
|
289
|
496
|
.contentTable {
|
|
290
|
497
|
margin: 0 0 5px 0;
|
|
291
|
498
|
.contentTitle {
|
|
292
|
499
|
font-weight: 700;
|
|
|
500
|
+ font-size: 14px;
|
|
293
|
501
|
}
|
|
294
|
502
|
.contentText {
|
|
295
|
503
|
color: #525252;
|
|
296
|
|
- }
|
|
297
|
|
- }
|
|
298
|
|
- }
|
|
299
|
|
- .form {
|
|
300
|
|
- .uni-form-item {
|
|
301
|
|
- margin: 10px 0 0 0;
|
|
302
|
|
- padding: 0 0 5px 0;
|
|
303
|
|
- border-bottom: 1px solid #bfbfbf;
|
|
304
|
|
- }
|
|
305
|
|
- .uni-btn-v {
|
|
306
|
|
- margin: 15px 0 0 0;
|
|
307
|
|
- text-align: center;
|
|
308
|
|
- button {
|
|
309
|
|
- background: #1e90ff;
|
|
310
|
|
- color: #eee;
|
|
|
504
|
+ font-size: 14px;
|
|
311
|
505
|
}
|
|
312
|
506
|
}
|
|
313
|
507
|
}
|