移动端
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

2111 linhas
76 KiB

  1. <template>
  2. <div class="app-container">
  3. <van-nav-bar
  4. title="案件详情"
  5. fixed
  6. placeholder
  7. left-arrow
  8. @click-left="onClickLeft"
  9. />
  10. <van-tabs type="card" :duration="0.2" animated background="transparent" v-model="caseProgress">
  11. <!-- 登记-->
  12. <van-tab :disabled="0 <= caseActive ? false : true">
  13. <template #title>
  14. <div
  15. :class="{ finish: 1 <= caseActive , notStarted: 1 > caseActive , ongoing: 0 == caseActive }"
  16. >
  17. <p>登记</p>
  18. <p>
  19. <van-icon name="success" v-if="1 <= caseActive"/>
  20. <van-icon name="circle" v-if="caseActive == 0"/>
  21. </p>
  22. </div>
  23. </template>
  24. <div class="main_box">
  25. <van-cell>
  26. <template #title>
  27. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  28. <span class="custom-title">登记<i class="bgBlue"></i></span>
  29. </template>
  30. </van-cell>
  31. <van-cell title="案件来源" :value="form.caseSource"/>
  32. <van-cell title="关联方案" :value="form.schemeId"/>
  33. </div>
  34. <div class="main_box">
  35. <van-cell>
  36. <template #title>
  37. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>
  38. <span class="custom-title">案件信息<i class="bgBlue"></i></span>
  39. </template>
  40. </van-cell>
  41. <van-cell title="案件编码" :value="form.caseNum"/>
  42. <van-cell title="案件名称" :value="form.caseName"/>
  43. <van-cell title="登记日期" :value="form.registerDate" right-icon="calendar-o" />
  44. <van-cell title="执法类别" :value="form.enforceCategory"/>
  45. <van-cell title="当事人类型" :value="form.typeLable"/>
  46. <template v-if="form.type=='1'">
  47. <van-cell title="当事人姓名" :value="form.name"/>
  48. <van-cell title="性别" :value="form.sex"/>
  49. <van-cell title="民族" :value="form.nation" />
  50. <van-cell title="出生日期" :value="form.birthday" />
  51. <van-cell title="身份证号" :value="form.cardNum" />
  52. <van-cell title="工作单位及职务" :value="form.companyPosition" />
  53. <van-cell title="所在地区" :value="form.deptId" />
  54. <van-cell title="联系电话" :value="form.phone" />
  55. <van-cell title="联系地址" :value="form.address" />
  56. <van-cell title="统一社会信用代码" :value="form.uniformCode" />
  57. <van-cell title="字号名称" :value="form.zihao" />
  58. </template>
  59. <template v-if="form.type=='2'">
  60. <van-cell title="企业名称" :value="form.companyName"/>
  61. <van-cell title="法人/负责人" :value="form.legalName"/>
  62. <van-cell title="所在地区" :value="form.deptId" />
  63. <van-cell title="联系地址" :value="form.address" />
  64. <van-cell title="联系电话" :value="form.phone" />
  65. <van-cell title="统一社会信用代码" :value="form.uniformCode" />
  66. </template>
  67. </div>
  68. <div class="main_box" style="margin-top: 10px;">
  69. <van-cell>
  70. <template #title>
  71. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  72. <span class="custom-title">案件文档<i class="bgBlue"></i></span>
  73. </template>
  74. </van-cell>
  75. <van-uploader v-model="fileList" multiple :show-upload="false" :deletable="false" />
  76. </div>
  77. </van-tab>
  78. <!-- 勘察-->
  79. <van-tab :disabled="1 <= caseActive ? false : true">
  80. <template #title>
  81. <div
  82. :class="{ finish: 2 <= caseActive , notStarted: 2 > caseActive , ongoing: 1 == caseActive }"
  83. >
  84. <p>勘察</p>
  85. <p>
  86. <van-icon name="success" v-if="2 <= caseActive"/>
  87. <van-icon name="circle" v-if="caseActive == 1"/>
  88. </p>
  89. </div>
  90. </template>
  91. <div class="main_box">
  92. <van-cell>
  93. <template #title>
  94. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  95. <span class="custom-title">勘察<i class="bgBlue"></i></span>
  96. </template>
  97. </van-cell>
  98. <van-cell title="案件名称" v-model="surveyForm.caseName"/>
  99. <van-cell title="关联方案" v-model="surveyForm.schemeId"/>
  100. </div>
  101. <div class="main_box" style="margin-top: 10px;">
  102. <van-cell>
  103. <template #title>
  104. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>
  105. <span class="custom-title">执行人员<i class="bgBlue"></i></span>
  106. </template>
  107. </van-cell>
  108. <div class="peopleList">
  109. <van-row>
  110. <van-col :span="4">序号</van-col>
  111. <van-col :span="10">执行人员</van-col>
  112. <van-col :span="10">执法证号</van-col>
  113. </van-row>
  114. <van-row v-for="(item,index) in tEnforceCaseHandlerList" :key="index">
  115. <van-col :span="4">{{index+1}}</van-col>
  116. <van-col :span="10">{{item.enforcerName}}</van-col>
  117. <van-col :span="10">{{item.enforcerNum}}</van-col>
  118. </van-row>
  119. </div>
  120. </div>
  121. <div class="main_box">
  122. <van-cell>
  123. <template #title>
  124. <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>
  125. <span class="custom-title">现场检查<i class="bgBlue"></i></span>
  126. </template>
  127. </van-cell>
  128. <van-cell title="勘察开始时间" v-model="surveyForm.surveyStartTime" />
  129. <van-cell title="勘察结束时间" v-model="surveyForm.surveyEndTime" />
  130. <van-cell title="当事人" v-model="surveyForm.dangshiren"/>
  131. <van-cell title="记录人" v-model="surveyForm.recorder"/>
  132. <van-cell title="检查(勘察)地点" v-model="surveyForm.surveyAddr"/>
  133. <van-cell title="现场检查(勘察)情况" :label="surveyForm.surveyDescription" />
  134. </div>
  135. <div class="main_box">
  136. <van-cell>
  137. <template #title>
  138. <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>
  139. <span class="custom-title">询问信息<i class="bgBlue"></i></span>
  140. </template>
  141. </van-cell>
  142. <van-cell title="询问开始时间" v-model="surveyForm.askStartTime"/>
  143. <van-cell title="询问结束时间" v-model="surveyForm.askEndTime"/>
  144. <van-cell title="询问地点" v-model="surveyForm.askAddr"/>
  145. <van-cell title="询问记录人" v-model="surveyForm.askRecorder"/>
  146. <van-cell title="被询问人姓名"v-model="surveyForm.askedName"/>
  147. <van-cell title="被询问人电话" v-model="surveyForm.askedPhone"/>
  148. <van-cell title="身份证号" v-model="surveyForm.idCard"/>
  149. <van-cell title="性别" v-model="surveyForm.gender"/>
  150. <van-cell title="工作单位" v-model="surveyForm.workCompany" />
  151. <van-cell title="职务" v-model="surveyForm.workPosition" />
  152. <van-cell title="住址" v-model="surveyForm.address" />
  153. <van-cell title="询问问题" :label="surveyForm.question" />
  154. <van-cell title="被询问人员证件是否清楚" v-model="surveyForm.isClear == 'Y' ? '是' : '否'" />
  155. <van-cell title="是否申请调查人员回避" v-model="surveyForm.isAvoid == 'Y' ? '是' : '否'" />
  156. <van-cell title="被询问人回答内容" :label="surveyForm.answer" />
  157. </div>
  158. <div class="main_box">
  159. <van-cell>
  160. <template #title>
  161. <van-icon name="../../../static/images/lawEnforcement/icon/icon_xccj.png" size="20"></van-icon>
  162. <span class="custom-title">现场抽检选项<i class="bgBlue"></i></span>
  163. </template>
  164. </van-cell>
  165. <van-cell title="是否现场抽检" v-model="surveyForm.isSpotCheck == 'Y' ? '是' : '否'"/>
  166. </div>
  167. <div class="main_box">
  168. <van-cell>
  169. <template #title>
  170. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>
  171. <span class="custom-title">案件信息<i class="bgBlue"></i></span>
  172. </template>
  173. </van-cell>
  174. <van-cell title="受理时间" v-model="surveyForm.handleDate" />
  175. <van-cell title="受案时间" v-model="surveyForm.shouanDate" />
  176. <van-cell title="简要案情及立案(不予立案)理由" :label="surveyForm.reason" />
  177. <van-cell title="是否审批" v-model="surveyForm.isApprove == 'Y' ? '是' : '否'"/>
  178. <van-cell title="审批程序设置" v-model="surveyForm.surveyResult" />
  179. </div>
  180. <div class="main_box" style="margin-top: 10px;">
  181. <van-cell>
  182. <template #title>
  183. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  184. <span class="custom-title">案件文档<i class="bgBlue"></i></span>
  185. </template>
  186. </van-cell>
  187. <van-uploader v-model="fileList" multiple :show-upload="false" :deletable="false" />
  188. </div>
  189. <p class="splcTit">审批流程</p>
  190. <div class="main_box2">
  191. <van-row v-for="(item,index) in historyList" :key="index">
  192. <van-col :span="4">
  193. <p class="index">{{index+1}}</p>
  194. <div class="indexBorder" :class="{'indexCenter':index==0 ? false : true}">
  195. <p class="ssT" v-if="index>0"></p>
  196. <p class="yq"></p>
  197. <p class="ss" v-if="historyList.length != index+1"></p>
  198. </div>
  199. </van-col>
  200. <van-col :span="20">
  201. <van-cell :title="item.activityName" center>
  202. <template #label>
  203. <p>{{ item.endTime }}</p>
  204. </template>
  205. <template #default>
  206. <p style="color: #666666;">{{ item.assigneeName }}
  207. <span
  208. class="bq"
  209. :style="{
  210. background:item.comment == '提交申请' ? 'rgba(29,111,233,0.2)' : item.comment == '同意' ? 'rgba(29,204,128,0.2)' : item.comment == '自动结束' ? 'rgba(255,166,62,0.2)' : '',
  211. color:item.comment == '提交申请' ? '#1D6FE9' : item.comment == '同意' ? '#1DCC80' : item.comment == '自动结束' ? '#FFA63E' : ''
  212. }"
  213. >{{ item.comment }}</span>
  214. </p>
  215. <p style="color: #999999;">{{ item.durationInMillis }}</p>
  216. </template>
  217. </van-cell>
  218. </van-col>
  219. </van-row>
  220. </div>
  221. <div class="main_box examine_box" v-if="caseActive == 1 && type == 'waiting'">
  222. <van-row type="flex" justify="space-between" align="center">
  223. <van-col span="5">审批<br/>意见</van-col>
  224. <van-col span="19">
  225. <van-radio-group v-model="pass" direction="horizontal">
  226. <van-radio name="true">同意</van-radio>
  227. <van-radio name="false">驳回</van-radio>
  228. </van-radio-group>
  229. <van-field rows="2" autosize v-model="comment" type="textarea" placeholder="审批意见"/>
  230. </van-col>
  231. </van-row>
  232. </div>
  233. <div style="margin: 16px 2%;" v-if="caseActive == 1 && type == 'waiting'">
  234. <van-row>
  235. <van-col span="24" align="center">
  236. <van-button type="info" native-type="submit" @click="submitCase" class="submitButtonActive">提交</van-button>
  237. </van-col>
  238. </van-row>
  239. <div class="clear"></div>
  240. </div>
  241. </van-tab>
  242. <!-- 立案-->
  243. <van-tab :disabled="2 <= caseActive ? false : true">
  244. <template #title>
  245. <div
  246. :class="{ finish: 3 <= caseActive , notStarted: 3 > caseActive , ongoing: 2 == caseActive }"
  247. >
  248. <p>立案</p>
  249. <p>
  250. <van-icon name="success" v-if="3 <= caseActive"/>
  251. <van-icon name="circle" v-if="caseActive == 2"/>
  252. </p>
  253. </div>
  254. </template>
  255. <div class="main_box">
  256. <van-cell>
  257. <template #title>
  258. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  259. <span class="custom-title">立案<i class="bgBlue"></i></span>
  260. </template>
  261. </van-cell>
  262. <van-cell title="案件名称" :value="putRecordForm.caseName" />
  263. <van-cell title="关联方案" :value="putRecordForm.schemeId" />
  264. </div>
  265. <div class="main_box" style="margin-top: 10px;">
  266. <van-cell>
  267. <template #title>
  268. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>
  269. <span class="custom-title">办理人员<i class="bgBlue"></i></span>
  270. </template>
  271. </van-cell>
  272. <div class="peopleList">
  273. <van-row>
  274. <van-col :span="4">序号</van-col>
  275. <van-col :span="10">执行人员</van-col>
  276. <van-col :span="10">执法证号</van-col>
  277. </van-row>
  278. <van-row v-for="(item,index) in tEnforcePutRecordHandlerList" :key="index">
  279. <van-col :span="4">{{index+1}}</van-col>
  280. <van-col :span="10">{{item.enforcerName}}</van-col>
  281. <van-col :span="10">{{item.enforcerNum}}</van-col>
  282. </van-row>
  283. </div>
  284. </div>
  285. <div class="main_box">
  286. <van-cell>
  287. <template #title>
  288. <van-icon name="../../../static/images/lawEnforcement/icon/icon_cfky.png" size="20"></van-icon>
  289. <span class="custom-title">查封扣押<i class="bgBlue"></i></span>
  290. </template>
  291. </van-cell>
  292. <van-cell title="涉嫌违法行为" :value="putRecordForm.illegalAct" />
  293. <van-cell title="处罚依据及内容" :value="putRecordForm.punishContent" />
  294. <van-cell title="查封日期" :value="putRecordForm.sealDate" />
  295. <van-cell title="查封时效" :value="putRecordForm.sealTimeliness" />
  296. <van-cell title="查封天数" :value="putRecordForm.sealDays" />
  297. <van-cell title="产品保存地点" :value="putRecordForm.savePlace" />
  298. <van-cell title="现场情况" :value="putRecordForm.sceneCondition" />
  299. <van-cell title="上诉单位" :value="putRecordForm.appealUnit" />
  300. <van-cell title="复议单位" :value="putRecordForm.administrativeDept" />
  301. <van-cell title="诉讼单位" :value="putRecordForm.lawsuitDept" />
  302. <div class="peopleList cf">
  303. <van-row>
  304. <van-col :span="5">财务名称</van-col>
  305. <van-col :span="3">规格</van-col>
  306. <van-col :span="3">数量</van-col>
  307. <van-col :span="6">生产日期</van-col>
  308. <van-col :span="7">生产经营单位</van-col>
  309. </van-row>
  310. <van-row v-for="(item,index) in tEnforceDetainHandlerList" :key="index">
  311. <van-col :span="5">{{item.name}}</van-col>
  312. <van-col :span="3">{{item.size}}</van-col>
  313. <van-col :span="3">{{item.propertyNum}}</van-col>
  314. <van-col :span="6">{{item.productTimeNum}}</van-col>
  315. <van-col :span="7">{{item.productUnit}}</van-col>
  316. </van-row>
  317. </div>
  318. <div class="cf">
  319. <van-row>
  320. <van-col :span="6">
  321. <van-image src="../../../../static/images/lawEnforcement/icon/icon_fj.png" width="50" />
  322. <p>证据先行</p>
  323. <p>保存通知书</p>
  324. </van-col>
  325. <van-col :span="6">
  326. <van-image src="../../../../static/images/lawEnforcement/icon/icon_fj.png" width="50" />
  327. <p>查封扣押</p>
  328. <p>现场笔录</p>
  329. </van-col>
  330. <van-col :span="6">
  331. <van-image src="../../../../static/images/lawEnforcement/icon/icon_fj.png" width="50" />
  332. <p>查封扣押</p>
  333. <p>决定书</p>
  334. </van-col>
  335. <van-col :span="6"></van-col>
  336. </van-row>
  337. </div>
  338. </div>
  339. <div class="main_box">
  340. <van-cell>
  341. <template #title>
  342. <van-icon name="../../../static/images/lawEnforcement/icon/icon_cfky.png" size="20"></van-icon>
  343. <span class="custom-title">抽样信息<i class="bgBlue"></i></span>
  344. </template>
  345. </van-cell>
  346. <van-cell title="抽样现场人员" :value="samplingForm.samplingScene" />
  347. <van-cell title="抽样时间" :value="samplingForm.samplingTime" />
  348. <van-cell title="抽样地点" :value="samplingForm.samplingPlace" />
  349. <van-cell title="联系人" :value="samplingForm.linkman" />
  350. <van-cell title="联系电话" :value="samplingForm.linkPhone" />
  351. <div v-for="(item,index) in tEnforceSamplingGoodsList" :key="index">
  352. <van-cell title="" value=" " />
  353. <van-cell title="物品名称" :value="item.goodsName" />
  354. <van-cell title="商标" :value="item.goodsIcon" />
  355. <van-cell title="生产单位" :value="item.productUnit" />
  356. <van-cell title="厂家确认期限" :value="item.timeliness" />
  357. <van-cell title="产品许可证" :value="item.productLicenseNum" />
  358. <van-cell title="单位许可证" :value="item.unitLicenseNum" />
  359. <van-cell title="生产日期" :value="item.productTimeNum" />
  360. <van-cell title="样品规格" :value="item.specs" />
  361. <van-cell title="样品基数" :value="item.basenum" />
  362. <van-cell title="抽样数量" :value="item.samplingNum" />
  363. <van-cell title="产品确认期限" :value="item.confirmTimeliness" />
  364. <van-cell title="抽样产品附件" :value="item.attachement" />
  365. <div class="cf">
  366. <van-row>
  367. <van-col :span="6">
  368. <van-image src="../../../../static/images/lawEnforcement/icon/icon_fj.png" width="50" />
  369. <p>产品确认</p>
  370. <p>通知书</p>
  371. </van-col>
  372. <van-col :span="6">
  373. <van-image src="../../../../static/images/lawEnforcement/icon/icon_fj.png" width="50" />
  374. <p>抽样取证</p>
  375. <p>凭证</p>
  376. </van-col>
  377. <van-col :span="6"></van-col>
  378. <van-col :span="6"></van-col>
  379. </van-row>
  380. </div>
  381. </div>
  382. </div>
  383. <div class="main_box">
  384. <van-cell>
  385. <template #title>
  386. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>
  387. <span class="custom-title">案件信息<i class="bgBlue"></i></span>
  388. </template>
  389. </van-cell>
  390. <van-cell title="立案程序" value="一般程序" />
  391. <van-cell title="案件进展" :label="putRecordForm.progressCase" />
  392. </div>
  393. <div class="main_box" style="margin-top: 10px;margin-bottom: 20PX;">
  394. <van-cell>
  395. <template #title>
  396. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  397. <span class="custom-title">案件文档<i class="bgBlue"></i></span>
  398. </template>
  399. </van-cell>
  400. <van-uploader v-model="fileList" multiple />
  401. </div>
  402. </van-tab>
  403. <!-- 取证-->
  404. <van-tab :disabled="3 <= caseActive ? false : true">
  405. <template #title>
  406. <div
  407. :class="{ finish: 4 <= caseActive , notStarted: 4 > caseActive , ongoing: 3 == caseActive }"
  408. >
  409. <p>取证</p>
  410. <p>
  411. <van-icon name="success" v-if="4 <= caseActive"/>
  412. <van-icon name="circle" v-if="caseActive == 3"/>
  413. </p>
  414. </div>
  415. </template>
  416. <div class="main_box">
  417. <van-cell>
  418. <template #title>
  419. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  420. <span class="custom-title">取证<i class="bgBlue"></i></span>
  421. </template>
  422. </van-cell>
  423. <van-cell title="案件名称" v-model="evidenceForm.caseName"/>
  424. <van-cell title="关联方案" v-model="evidenceForm.schemeId"/>
  425. </div>
  426. <div class="main_box" style="margin-top: 10px;">
  427. <van-cell>
  428. <template #title>
  429. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>
  430. <span class="custom-title">办理人员<i class="bgBlue"></i></span>
  431. </template>
  432. </van-cell>
  433. <div class="peopleList">
  434. <van-row>
  435. <van-col :span="4">序号</van-col>
  436. <van-col :span="10">执行人员</van-col>
  437. <van-col :span="10">执法证号</van-col>
  438. </van-row>
  439. <van-row v-for="(item,index) in tEnforceEvidenceHandlerList" :key="index">
  440. <van-col :span="4">{{index+1}}</van-col>
  441. <van-col :span="10">{{item.enforcerName}}</van-col>
  442. <van-col :span="10">{{item.enforcerNum}}</van-col>
  443. </van-row>
  444. </div>
  445. </div>
  446. <div class="main_box">
  447. <van-cell>
  448. <template #title>
  449. <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>
  450. <span class="custom-title">检测结果<i class="bgBlue"></i></span>
  451. </template>
  452. </van-cell>
  453. <div v-for="(item,index) in detectResults" :key="index">
  454. <van-cell title="产品名称" v-model="item.goodsName" />
  455. <van-cell title="检测报告编号" v-model="item.reportNum" />
  456. <van-cell title="质量判定" v-model="item.qualityStatus"/>
  457. <van-cell title="检测结果附件" v-model="item.attachement"/>
  458. </div>
  459. <van-cell title="检测结果" v-model="evidenceForm.detectionResult" />
  460. <van-cell title="申请复检单位" v-model="evidenceForm.reviewUnit" />
  461. <van-cell title="复检时效" v-model="evidenceForm.reviewTime"/>
  462. <van-cell title="联系人" v-model="evidenceForm.linkman"/>
  463. <van-cell title="联系电话" v-model="evidenceForm.linkPhone"/>
  464. </div>
  465. <div class="main_box">
  466. <van-cell>
  467. <template #title>
  468. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>
  469. <span class="custom-title">案件信息<i class="bgBlue"></i></span>
  470. </template>
  471. </van-cell>
  472. <van-cell title="案件调查过程" v-model="evidenceForm.investigationProcess" />
  473. <van-cell title="涉嫌违法事实" v-model="evidenceForm.allegedIllegal" />
  474. <van-cell title="违反条例" v-model="evidenceForm.violationRegulations" />
  475. <van-cell title="处罚依据" v-model="evidenceForm.punishmentBase"/>
  476. <van-cell title="证据材料" v-model="evidenceForm.caseDocuments" />
  477. <van-cell title="调查结论" v-model="evidenceForm.conclusion" />
  478. <van-cell title="处罚决定" :label="evidenceForm.penaltyDecision" />
  479. </div>
  480. <div class="main_box" style="margin-top: 10px;">
  481. <van-cell>
  482. <template #title>
  483. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  484. <span class="custom-title">案件文档<i class="bgBlue"></i></span>
  485. </template>
  486. </van-cell>
  487. <van-uploader v-model="fileList" multiple :show-upload="false" :deletable="false" />
  488. </div>
  489. <p class="splcTit">审批流程</p>
  490. <div class="main_box2">
  491. <van-row v-for="(item,index) in evidencHistoryList" :key="index">
  492. <van-col :span="4">
  493. <p class="index">{{index+1}}</p>
  494. <div class="indexBorder" :class="{'indexCenter':index==0 ? false : true}">
  495. <p class="ssT" v-if="index>0"></p>
  496. <p class="yq"></p>
  497. <p class="ss" v-if="evidencHistoryList.length != index+1"></p>
  498. </div>
  499. </van-col>
  500. <van-col :span="20">
  501. <van-cell :title="item.activityName" center>
  502. <template #label>
  503. <p>{{ item.endTime }}</p>
  504. </template>
  505. <template #default>
  506. <p style="color: #666666;">{{ item.assigneeName }}
  507. <span
  508. class="bq"
  509. :style="{
  510. background:item.comment == '提交申请' ? 'rgba(29,111,233,0.2)' : item.comment == '同意' ? 'rgba(29,204,128,0.2)' : item.comment == '自动结束' ? 'rgba(255,166,62,0.2)' : '',
  511. color:item.comment == '提交申请' ? '#1D6FE9' : item.comment == '同意' ? '#1DCC80' : item.comment == '自动结束' ? '#FFA63E' : ''
  512. }"
  513. >{{ item.comment }}</span>
  514. </p>
  515. <p style="color: #999999;">{{ item.durationInMillis }}</p>
  516. </template>
  517. </van-cell>
  518. </van-col>
  519. </van-row>
  520. </div>
  521. <div class="main_box examine_box" v-if="caseActive == 3 && type == 'waiting'">
  522. <van-row type="flex" justify="space-between" align="center">
  523. <van-col span="5">审批<br/>意见</van-col>
  524. <van-col span="19">
  525. <van-radio-group v-model="pass" direction="horizontal">
  526. <van-radio name="true">同意</van-radio>
  527. <van-radio name="false">驳回</van-radio>
  528. </van-radio-group>
  529. <van-field rows="2" autosize v-model="comment" type="textarea" placeholder="审批意见"/>
  530. </van-col>
  531. </van-row>
  532. </div>
  533. <div style="margin: 16px 2%;" v-if="caseActive == 3 && type == 'waiting'">
  534. <van-row>
  535. <van-col span="24" align="center">
  536. <van-button type="info" native-type="submit" @click="submitEvidence" class="submitButtonActive">提交</van-button>
  537. </van-col>
  538. </van-row>
  539. <div class="clear"></div>
  540. </div>
  541. </van-tab>
  542. <!-- 处理-->
  543. <van-tab :disabled="4 <= caseActive ? false : true">
  544. <template #title>
  545. <div
  546. :class="{ finish: 5 <= caseActive , notStarted: 5 > caseActive , ongoing: 4 == caseActive }"
  547. >
  548. <p>处理</p>
  549. <p>
  550. <van-icon name="success" v-if="5 <= caseActive"/>
  551. <van-icon name="circle" v-if="caseActive == 4"/>
  552. </p>
  553. </div>
  554. </template>
  555. <div class="main_box">
  556. <van-cell>
  557. <template #title>
  558. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  559. <span class="custom-title">处理<i class="bgBlue"></i></span>
  560. </template>
  561. </van-cell>
  562. <van-cell title="案件名称" v-model="treatForm.caseName"/>
  563. <van-cell title="关联方案" v-model="treatForm.schemeId"/>
  564. </div>
  565. <div class="main_box" style="margin-top: 10px;">
  566. <van-cell>
  567. <template #title>
  568. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>
  569. <span class="custom-title">办理人员<i class="bgBlue"></i></span>
  570. </template>
  571. </van-cell>
  572. <div class="peopleList">
  573. <van-row>
  574. <van-col :span="4">序号</van-col>
  575. <van-col :span="10">执行人员</van-col>
  576. <van-col :span="10">执法证号</van-col>
  577. </van-row>
  578. <van-row v-for="(item,index) in tEnforceTreatHandlerList" :key="index">
  579. <van-col :span="4">{{index+1}}</van-col>
  580. <van-col :span="10">{{item.enforcerName}}</van-col>
  581. <van-col :span="10">{{item.enforcerNum}}</van-col>
  582. </van-row>
  583. </div>
  584. </div>
  585. <div class="main_box">
  586. <van-cell>
  587. <template #title>
  588. <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>
  589. <span class="custom-title">听证<i class="bgBlue"></i></span>
  590. </template>
  591. </van-cell>
  592. <van-cell title="是否听证" v-model="treatForm.isHearing" />
  593. <div v-if="treatForm.isHearing=='Y'">
  594. <van-cell title="听证开始时间" v-model="treatForm.hearingStartTime" />
  595. <van-cell title="听证结束时间" v-model="treatForm.hearingEndTime" />
  596. <van-cell title="听证地点" v-model="treatForm.place"/>
  597. <van-cell title="申请人" v-model="treatForm.proposer"/>
  598. <van-cell title="法人代表(负责人)" v-model="treatForm.director" />
  599. <van-cell title="证件类型" v-model="treatForm.documentType" />
  600. <van-cell title="证件号码" v-model="treatForm.documentNumber"/>
  601. <van-cell title="联系方式" v-model="treatForm.phoneNumber"/>
  602. <van-cell title="通讯地址" v-model="treatForm.postalAddress"/>
  603. <van-cell title="委托代理人" v-model="treatForm.agent"/>
  604. <van-cell title="代理人证件类型" v-model="treatForm.agentDocumentType"/>
  605. <van-cell title="代理人证件号码" v-model="treatForm.agentDocumentNumber"/>
  606. <van-cell title="代理人联系方式" v-model="treatForm.agentPhoneNumber"/>
  607. <van-cell title="代理人通讯地址" v-model="treatForm.agentPostalAddress"/>
  608. <van-cell title="听证主持人" v-model="treatForm.hearingHost"/>
  609. <van-cell title="听证主持人执法证号" v-model="treatForm.hearingHostNum"/>
  610. <van-cell title="听证记录人" v-model="treatForm.hearingRecorder"/>
  611. <van-cell title="听证记录人执法证号" v-model="treatForm.hearingRecorderNum"/>
  612. <van-cell title="主持听证机关" v-model="treatForm.hearingAuthority"/>
  613. <van-cell title="听证记录" :label="treatForm.hearingRecord"/>
  614. <van-cell title="听证会报告事项" :label="treatForm.hearingReportMatters"/>
  615. </div>
  616. </div>
  617. <div class="main_box">
  618. <van-cell>
  619. <template #title>
  620. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>
  621. <span class="custom-title">案件处理意见<i class="bgBlue"></i></span>
  622. </template>
  623. </van-cell>
  624. <van-cell title="案件事实及依据" :label="treatForm.caseEvidence" />
  625. <van-cell title="裁量依据及理由" :label="treatForm.caseReason" />
  626. <van-cell title="陈述申辩或听证情况" :label="treatForm.caseSituation" />
  627. <van-cell title="处罚意见" :label="treatForm.caseOpinion"/>
  628. <van-cell title="处罚决定" :label="treatForm.caseDecision" />
  629. </div>
  630. <div class="main_box" style="margin-top: 10px;">
  631. <van-cell>
  632. <template #title>
  633. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  634. <span class="custom-title">案件文档<i class="bgBlue"></i></span>
  635. </template>
  636. </van-cell>
  637. <van-uploader v-model="fileList" multiple :show-upload="false" :deletable="false" />
  638. </div>
  639. <p class="splcTit">审批流程</p>
  640. <div class="main_box2">
  641. <van-row v-for="(item,index) in treatHistoryList" :key="index">
  642. <van-col :span="4">
  643. <p class="index">{{index+1}}</p>
  644. <div class="indexBorder" :class="{'indexCenter':index==0 ? false : true}">
  645. <p class="ssT" v-if="index>0"></p>
  646. <p class="yq"></p>
  647. <p class="ss" v-if="treatHistoryList.length != index+1"></p>
  648. </div>
  649. </van-col>
  650. <van-col :span="20">
  651. <van-cell :title="item.activityName" center>
  652. <template #label>
  653. <p>{{ item.endTime }}</p>
  654. </template>
  655. <template #default>
  656. <p style="color: #666666;">{{ item.assigneeName }}
  657. <span
  658. class="bq"
  659. :style="{
  660. background:item.comment == '提交申请' ? 'rgba(29,111,233,0.2)' : item.comment == '同意' ? 'rgba(29,204,128,0.2)' : item.comment == '自动结束' ? 'rgba(255,166,62,0.2)' : '',
  661. color:item.comment == '提交申请' ? '#1D6FE9' : item.comment == '同意' ? '#1DCC80' : item.comment == '自动结束' ? '#FFA63E' : ''
  662. }"
  663. >{{ item.comment }}</span>
  664. </p>
  665. <p style="color: #999999;">{{ item.durationInMillis }}</p>
  666. </template>
  667. </van-cell>
  668. </van-col>
  669. </van-row>
  670. </div>
  671. <div class="main_box examine_box" v-if="caseActive == 4 && type == 'waiting'">
  672. <van-row type="flex" justify="space-between" align="center">
  673. <van-col span="5">审批<br/>意见</van-col>
  674. <van-col span="19">
  675. <van-radio-group v-model="pass" direction="horizontal">
  676. <van-radio name="true">同意</van-radio>
  677. <van-radio name="false">驳回</van-radio>
  678. </van-radio-group>
  679. <van-field rows="2" autosize v-model="comment" type="textarea" placeholder="审批意见"/>
  680. </van-col>
  681. </van-row>
  682. </div>
  683. <div style="margin: 16px 2%;" v-if="caseActive == 4 && type == 'waiting'">
  684. <van-row>
  685. <van-col span="24" align="center">
  686. <van-button type="info" native-type="submit" @click="submitTreat" class="submitButtonActive">提交</van-button>
  687. </van-col>
  688. </van-row>
  689. <div class="clear"></div>
  690. </div>
  691. </van-tab>
  692. <!-- 裁决-->
  693. <van-tab :disabled="5 <= caseActive ? false : true">
  694. <template #title>
  695. <div
  696. :class="{ finish: 6 <= caseActive , notStarted: 6 > caseActive , ongoing: 5 == caseActive }"
  697. >
  698. <p>裁决</p>
  699. <p>
  700. <van-icon name="success" v-if="6 <= caseActive"/>
  701. <van-icon name="circle" v-if="caseActive == 5"/>
  702. </p>
  703. </div>
  704. </template>
  705. <div class="main_box">
  706. <van-cell>
  707. <template #title>
  708. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  709. <span class="custom-title">裁决<i class="bgBlue"></i></span>
  710. </template>
  711. </van-cell>
  712. <van-cell title="案件名称" v-model="decisionForm.caseName"/>
  713. <van-cell title="关联方案" v-model="decisionForm.schemeId"/>
  714. </div>
  715. <div class="main_box" style="margin-top: 10px;">
  716. <van-cell>
  717. <template #title>
  718. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>
  719. <span class="custom-title">送达回证人员<i class="bgBlue"></i></span>
  720. </template>
  721. </van-cell>
  722. <div class="peopleList">
  723. <van-row>
  724. <van-col :span="4">序号</van-col>
  725. <van-col :span="10">执行人员</van-col>
  726. <van-col :span="10">执法证号</van-col>
  727. </van-row>
  728. <van-row v-for="(item,index) in tEnforceDecisionHandlerList" :key="index">
  729. <van-col :span="4">{{index+1}}</van-col>
  730. <van-col :span="10">{{item.enforcerName}}</van-col>
  731. <van-col :span="10">{{item.enforcerNum}}</van-col>
  732. </van-row>
  733. </div>
  734. </div>
  735. <div class="main_box">
  736. <van-cell>
  737. <template #title>
  738. <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>
  739. <span class="custom-title">送达文书<i class="bgBlue"></i></span>
  740. </template>
  741. </van-cell>
  742. <van-cell title="送达文书名称" v-model="decisionForm.deliveryName" />
  743. <van-cell title="送达文书编号" v-model="decisionForm.deliveryNum" />
  744. <van-cell title="受送达人姓名或名称" v-model="decisionForm.deliveryPersonName"/>
  745. <van-cell title="送达单位" v-model="decisionForm.deliveryUnit"/>
  746. <van-cell title="送达方式" v-model="decisionForm.deliveryWay" />
  747. <van-cell title="送达时间" v-model="decisionForm.deliveryTime" />
  748. <van-cell title="送达地点" v-model="decisionForm.deliveryAddress"/>
  749. </div>
  750. <div class="main_box">
  751. <van-cell>
  752. <template #title>
  753. <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>
  754. <span class="custom-title">行政处罚<i class="bgBlue"></i></span>
  755. </template>
  756. </van-cell>
  757. <van-cell title="缴款时间" v-model="decisionForm.payTime" />
  758. <van-cell title="缴款地点" v-model="decisionForm.payAddress" />
  759. <van-cell title="上诉部门" v-model="decisionForm.appealDept"/>
  760. <van-cell title="行政部门" v-model="decisionForm.administrativeDept"/>
  761. <van-cell title="诉讼部门" v-model="decisionForm.lawsuitDept" />
  762. </div>
  763. <div class="main_box">
  764. <van-cell>
  765. <template #title>
  766. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>
  767. <span class="custom-title">案件信息<i class="bgBlue"></i></span>
  768. </template>
  769. </van-cell>
  770. <van-cell title="备案" label="行政处罚" />
  771. <van-cell title="案件当前状态" :label="decisionForm.surveyStatus" />
  772. </div>
  773. <div class="main_box" style="margin-top: 10px;">
  774. <van-cell>
  775. <template #title>
  776. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  777. <span class="custom-title">案件文档<i class="bgBlue"></i></span>
  778. </template>
  779. </van-cell>
  780. <van-uploader v-model="fileList" multiple :show-upload="false" :deletable="false" />
  781. </div>
  782. </van-tab>
  783. <!-- 执行-->
  784. <van-tab :disabled="6 <= caseActive ? false : true">
  785. <template #title>
  786. <div
  787. :class="{ finish: 7 <= caseActive , notStarted: 7 > caseActive , ongoing: 6 == caseActive }"
  788. >
  789. <p>执行</p>
  790. <p>
  791. <van-icon name="success" v-if="7 <= caseActive"/>
  792. <van-icon name="circle" v-if="caseActive == 6"/>
  793. </p>
  794. </div>
  795. </template>
  796. <div class="main_box">
  797. <van-cell>
  798. <template #title>
  799. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  800. <span class="custom-title">执行<i class="bgBlue"></i></span>
  801. </template>
  802. </van-cell>
  803. <van-cell title="案件名称" v-model="executeForm.caseName"/>
  804. <van-cell title="关联方案" v-model="executeForm.schemeId"/>
  805. </div>
  806. <div class="main_box" style="margin-top: 10px;">
  807. <van-cell>
  808. <template #title>
  809. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>
  810. <span class="custom-title">办理人员<i class="bgBlue"></i></span>
  811. </template>
  812. </van-cell>
  813. <div class="peopleList">
  814. <van-row>
  815. <van-col :span="4">序号</van-col>
  816. <van-col :span="10">执行人员</van-col>
  817. <van-col :span="10">执法证号</van-col>
  818. </van-row>
  819. <van-row v-for="(item,index) in tEnforceExecuteHandlerList" :key="index">
  820. <van-col :span="4">{{index+1}}</van-col>
  821. <van-col :span="10">{{item.enforcerName}}</van-col>
  822. <van-col :span="10">{{item.enforcerNum}}</van-col>
  823. </van-row>
  824. </div>
  825. </div>
  826. <div class="main_box">
  827. <van-cell>
  828. <template #title>
  829. <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>
  830. <span class="custom-title">处罚催告<i class="bgBlue"></i></span>
  831. </template>
  832. </van-cell>
  833. <van-cell title="滞纳罚款日期" v-model="executeForm.fineTime" />
  834. <van-cell title="加处罚款金额(元)" v-model="executeForm.fineMoney" />
  835. </div>
  836. <div class="main_box" style="margin-top: 10px;">
  837. <van-cell>
  838. <template #title>
  839. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  840. <span class="custom-title">案件文档<i class="bgBlue"></i></span>
  841. </template>
  842. </van-cell>
  843. <van-uploader v-model="fileList" multiple :show-upload="false" :deletable="false" />
  844. </div>
  845. </van-tab>
  846. <!-- 结案-->
  847. <van-tab :disabled="7 <= caseActive ? false : true">
  848. <template #title>
  849. <div
  850. :class="{ finish: 8 <= caseActive , notStarted: 8 > caseActive , ongoing: 7 == caseActive }"
  851. >
  852. <p>结案</p>
  853. <p>
  854. <van-icon name="success" v-if="8 <= caseActive"/>
  855. <van-icon name="circle" v-if="caseActive == 7"/>
  856. </p>
  857. </div>
  858. </template>
  859. <div class="main_box">
  860. <van-cell>
  861. <template #title>
  862. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  863. <span class="custom-title">结案<i class="bgBlue"></i></span>
  864. </template>
  865. </van-cell>
  866. <van-cell title="案件名称" :value="endingForm.caseName"/>
  867. <van-cell title="关联方案" :value="endingForm.schemeId"/>
  868. </div>
  869. <div class="main_box">
  870. <van-cell>
  871. <template #title>
  872. <van-icon name="../../../static/images/lawEnforcement/icon/icon_cfky.png" size="20"></van-icon>
  873. <span class="custom-title">罚没物品处理<i class="bgBlue"></i></span>
  874. </template>
  875. </van-cell>
  876. <van-cell title="执行人" :value="endingForm.executeName"/>
  877. <van-cell title="记录人" :value="endingForm.recordName"/>
  878. <van-cell title="处理日期" :value="endingForm.dealDate"/>
  879. <van-cell title="处理地点" :value="endingForm.dealAddress"/>
  880. <van-cell title="处理物品" :value="endingForm.dealGoods"/>
  881. <van-cell title="处理来源" :value="endingForm.goodsSource"/>
  882. <van-cell title="处理情况" :label="endingForm.dealCondition"/>
  883. </div>
  884. <div class="main_box">
  885. <van-cell>
  886. <template #title>
  887. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>
  888. <span class="custom-title">案件信息<i class="bgBlue"></i></span>
  889. </template>
  890. </van-cell>
  891. <van-cell title="结案" value="已执行"/>
  892. <van-cell title="案件结果" :label="endingForm.surveyResult"/>
  893. <van-cell title="罚款缴纳类型" :value="endingForm.agingStatus"/>
  894. <div v-if="endingForm.agingStatus=='1'">
  895. <van-cell title="申请时间" :value="endingForm.applyTime"/>
  896. <van-cell title="总金额" :value="endingForm.totalMoney"/>
  897. <van-cell title="分期缴纳期数" :value="endingForm.agingNum"/>
  898. <van-cell title="缴纳时间" :value="endingForm.payTime"/>
  899. <van-cell title="每期缴纳金额" :value="endingForm.payMoney"/>
  900. </div>
  901. <div v-if="endingForm.agingStatus=='2'">
  902. <van-cell title="申请时间" :value="endingForm.applyTime"/>
  903. <van-cell title="缴纳期限时间" :value="endingForm.payDeadline"/>
  904. </div>
  905. </div>
  906. <div class="main_box" style="margin-top: 10px;">
  907. <van-cell>
  908. <template #title>
  909. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  910. <span class="custom-title">案件文档<i class="bgBlue"></i></span>
  911. </template>
  912. </van-cell>
  913. <van-uploader v-model="fileList" multiple />
  914. </div>
  915. </van-tab>
  916. </van-tabs>
  917. </div>
  918. </template>
  919. <script>
  920. import {
  921. getCase ,
  922. schemeOptionList ,
  923. treeselect ,
  924. getSurveyByCaseId ,
  925. getputRecordByCaseId ,
  926. getSamplingByCaseId ,
  927. getEvidenceByCaseId ,
  928. getReportByGoodsId ,
  929. getEnforcerList ,
  930. getTreatByCaseId ,
  931. getDecisionByCaseId ,
  932. getExecuteByCaseId ,
  933. getEndingByCaseId ,
  934. progressList ,
  935. } from "@/api/lawEnforcement/index";
  936. import law from "@/components/common/law_footer";
  937. import request from "@/utils/request";
  938. export default {
  939. name: "index",
  940. components: {
  941. law
  942. },
  943. data() {
  944. return {
  945. showBankType:false,
  946. showPayeeType:false,
  947. showPicker:false,
  948. form:{},
  949. caseProgress:0,
  950. caseActive:0,
  951. bankType:'',
  952. payeeType:'',
  953. value:'',
  954. type:'',
  955. pass: "true",
  956. comment: "同意",
  957. bankTypeOptions:[],
  958. payeeTypeOptions:[],
  959. minDate: new Date(2020, 0, 1),
  960. maxDate: new Date(2025, 10, 1),
  961. currentDate: new Date(2021, 0, 17),
  962. fileList: [
  963. { url: 'https://img01.yzcdn.cn/vant/leaf.jpg' },
  964. // Uploader 根据文件后缀来判断是否为图片文件
  965. // 如果图片 URL 中不包含类型信息,可以添加 isImage 标记来声明
  966. { url: 'https://cloud-image', isImage: true },
  967. ],
  968. // 勘察表单参数
  969. surveyForm: {
  970. id: null,
  971. caseId: null,
  972. surveyStartTime: null,
  973. surveyEndTime: null,
  974. dangshiren: null,
  975. recorder: null,
  976. askRecorder: null,
  977. surveyAddr: null,
  978. surveyDescription: null,
  979. isSpotCheck: "N",
  980. handleDate: null,
  981. reason: null,
  982. shouanDate: null,
  983. isApprove: "Y",
  984. surveyResult: "4",
  985. askStartTime: null,
  986. askEndTime: null,
  987. askAddr: null,
  988. recorder: null,
  989. askedName: null,
  990. askedPhone: null,
  991. handleDate: null,
  992. idCard: null,
  993. gender: "1",
  994. workCompany: null,
  995. workPosition: null,
  996. address: null,
  997. question: null,
  998. answer: null,
  999. isClear: "Y",
  1000. isAvoid: "N",
  1001. attachement: null,
  1002. applyUserId: null,
  1003. applyUserName: null,
  1004. applyTime: null,
  1005. instanceId: null,
  1006. processKey: null,
  1007. createBy: null,
  1008. createTime: null,
  1009. updateBy: null,
  1010. updateTime: null,
  1011. caseName: "",
  1012. schemeId: "",
  1013. },
  1014. // 立案表单参数
  1015. putRecordForm: {
  1016. id: null,
  1017. caseId: null,
  1018. illegalAct: null,
  1019. punishContent: null,
  1020. sealDate: null,
  1021. sealDays: null,
  1022. sealTimeliness: null,
  1023. savePlace: "1",
  1024. savePlaceAddress: null,
  1025. sceneCondition: null,
  1026. appealUnit: null,
  1027. progressCase: null,
  1028. attachement: null,
  1029. createBy: null,
  1030. createTime: null,
  1031. updateBy: null,
  1032. updateTime: null,
  1033. caseName: "",
  1034. schemeId: "",
  1035. },
  1036. samplingForm:{
  1037. id: null,
  1038. caseId: null,
  1039. samplingType: '2', // 此为立案页面,type默认为2立案抽样
  1040. samplingScene: '1',
  1041. samplingTime: null,
  1042. samplingPlace: null,
  1043. linkman: null,
  1044. linkPhone: null,
  1045. createBy: null,
  1046. createTime: null,
  1047. updateBy: null,
  1048. updateTime: null
  1049. },
  1050. // 取证表单参数
  1051. evidenceForm: {
  1052. id: null,
  1053. caseId: null,
  1054. detectionResult: null,
  1055. reviewUnit: null,
  1056. reviewTime: null,
  1057. linkman: null,
  1058. linkPhone: null,
  1059. investigationProcess: null,
  1060. allegedIllegal: null,
  1061. violationRegulations: null,
  1062. punishmentBase: null,
  1063. caseDocuments: null,
  1064. conclusion: "1",
  1065. penaltyDecision: null,
  1066. attachement: null,
  1067. applyUserId: null,
  1068. applyUserName: null,
  1069. applyTime: null,
  1070. instanceId: null,
  1071. processKey: null,
  1072. createBy: null,
  1073. createTime: null,
  1074. updateBy: null,
  1075. updateTime: null
  1076. },
  1077. // 检测报告表单参数
  1078. reportForm: {
  1079. id: null,
  1080. goodsId: null,
  1081. reportNum: null,
  1082. qualityStatus: null,
  1083. attachement: null,
  1084. createBy: null,
  1085. createTime: null,
  1086. updateBy: null,
  1087. updateTime: null
  1088. },
  1089. // 处理表单参数
  1090. treatForm: {
  1091. id: null,
  1092. caseId: null,
  1093. isHearing: "Y",
  1094. hearingStartTime: null,
  1095. hearingEndTime: null,
  1096. place: null,
  1097. proposer: null,
  1098. director: null,
  1099. documentType: null,
  1100. documentNumber: null,
  1101. phoneNumber: null,
  1102. postalAddress: null,
  1103. agent: null,
  1104. agentDocumentType: null,
  1105. agentDocumentNumber: null,
  1106. agentPhoneNumber: null,
  1107. agentPostalAddress: null,
  1108. hearingHost: null,
  1109. hearingHostNum: null,
  1110. hearingRecorder: null,
  1111. hearingRecorderNum: null,
  1112. hearingAuthority: null,
  1113. hearingRecord: null,
  1114. hearingReportMatters: null,
  1115. caseEvidence: null,
  1116. caseReason: null,
  1117. caseSituation: null,
  1118. caseOpinion: "1",
  1119. caseDecision: null,
  1120. attachement: null,
  1121. applyUserId: null,
  1122. applyUserName: null,
  1123. applyTime: null,
  1124. instanceId: null,
  1125. processKey: null,
  1126. createBy: null,
  1127. createTime: null,
  1128. updateBy: null,
  1129. updateTime: null,
  1130. caseName: "",
  1131. schemeId: "",
  1132. },
  1133. // 裁决表单参数
  1134. decisionForm: {
  1135. id: null,
  1136. caseId: null,
  1137. deliveryName: null,
  1138. deliveryNum: null,
  1139. deliveryPersonName: null,
  1140. deliveryUnit: null,
  1141. deliveryWay: null,
  1142. deliveryTime: null,
  1143. deliveryAddress: null,
  1144. payTime: null,
  1145. payAddress: null,
  1146. appealDept: null,
  1147. administrativeDept: null,
  1148. lawsuitDept: null,
  1149. surveyStatus: null,
  1150. attachement: null,
  1151. createBy: null,
  1152. createTime: null,
  1153. updateBy: null,
  1154. updateTime: null,
  1155. caseName: "",
  1156. schemeId: "",
  1157. },
  1158. // 执行表单参数
  1159. executeForm: {
  1160. id: null,
  1161. caseId: null,
  1162. fineTime: null,
  1163. fineMoney: null,
  1164. attachement: null,
  1165. createBy: null,
  1166. createTime: null,
  1167. updateBy: null,
  1168. updateTime: null,
  1169. caseName: "",
  1170. schemeId: "",
  1171. },
  1172. // 表单参数
  1173. endingForm: {
  1174. id: null,
  1175. caseId: null,
  1176. executeName: null,
  1177. recordName: null,
  1178. dealDate: null,
  1179. dealAddress: null,
  1180. dealGoods: null,
  1181. goodsSource: null,
  1182. dealCondition: null,
  1183. surveyResult: null,
  1184. agingStatus: "3",
  1185. applyTime: null,
  1186. totalMoney: null,
  1187. agingNum: null,
  1188. payTime: null,
  1189. payMoney: null,
  1190. payDeadline: null,
  1191. attachement: null,
  1192. createBy: null,
  1193. createTime: null,
  1194. updateBy: null,
  1195. updateTime: null,
  1196. caseName: "",
  1197. schemeId: "",
  1198. },
  1199. // 办理人员列表
  1200. tEnforceCaseHandlerList: [],
  1201. tEnforcePutRecordHandlerList: [],
  1202. tEnforceSamplingGoodsList: [],
  1203. tEnforceDetainHandlerList: [],
  1204. tEnforceEvidenceHandlerList: [],
  1205. tEnforceTreatHandlerList: [],
  1206. tEnforceDecisionHandlerList: [],
  1207. tEnforceExecuteHandlerList: [],
  1208. getDecisionByCaseId: [],
  1209. historyList: [],
  1210. evidencHistoryList: [],
  1211. treatHistoryList: [],
  1212. // 检测结果数据
  1213. detectResults: [],
  1214. decisionEnforcers: [],
  1215. executeEnforcers: [],
  1216. endingEnforcers: [],
  1217. treatEnforcers: [],
  1218. // 案件执法进度 1:登记 2:勘察 3:立案 4:取证 5:处理 6:裁决 7:执行 8:备案 9:结案字典
  1219. caseProgressOptions: [],
  1220. successActive:0, // 当前节点的前一个已完成节点
  1221. active: 1, // 当前节点
  1222. };
  1223. },
  1224. created() {
  1225. if (parseInt(this.$route.query.caseProgress)>7){
  1226. this.caseProgress = 7;
  1227. this.caseActive = 7 ;
  1228. }else{
  1229. this.caseProgress = parseInt(this.$route.query.caseProgress)-1;
  1230. this.caseActive = parseInt(this.$route.query.caseProgress)-1 ;
  1231. }
  1232. this.type = this.$route.query.type;
  1233. console.log(this.caseProgress)
  1234. this.getDicts("case_source").then(response => {
  1235. this.caseSourceOptions = response.data;
  1236. });
  1237. this.getDicts("enforce_body_type").then(response => {
  1238. this.typeOptions = response.data;
  1239. });
  1240. this.getDicts("sex").then(response => {
  1241. this.sexOptions = response.data;
  1242. });
  1243. this.getDicts("nationality").then(response => {
  1244. this.nationOptions = response.data;
  1245. });
  1246. this.getDicts("case_status").then(response => {
  1247. this.caseStatusOptions = response.data;
  1248. });
  1249. this.getDicts("case_node").then(response => {
  1250. this.caseProgressOptions = response.data;
  1251. });
  1252. this.getDicts("enforce_category").then(response => {
  1253. this.enforceCategoryOptions = response.data;
  1254. });
  1255. this.getDicts("approve_type").then(response => {
  1256. this.surveyResultOptions = response.data;
  1257. });
  1258. // 关联方案下拉框
  1259. var schemeQueryParam = {
  1260. applyStatus: "1"
  1261. };
  1262. schemeOptionList(schemeQueryParam).then((response) => {
  1263. console.log(response)
  1264. this.schemeOptions = response.data;
  1265. this.getInformation();
  1266. });
  1267. // treeselect().then((response) => {
  1268. // this.deptOptions = response.data;
  1269. // });
  1270. },
  1271. methods: {
  1272. /** 保存审批意见提交 */
  1273. submitCase() {
  1274. const data = {
  1275. taskId: this.surveyForm.taskId,
  1276. instanceId: this.surveyForm.instanceId,
  1277. variables: JSON.stringify({
  1278. comment: this.comment,
  1279. pass: this.pass,
  1280. //"formData": this.row,
  1281. }),
  1282. };
  1283. return request({
  1284. url: "/activiti/process/complete",
  1285. method: "post",
  1286. params: data,
  1287. }).then((response) => {
  1288. if (response.code == 200 && response.msg == "操作成功") {
  1289. this.$notify({ type: 'success' , message: "操作成功" });
  1290. } else {
  1291. this.$notify({ type: 'danger' , message: "操作失败" });
  1292. }
  1293. });
  1294. },
  1295. /** 保存审批意见提交 */
  1296. submitEvidence() {
  1297. const data = {
  1298. taskId: this.evidenceForm.taskId,
  1299. instanceId: this.evidenceForm.instanceId,
  1300. variables: JSON.stringify({
  1301. comment: this.comment,
  1302. pass: this.pass,
  1303. //"formData": this.row,
  1304. }),
  1305. };
  1306. return request({
  1307. url: "/activiti/process/complete",
  1308. method: "post",
  1309. params: data,
  1310. }).then((response) => {
  1311. if (response.code == 200 && response.msg == "操作成功") {
  1312. this.$notify({ type: 'success' , message: "操作成功" });
  1313. } else {
  1314. this.$notify({ type: 'danger' , message: "操作失败" });
  1315. }
  1316. });
  1317. },
  1318. /** 保存审批意见提交 */
  1319. submitTreat() {
  1320. const data = {
  1321. taskId: this.treatForm.taskId,
  1322. instanceId: this.treatForm.instanceId,
  1323. variables: JSON.stringify({
  1324. comment: this.comment,
  1325. pass: this.pass,
  1326. //"formData": this.row,
  1327. }),
  1328. };
  1329. return request({
  1330. url: "/activiti/process/complete",
  1331. method: "post",
  1332. params: data,
  1333. }).then((response) => {
  1334. if (response.code == 200 && response.msg == "操作成功") {
  1335. this.$notify({ type: 'success' , message: "操作成功" });
  1336. } else {
  1337. this.$notify({ type: 'danger' , message: "操作失败" });
  1338. }
  1339. });
  1340. },
  1341. getInformation(){
  1342. getCase(this.$route.query.id).then(response => {
  1343. response.data.caseSource = this.selectDictLabel(this.caseSourceOptions, response.data.caseSource);
  1344. response.data.schemeId = this.selectDictScheme(this.schemeOptions, response.data.schemeId);
  1345. response.data.typeLable = this.selectDictLabel(this.typeOptions, response.data.type);
  1346. response.data.sex = this.selectDictLabel(this.sexOptions, response.data.sex);
  1347. response.data.nation = this.selectDictLabel(this.nationOptions, response.data.nation);
  1348. // response.data.deptId = this.selectDictDeptId(this.deptOptions, response.data.deptId);
  1349. this.form = response.data;
  1350. console.log(this.caseActive)
  1351. if(this.caseActive >= 1){//勘察
  1352. console.log("勘察")
  1353. this.caseSurvey();
  1354. }
  1355. if(this.caseActive >= 2){// 立案
  1356. console.log("立案")
  1357. this.getFileCase();
  1358. }
  1359. if(this.caseActive >= 3){//取证
  1360. console.log("取证")
  1361. this.getEvidenceCase();
  1362. }
  1363. if(this.caseActive >= 4){ // 处理
  1364. console.log("处理")
  1365. this.getTreat();
  1366. }
  1367. if(this.caseActive >= 5){// 裁决
  1368. console.log("裁决")
  1369. this.getDecision();
  1370. }
  1371. if(this.caseActive >= 6){// 执行
  1372. console.log("执行")
  1373. this.getExecuteCase();
  1374. }
  1375. if(this.caseActive >= 7){// 结案
  1376. console.log("结案")
  1377. this.getEndingForm();
  1378. }
  1379. });
  1380. },
  1381. //勘察表单查询
  1382. caseSurvey(){
  1383. // 查询勘察表单数据
  1384. var _this = this;
  1385. if (this.form.id != null && this.form.id != "") {
  1386. this.surveyForm.caseId = this.form.id;
  1387. getSurveyByCaseId(this.form.id).then(responseSurvey => {
  1388. console.log(responseSurvey)
  1389. if (responseSurvey.data != undefined) {
  1390. _this.surveyForm = responseSurvey.data;
  1391. _this.instanceId = responseSurvey.data.instanceId;
  1392. _this.tEnforceCaseHandlerList = responseSurvey.data.tEnforceCaseHandlerList;
  1393. }
  1394. _this.surveyForm.gender = this.selectDictLabel(this.sexOptions, _this.surveyForm.gender);
  1395. _this.surveyForm.surveyResult = this.selectDictLabel(this.surveyResultOptions, _this.surveyForm.surveyResult);
  1396. _this.surveyForm.caseName = this.form.caseName;
  1397. _this.surveyForm.schemeId = this.form.schemeId;
  1398. // 查询审批历史记录
  1399. _this.getHistoryList(_this.surveyForm,'');
  1400. });
  1401. }
  1402. },
  1403. //查询立案表单数据
  1404. getFileCase(){
  1405. var _this = this;
  1406. if(this.form.id != null && this.form.id !=""){
  1407. this.putRecordForm.caseId = this.form.id;
  1408. getputRecordByCaseId(_this.form.id).then(responsePutRecord => {
  1409. getSamplingByCaseId(_this.form.id).then(responseSampling => {
  1410. if(responsePutRecord.data != undefined){
  1411. _this.putRecordForm = responsePutRecord.data;
  1412. _this.tEnforcePutRecordHandlerList = responsePutRecord.data.tEnforceCaseHandlerList;
  1413. _this.tEnforceDetainHandlerList = responsePutRecord.data.tEnforceDetainHandlerList;
  1414. }
  1415. if(responseSampling.data != undefined) {
  1416. _this.samplingForm = responseSampling.data;
  1417. _this.tEnforceSamplingGoodsList = responseSampling.data.tEnforceSamplingGoodsList;
  1418. }
  1419. _this.putRecordForm.caseName = this.form.caseName;
  1420. _this.putRecordForm.schemeId = this.form.schemeId;
  1421. });
  1422. });
  1423. }
  1424. },
  1425. //查询取证表单数据
  1426. getEvidenceCase(){
  1427. var _this = this;
  1428. if (this.form.id != null && this.form.id != "") {
  1429. this.evidenceForm.caseId = this.form.id;
  1430. getEvidenceByCaseId(this.form.id).then(responseEvidence => {
  1431. getSamplingByCaseId(this.form.id).then(responseSampling => {
  1432. for (var i = 0; i < responseSampling.data.tEnforceSamplingGoodsList.length; i++) {
  1433. let goodsId = responseSampling.data.tEnforceSamplingGoodsList[i].id;
  1434. let goodsName = responseSampling.data.tEnforceSamplingGoodsList[i].goodsName;
  1435. getReportByGoodsId(goodsId).then(responseReport => {
  1436. if (responseReport.data != undefined) {
  1437. responseReport.data.goodsId = goodsId;
  1438. responseReport.data.goodsName = goodsName;
  1439. _this.detectResults.push(responseReport.data);
  1440. } else {
  1441. var goodsObj = {
  1442. "goodsId": goodsId,
  1443. "goodsName": goodsName
  1444. };
  1445. _this.detectResults.push(goodsObj);
  1446. }
  1447. });
  1448. }
  1449. if (responseEvidence.data != undefined) {
  1450. _this.evidenceForm = responseEvidence.data;
  1451. _this.tEnforceEvidenceHandlerList = responseEvidence.data.tEnforceCaseHandlerList;
  1452. }
  1453. _this.evidenceForm.caseName = this.form.caseName;
  1454. _this.evidenceForm.schemeId = this.form.schemeId;
  1455. // 查询审批历史记录
  1456. _this.getHistoryList(this.evidenceForm,'evidence');
  1457. });
  1458. });
  1459. }
  1460. },
  1461. //查询取证表单数据
  1462. getTreat(){
  1463. // 执行人员列表查询
  1464. getEnforcerList().then(response => {
  1465. const data = response.enforcerList;
  1466. for (let i = 0; i < data.length; i++) {
  1467. const res = {
  1468. enforcerId: data[i].id,
  1469. enforcerName: data[i].name,
  1470. enforcerNum: data[i].enforceNum,
  1471. value: data[i].name,
  1472. };
  1473. this.treatEnforcers.push(res);
  1474. }
  1475. });
  1476. // 查询处理表单数据
  1477. var _this = this;
  1478. if (this.form.id != null && this.form.id != "") {
  1479. this.treatForm.caseId = this.form.id;
  1480. getTreatByCaseId(this.form.id).then(responseTreat => {
  1481. if (responseTreat.data != undefined) {
  1482. _this.treatForm = responseTreat.data;
  1483. _this.tEnforceTreatHandlerList = responseTreat.data.tEnforceCaseHandlerList;
  1484. }
  1485. _this.treatForm.caseName = this.form.caseName;
  1486. _this.treatForm.schemeId = this.form.schemeId;
  1487. // 查询审批历史记录
  1488. _this.getHistoryList(_this.treatForm,'treat');
  1489. });
  1490. }
  1491. },
  1492. getDecision(){
  1493. // 执行人员列表查询
  1494. getEnforcerList().then(response => {
  1495. const data = response.enforcerList;
  1496. for (let i = 0; i < data.length; i++) {
  1497. const res = {
  1498. enforcerId: data[i].id,
  1499. enforcerName: data[i].name,
  1500. enforcerNum: data[i].enforceNum,
  1501. value: data[i].name,
  1502. };
  1503. this.decisionEnforcers.push(res);
  1504. }
  1505. });
  1506. // 查询立案表单数据
  1507. var _this = this;
  1508. if (this.form.id != null && this.form.id != "") {
  1509. this.decisionForm.caseId = this.form.id;
  1510. getDecisionByCaseId(this.form.id).then(responseDecision => {
  1511. if (responseDecision.data != undefined) {
  1512. _this.decisionForm = responseDecision.data;
  1513. _this.tEnforceDecisionHandlerList = responseDecision.data.tEnforceCaseHandlerList;
  1514. }
  1515. _this.decisionForm.caseName = this.form.caseName;
  1516. _this.decisionForm.schemeId = this.form.schemeId;
  1517. });
  1518. }
  1519. },
  1520. getExecuteCase(){
  1521. // 执行人员列表查询
  1522. getEnforcerList().then(response => {
  1523. const data = response.enforcerList;
  1524. for (let i = 0; i < data.length; i++) {
  1525. const res = {
  1526. enforcerId: data[i].id,
  1527. enforcerName: data[i].name,
  1528. enforcerNum: data[i].enforceNum,
  1529. value: data[i].name,
  1530. };
  1531. this.executeEnforcers.push(res);
  1532. }
  1533. });
  1534. // 查询表单数据
  1535. var _this = this;
  1536. if (this.form.id != null && this.form.id != "") {
  1537. this.executeForm.caseId = this.form.id;
  1538. getExecuteByCaseId(this.form.id).then(responseExecute => {
  1539. if (responseExecute.data != undefined) {
  1540. _this.executeForm = responseExecute.data;
  1541. _this.tEnforceExecuteHandlerList = responseExecute.data.tEnforceCaseHandlerList;
  1542. }
  1543. _this.executeForm.caseName = this.form.caseName;
  1544. _this.executeForm.schemeId = this.form.schemeId;
  1545. });
  1546. }
  1547. },
  1548. getEndingForm(){
  1549. // 执行人员列表查询
  1550. getEnforcerList().then(response => {
  1551. const data = response.enforcerList;
  1552. for (let i = 0; i < data.length; i++) {
  1553. const res = {
  1554. enforcerId: data[i].id,
  1555. enforcerName: data[i].name,
  1556. enforcerNum: data[i].enforceNum,
  1557. value: data[i].name,
  1558. };
  1559. this.endingEnforcers.push(res);
  1560. }
  1561. });
  1562. // 查询结案表单数据
  1563. var _this = this;
  1564. if (this.form.id != null && this.form.id != "") {
  1565. this.endingForm.caseId = this.form.id;
  1566. getEndingByCaseId(this.form.id).then(responseEnding => {
  1567. if (responseEnding.data != undefined) {
  1568. _this.endingForm = responseEnding.data;
  1569. }
  1570. _this.endingForm.caseName = this.form.caseName;
  1571. _this.endingForm.schemeId = this.form.schemeId;
  1572. });
  1573. }
  1574. },
  1575. progressSpeed(){
  1576. console.log(this.form)
  1577. if(this.form.caseProgress != undefined && this.form !="add"){
  1578. this.active = this.form.caseProgress;
  1579. this.successActive = this.form.caseProgress -1;
  1580. if((this.form.caseStatus == "2" || this.form.caseStatus == "3") &&
  1581. (this.form.caseProgress=="8" || this.form.caseProgress=="9")){
  1582. this.successActive = this.form.caseProgress;
  1583. }
  1584. } else{
  1585. this.form.caseProgress = undefined;
  1586. }
  1587. if((this.form.caseStatus == "2" || this.form.caseStatus == "3") &&
  1588. (this.form.caseProgress=="8" || this.form.caseProgress=="9")){
  1589. // 已结束备案或者结案阶段的案件,查询显示已保存案件的历史流程节点
  1590. var progressParam = {
  1591. "caseId": this.form.id
  1592. };
  1593. progressList(progressParam).then(response => {
  1594. for (var i = 0; i < response.data.length; i++) {
  1595. var obj={
  1596. dictLabel:response.data[i].caseProgressName,
  1597. dictValue:response.data[i].caseProgress
  1598. }
  1599. this.caseProgressOptions.push(obj);
  1600. }
  1601. });
  1602. } else if(this.form.caseProgress=="8" && this.form.caseStatus == "1"){
  1603. // 进行中的案件到达备案阶段显示历史节点和备案节点
  1604. var progressParam = {
  1605. "caseId": this.form.id
  1606. };
  1607. progressList(progressParam).then(response => {
  1608. for (var i = 0; i < response.data.length; i++) {
  1609. var obj = {
  1610. dictLabel: response.data[i].caseProgressName,
  1611. dictValue: response.data[i].caseProgress
  1612. }
  1613. this.caseProgressOptions.push(obj);
  1614. }
  1615. var onrecordObj = {
  1616. dictLabel: "备案",
  1617. dictValue: "8"
  1618. }
  1619. this.caseProgressOptions.push(onrecordObj);
  1620. });
  1621. } else{
  1622. // 非备案或者结案阶段的案件,显示所有节点判断状态
  1623. this.getDicts("case_node").then(response => {
  1624. if (this.form.caseProgress == "9") { // 结案状态
  1625. for (var i = 0; i < response.data.length; i++) {
  1626. if (response.data[i].dictValue != "8") { // 如果是结案,步骤条不显示备案
  1627. this.caseProgressOptions.push(response.data[i]);
  1628. }
  1629. }
  1630. } else{
  1631. this.caseProgressOptions = response.data;
  1632. }
  1633. });
  1634. }
  1635. console.log(this.caseProgressOptions)
  1636. },
  1637. /** 查询审批历史展示步骤条 */
  1638. getHistoryList(formData,type) {
  1639. if (formData.instanceId != null && formData.instanceId != "") {
  1640. var queryParams = {
  1641. processInstanceId: formData.instanceId
  1642. };
  1643. return request({
  1644. url: "/activiti/process/listHistory",
  1645. method: "post",
  1646. data: queryParams,
  1647. }).then((response) => {
  1648. if (type == 'evidence'){
  1649. this.evidencHistoryList = response.rows;
  1650. this.evidencHistoryList.forEach((row) => {
  1651. row.startTime = this.format(row.startTime, "yyyy-MM-dd HH:mm:ss");
  1652. row.endTime = this.format(row.endTime, "yyyy-MM-dd HH:mm:ss");
  1653. row.durationInMillis = this.formatTotalDateSub(
  1654. row.durationInMillis / 1000
  1655. );
  1656. });
  1657. }else if (type == 'treat'){
  1658. this.treatHistoryList = response.rows;
  1659. this.treatHistoryList.forEach((row) => {
  1660. row.startTime = this.format(row.startTime, "yyyy-MM-dd HH:mm:ss");
  1661. row.endTime = this.format(row.endTime, "yyyy-MM-dd HH:mm:ss");
  1662. row.durationInMillis = this.formatTotalDateSub(
  1663. row.durationInMillis / 1000
  1664. );
  1665. });
  1666. }else{
  1667. this.historyList = response.rows;
  1668. this.historyList.forEach((row) => {
  1669. row.startTime = this.format(row.startTime, "yyyy-MM-dd HH:mm:ss");
  1670. row.endTime = this.format(row.endTime, "yyyy-MM-dd HH:mm:ss");
  1671. row.durationInMillis = this.formatTotalDateSub(
  1672. row.durationInMillis / 1000
  1673. );
  1674. });
  1675. }
  1676. });
  1677. }else{
  1678. this.spanNum = 5;
  1679. }
  1680. },
  1681. format(time, format) {
  1682. var t = new Date(time);
  1683. var tf = function (i) { return (i < 10 ? '0' : '') + i };
  1684. return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function (a) {
  1685. switch (a) {
  1686. case 'yyyy':
  1687. return tf(t.getFullYear());
  1688. break;
  1689. case 'MM':
  1690. return tf(t.getMonth() + 1);
  1691. break;
  1692. case 'mm':
  1693. return tf(t.getMinutes());
  1694. break;
  1695. case 'dd':
  1696. return tf(t.getDate());
  1697. break;
  1698. case 'HH':
  1699. return tf(t.getHours());
  1700. break;
  1701. case 'ss':
  1702. return tf(t.getSeconds());
  1703. break;
  1704. }
  1705. })
  1706. },
  1707. /**
  1708. * 计算出相差天数
  1709. * @param secondSub
  1710. */
  1711. formatTotalDateSub (secondSub) {
  1712. var days = Math.floor(secondSub / (24 * 3600)); // 计算出小时数
  1713. var leave1 = secondSub % (24*3600) ; // 计算天数后剩余的毫秒数
  1714. var hours = Math.floor(leave1 / 3600); // 计算相差分钟数
  1715. var leave2 = leave1 % (3600); // 计算小时数后剩余的毫秒数
  1716. var minutes = Math.floor(leave2 / 60); // 计算相差秒数
  1717. var leave3 = leave2 % 60; // 计算分钟数后剩余的毫秒数
  1718. var seconds = Math.round(leave3);
  1719. return days + "天" + hours + "时" + minutes + "分" + seconds + '秒';
  1720. }
  1721. },
  1722. };
  1723. </script>
  1724. <style scoped lang="scss">
  1725. @font-face {
  1726. font-family: SourceHanSansCNBold;
  1727. src: url("../../../assets/fonts/SourceHanSansCN-Bold.otf");
  1728. }
  1729. .app-container {
  1730. padding: 0;
  1731. }
  1732. .examine_box{
  1733. background-color: #1D6FE9!important;
  1734. padding: 0.18rem!important;
  1735. padding-left: 0!important;
  1736. border-radius: 0.15rem!important;
  1737. margin-top: 0.3rem!important;
  1738. }
  1739. .examine_box .van-col:first-child{
  1740. color: #FFF!important;
  1741. font-size: 0.45rem!important;
  1742. text-align: center!important;
  1743. }
  1744. .examine_box .van-col:last-child{
  1745. background-color: #FFF!important;
  1746. border-radius: 0.15rem!important;
  1747. overflow: hidden!important;
  1748. .van-radio-group--horizontal{
  1749. padding: 0.2rem 0;
  1750. border-bottom: 1px solid #eee;
  1751. }
  1752. }
  1753. /deep/.van-radio--horizontal{
  1754. margin-left: 20px;
  1755. margin-right: 0;
  1756. }
  1757. .submitButtonActive{
  1758. width: 100%;
  1759. margin: 0 auto;
  1760. }
  1761. .van-uploader {
  1762. padding: 15PX;
  1763. }
  1764. /deep/ .van-nav-bar--fixed{
  1765. background: url("../../../../static/images/lawEnforcement/head_bg.png") 100%;
  1766. }
  1767. /deep/ .van-nav-bar .van-icon{
  1768. color: #ffffff;
  1769. }
  1770. /deep/ .van-nav-bar__title{
  1771. color: #ffffff;
  1772. }
  1773. /deep/ .van-tabs__nav--complete{
  1774. padding: 0;
  1775. border: none;
  1776. height: auto;
  1777. }
  1778. /deep/ .van-tabs__nav--card .van-tab{
  1779. border: none;
  1780. }
  1781. /deep/ .van-tabs--card>.van-tabs__wrap{
  1782. height: auto;
  1783. margin-top: 10PX;
  1784. }
  1785. /deep/ .van-tabs__nav--card .van-tab.van-tab--active{
  1786. background: transparent;
  1787. .van-tab__text{
  1788. width: 56PX;
  1789. height: 56PX;
  1790. line-height: 56PX;
  1791. }
  1792. .finish,.ongoing,.notStarted{
  1793. padding: 15PX 0;
  1794. }
  1795. }
  1796. /deep/ .van-tab__text{
  1797. display: block;
  1798. width: 44PX;
  1799. height: 44PX;
  1800. background: #FFF;
  1801. border-radius: 50%;
  1802. border: 1px solid #C9C9C9;
  1803. color: #C9C9C9;
  1804. text-align: center;
  1805. padding: 0;
  1806. p{
  1807. line-height: 1;
  1808. }
  1809. }
  1810. .finish{
  1811. border-radius: 50%;
  1812. border: 1px solid #1DCC80;
  1813. color: #1DCC80;
  1814. padding: 10PX 0;
  1815. height: 100%;
  1816. }
  1817. .ongoing{
  1818. border-radius: 50%;
  1819. border: 1px solid #1D6FE9;
  1820. color: #1D6FE9;
  1821. padding: 10PX 0;
  1822. height: 100%;
  1823. }
  1824. .notStarted{
  1825. padding: 10PX 0;
  1826. height: 100%;
  1827. }
  1828. .typeBox{
  1829. width: 44PX;
  1830. height: 44PX;
  1831. background: #ffffff;
  1832. text-align: center;
  1833. font-size: 14PX;
  1834. border-radius: 50%;
  1835. border: 1px solid #1DCC80;
  1836. color: #1DCC80;
  1837. margin: 0 auto;
  1838. padding: 10PX 0px;
  1839. line-height: 1;
  1840. position: relative;
  1841. top: 50%;
  1842. transform: translateY(-50%);
  1843. }
  1844. .noActive{
  1845. border: 1px solid #1D6FE9;
  1846. color: #1D6FE9;
  1847. }
  1848. .doActive{
  1849. border: 1px solid #C9C9C9;
  1850. color: #C9C9C9;
  1851. }
  1852. .active{
  1853. width: 56PX;
  1854. height: 56PX;
  1855. padding: 15PX 0px;
  1856. }
  1857. /deep/ .van-radio--horizontal{
  1858. margin-left: 0.32rem;
  1859. margin-right: 0;
  1860. }
  1861. .peopleList{
  1862. padding: 0 3%;
  1863. margin-top: 10PX;
  1864. .van-row{
  1865. margin-bottom: 10PX;
  1866. .van-col{
  1867. text-align: center;
  1868. font-size: 14PX;
  1869. }
  1870. &:first-child{
  1871. .van-col{
  1872. color: #1D6FE9;
  1873. }
  1874. }
  1875. }
  1876. }
  1877. .cf{
  1878. padding: 0 3%;
  1879. margin-top: 20PX;
  1880. margin-bottom: 20PX;
  1881. .van-row{
  1882. background: #F0F3F5;
  1883. .van-col{
  1884. padding: 5PX 0;
  1885. font-size: 12PX!important;
  1886. text-align: center;
  1887. p{
  1888. color: #1D6FE9;
  1889. }
  1890. }
  1891. &:first-child{
  1892. background: transparent;
  1893. }
  1894. }
  1895. }
  1896. .main_title{
  1897. font-size: 0.4rem;
  1898. color: #1D6FE9;
  1899. margin: 0.2rem 6%;
  1900. margin-top: 0;
  1901. position: relative;
  1902. }
  1903. .main_box{
  1904. width: 96%;
  1905. margin: 0 auto;
  1906. border-radius: 6PX;
  1907. box-shadow: 0PX 3PX 6PX 0PX rgba(0,0,0,0.16);
  1908. overflow: hidden;
  1909. background-color: #FFF;
  1910. margin-top: 10PX;
  1911. .van-icon{
  1912. vertical-align: middle;
  1913. }
  1914. .custom-title{
  1915. font-size: 17PX;
  1916. color: #333333;
  1917. vertical-align: middle;
  1918. line-height: 1;
  1919. position: relative;
  1920. margin-left: 5PX;
  1921. }
  1922. .tap{
  1923. color: #1D6FE9;
  1924. }
  1925. .bgBlue{
  1926. display: block;
  1927. position: absolute;
  1928. width: 17PX;
  1929. height: 17PX;
  1930. border-radius: 50%;
  1931. background-color: rgba(29,111,233,0.26);
  1932. top: -2PX;
  1933. right: -8PX;
  1934. }
  1935. }
  1936. .submitButton{
  1937. width: 80%;
  1938. margin: 0 auto;
  1939. background-color: #1D6FE9;
  1940. }
  1941. .addFamily{
  1942. position: absolute;
  1943. top: -2px;
  1944. right: 0;
  1945. border-radius: 50%;
  1946. }
  1947. .main_box2{
  1948. width: 96%;
  1949. margin: 0 auto;
  1950. background: #ffffff;
  1951. border-radius: 6PX;
  1952. overflow: hidden;
  1953. margin-top: 10PX;
  1954. margin-bottom: 20PX;
  1955. box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
  1956. .van-col{
  1957. height: 76PX;
  1958. position: relative;
  1959. }
  1960. .van-row:nth-child(2n){
  1961. background: rgba(29,111,233,0.1);
  1962. }
  1963. /deep/ .van-cell{
  1964. background: transparent;
  1965. padding: 10Px;
  1966. }
  1967. .bq{
  1968. display: inline-block;
  1969. padding: 4PX 10PX;
  1970. border-radius: 5PX;
  1971. }
  1972. .index{
  1973. background: #1D6FE9;
  1974. color: #ffffff;
  1975. text-align: center;
  1976. width: 20PX;
  1977. height: 20PX;
  1978. line-height: 20PX;
  1979. border-radius: 50%;
  1980. position: absolute;
  1981. left: 50%;
  1982. top: 50%;
  1983. transform: translate(-50%,-50%);
  1984. }
  1985. .indexCenter{
  1986. top: 0!important;
  1987. }
  1988. .indexBorder{
  1989. width: 10PX;
  1990. position: absolute;
  1991. right: 0;
  1992. top: calc(50% - 5PX);
  1993. .yq{
  1994. height: 10PX;
  1995. width: 10PX;
  1996. background: #C9C9C9;
  1997. border-radius: 50%;
  1998. }
  1999. .ss{
  2000. height: 33PX;
  2001. width: 2PX;
  2002. background: #C9C9C9;
  2003. position: relative;
  2004. left: 4PX;
  2005. }
  2006. .ssT{
  2007. height: 33PX;
  2008. width: 2PX;
  2009. background: #C9C9C9;
  2010. position: relative;
  2011. left: 4PX;
  2012. }
  2013. }
  2014. }
  2015. .splcTit{
  2016. font-size: 17PX;
  2017. text-align: center;
  2018. margin-top: 25PX;
  2019. margin-bottom: 5PX;
  2020. }
  2021. </style>