移动端
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

3683 rindas
146 KiB

  1. <template>
  2. <div class="app-container">
  3. <div class="header_main">
  4. 案件处理
  5. <div class="return_btn" @click="onClickLeft"></div>
  6. </div>
  7. <div style="height: 58px;"></div>
  8. <van-tabs type="card" :duration="0.2" animated background="transparent" style="border: none;" v-model="caseProgress">
  9. <!-- 登记-->
  10. <van-tab :disabled="0 <= caseActive ? false : true">
  11. <template #title>
  12. <div :class="{ finish: 1 <= caseActive , notStarted: 1 > caseActive , ongoing: 0 == caseActive }" >
  13. <p>登记</p>
  14. <p>
  15. <van-icon name="success" v-if="1 <= caseActive"/>
  16. <van-icon name="circle" v-if="caseActive == 0"/>
  17. </p>
  18. </div>
  19. </template>
  20. <div class="main_box">
  21. <van-cell>
  22. <template #title>
  23. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  24. <span class="custom-title">登记<i class="bgBlue"></i></span>
  25. </template>
  26. </van-cell>
  27. <van-cell title="案件来源" :border="false" v-model="form.caseSource" />
  28. <van-cell title="关联方案" :border="false" v-model="form.schemeId" />
  29. <van-cell title="案件属地" :border="false" v-model="form.deptId" />
  30. <van-cell title="执行主体" :border="false" v-model="form.belongTeam" />
  31. <van-cell title="案件名称" :border="false" v-model="form.caseName" />
  32. <van-cell title="登记日期" :border="false" v-model="form.registerDate" />
  33. <van-cell title="执法类别" :border="false" v-model="form.enforceCategory" />
  34. <!--<van-cell title="案件简述1" :border="false" v-model="form.caseSource" />-->
  35. </div>
  36. <div class="main_box" style="margin-top: 10px;">
  37. <van-collapse v-model="activeNames">
  38. <van-collapse-item name="1">
  39. <template #title>
  40. <van-icon name="../../../static/images/lawEnforcement/icon/icon_dsr.png" size="20"></van-icon>
  41. <span class="custom-title">当事人<i class="bgBlue"></i></span>
  42. </template>
  43. <van-cell title="当事人类型" :border="false" v-model="form.type" />
  44. <template v-if="form.type=='个人/个体工商户'">
  45. <van-cell title="当事人姓名" :border="false" v-model="form.name" />
  46. <van-cell title="性别" :border="false" v-model="form.sex" />
  47. <van-cell title="身份证号" :border="false" v-model="form.cardNum" />
  48. <van-cell title="出生日期" :border="false" v-model="form.birthday" />
  49. <van-cell title="民族" :border="false" v-model="form.nation" />
  50. <van-cell title="工作单位及职务" :border="false" v-model="form.companyPosition" />
  51. <van-cell title="字号名称" :border="false" v-model="form.zihao" />
  52. </template>
  53. <template v-if="form.type=='企业'">
  54. <van-cell title="企业名称" :border="false" v-model="form.companyName" />
  55. <van-cell title="法人/负责人" :border="false" v-model="form.legalName" />
  56. </template>
  57. <van-cell title="联系电话" :border="false" v-model="form.phone" />
  58. <van-cell title="联系地址" :border="false" v-model="form.address" />
  59. <van-cell title="统一社会信用代码" :border="false" v-model="form.uniformCode" />
  60. </van-collapse-item>
  61. </van-collapse>
  62. </div>
  63. <div class="main_box" style="margin-top: 10px;">
  64. <van-collapse v-model="activeNames1">
  65. <van-collapse-item name="1">
  66. <template #title>
  67. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  68. <span class="custom-title">附件<i class="bgBlue"></i></span>
  69. </template>
  70. <van-uploader v-model="form.attachementList" :show-upload="false" :deletable="false"/>
  71. </van-collapse-item>
  72. </van-collapse>
  73. </div>
  74. <div class="main_box" style="margin-top: 10px;">
  75. <van-collapse v-model="activeNames2">
  76. <van-collapse-item name="1">
  77. <template #title>
  78. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>
  79. <span class="custom-title">执法人员<i class="bgBlue"></i></span>
  80. </template>
  81. <div class="peopleList">
  82. <van-row>
  83. <van-col :span="4">序号</van-col>
  84. <van-col :span="6">执行人员</van-col>
  85. <van-col :span="10">执法证号</van-col>
  86. <van-col :span="4">带队人</van-col>
  87. </van-row>
  88. <van-row v-for="(item,index) in tEnforceCaseHandlerList" :key="index" >
  89. <van-col :span="4">{{index+1}}</van-col>
  90. <van-col :span="6">{{item.enforcerName}}</van-col>
  91. <van-col :span="10">{{item.enforcerNum}}</van-col>
  92. <van-col :span="4">
  93. <div class="icon_box">
  94. <van-checkbox v-model="item.enforcerLeader" shape="square"></van-checkbox>
  95. </div>
  96. </van-col>
  97. </van-row>
  98. <!-- <img src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="$router.push({name:'lawEnforcementCaseLawEnforcer'})">-->
  99. </div>
  100. </van-collapse-item>
  101. </van-collapse>
  102. </div>
  103. </van-tab>
  104. <!-- 勘察-->
  105. <van-tab v-show="progressLength>=3" v-if="zhenchaShow" :disabled="1 <= caseActive ? false : true">
  106. <template #title>
  107. <div
  108. :class="{ finish: 2 <= caseActive , notStarted: 2 > caseActive , ongoing: 1 == caseActive }"
  109. >
  110. <p>勘察</p>
  111. <p>
  112. <van-icon name="success" v-if="2 <= caseActive"/>
  113. <van-icon name="circle" v-if="caseActive == 1"/>
  114. </p>
  115. </div>
  116. </template>
  117. <div class="main_box">
  118. <van-cell>
  119. <template #title>
  120. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  121. <span class="custom-title">勘察<i class="bgBlue"></i></span>
  122. </template>
  123. </van-cell>
  124. <van-cell title="案件来源" :border="false" v-model="form.caseSource" />
  125. <van-cell title="关联方案" :border="false" v-model="form.schemeId" />
  126. <van-cell title="案件属地" :border="false" v-model="form.deptId" />
  127. <van-cell title="案件编号" :value="surveyForm.instanceId==''?'':form.caseNumPart1 + '农' + form.caseNumPart2 + '[' + form.caseNumPart3 + ']' +form.caseNum + '号'"/>
  128. </div>
  129. <div class="main_box" style="margin-top: 10px;">
  130. <van-collapse v-model="activeNames2">
  131. <van-collapse-item name="1">
  132. <template #title>
  133. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>
  134. <span class="custom-title">执法人员<i class="bgBlue"></i></span>
  135. </template>
  136. <div class="peopleList">
  137. <van-row>
  138. <van-col :span="6">执行人员</van-col>
  139. <van-col :span="10">执法证号</van-col>
  140. <van-col :span="4">签到次数</van-col>
  141. <van-col :span="4">带队人</van-col>
  142. </van-row>
  143. <van-row v-for="(item,index) in tEnforceCaseHandlerList" :key="index" >
  144. <van-col :span="6">{{item.enforcerName}}</van-col>
  145. <van-col :span="10">{{item.enforcerNum}}</van-col>
  146. <van-col :span="4">{{item.num}}</van-col>
  147. <van-col :span="4">
  148. <div class="icon_box">
  149. <van-checkbox v-model="item.enforcerLeader" shape="square"></van-checkbox>
  150. <van-icon v-if="caseActive == 1" name="../../../static/images/lawEnforcement/icon/icon_delete.png" size="20" @click="removePeople(index,'CaseHand')"></van-icon>
  151. </div>
  152. </van-col>
  153. </van-row>
  154. <img v-if="caseActive == 1" src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="enforceType = 'CaseHand',$router.push({name:'lawEnforcementCaseLawEnforcer'})">
  155. </div>
  156. </van-collapse-item>
  157. </van-collapse>
  158. </div>
  159. <van-form :readonly="caseProgress != 1 || (surveyForm.instanceId!='' && surveyForm.instanceId!=null && surveyForm.instanceId!=undefined)">
  160. <div class="main_box">
  161. <van-cell>
  162. <template #title>
  163. <van-icon name="../../../static/images/lawEnforcement/icon/icon_xckc.png" size="20"></van-icon>
  164. <span class="custom-title">现场检查<i class="bgBlue"></i></span>
  165. </template>
  166. </van-cell>
  167. <van-field
  168. readonly
  169. clickable
  170. required
  171. :rules="[{ required: true , message:'请选择勘察开始时间'}]"
  172. v-model="surveyForm.surveyStartTime"
  173. label="勘察开始时间"
  174. placeholder="请选择勘察开始时间"
  175. @click="showSurveyStartTime = true"
  176. input-align="right"
  177. right-icon="arrow-down"
  178. label-width="auto"
  179. />
  180. <van-field
  181. readonly
  182. clickable
  183. required
  184. :rules="[{ required: true , message:'请选择勘察结束时间'}]"
  185. v-model="surveyForm.surveyEndTime"
  186. label="勘察结束时间"
  187. placeholder="请选择勘察结束时间"
  188. @click="showSurveyEndTime = true"
  189. input-align="right"
  190. right-icon="arrow-down"
  191. label-width="auto"
  192. />
  193. <van-field input-align="right" label-width="auto" label="当事人" placeholder="当事人" v-model="surveyForm.dangshiren" />
  194. <van-field input-align="right" label-width="auto" label="记录人" placeholder="记录人" v-model="surveyForm.recorder" />
  195. <van-field input-align="right" label-width="auto" label="检查(勘察)地点" placeholder="检查(勘察)地点" v-model="surveyForm.surveyAddr" />
  196. <van-field readonly input-align="right" label-width="auto" label="现场检查(勘察)情况"/>
  197. <van-field v-model="surveyForm.surveyDescription" rows="2" autosize type="textarea" placeholder="现场检查(勘察)情况" />
  198. </div>
  199. <div class="main_box">
  200. <van-cell>
  201. <template #title>
  202. <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>
  203. <span class="custom-title">询问信息<i class="bgBlue"></i></span>
  204. </template>
  205. </van-cell>
  206. <van-field
  207. readonly
  208. clickable
  209. required
  210. :rules="[{ required: true , message:'请选择询问开始时间' }]"
  211. v-model="surveyForm.askStartTime"
  212. label="询问开始时间"
  213. placeholder="请选择询问开始时间"
  214. @click="showAskStartTime = true"
  215. input-align="right"
  216. right-icon="arrow-down"
  217. label-width="auto"
  218. />
  219. <van-field
  220. readonly
  221. clickable
  222. required
  223. :rules="[{ required: true , message:'请选择询问结束时间'}]"
  224. v-model="surveyForm.askEndTime"
  225. label="询问结束时间"
  226. placeholder="请选择询问结束时间"
  227. @click="showAskEndTime = true"
  228. input-align="right"
  229. right-icon="arrow-down"
  230. label-width="auto"
  231. />
  232. <van-field input-align="right" label-width="auto" label="询问地点" placeholder="询问地点" v-model="surveyForm.askAddr"/>
  233. <van-field input-align="right" label-width="auto" label="询问记录人" placeholder="询问记录人" v-model="surveyForm.askRecorder"/>
  234. <van-field input-align="right" label-width="auto" label="被询问人姓名" placeholder="被询问人姓名" v-model="surveyForm.askedName"/>
  235. <van-field input-align="right" label-width="auto" label="被询问人电话" placeholder="被询问人电话" v-model="surveyForm.askedPhone"/>
  236. <van-field input-align="right" label-width="auto" label="身份证号" placeholder="身份证号" v-model="surveyForm.idCard"/>
  237. <van-field input-align="right" label-width="auto" label="性别" placeholder="性别" v-model="surveyForm.gender">
  238. <template #input>
  239. <van-radio-group v-model="surveyForm.gender" direction="horizontal">
  240. <van-radio name="1">男</van-radio>
  241. <van-radio name="2">女</van-radio>
  242. </van-radio-group>
  243. </template>
  244. </van-field>
  245. <van-field input-align="right" label-width="auto" label="工作单位" placeholder="工作单位" v-model="surveyForm.workCompany" />
  246. <van-field input-align="right" label-width="auto" label="职务" placeholder="职务" v-model="surveyForm.workPosition" />
  247. <van-field input-align="right" label-width="auto" label="住址" placeholder="住址" v-model="surveyForm.address" />
  248. <van-field input-align="right" label-width="auto" label="询问问题" placeholder="询问问题" v-model="surveyForm.question" />
  249. <van-field input-align="right" label-width="auto" label="被询问人员证件是否清楚" placeholder="被询问人员证件是否清楚" v-model="surveyForm.isClear == 'Y' ? '是' : '否'" >
  250. <template #input>
  251. <van-radio-group v-model="surveyForm.isClear" direction="horizontal">
  252. <van-radio name="Y">是</van-radio>
  253. <van-radio name="N">否</van-radio>
  254. </van-radio-group>
  255. </template>
  256. </van-field>
  257. <van-field input-align="right" label-width="auto" label="是否申请调查人员回避" placeholder="是否申请调查人员回避" v-model="surveyForm.isAvoid == 'Y' ? '是' : '否'">
  258. <template #input>
  259. <van-radio-group v-model="surveyForm.isAvoid" direction="horizontal">
  260. <van-radio name="Y">是</van-radio>
  261. <van-radio name="N">否</van-radio>
  262. </van-radio-group>
  263. </template>
  264. </van-field>
  265. <van-field input-align="right" label-width="auto" label="被询问人回答内容" placeholder="被询问人回答内容" v-model="surveyForm.answer" />
  266. </div>
  267. <div class="main_box">
  268. <van-cell>
  269. <template #title>
  270. <van-icon name="../../../static/images/lawEnforcement/icon/icon_xccj.png" size="20"></van-icon>
  271. <span class="custom-title">现场抽检选项<i class="bgBlue"></i></span>
  272. </template>
  273. </van-cell>
  274. <van-field input-align="right" label-width="auto" label="是否现场抽检" placeholder="是否现场抽检" v-model="surveyForm.isSpotCheck == 'Y' ? '是' : '否'">
  275. <template #input>
  276. <van-radio-group v-model="surveyForm.isSpotCheck" direction="horizontal">
  277. <van-radio name="Y">是</van-radio>
  278. <van-radio name="N">否</van-radio>
  279. </van-radio-group>
  280. </template>
  281. </van-field>
  282. </div>
  283. <div class="main_box">
  284. <van-cell>
  285. <template #title>
  286. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>
  287. <span class="custom-title">案件信息<i class="bgBlue"></i></span>
  288. </template>
  289. </van-cell>
  290. <van-field
  291. readonly
  292. clickable
  293. required
  294. :rules="[{ required: true , message:'请选择受理时间'}]"
  295. v-model="surveyForm.handleDate"
  296. label="受理时间"
  297. placeholder="请选择受理时间"
  298. @click="showHandleDate = true"
  299. input-align="right"
  300. right-icon="arrow-down"
  301. label-width="auto"
  302. />
  303. <van-field
  304. readonly
  305. clickable
  306. required
  307. :rules="[{ required: true , message:'请选择受案时间'}]"
  308. v-model="surveyForm.shouanDate"
  309. label="受案时间"
  310. placeholder="请选择受案时间"
  311. @click="showShouanDate = true"
  312. input-align="right"
  313. right-icon="arrow-down"
  314. label-width="auto"
  315. />
  316. <van-field readonly input-align="right" label-width="auto" label="简要案情及立案(不予立案)理由"/>
  317. <van-field v-model="surveyForm.reason" rows="2" autosize type="textarea" placeholder="简要案情及立案(不予立案)理由" />
  318. <van-field input-align="right" label-width="auto" label="是否审批" v-model="surveyForm.isApprove == 'Y' ? '是' : '否'">
  319. <template #input>
  320. <van-radio-group v-model="surveyForm.isApprove" direction="horizontal">
  321. <van-radio name="Y">是</van-radio>
  322. <van-radio name="N">否</van-radio>
  323. </van-radio-group>
  324. </template>
  325. </van-field>
  326. <van-field
  327. readonly
  328. clickable
  329. required
  330. :rules="[{ required: true , message:'请选择审批程序设置'}]"
  331. v-model="surveyResult"
  332. label="审批程序设置"
  333. placeholder="请选择审批程序设置"
  334. @click="showSurveyResult = true"
  335. input-align="right"
  336. right-icon="arrow-down"
  337. label-width="auto"
  338. />
  339. <van-field v-if="surveyForm.instanceId=='' && caseProgress == 1 && surveyForm.surveyResult!=1" readonly input-align="right" label-width="auto" label="案件编号" placeholder="案件编号" v-model="surveyForm.caseNumPart1 + '农(' + surveyForm.caseNumPart2 + ')' + surveyForm.caseNumPartType + '[' + surveyForm.caseNumPart3 + ']' +surveyForm.caseNum + '号'" />
  340. </div>
  341. <div class="main_box" style="margin-top: 10px;">
  342. <van-cell>
  343. <template #title>
  344. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  345. <span class="custom-title">案件文档<i class="bgBlue"></i></span>
  346. </template>
  347. </van-cell>
  348. <van-uploader v-model="surveyOption" :after-read="afterRead" @delete="deleteFile" :show-upload="caseProgress == 1 && ( surveyForm.instanceId=='' || surveyForm.instanceId==null || surveyForm.instanceId==undefined )" :deletable="caseProgress == 1 && ( surveyForm.instanceId=='' || surveyForm.instanceId==null || surveyForm.instanceId==undefined )" />
  349. </div>
  350. </van-form>
  351. <div class="submit_box" v-if="caseProgress == 1 && ( surveyForm.instanceId=='' || surveyForm.instanceId==null || surveyForm.instanceId==undefined )">
  352. <p class="submitButton" @click="preservation">保存</p>
  353. <p class="submitButton" @click="submit">提交</p>
  354. </div>
  355. </van-tab>
  356. <!-- 立案-->
  357. <van-tab v-show="progressLength>=4" v-if="lianShow" :disabled="2 <= caseActive ? false : true">
  358. <template #title>
  359. <div
  360. :class="{ finish: 3 <= caseActive , notStarted: 3 > caseActive , ongoing: 2 == caseActive }"
  361. >
  362. <p>立案</p>
  363. <p>
  364. <van-icon name="success" v-if="3 <= caseActive"/>
  365. <van-icon name="circle" v-if="caseActive == 2"/>
  366. </p>
  367. </div>
  368. </template>
  369. <div class="main_box">
  370. <van-cell>
  371. <template #title>
  372. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  373. <span class="custom-title">立案<i class="bgBlue"></i></span>
  374. </template>
  375. </van-cell>
  376. <van-cell title="案件来源" :border="false" v-model="form.caseSource" />
  377. <van-cell title="关联方案" :border="false" v-model="form.schemeId" />
  378. <van-cell title="案件属地" :border="false" v-model="form.deptId" />
  379. </div>
  380. <div class="main_box" style="margin-top: 10px;">
  381. <van-collapse v-model="activeNames2">
  382. <van-collapse-item name="1">
  383. <template #title>
  384. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>
  385. <span class="custom-title">执法人员<i class="bgBlue"></i></span>
  386. </template>
  387. <div class="peopleList">
  388. <van-row>
  389. <van-col :span="6">执行人员</van-col>
  390. <van-col :span="10">执法证号</van-col>
  391. <van-col :span="4">签到次数</van-col>
  392. <van-col :span="4">带队人</van-col>
  393. </van-row>
  394. <van-row v-for="(item,index) in tEnforcePutRecordHandlerList" :key="index" >
  395. <van-col :span="6">{{item.enforcerName}}</van-col>
  396. <van-col :span="10">{{item.enforcerNum}}</van-col>
  397. <van-col :span="4">{{item.num}}</van-col>
  398. <van-col :span="4">
  399. <div class="icon_box">
  400. <van-checkbox v-model="item.enforcerLeader" shape="square"></van-checkbox>
  401. <van-icon v-if="caseActive == 2" name="../../../static/images/lawEnforcement/icon/icon_delete.png" size="20" @click="removePeople(index,'PutRecord')"></van-icon>
  402. </div>
  403. </van-col>
  404. </van-row>
  405. <!-- @click="$router.push({name:'lawEnforcementCaseLawEnforcer'})" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"-->
  406. <img v-if="caseActive == 2" src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="enforceType = 'PutRecord',$router.push({name:'lawEnforcementCaseLawEnforcer'})">
  407. </div>
  408. </van-collapse-item>
  409. </van-collapse>
  410. </div>
  411. <van-form :readonly="caseProgress != 2 || (putRecordForm.instanceId!='' && putRecordForm.instanceId!=null && putRecordForm.instanceId!=undefined)">
  412. <div class="main_box">
  413. <van-cell>
  414. <template #title>
  415. <van-icon name="../../../static/images/lawEnforcement/icon/icon_cfky.png" size="20"></van-icon>
  416. <span class="custom-title">查封扣押<i class="bgBlue"></i></span>
  417. </template>
  418. </van-cell>
  419. <van-field readonly input-align="right" label-width="auto" label="涉嫌违法行为"/>
  420. <van-field v-model="putRecordForm.illegalAct" rows="2" autosize type="textarea" placeholder="涉嫌违法行为" />
  421. <van-field readonly input-align="right" label-width="auto" label="处罚依据及内容"/>
  422. <van-field v-model="putRecordForm.punishContent" rows="2" autosize type="textarea" placeholder="处罚依据及内容" />
  423. <van-field
  424. readonly
  425. clickable
  426. required
  427. :rules="[{ required: true , message:'请选择查封日期'}]"
  428. v-model="putRecordForm.sealDate"
  429. label="查封日期"
  430. placeholder="请选择查封日期"
  431. @click="showSealDate = true"
  432. input-align="right"
  433. right-icon="arrow-down"
  434. label-width="auto"
  435. />
  436. <van-field
  437. readonly
  438. clickable
  439. required
  440. :rules="[{ required: true , message:'请选择查封时效'}]"
  441. v-model="putRecordForm.sealTimeliness"
  442. label="查封时效"
  443. placeholder="请选择查封时效"
  444. @click="showSealTimeliness = true"
  445. input-align="right"
  446. right-icon="arrow-down"
  447. label-width="auto"
  448. />
  449. <van-field input-align="right" label-width="auto" label="查封天数" placeholder="查封天数" v-model="putRecordForm.sealDays" />
  450. <van-field input-align="right" label-width="auto" label="产品保存地点" v-model="putRecordForm.savePlace">
  451. <template #input>
  452. <van-radio-group v-model="putRecordForm.savePlace" direction="horizontal">
  453. <van-radio name="1">本地</van-radio>
  454. <van-radio name="2">异地</van-radio>
  455. </van-radio-group>
  456. </template>
  457. </van-field>
  458. <van-field v-if="putRecordForm.savePlace==2" v-model="putRecordForm.savePlaceAddress" rows="2" autosize type="textarea" placeholder="请输入异地具体保存地址" />
  459. <van-field readonly input-align="right" label-width="auto" label="现场情况"/>
  460. <van-field v-model="putRecordForm.sceneCondition" rows="2" autosize type="textarea" placeholder="现场情况" />
  461. <van-field input-align="right" label-width="auto" label="上诉单位" placeholder="上诉单位" v-model="putRecordForm.appealUnit" />
  462. <van-field input-align="right" label-width="auto" label="复议单位" placeholder="复议单位" v-model="putRecordForm.administrativeDept" />
  463. <van-field input-align="right" label-width="auto" label="诉讼单位" placeholder="诉讼单位" v-model="putRecordForm.lawsuitDept" />
  464. <div class="peopleList cf">
  465. <van-row>
  466. <van-col :span="5">财物名称</van-col>
  467. <van-col :span="3">规格</van-col>
  468. <van-col :span="3">数量</van-col>
  469. <van-col :span="6">生产日期(批号)</van-col>
  470. <van-col :span="7">生产经营单位</van-col>
  471. </van-row>
  472. <van-row v-for="(item,index) in tEnforceDetainHandlerList" :key="index">
  473. <van-col :span="5"><van-field input-align="center" placeholder="财物名称" v-model="item.name" /></van-col>
  474. <van-col :span="3"><van-field input-align="center" placeholder="规格" v-model="item.size" /></van-col>
  475. <van-col :span="3"><van-field input-align="center" placeholder="数量" v-model="item.propertyNum" /></van-col>
  476. <van-col :span="6"><van-field input-align="center" placeholder="生产日期(批号)" v-model="item.productTimeNum" /></van-col>
  477. <van-col :span="7"><van-field input-align="center" placeholder="生产经营单位" v-model="item.productUnit" /></van-col>
  478. </van-row>
  479. <img src="../../../../static/images/lawEnforcement/new/addFinance_btn.png" style="margin: 0 auto;" @click="addFinance" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )">
  480. </div>
  481. <!-- <div class="cf">-->
  482. <!-- <van-row>-->
  483. <!-- <van-col :span="6">-->
  484. <!-- <van-image src="../../../../static/images/lawEnforcement/icon/icon_fj.png" width="50" />-->
  485. <!-- <p>证据先行</p>-->
  486. <!-- <p>保存通知书</p>-->
  487. <!-- </van-col>-->
  488. <!-- <van-col :span="6">-->
  489. <!-- <van-image src="../../../../static/images/lawEnforcement/icon/icon_fj.png" width="50" />-->
  490. <!-- <p>查封扣押</p>-->
  491. <!-- <p>现场笔录</p>-->
  492. <!-- </van-col>-->
  493. <!-- <van-col :span="6">-->
  494. <!-- <van-image src="../../../../static/images/lawEnforcement/icon/icon_fj.png" width="50" />-->
  495. <!-- <p>查封扣押</p>-->
  496. <!-- <p>决定书</p>-->
  497. <!-- </van-col>-->
  498. <!-- <van-col :span="6"></van-col>-->
  499. <!-- </van-row>-->
  500. <!-- </div>-->
  501. </div>
  502. <div class="main_box">
  503. <van-cell>
  504. <template #title>
  505. <van-icon name="../../../static/images/lawEnforcement/icon/icon_cfky.png" size="20"></van-icon>
  506. <span class="custom-title">抽样信息<i class="bgBlue"></i></span>
  507. </template>
  508. </van-cell>
  509. <van-field input-align="right" label-width="auto" label="抽样现场人员" v-model="samplingForm.samplingScene">
  510. <template #input>
  511. <van-radio-group v-model="samplingForm.samplingScene" direction="horizontal">
  512. <van-radio name="1">当事人</van-radio>
  513. <van-radio name="2">有关人员</van-radio>
  514. </van-radio-group>
  515. </template>
  516. </van-field>
  517. <van-field
  518. readonly
  519. clickable
  520. required
  521. :rules="[{ required: true , message:'请选择抽样时间'}]"
  522. v-model="samplingForm.samplingTime"
  523. label="抽样时间"
  524. placeholder="请选择抽样时间"
  525. @click="showSamplingTime = true"
  526. input-align="right"
  527. right-icon="arrow-down"
  528. label-width="auto"
  529. />
  530. <van-field input-align="right" label-width="auto" label="抽样地点" placeholder="抽样地点" v-model="samplingForm.samplingPlace" />
  531. <van-field input-align="right" label-width="auto" label="联系人" placeholder="联系人" v-model="samplingForm.linkman" />
  532. <van-field input-align="right" label-width="auto" label="联系电话" placeholder="联系电话" v-model="samplingForm.linkPhone" />
  533. <div v-for="(item,index) in tEnforceSamplingGoodsList" :key="index">
  534. <van-divider>物品信息{{index+1}}</van-divider>
  535. <van-field input-align="right" label-width="auto" label="物品名称" placeholder="物品名称" v-model="item.goodsName" />
  536. <van-field input-align="right" label-width="auto" label="商标" placeholder="商标" v-model="item.goodsIcon" />
  537. <van-field input-align="right" label-width="auto" label="生产单位" placeholder="生产单位" v-model="item.productUnit" />
  538. <van-field
  539. readonly
  540. clickable
  541. required
  542. :rules="[{ required: true , message:'请选择厂家确认期限'}]"
  543. v-model="item.timeliness"
  544. label="厂家确认期限"
  545. placeholder="请选择厂家确认期限"
  546. @click="showTimeliness = true,goodsIndex = index"
  547. input-align="right"
  548. right-icon="arrow-down"
  549. label-width="auto"
  550. />
  551. <van-field input-align="right" label-width="auto" label="产品许可证" placeholder="产品许可证" v-model="item.productLicenseNum" />
  552. <van-field input-align="right" label-width="auto" label="单位许可证" placeholder="单位许可证" v-model="item.unitLicenseNum" />
  553. <van-field
  554. readonly
  555. clickable
  556. required
  557. :rules="[{ required: true , message:'请选择生产日期'}]"
  558. v-model="item.productTimeNum"
  559. label="生产日期"
  560. placeholder="请选择生产日期"
  561. @click="showProductTimeNum = true,goodsIndex = index"
  562. input-align="right"
  563. right-icon="arrow-down"
  564. label-width="auto"
  565. />
  566. <van-field input-align="right" label-width="auto" label="样品规格" placeholder="样品规格" v-model="item.specs" />
  567. <van-field input-align="right" label-width="auto" label="样品基数" placeholder="样品基数" v-model="item.basenum" />
  568. <van-field input-align="right" label-width="auto" label="抽样数量" placeholder="抽样数量" v-model="item.samplingNum" />
  569. <van-field
  570. readonly
  571. clickable
  572. required
  573. :rules="[{ required: true , message:'请选择产品确认期限'}]"
  574. v-model="item.confirmTimeliness"
  575. label="产品确认期限"
  576. placeholder="请选择产品确认期限"
  577. @click="showConfirmTimeliness = true,goodsIndex = index"
  578. input-align="right"
  579. right-icon="arrow-down"
  580. label-width="auto"
  581. />
  582. <!-- :show-upload="false" :deletable="false"-->
  583. <van-cell title="抽样产品附件" />
  584. <van-uploader v-model="item.attachementList" :after-read="afterReadAttachement(index)" :before-delete="deleteFileAttachement(index)" :show-upload="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" :deletable="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" />
  585. <!-- :show-upload="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" :deletable="caseProgress == 1 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"-->
  586. </div>
  587. <div style="text-align: center;margin-bottom: 10px;">
  588. <img src="../../../../static/images/lawEnforcement/new/addGoods_btn.png" style="margin: 0 auto;" @click="addGoods" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )">
  589. </div>
  590. </div>
  591. <div class="main_box">
  592. <van-cell>
  593. <template #title>
  594. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>
  595. <span class="custom-title">案件信息<i class="bgBlue"></i></span>
  596. </template>
  597. </van-cell>
  598. <van-cell title="立案程序" value="一般程序" />
  599. <van-field input-align="right" label-width="auto" label="案件进展" placeholder="案件进展" v-model="putRecordForm.progressCase" />
  600. </div>
  601. <div class="main_box" style="margin-top: 10px;margin-bottom: 20PX;">
  602. <van-cell>
  603. <template #title>
  604. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  605. <span class="custom-title">案件文档<i class="bgBlue"></i></span>
  606. </template>
  607. </van-cell>
  608. <van-uploader v-model="samplingOption" :after-read="afterReadSampling" :before-delete="deleteFileSampling" :show-upload="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" :deletable="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )" />
  609. </div>
  610. </van-form>
  611. <div class="submit_box" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )">
  612. <p class="submitButton" @click="submitPutRecordForm">保存</p>
  613. <p class="submitButton" @click="submitDefine">提交</p>
  614. </div>
  615. </van-tab>
  616. <!-- 取证-->
  617. <van-tab v-show="progressLength>=5" v-if="quzhengShow" :disabled="3 <= caseActive ? false : true">
  618. <template #title>
  619. <div
  620. :class="{ finish: 4 <= caseActive , notStarted: 4 > caseActive , ongoing: 3 == caseActive }"
  621. >
  622. <p>取证</p>
  623. <p>
  624. <van-icon name="success" v-if="4 <= caseActive"/>
  625. <van-icon name="circle" v-if="caseActive == 3"/>
  626. </p>
  627. </div>
  628. </template>
  629. <div class="main_box">
  630. <van-cell>
  631. <template #title>
  632. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  633. <span class="custom-title">取证<i class="bgBlue"></i></span>
  634. </template>
  635. </van-cell>
  636. <van-cell title="案件名称" v-model="form.caseName"/>
  637. <van-cell title="关联方案" v-model="form.schemeId"/>
  638. </div>
  639. <div class="main_box" style="margin-top: 10px;">
  640. <van-collapse v-model="activeNames2">
  641. <van-collapse-item name="1">
  642. <template #title>
  643. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>
  644. <span class="custom-title">执法人员<i class="bgBlue"></i></span>
  645. </template>
  646. <div class="peopleList">
  647. <van-row>
  648. <van-col :span="6">执行人员</van-col>
  649. <van-col :span="10">执法证号</van-col>
  650. <van-col :span="4">签到次数</van-col>
  651. <van-col :span="4">带队人</van-col>
  652. </van-row>
  653. <van-row v-for="(item,index) in tEnforceEvidenceHandlerList" :key="index" >
  654. <van-col :span="6">{{item.enforcerName}}</van-col>
  655. <van-col :span="10">{{item.enforcerNum}}</van-col>
  656. <van-col :span="4">{{item.num}}</van-col>
  657. <van-col :span="4">
  658. <div class="icon_box">
  659. <van-checkbox v-model="item.enforcerLeader" shape="square"></van-checkbox>
  660. <van-icon v-if="caseActive == 3" name="../../../static/images/lawEnforcement/icon/icon_delete.png" size="20" @click="removePeople(index,'evidence')"></van-icon>
  661. </div>
  662. </van-col>
  663. </van-row>
  664. <!-- @click="$router.push({name:'lawEnforcementCaseLawEnforcer'})" v-if="caseProgress == 2 && ( putRecordForm.instanceId=='' || putRecordForm.instanceId==null || putRecordForm.instanceId==undefined )"-->
  665. <img v-if="caseActive == 3" src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="enforceType = 'evidence',$router.push({name:'lawEnforcementCaseLawEnforcer'})">
  666. </div>
  667. </van-collapse-item>
  668. </van-collapse>
  669. </div>
  670. <van-form :readonly="caseProgress != 3 || (evidenceForm.instanceId!='' && evidenceForm.instanceId!=null && evidenceForm.instanceId!=undefined)">
  671. <div class="main_box">
  672. <van-cell>
  673. <template #title>
  674. <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>
  675. <span class="custom-title">检测结果<i class="bgBlue"></i></span>
  676. </template>
  677. </van-cell>
  678. <div v-for="(item,index) in detectResults" :key="index">
  679. <van-field input-align="right" label-width="auto" label="产品名称" placeholder="产品名称" v-model="item.goodsName" />
  680. <van-field input-align="right" label-width="auto" label="检测报告编号" placeholder="检测报告编号" v-model="item.reportNum" />
  681. <van-field input-align="right" label-width="auto" label="质量判定" placeholder="质量判定" v-model="item.qualityStatus">
  682. <template #input>
  683. <van-radio-group v-model="item.qualityStatus" direction="horizontal">
  684. <van-radio name="1">合格</van-radio>
  685. <van-radio name="2">不合格</van-radio>
  686. </van-radio-group>
  687. </template>
  688. </van-field>
  689. <van-cell title="检测结果附件"/>
  690. <van-uploader v-model="item.attachementList" :after-read="afterReadEvidence(index)" :before-delete="deleteFileEvidence(index)" :show-upload="caseProgress == 3 && ( evidenceForm.instanceId=='' || evidenceForm.instanceId==null || evidenceForm.instanceId==undefined )" :deletable="caseProgress == 3 && ( evidenceForm.instanceId=='' || evidenceForm.instanceId==null || evidenceForm.instanceId==undefined )" />
  691. <!-- :show-upload="false" :deletable="false"-->
  692. <van-empty v-if="item.attachementList == null && caseProgress == 3 && evidenceForm.instanceId!='' && evidenceForm.instanceId!=null && evidenceForm.instanceId!=undefined " description="暂无文件" />
  693. </div>
  694. <!-- <div style="text-align: center;">-->
  695. <!-- <img src="../../../../static/images/lawEnforcement/new/addDetect_btn.png" style="margin: 0 auto;" @click="addDetectResults">-->
  696. <!-- </div>-->
  697. <van-field input-align="right" label-width="auto" label="检测结果" placeholder="检测结果" v-model="evidenceForm.detectionResult"/>
  698. <van-field input-align="right" label-width="auto" label="申请复检单位" placeholder="申请复检单位" v-model="evidenceForm.reviewUnit"/>
  699. <van-field input-align="right" label-width="auto" label="复检时效" placeholder="复检时效" v-model="evidenceForm.reviewTime"/>
  700. <van-field input-align="right" label-width="auto" label="联系人" placeholder="联系人" v-model="evidenceForm.linkman"/>
  701. <van-field input-align="right" label-width="auto" label="联系电话" placeholder="联系电话" v-model="evidenceForm.linkPhone"/>
  702. </div>
  703. <div class="main_box">
  704. <van-cell>
  705. <template #title>
  706. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>
  707. <span class="custom-title">案件信息<i class="bgBlue"></i></span>
  708. </template>
  709. </van-cell>
  710. <van-field input-align="right" label-width="auto" label="案件调查过程" placeholder="案件调查过程" v-model="evidenceForm.investigationProcess"/>
  711. <van-field input-align="right" label-width="auto" label="涉嫌违法事实" placeholder="涉嫌违法事实" v-model="evidenceForm.allegedIllegal"/>
  712. <van-field input-align="right" label-width="auto" label="违反条例" placeholder="违反条例" v-model="evidenceForm.violationRegulations"/>
  713. <van-field input-align="right" label-width="auto" label="处罚依据" placeholder="处罚依据" v-model="evidenceForm.punishmentBase"/>
  714. <van-field input-align="right" label-width="auto" label="证据材料" placeholder="证据材料" v-model="evidenceForm.caseDocuments"/>
  715. <van-field input-align="right" label-width="auto" label="调查结论" placeholder="调查结论" v-model="evidenceForm.conclusion"/>
  716. <van-field input-align="right" label-width="auto" label="处罚决定" placeholder="处罚决定" v-model="evidenceForm.penaltyDecision"/>
  717. </div>
  718. <div class="main_box" style="margin-top: 10px;">
  719. <van-cell>
  720. <template #title>
  721. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  722. <span class="custom-title">案件文档<i class="bgBlue"></i></span>
  723. </template>
  724. </van-cell>
  725. <van-uploader v-model="evidenceForm.attachementList" :after-read="afterReadEvidenceForm" :before-delete="deleteFileEvidenceForm" :show-upload="caseProgress == 3 && ( evidenceForm.instanceId=='' || evidenceForm.instanceId==null || evidenceForm.instanceId==undefined )" :deletable="caseProgress == 3 && ( evidenceForm.instanceId=='' || evidenceForm.instanceId==null || evidenceForm.instanceId==undefined )" />
  726. <van-empty v-if="evidenceForm.attachement == null && caseProgress == 3 && evidenceForm.instanceId!='' && evidenceForm.instanceId!=null && evidenceForm.instanceId!=undefined" description="暂无文件" />
  727. </div>
  728. </van-form>
  729. <div class="submit_box" v-if="caseProgress == 3 && ( evidenceForm.instanceId=='' || evidenceForm.instanceId==null || evidenceForm.instanceId==undefined )">
  730. <p class="submitButton" @click="submitEvidenceForm">保存</p>
  731. <p class="submitButton" @click="submitDefineEvidenceForm">提交</p>
  732. </div>
  733. </van-tab>
  734. <template>
  735. <!-- &lt;!&ndash; 处理&ndash;&gt;-->
  736. <!-- <van-tab v-show="progressLength>=6" v-if="chuliShow" :disabled="4 <= caseActive ? false : true">-->
  737. <!-- <template #title>-->
  738. <!-- <div-->
  739. <!-- :class="{ finish: 5 <= caseActive , notStarted: 5 > caseActive , ongoing: 4 == caseActive }"-->
  740. <!-- >-->
  741. <!-- <p>处理</p>-->
  742. <!-- <p>-->
  743. <!-- <van-icon name="success" v-if="5 <= caseActive"/>-->
  744. <!-- <van-icon name="circle" v-if="caseActive == 4"/>-->
  745. <!-- </p>-->
  746. <!-- </div>-->
  747. <!-- </template>-->
  748. <!-- <div class="main_box">-->
  749. <!-- <van-cell>-->
  750. <!-- <template #title>-->
  751. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>-->
  752. <!-- <span class="custom-title">处理<i class="bgBlue"></i></span>-->
  753. <!-- </template>-->
  754. <!-- </van-cell>-->
  755. <!-- <van-cell title="案件名称" v-model="treatForm.caseName"/>-->
  756. <!-- <van-cell title="关联方案" v-model="treatForm.schemeId"/>-->
  757. <!-- </div>-->
  758. <!-- <div class="main_box" style="margin-top: 10px;">-->
  759. <!-- <van-cell>-->
  760. <!-- <template #title>-->
  761. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>-->
  762. <!-- <span class="custom-title">办理人员<i class="bgBlue"></i></span>-->
  763. <!-- </template>-->
  764. <!-- </van-cell>-->
  765. <!-- <div class="peopleList">-->
  766. <!-- <van-row>-->
  767. <!-- <van-col :span="4">序号</van-col>-->
  768. <!-- <van-col :span="10">执行人员</van-col>-->
  769. <!-- <van-col :span="10">执法证号</van-col>-->
  770. <!-- </van-row>-->
  771. <!-- <van-row v-for="(item,index) in tEnforceTreatHandlerList" :key="index">-->
  772. <!-- <van-col :span="4">{{index+1}}</van-col>-->
  773. <!-- <van-col :span="10">{{item.enforcerName}}</van-col>-->
  774. <!-- <van-col :span="10">{{item.enforcerNum}}</van-col>-->
  775. <!-- </van-row>-->
  776. <!-- </div>-->
  777. <!-- </div>-->
  778. <!-- <div class="main_box">-->
  779. <!-- <van-cell>-->
  780. <!-- <template #title>-->
  781. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>-->
  782. <!-- <span class="custom-title">听证<i class="bgBlue"></i></span>-->
  783. <!-- </template>-->
  784. <!-- </van-cell>-->
  785. <!-- <van-cell title="是否听证" v-model="treatForm.isHearing == 'Y' ? '是':'否'" />-->
  786. <!-- <div v-if="treatForm.isHearing=='Y'">-->
  787. <!-- <van-cell title="听证开始时间" v-model="treatForm.hearingStartTime" />-->
  788. <!-- <van-cell title="听证结束时间" v-model="treatForm.hearingEndTime" />-->
  789. <!-- <van-cell title="听证地点" v-model="treatForm.place"/>-->
  790. <!-- <van-cell title="申请人" v-model="treatForm.proposer"/>-->
  791. <!-- <van-cell title="法人代表(负责人)" v-model="treatForm.director" />-->
  792. <!-- <van-cell title="证件类型" v-model="treatForm.documentType" />-->
  793. <!-- <van-cell title="证件号码" v-model="treatForm.documentNumber"/>-->
  794. <!-- <van-cell title="联系方式" v-model="treatForm.phoneNumber"/>-->
  795. <!-- <van-cell title="通讯地址" v-model="treatForm.postalAddress"/>-->
  796. <!-- <van-cell title="委托代理人" v-model="treatForm.agent"/>-->
  797. <!-- <van-cell title="代理人证件类型" v-model="treatForm.agentDocumentType"/>-->
  798. <!-- <van-cell title="代理人证件号码" v-model="treatForm.agentDocumentNumber"/>-->
  799. <!-- <van-cell title="代理人联系方式" v-model="treatForm.agentPhoneNumber"/>-->
  800. <!-- <van-cell title="代理人通讯地址" v-model="treatForm.agentPostalAddress"/>-->
  801. <!-- <van-cell title="听证主持人" v-model="treatForm.hearingHost"/>-->
  802. <!-- <van-cell title="听证主持人执法证号" v-model="treatForm.hearingHostNum"/>-->
  803. <!-- <van-cell title="听证记录人" v-model="treatForm.hearingRecorder"/>-->
  804. <!-- <van-cell title="听证记录人执法证号" v-model="treatForm.hearingRecorderNum"/>-->
  805. <!-- <van-cell title="主持听证机关" v-model="treatForm.hearingAuthority"/>-->
  806. <!-- <van-cell title="听证记录" :label="treatForm.hearingRecord"/>-->
  807. <!-- <van-cell title="听证会报告事项" :label="treatForm.hearingReportMatters"/>-->
  808. <!-- </div>-->
  809. <!-- </div>-->
  810. <!-- <div class="main_box">-->
  811. <!-- <van-cell>-->
  812. <!-- <template #title>-->
  813. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>-->
  814. <!-- <span class="custom-title">案件处理意见<i class="bgBlue"></i></span>-->
  815. <!-- </template>-->
  816. <!-- </van-cell>-->
  817. <!-- <van-cell title="案件事实及依据" :label="treatForm.caseEvidence" />-->
  818. <!-- <van-cell title="裁量依据及理由" :label="treatForm.caseReason" />-->
  819. <!-- <van-cell title="陈述申辩或听证情况" :label="treatForm.caseSituation" />-->
  820. <!-- <van-cell title="处罚意见" :label="treatForm.caseOpinion"/>-->
  821. <!-- <van-cell title="处罚决定" :label="treatForm.caseDecision" />-->
  822. <!-- </div>-->
  823. <!-- <div class="main_box" style="margin-top: 10px;">-->
  824. <!-- <van-cell>-->
  825. <!-- <template #title>-->
  826. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>-->
  827. <!-- <span class="custom-title">案件文档<i class="bgBlue"></i></span>-->
  828. <!-- </template>-->
  829. <!-- </van-cell>-->
  830. <!-- <van-uploader v-if="treatForm.attachement != null" v-model="treatForm.attachementList" multiple :show-upload="false" :deletable="false" />-->
  831. <!-- <van-empty v-else description="暂无文件" />-->
  832. <!-- </div>-->
  833. <!-- <p class="splcTit">审批流程</p>-->
  834. <!-- <div class="main_box2">-->
  835. <!-- <van-row v-for="(item,index) in treatHistoryList" :key="index">-->
  836. <!-- <van-col :span="4">-->
  837. <!-- <p class="index">{{index+1}}</p>-->
  838. <!-- <div class="indexBorder" :class="{'indexCenter':index==0 ? false : true}">-->
  839. <!-- <p class="ssT" v-if="index>0"></p>-->
  840. <!-- <p class="yq"></p>-->
  841. <!-- <p class="ss" v-if="treatHistoryList.length != index+1"></p>-->
  842. <!-- </div>-->
  843. <!-- </van-col>-->
  844. <!-- <van-col :span="20">-->
  845. <!-- <van-cell :title="item.activityName" center :border="false">-->
  846. <!-- <template #default>-->
  847. <!-- <p style="color: #666666;">{{ item.assigneeName }}</p>-->
  848. <!-- </template>-->
  849. <!-- </van-cell>-->
  850. <!-- <van-cell center :border="false">-->
  851. <!-- <template #title>-->
  852. <!-- <p style="color: #999999;">{{ item.endTime }}</p>-->
  853. <!-- </template>-->
  854. <!-- <template #default>-->
  855. <!-- <p style="color: #999999;">{{ item.durationInMillis }}</p>-->
  856. <!-- </template>-->
  857. <!-- </van-cell>-->
  858. <!-- <p class="bq">审批意见:{{ item.comment }}</p>-->
  859. <!-- </van-col>-->
  860. <!-- </van-row>-->
  861. <!-- </div>-->
  862. <!-- <div class="main_box examine_box" v-if="caseActive == 4 && type == 'waiting'">-->
  863. <!-- <van-row type="flex" justify="space-between" align="center">-->
  864. <!-- <van-col span="5">审批<br/>意见</van-col>-->
  865. <!-- <van-col span="19">-->
  866. <!-- <van-radio-group v-model="pass" direction="horizontal" @change="radioChange">-->
  867. <!-- <van-radio name="true">同意</van-radio>-->
  868. <!-- <van-radio name="false">驳回</van-radio>-->
  869. <!-- </van-radio-group>-->
  870. <!-- <van-field rows="2" autosize v-model="comment" type="textarea" placeholder="审批意见"/>-->
  871. <!-- </van-col>-->
  872. <!-- </van-row>-->
  873. <!-- </div>-->
  874. <!-- <div style="margin: 16px 2%;" v-if="caseActive == 4 && type == 'waiting'">-->
  875. <!-- <van-row>-->
  876. <!-- <van-col span="24" align="center">-->
  877. <!-- <van-button type="info" native-type="submit" @click="submitTreat" class="submitButtonActive">提交</van-button>-->
  878. <!-- </van-col>-->
  879. <!-- </van-row>-->
  880. <!-- <div class="clear"></div>-->
  881. <!-- </div>-->
  882. <!-- </van-tab>-->
  883. <!-- &lt;!&ndash; 裁决&ndash;&gt;-->
  884. <!-- <van-tab v-show="progressLength>=7" v-if="caijueShow" :disabled="5 <= caseActive ? false : true">-->
  885. <!-- <template #title>-->
  886. <!-- <div-->
  887. <!-- :class="{ finish: 6 <= caseActive , notStarted: 6 > caseActive , ongoing: 5 == caseActive }"-->
  888. <!-- >-->
  889. <!-- <p>裁决</p>-->
  890. <!-- <p>-->
  891. <!-- <van-icon name="success" v-if="6 <= caseActive"/>-->
  892. <!-- <van-icon name="circle" v-if="caseActive == 5"/>-->
  893. <!-- </p>-->
  894. <!-- </div>-->
  895. <!-- </template>-->
  896. <!-- <div class="main_box">-->
  897. <!-- <van-cell>-->
  898. <!-- <template #title>-->
  899. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>-->
  900. <!-- <span class="custom-title">裁决<i class="bgBlue"></i></span>-->
  901. <!-- </template>-->
  902. <!-- </van-cell>-->
  903. <!-- <van-cell title="案件名称" v-model="decisionForm.caseName"/>-->
  904. <!-- <van-cell title="关联方案" v-model="decisionForm.schemeId"/>-->
  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_zxry.png" size="20"></van-icon>-->
  910. <!-- <span class="custom-title">送达回证人员<i class="bgBlue"></i></span>-->
  911. <!-- </template>-->
  912. <!-- </van-cell>-->
  913. <!-- <div class="peopleList">-->
  914. <!-- <van-row>-->
  915. <!-- <van-col :span="4">序号</van-col>-->
  916. <!-- <van-col :span="10">执行人员</van-col>-->
  917. <!-- <van-col :span="10">执法证号</van-col>-->
  918. <!-- </van-row>-->
  919. <!-- <van-row v-for="(item,index) in tEnforceDecisionHandlerList" :key="index">-->
  920. <!-- <van-col :span="4">{{index+1}}</van-col>-->
  921. <!-- <van-col :span="10">{{item.enforcerName}}</van-col>-->
  922. <!-- <van-col :span="10">{{item.enforcerNum}}</van-col>-->
  923. <!-- </van-row>-->
  924. <!-- </div>-->
  925. <!-- </div>-->
  926. <!-- <div class="main_box">-->
  927. <!-- <van-cell>-->
  928. <!-- <template #title>-->
  929. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>-->
  930. <!-- <span class="custom-title">送达文书<i class="bgBlue"></i></span>-->
  931. <!-- </template>-->
  932. <!-- </van-cell>-->
  933. <!-- <van-cell title="送达文书名称" v-model="decisionForm.deliveryName" />-->
  934. <!-- <van-cell title="送达文书编号" v-model="decisionForm.deliveryNum" />-->
  935. <!-- <van-cell title="受送达人姓名或名称" v-model="decisionForm.deliveryPersonName"/>-->
  936. <!-- <van-cell title="送达单位" v-model="decisionForm.deliveryUnit"/>-->
  937. <!-- <van-cell title="送达方式" v-model="decisionForm.deliveryWay" />-->
  938. <!-- <van-cell title="送达时间" v-model="decisionForm.deliveryTime" />-->
  939. <!-- <van-cell title="送达地点" v-model="decisionForm.deliveryAddress"/>-->
  940. <!-- </div>-->
  941. <!-- <div class="main_box">-->
  942. <!-- <van-cell>-->
  943. <!-- <template #title>-->
  944. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>-->
  945. <!-- <span class="custom-title">行政处罚<i class="bgBlue"></i></span>-->
  946. <!-- </template>-->
  947. <!-- </van-cell>-->
  948. <!-- <van-cell title="缴款时间" v-model="decisionForm.payTime" />-->
  949. <!-- <van-cell title="缴款地点" v-model="decisionForm.payAddress" />-->
  950. <!-- <van-cell title="上诉部门" v-model="decisionForm.appealDept"/>-->
  951. <!-- <van-cell title="行政部门" v-model="decisionForm.administrativeDept"/>-->
  952. <!-- <van-cell title="诉讼部门" v-model="decisionForm.lawsuitDept" />-->
  953. <!-- </div>-->
  954. <!-- <div class="main_box">-->
  955. <!-- <van-cell>-->
  956. <!-- <template #title>-->
  957. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>-->
  958. <!-- <span class="custom-title">案件信息<i class="bgBlue"></i></span>-->
  959. <!-- </template>-->
  960. <!-- </van-cell>-->
  961. <!-- <van-cell title="备案" label="行政处罚" />-->
  962. <!-- <van-cell title="案件当前状态" :label="decisionForm.surveyStatus" />-->
  963. <!-- </div>-->
  964. <!-- <div class="main_box" style="margin-top: 10px;">-->
  965. <!-- <van-cell>-->
  966. <!-- <template #title>-->
  967. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>-->
  968. <!-- <span class="custom-title">案件文档<i class="bgBlue"></i></span>-->
  969. <!-- </template>-->
  970. <!-- </van-cell>-->
  971. <!-- <van-uploader v-if="decisionForm.attachement != null" v-model="decisionForm.attachementList" multiple :show-upload="false" :deletable="false" />-->
  972. <!-- <van-empty v-else description="暂无文件" />-->
  973. <!-- </div>-->
  974. <!-- </van-tab>-->
  975. <!-- &lt;!&ndash; 执行&ndash;&gt;-->
  976. <!-- <van-tab v-show="progressLength>=8" v-if="zhixingShow" :disabled="6 <= caseActive ? false : true">-->
  977. <!-- <template #title>-->
  978. <!-- <div-->
  979. <!-- :class="{ finish: 7 <= caseActive , notStarted: 7 > caseActive , ongoing: 6 == caseActive }"-->
  980. <!-- >-->
  981. <!-- <p>执行</p>-->
  982. <!-- <p>-->
  983. <!-- <van-icon name="success" v-if="7 <= caseActive"/>-->
  984. <!-- <van-icon name="circle" v-if="caseActive == 6"/>-->
  985. <!-- </p>-->
  986. <!-- </div>-->
  987. <!-- </template>-->
  988. <!-- <div class="main_box">-->
  989. <!-- <van-cell>-->
  990. <!-- <template #title>-->
  991. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>-->
  992. <!-- <span class="custom-title">执行<i class="bgBlue"></i></span>-->
  993. <!-- </template>-->
  994. <!-- </van-cell>-->
  995. <!-- <van-cell title="案件名称" v-model="executeForm.caseName"/>-->
  996. <!-- <van-cell title="关联方案" v-model="executeForm.schemeId"/>-->
  997. <!-- </div>-->
  998. <!-- <div class="main_box" style="margin-top: 10px;">-->
  999. <!-- <van-cell>-->
  1000. <!-- <template #title>-->
  1001. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>-->
  1002. <!-- <span class="custom-title">办理人员<i class="bgBlue"></i></span>-->
  1003. <!-- </template>-->
  1004. <!-- </van-cell>-->
  1005. <!-- <div class="peopleList">-->
  1006. <!-- <van-row>-->
  1007. <!-- <van-col :span="4">序号</van-col>-->
  1008. <!-- <van-col :span="10">执行人员</van-col>-->
  1009. <!-- <van-col :span="10">执法证号</van-col>-->
  1010. <!-- </van-row>-->
  1011. <!-- <van-row v-for="(item,index) in tEnforceExecuteHandlerList" :key="index">-->
  1012. <!-- <van-col :span="4">{{index+1}}</van-col>-->
  1013. <!-- <van-col :span="10">{{item.enforcerName}}</van-col>-->
  1014. <!-- <van-col :span="10">{{item.enforcerNum}}</van-col>-->
  1015. <!-- </van-row>-->
  1016. <!-- </div>-->
  1017. <!-- </div>-->
  1018. <!-- <div class="main_box">-->
  1019. <!-- <van-cell>-->
  1020. <!-- <template #title>-->
  1021. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>-->
  1022. <!-- <span class="custom-title">处罚催告<i class="bgBlue"></i></span>-->
  1023. <!-- </template>-->
  1024. <!-- </van-cell>-->
  1025. <!-- <van-cell title="滞纳罚款日期" v-model="executeForm.fineTime" />-->
  1026. <!-- <van-cell title="加处罚款金额(元)" v-model="executeForm.fineMoney" />-->
  1027. <!-- </div>-->
  1028. <!-- <div class="main_box" style="margin-top: 10px;">-->
  1029. <!-- <van-cell>-->
  1030. <!-- <template #title>-->
  1031. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>-->
  1032. <!-- <span class="custom-title">案件文档<i class="bgBlue"></i></span>-->
  1033. <!-- </template>-->
  1034. <!-- </van-cell>-->
  1035. <!-- <van-uploader v-if="executeForm.attachement != null" v-model="executeForm.attachementList" multiple :show-upload="false" :deletable="false" />-->
  1036. <!-- <van-empty v-else description="暂无文件" />-->
  1037. <!-- </div>-->
  1038. <!-- </van-tab>-->
  1039. <!-- &lt;!&ndash; 备案&ndash;&gt;-->
  1040. <!-- <van-tab v-if="caseActive == 7" :disabled="7 <= caseActive ? false : true">-->
  1041. <!-- <template #title>-->
  1042. <!-- <div-->
  1043. <!-- :class="{ finish: 8 <= caseActive , notStarted: 8 > caseActive , ongoing: 7 == caseActive }"-->
  1044. <!-- >-->
  1045. <!-- <p>备案</p>-->
  1046. <!-- <p>-->
  1047. <!-- <van-icon name="success" v-if="8 <= caseActive"/>-->
  1048. <!-- <van-icon name="circle" v-if="caseActive == 7"/>-->
  1049. <!-- </p>-->
  1050. <!-- </div>-->
  1051. <!-- </template>-->
  1052. <!-- <div class="main_box">-->
  1053. <!-- <van-cell>-->
  1054. <!-- <template #title>-->
  1055. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>-->
  1056. <!-- <span class="custom-title">执行<i class="bgBlue"></i></span>-->
  1057. <!-- </template>-->
  1058. <!-- </van-cell>-->
  1059. <!-- <van-cell title="案件名称" v-model="onrecordForm.caseName"/>-->
  1060. <!-- <van-cell title="关联方案" v-model="onrecordForm.schemeId"/>-->
  1061. <!-- </div>-->
  1062. <!-- <div class="main_box">-->
  1063. <!-- <van-cell>-->
  1064. <!-- <template #title>-->
  1065. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_xwxx.png" size="20"></van-icon>-->
  1066. <!-- <span class="custom-title">案件信息<i class="bgBlue"></i></span>-->
  1067. <!-- </template>-->
  1068. <!-- </van-cell>-->
  1069. <!-- <div v-if="onrecordForm.recordType=='1'">-->
  1070. <!-- <van-cell title="备案" value="交办执法" />-->
  1071. <!-- <van-cell title="交办原因" :label="onrecordForm.assignReason" />-->
  1072. <!-- <van-divider>交办单位</van-divider>-->
  1073. <!-- <van-cell title="交办单位" v-model="onrecordForm.assignDept" />-->
  1074. <!-- <van-cell title="辖区名称" v-model="onrecordForm.regionName" />-->
  1075. <!-- </div>-->
  1076. <!-- <div v-if="onrecordForm.recordType=='2'">-->
  1077. <!-- <van-cell title="备案" value="无违法行为" />-->
  1078. <!-- <van-cell title="案件结果" v-model="onrecordForm.surveyResult" />-->
  1079. <!-- </div>-->
  1080. <!-- <div v-if="onrecordForm.recordType=='3'">-->
  1081. <!-- <van-cell title="备案" value="刑事追责" />-->
  1082. <!-- <van-cell title="案件状态" v-model="onrecordForm.caseStatus" />-->
  1083. <!-- <van-divider>移送信息</van-divider>-->
  1084. <!-- <van-cell title="移送公安局" v-model="onrecordForm.transferPolice" />-->
  1085. <!-- <van-cell title="抄送" v-model="onrecordForm.transferCopy" />-->
  1086. <!-- <van-cell title="联系人" v-model="onrecordForm.contacts" />-->
  1087. <!-- <van-cell title="联系电话" v-model="onrecordForm.phone" />-->
  1088. <!-- </div>-->
  1089. <!-- <div v-if="onrecordForm.recordType=='4'">-->
  1090. <!-- <van-divider>办理人员</van-divider>-->
  1091. <!-- <div class="peopleList">-->
  1092. <!-- <van-row>-->
  1093. <!-- <van-col :span="4">序号</van-col>-->
  1094. <!-- <van-col :span="10">执行人员</van-col>-->
  1095. <!-- <van-col :span="10">执法证号</van-col>-->
  1096. <!-- </van-row>-->
  1097. <!-- <van-row v-for="(item,index) in tEnforceOnrecordHandlerList" :key="index">-->
  1098. <!-- <van-col :span="4">{{index+1}}</van-col>-->
  1099. <!-- <van-col :span="10">{{item.enforcerName}}</van-col>-->
  1100. <!-- <van-col :span="10">{{item.enforcerNum}}</van-col>-->
  1101. <!-- </van-row>-->
  1102. <!-- </div>-->
  1103. <!-- <van-divider>处罚整改</van-divider>-->
  1104. <!-- <van-cell title="处罚时间" v-model="onrecordForm.punishStartTime" />-->
  1105. <!-- <van-cell title="责令整改期限" v-model="onrecordForm.rectifyTime" />-->
  1106. <!-- <van-cell title="违法事实" v-model="onrecordForm.breakFact" />-->
  1107. <!-- <van-cell title="处罚依据" v-model="onrecordForm.punishmentBase" />-->
  1108. <!-- <van-cell title="违反条例" v-model="onrecordForm.punishContent" />-->
  1109. <!-- <van-cell title="告知事项">-->
  1110. <!-- <template #label>-->
  1111. <!-- <p>1、当事人应当对违法行为立即或者在{{onrecordForm.correctDays}}日内予以纠正;</p>-->
  1112. <!-- <p>2、当事人必须在收到处罚决定书之日起15日内持本决定书到 {{onrecordForm.punishAddress}} 缴纳罚款。逾期不缴纳的,每日按罚款数额的3%加处罚款;</p>-->
  1113. <!-- <p>3、对本处罚决定不服的,可以在收到本处罚决定书之日起60日内向 {{onrecordForm.peopleGov}} 人民政府或者-->
  1114. <!-- {{onrecordForm.reviewGov}} 申请行政复议;或者六个月内向-->
  1115. <!-- {{onrecordForm.peopleCourt}} 人民法院提起行政诉讼。-->
  1116. <!-- </p>-->
  1117. <!-- </template>-->
  1118. <!-- </van-cell>-->
  1119. <!-- <van-cell title="是否当场执行" v-model="onrecordForm.spotExecute" />-->
  1120. <!-- <van-cell title="其他执行方式" v-model="onrecordForm.executModes" />-->
  1121. <!-- <van-cell title="拒不改正办法" v-model="onrecordForm.refusalCorrect" />-->
  1122. <!-- <van-cell title="改正违法行为" v-model="onrecordForm.unillegal" />-->
  1123. <!-- <van-cell title="联系人" v-model="onrecordForm.contacts" />-->
  1124. <!-- <van-cell title="联系电话" v-model="onrecordForm.phone" />-->
  1125. <!-- <van-divider>案件信息</van-divider>-->
  1126. <!-- <van-cell title="备案" value="简易程序" />-->
  1127. <!-- <van-cell title="案件结果" v-model="onrecordForm.surveyResult" />-->
  1128. <!-- </div>-->
  1129. <!-- <div v-if="onrecordForm.recordType=='5'">-->
  1130. <!-- <van-cell title="备案" value="违法不予立案" />-->
  1131. <!-- <van-cell title="案件结果" v-model="onrecordForm.surveyResult" />-->
  1132. <!-- </div>-->
  1133. <!-- <div v-if="onrecordForm.recordType=='6'">-->
  1134. <!-- <van-cell title="备案" value="撤销立案" />-->
  1135. <!-- <van-cell title="案件结果" v-model="onrecordForm.surveyResult" />-->
  1136. <!-- </div>-->
  1137. <!-- <div v-if="onrecordForm.recordType=='7'">-->
  1138. <!-- <van-cell title="备案" value="不予行政处罚" />-->
  1139. <!-- <van-cell title="案件结果" v-model="onrecordForm.surveyResult" />-->
  1140. <!-- </div>-->
  1141. <!-- </div>-->
  1142. <!-- <div class="main_box" style="margin-top: 10px;">-->
  1143. <!-- <van-cell>-->
  1144. <!-- <template #title>-->
  1145. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>-->
  1146. <!-- <span class="custom-title">案件文档<i class="bgBlue"></i></span>-->
  1147. <!-- </template>-->
  1148. <!-- </van-cell>-->
  1149. <!-- <van-uploader v-if="executeForm.attachement != null" v-model="executeForm.attachementList" multiple :show-upload="false" :deletable="false" />-->
  1150. <!-- <van-empty v-else description="暂无文件" />-->
  1151. <!-- </div>-->
  1152. <!-- </van-tab>-->
  1153. <!-- &lt;!&ndash; 结案&ndash;&gt;-->
  1154. <!-- <van-tab v-if="caseActive == 8" :disabled="8 <= caseActive ? false : true">-->
  1155. <!-- <template #title>-->
  1156. <!-- <div-->
  1157. <!-- :class="{ finish: 9 <= caseActive , notStarted: 9 > caseActive , ongoing: 8 == caseActive }"-->
  1158. <!-- >-->
  1159. <!-- <p>结案</p>-->
  1160. <!-- <p>-->
  1161. <!-- <van-icon name="success" v-if="9 <= caseActive"/>-->
  1162. <!-- <van-icon name="circle" v-if="caseActive == 8"/>-->
  1163. <!-- </p>-->
  1164. <!-- </div>-->
  1165. <!-- </template>-->
  1166. <!-- <div class="main_box">-->
  1167. <!-- <van-cell>-->
  1168. <!-- <template #title>-->
  1169. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>-->
  1170. <!-- <span class="custom-title">结案<i class="bgBlue"></i></span>-->
  1171. <!-- </template>-->
  1172. <!-- </van-cell>-->
  1173. <!-- <van-cell title="案件名称" :value="endingForm.caseName"/>-->
  1174. <!-- <van-cell title="关联方案" :value="endingForm.schemeId"/>-->
  1175. <!-- </div>-->
  1176. <!-- <div class="main_box">-->
  1177. <!-- <van-cell>-->
  1178. <!-- <template #title>-->
  1179. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_cfky.png" size="20"></van-icon>-->
  1180. <!-- <span class="custom-title">罚没物品处理<i class="bgBlue"></i></span>-->
  1181. <!-- </template>-->
  1182. <!-- </van-cell>-->
  1183. <!-- <van-cell title="执行人" :value="endingForm.executeName"/>-->
  1184. <!-- <van-cell title="记录人" :value="endingForm.recordName"/>-->
  1185. <!-- <van-cell title="处理日期" :value="endingForm.dealDate"/>-->
  1186. <!-- <van-cell title="处理地点" :value="endingForm.dealAddress"/>-->
  1187. <!-- <van-cell title="处理物品" :value="endingForm.dealGoods"/>-->
  1188. <!-- <van-cell title="处理来源" :value="endingForm.goodsSource"/>-->
  1189. <!-- <van-cell title="处理情况" :label="endingForm.dealCondition"/>-->
  1190. <!-- </div>-->
  1191. <!-- <div class="main_box">-->
  1192. <!-- <van-cell>-->
  1193. <!-- <template #title>-->
  1194. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>-->
  1195. <!-- <span class="custom-title">案件信息<i class="bgBlue"></i></span>-->
  1196. <!-- </template>-->
  1197. <!-- </van-cell>-->
  1198. <!-- <van-cell title="结案" value="已执行"/>-->
  1199. <!-- <van-cell title="案件结果" :label="endingForm.surveyResult"/>-->
  1200. <!-- <van-cell title="罚款缴纳类型" :value="endingForm.agingStatus"/>-->
  1201. <!-- <div v-if="endingForm.agingStatus=='1'">-->
  1202. <!-- <van-cell title="申请时间" :value="endingForm.applyTime"/>-->
  1203. <!-- <van-cell title="总金额" :value="endingForm.totalMoney"/>-->
  1204. <!-- <van-cell title="分期缴纳期数" :value="endingForm.agingNum"/>-->
  1205. <!-- <van-cell title="缴纳时间" :value="endingForm.payTime"/>-->
  1206. <!-- <van-cell title="每期缴纳金额" :value="endingForm.payMoney"/>-->
  1207. <!-- </div>-->
  1208. <!-- <div v-if="endingForm.agingStatus=='2'">-->
  1209. <!-- <van-cell title="申请时间" :value="endingForm.applyTime"/>-->
  1210. <!-- <van-cell title="缴纳期限时间" :value="endingForm.payDeadline"/>-->
  1211. <!-- </div>-->
  1212. <!-- </div>-->
  1213. <!-- <div class="main_box" style="margin-top: 10px;">-->
  1214. <!-- <van-cell>-->
  1215. <!-- <template #title>-->
  1216. <!-- <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>-->
  1217. <!-- <span class="custom-title">案件文档<i class="bgBlue"></i></span>-->
  1218. <!-- </template>-->
  1219. <!-- </van-cell>-->
  1220. <!-- <van-uploader v-if="endingForm.attachement != null" v-model="endingForm.attachementList" multiple :show-upload="false" :deletable="false" />-->
  1221. <!-- <van-empty v-else description="暂无文件" />-->
  1222. <!-- </div>-->
  1223. <!-- </van-tab>-->
  1224. </template>
  1225. </van-tabs>
  1226. <van-popup v-model="showAskStartTime" position="bottom">
  1227. <van-datetime-picker
  1228. v-model="askStartTime"
  1229. type="datetime"
  1230. title="选择年月日"
  1231. @confirm="onConfirmAskStartTime"
  1232. @cancel="showAskStartTime = false"
  1233. />
  1234. </van-popup>
  1235. <van-popup v-model="showAskEndTime" position="bottom">
  1236. <van-datetime-picker
  1237. v-model="askEndTime"
  1238. type="datetime"
  1239. title="选择年月日"
  1240. @confirm="onConfirmAskEndTime"
  1241. @cancel="showAskEndTime = false"
  1242. />
  1243. </van-popup>
  1244. <van-popup v-model="showHandleDate" position="bottom">
  1245. <van-datetime-picker
  1246. v-model="handleDate"
  1247. type="date"
  1248. title="选择年月日"
  1249. @confirm="onConfirmHandleDate"
  1250. @cancel="showHandleDate = false"
  1251. />
  1252. </van-popup>
  1253. <van-popup v-model="showShouanDate" position="bottom">
  1254. <van-datetime-picker
  1255. v-model="shouanDate"
  1256. type="date"
  1257. title="选择年月日"
  1258. @confirm="onConfirmShouanDate"
  1259. @cancel="showShouanDate = false"
  1260. />
  1261. </van-popup>
  1262. <van-popup v-model="showSealDate" position="bottom">
  1263. <van-datetime-picker
  1264. v-model="sealDate"
  1265. type="date"
  1266. title="选择年月日"
  1267. @confirm="onConfirmSealDate"
  1268. @cancel="showSealDate = false"
  1269. />
  1270. </van-popup>
  1271. <van-popup v-model="showSealTimeliness" position="bottom">
  1272. <van-datetime-picker
  1273. v-model="sealTimeliness"
  1274. type="date"
  1275. title="选择年月日"
  1276. @confirm="onConfirmSealTimeliness"
  1277. @cancel="showSealTimeliness = false"
  1278. />
  1279. </van-popup>
  1280. <van-popup v-model="showSamplingTime" position="bottom">
  1281. <van-datetime-picker
  1282. v-model="samplingTime"
  1283. type="date"
  1284. title="选择年月日"
  1285. @confirm="onConfirmSamplingTime"
  1286. @cancel="showSamplingTime = false"
  1287. />
  1288. </van-popup>
  1289. <van-popup v-model="showProductTimeNum" position="bottom" get-container="#app">
  1290. <van-datetime-picker
  1291. v-model="productTimeNum"
  1292. type="date"
  1293. title="选择年月日"
  1294. @confirm="onConfirmProductTimeNum"
  1295. @cancel="showProductTimeNum = false"
  1296. />
  1297. </van-popup>
  1298. <van-popup v-model="showTimeliness" position="bottom" get-container="#app">
  1299. <van-datetime-picker
  1300. v-model="timeliness"
  1301. type="date"
  1302. title="选择年月日"
  1303. @confirm="onConfirmTimeliness"
  1304. @cancel="showTimeliness = false"
  1305. />
  1306. </van-popup>
  1307. <van-popup v-model="showConfirmTimeliness" position="bottom" get-container="#app">
  1308. <van-datetime-picker
  1309. v-model="confirmTimeliness"
  1310. type="date"
  1311. title="选择年月日"
  1312. @confirm="onConfirmConfirmTimeliness"
  1313. @cancel="showConfirmTimeliness = false"
  1314. />
  1315. </van-popup>
  1316. <van-popup v-model="showSurveyStartTime" position="bottom" get-container="#app">
  1317. <van-datetime-picker
  1318. v-model="confirmSurveyStartTime"
  1319. type="datetime"
  1320. title="选择年月日"
  1321. @confirm="onConfirmSurveyStartTime"
  1322. @cancel="showSurveyStartTime = false"
  1323. />
  1324. </van-popup>
  1325. <van-popup v-model="showSurveyEndTime" position="bottom" get-container="#app">
  1326. <van-datetime-picker
  1327. v-model="confirmSurveyEndTime"
  1328. type="datetime"
  1329. title="选择年月日"
  1330. @confirm="onConfirmSurveyEndTime"
  1331. @cancel="showSurveyEndTime = false"
  1332. />
  1333. </van-popup>
  1334. <van-popup v-model="showSurveyResult" position="bottom">
  1335. <van-picker
  1336. show-toolbar
  1337. value-key="dictLabel"
  1338. :columns="surveyForm.isApprove == 'Y' ? surveyResultOptionsY:surveyResultOptionsN"
  1339. @confirm="onConfirmSurveyResult"
  1340. @cancel="showSurveyResult = false"
  1341. />
  1342. </van-popup>
  1343. </div>
  1344. </template>
  1345. <script>
  1346. import {
  1347. getCase ,
  1348. schemeOptionList ,
  1349. treeselect ,
  1350. getSurveyByCaseId ,
  1351. getputRecordByCaseId ,
  1352. getSamplingByCaseId ,
  1353. getEvidenceByCaseId ,
  1354. getReportByGoodsId ,
  1355. getEnforcerList ,
  1356. getTreatByCaseId ,
  1357. getDecisionByCaseId ,
  1358. getExecuteByCaseId ,
  1359. getEndingByCaseId ,
  1360. progressList ,
  1361. getOnrecordByCaseId,
  1362. getDeptName,
  1363. addSurvey,
  1364. updateSurvey,
  1365. addProgress,
  1366. updateCase,
  1367. addOnrecord,
  1368. commonUpload,
  1369. updatePutrecord,
  1370. updateSampling,
  1371. addSampling,
  1372. addPutrecord,
  1373. updateEvidence,
  1374. addEvidence,
  1375. caseHandlerList,
  1376. enforceLockinCount,
  1377. getCaseNum
  1378. } from "@/api/lawEnforcement/index";
  1379. import law from "@/components/common/law_footer";
  1380. import request from "@/utils/request";
  1381. import Cookies from "js-cookie";
  1382. export default {
  1383. name: "index",
  1384. components: {
  1385. law
  1386. },
  1387. data() {
  1388. return {
  1389. showBankType:false,
  1390. showPayeeType:false,
  1391. showPicker:false,
  1392. showAskStartTime:false,
  1393. showAskEndTime:false,
  1394. showHandleDate:false,
  1395. showShouanDate:false,
  1396. showSurveyResult:false,
  1397. showSealDate:false,
  1398. showSealTimeliness:false,
  1399. showSamplingTime:false,
  1400. showTimeliness:false,
  1401. showProductTimeNum:false,
  1402. showConfirmTimeliness:false,
  1403. showSurveyStartTime:false,
  1404. showSurveyEndTime:false,
  1405. form:{},
  1406. caseProgress:0,
  1407. caseActive:0,
  1408. goodsIndex: 0,
  1409. bankType:'',
  1410. payeeType:'',
  1411. value:'',
  1412. type:'',
  1413. surveyResult:'',
  1414. progressLength:0,
  1415. zhenchaShow:true,
  1416. lianShow:true,
  1417. quzhengShow:true,
  1418. chuliShow:true,
  1419. caijueShow:true,
  1420. zhixingShow:true,
  1421. pass: "true",
  1422. comment: "同意",
  1423. bankTypeOptions:[],
  1424. payeeTypeOptions:[],
  1425. attachementOption:[],
  1426. savePlaceOptions:[],
  1427. qualityStatusOptions:[],
  1428. samplingSceneOptions:[],
  1429. conclusionOptions:[],
  1430. surveyResultOptions:[],
  1431. surveyResultOptionsY:[],
  1432. surveyResultOptionsN:[],
  1433. askStartTime:new Date(),
  1434. askEndTime:new Date(),
  1435. handleDate:new Date(),
  1436. shouanDate:new Date(),
  1437. sealDate:new Date(),
  1438. sealTimeliness:new Date(),
  1439. samplingTime:new Date(),
  1440. timeliness:new Date(),
  1441. productTimeNum:new Date(),
  1442. confirmTimeliness:new Date(),
  1443. confirmSurveyStartTime:new Date(),
  1444. confirmSurveyEndTime:new Date(),
  1445. fileList: [
  1446. { url: 'https://img01.yzcdn.cn/vant/leaf.jpg' },
  1447. // Uploader 根据文件后缀来判断是否为图片文件
  1448. // 如果图片 URL 中不包含类型信息,可以添加 isImage 标记来声明
  1449. { url: 'https://cloud-image', isImage: true },
  1450. ],
  1451. // 勘察表单参数
  1452. surveyForm: {
  1453. id: null,
  1454. caseId: null,
  1455. surveyStartTime: null,
  1456. surveyEndTime: null,
  1457. dangshiren: null,
  1458. recorder: null,
  1459. askRecorder: null,
  1460. surveyAddr: null,
  1461. surveyDescription: null,
  1462. isSpotCheck: "N",
  1463. handleDate: this.format(new Date(),'yyyy-MM-dd'),
  1464. reason: null,
  1465. shouanDate: null,
  1466. isApprove: "Y",
  1467. surveyResult: "4",
  1468. askStartTime: this.format(new Date(),'yyyy-MM-dd'),
  1469. askEndTime: this.format(new Date(),'yyyy-MM-dd'),
  1470. askAddr: null,
  1471. recorder: null,
  1472. askedName: null,
  1473. askedPhone: null,
  1474. handleDate: null,
  1475. idCard: null,
  1476. gender: "1",
  1477. workCompany: null,
  1478. workPosition: null,
  1479. address: null,
  1480. question: null,
  1481. answer: null,
  1482. isClear: "Y",
  1483. isAvoid: "N",
  1484. attachement: null,
  1485. applyUserId: null,
  1486. applyUserName: null,
  1487. applyTime: null,
  1488. instanceId: null,
  1489. processKey: null,
  1490. createBy: null,
  1491. createTime: null,
  1492. updateBy: null,
  1493. updateTime: null,
  1494. caseName: "",
  1495. schemeId: "",
  1496. },
  1497. // 立案表单参数
  1498. putRecordForm: {
  1499. id: null,
  1500. caseId: null,
  1501. illegalAct: null,
  1502. punishContent: null,
  1503. sealDate: null,
  1504. sealDays: null,
  1505. sealTimeliness: null,
  1506. savePlace: "1",
  1507. savePlaceAddress: null,
  1508. sceneCondition: null,
  1509. appealUnit: null,
  1510. progressCase: null,
  1511. attachement: null,
  1512. createBy: null,
  1513. createTime: null,
  1514. updateBy: null,
  1515. updateTime: null,
  1516. caseName: "",
  1517. schemeId: "",
  1518. },
  1519. //勘察表单参数
  1520. samplingForm:{
  1521. id: null,
  1522. caseId: null,
  1523. samplingType: '2', // 此为立案页面,type默认为2立案抽样
  1524. samplingScene: '1',
  1525. samplingTime: null,
  1526. samplingPlace: null,
  1527. linkman: null,
  1528. linkPhone: null,
  1529. createBy: null,
  1530. createTime: null,
  1531. updateBy: null,
  1532. updateTime: null
  1533. },
  1534. // 取证表单参数
  1535. evidenceForm: {
  1536. id: null,
  1537. caseId: null,
  1538. detectionResult: null,
  1539. reviewUnit: null,
  1540. reviewTime: null,
  1541. linkman: null,
  1542. linkPhone: null,
  1543. investigationProcess: null,
  1544. allegedIllegal: null,
  1545. violationRegulations: null,
  1546. punishmentBase: null,
  1547. caseDocuments: null,
  1548. conclusion: "1",
  1549. penaltyDecision: null,
  1550. attachement: null,
  1551. applyUserId: null,
  1552. applyUserName: null,
  1553. applyTime: null,
  1554. instanceId: null,
  1555. processKey: null,
  1556. createBy: null,
  1557. createTime: null,
  1558. updateBy: null,
  1559. updateTime: null
  1560. },
  1561. // 检测报告表单参数
  1562. reportForm: {
  1563. id: null,
  1564. goodsId: null,
  1565. reportNum: null,
  1566. qualityStatus: null,
  1567. attachement: null,
  1568. createBy: null,
  1569. createTime: null,
  1570. updateBy: null,
  1571. updateTime: null
  1572. },
  1573. // 处理表单参数
  1574. treatForm: {
  1575. id: null,
  1576. caseId: null,
  1577. isHearing: "Y",
  1578. hearingStartTime: null,
  1579. hearingEndTime: null,
  1580. place: null,
  1581. proposer: null,
  1582. director: null,
  1583. documentType: null,
  1584. documentNumber: null,
  1585. phoneNumber: null,
  1586. postalAddress: null,
  1587. agent: null,
  1588. agentDocumentType: null,
  1589. agentDocumentNumber: null,
  1590. agentPhoneNumber: null,
  1591. agentPostalAddress: null,
  1592. hearingHost: null,
  1593. hearingHostNum: null,
  1594. hearingRecorder: null,
  1595. hearingRecorderNum: null,
  1596. hearingAuthority: null,
  1597. hearingRecord: null,
  1598. hearingReportMatters: null,
  1599. caseEvidence: null,
  1600. caseReason: null,
  1601. caseSituation: null,
  1602. caseOpinion: "1",
  1603. caseDecision: null,
  1604. attachement: null,
  1605. applyUserId: null,
  1606. applyUserName: null,
  1607. applyTime: null,
  1608. instanceId: null,
  1609. processKey: null,
  1610. createBy: null,
  1611. createTime: null,
  1612. updateBy: null,
  1613. updateTime: null,
  1614. caseName: "",
  1615. schemeId: "",
  1616. },
  1617. // 裁决表单参数
  1618. decisionForm: {
  1619. id: null,
  1620. caseId: null,
  1621. deliveryName: null,
  1622. deliveryNum: null,
  1623. deliveryPersonName: null,
  1624. deliveryUnit: null,
  1625. deliveryWay: null,
  1626. deliveryTime: null,
  1627. deliveryAddress: null,
  1628. payTime: null,
  1629. payAddress: null,
  1630. appealDept: null,
  1631. administrativeDept: null,
  1632. lawsuitDept: null,
  1633. surveyStatus: null,
  1634. attachement: null,
  1635. createBy: null,
  1636. createTime: null,
  1637. updateBy: null,
  1638. updateTime: null,
  1639. caseName: "",
  1640. schemeId: "",
  1641. },
  1642. // 执行表单参数
  1643. executeForm: {
  1644. id: null,
  1645. caseId: null,
  1646. fineTime: null,
  1647. fineMoney: null,
  1648. attachement: null,
  1649. createBy: null,
  1650. createTime: null,
  1651. updateBy: null,
  1652. updateTime: null,
  1653. caseName: "",
  1654. schemeId: "",
  1655. },
  1656. // 结案表单参数
  1657. endingForm: {
  1658. id: null,
  1659. caseId: null,
  1660. executeName: null,
  1661. recordName: null,
  1662. dealDate: null,
  1663. dealAddress: null,
  1664. dealGoods: null,
  1665. goodsSource: null,
  1666. dealCondition: null,
  1667. surveyResult: null,
  1668. agingStatus: "3",
  1669. applyTime: null,
  1670. totalMoney: null,
  1671. agingNum: null,
  1672. payTime: null,
  1673. payMoney: null,
  1674. payDeadline: null,
  1675. attachement: null,
  1676. createBy: null,
  1677. createTime: null,
  1678. updateBy: null,
  1679. updateTime: null,
  1680. caseName: "",
  1681. schemeId: "",
  1682. },
  1683. // 备案表单参数
  1684. onrecordForm: {
  1685. id: null,
  1686. caseId: null,
  1687. surveyResult: null,
  1688. recordType: null,
  1689. punishStartTime: null,
  1690. rectifyTime: null,
  1691. breakFact: null,
  1692. punishmentBase: null,
  1693. punishContent: null,
  1694. correctDays: null,
  1695. punishAddress: null,
  1696. peopleGov: null,
  1697. reviewGov: null,
  1698. peopleCourt: null,
  1699. spotExecute: "0",
  1700. executModes: null,
  1701. refusalCorrect: null,
  1702. unillegal: null,
  1703. assignReason: null,
  1704. assignDept: null,
  1705. regionName: null,
  1706. caseStatus: "0",
  1707. transferPolice: null,
  1708. transferCopy: null,
  1709. contacts: null,
  1710. phone: null,
  1711. attachement: null,
  1712. createBy: null,
  1713. createTime: null,
  1714. updateBy: null,
  1715. updateTime: null
  1716. },
  1717. // 办理人员列表
  1718. tEnforceCaseHandlerList: [],
  1719. tEnforcePutRecordHandlerList: [],
  1720. tEnforceSamplingGoodsList: [],
  1721. tEnforceDetainHandlerList: [],
  1722. tEnforceEvidenceHandlerList: [],
  1723. tEnforceTreatHandlerList: [],
  1724. tEnforceDecisionHandlerList: [],
  1725. tEnforceExecuteHandlerList: [],
  1726. tEnforceOnrecordHandlerList: [],
  1727. getDecisionByCaseId: [],
  1728. historyList: [],
  1729. evidencHistoryList: [],
  1730. treatHistoryList: [],
  1731. // 检测结果数据
  1732. detectResults: [],
  1733. decisionEnforcers: [],
  1734. executeEnforcers: [],
  1735. endingEnforcers: [],
  1736. treatEnforcers: [],
  1737. surveyOption: [],
  1738. samplingOption: [],
  1739. putRecordOption: [],
  1740. documentTypeOptions: [],
  1741. agingStatusOptions: [],
  1742. // 案件执法进度 1:登记 2:勘察 3:立案 4:取证 5:处理 6:裁决 7:执行 8:备案 9:结案字典
  1743. caseProgressOptions: [],
  1744. successActive:0, // 当前节点的前一个已完成节点
  1745. active: 1, // 当前节点
  1746. activeNames: ['1'],
  1747. activeNames1: ['1'],
  1748. activeNames2: ['1'],
  1749. requestMapping: '/enforce/survey',
  1750. openPic:[],
  1751. openPic2:[],
  1752. attachementOption:[]
  1753. };
  1754. },
  1755. created() {
  1756. this.caseProgress = parseInt(this.$route.query.caseProgress)-1;
  1757. this.caseActive = parseInt(this.$route.query.caseProgress)-1 ;
  1758. // if (parseInt(this.$route.query.caseProgress)>7){
  1759. // this.caseProgress = 7;
  1760. // this.caseActive = 7 ;
  1761. // }else{
  1762. // this.caseProgress = parseInt(this.$route.query.caseProgress)-1;
  1763. // this.caseActive = parseInt(this.$route.query.caseProgress)-1 ;
  1764. // }
  1765. this.type = this.$route.query.type;
  1766. console.log(this.caseProgress)
  1767. this.getDicts("case_source").then(response => {
  1768. this.caseSourceOptions = response.data;
  1769. });
  1770. this.getDicts("enforce_body_type").then(response => {
  1771. this.typeOptions = response.data;
  1772. });
  1773. this.getDicts("sex").then(response => {
  1774. this.sexOptions = response.data;
  1775. });
  1776. this.getDicts("nationality").then(response => {
  1777. this.nationOptions = response.data;
  1778. });
  1779. this.getDicts("case_status").then(response => {
  1780. this.caseStatusOptions = response.data;
  1781. });
  1782. // this.getDicts("case_node").then(response => {
  1783. // this.caseProgressOptions = response.data;
  1784. // });
  1785. this.getDicts("enforce_category").then(response => {
  1786. this.enforceCategoryOptions = response.data;
  1787. });
  1788. this.getDicts("approve_type").then(response => {
  1789. this.surveyResultOptions = response.data;
  1790. });
  1791. this.getDicts("goods_location").then(response => {
  1792. this.savePlaceOptions = response.data;
  1793. });
  1794. this.getDicts("sampling_person_type").then(response => {
  1795. this.samplingSceneOptions = response.data;
  1796. });
  1797. this.getDicts("quality_type").then(response => {
  1798. this.qualityStatusOptions = response.data;
  1799. });
  1800. this.getDicts("conclusion_type").then(response => {
  1801. this.conclusionOptions = response.data;
  1802. });
  1803. this.getDicts("cert_type").then(response => {
  1804. this.documentTypeOptions = response.data;
  1805. });
  1806. this.getDicts("aging_status").then(response => {
  1807. this.agingStatusOptions = response.data;
  1808. });
  1809. this.getDicts("team_category").then(response => {
  1810. this.belongTeamOptions = response.data;
  1811. });
  1812. this.getDicts("approve_type").then(response => {
  1813. response.data.map(res=>{
  1814. if (res.dictValue == '1'||res.dictValue == '3'||res.dictValue == '4'){
  1815. this.surveyResultOptionsY.push(res);
  1816. }
  1817. if (res.dictValue == '1'||res.dictValue == '2'){
  1818. this.surveyResultOptionsN.push(res);
  1819. }
  1820. })
  1821. });
  1822. // 关联方案下拉框
  1823. var schemeQueryParam = {
  1824. applyStatus: "1"
  1825. };
  1826. schemeOptionList(schemeQueryParam).then((response) => {
  1827. console.log(response)
  1828. this.schemeOptions = response.data;
  1829. this.getInformation();
  1830. });
  1831. // treeselect().then((response) => {
  1832. // this.deptOptions = response.data;
  1833. // });
  1834. },
  1835. beforeRouteEnter (to, from, next) {
  1836. /*
  1837. to:获取你要跳转的路由信息
  1838. from: 获取你从哪个路由来的信息
  1839. next: (放行函数)
  1840. // 第一种写法
  1841. next(); // 直接放行
  1842. // 第二种
  1843. next('/url') //放行到指定的路由
  1844. */
  1845. next(vm => {
  1846. console.log(from.path)
  1847. console.log(to.path)
  1848. if (from.path === '/lawEnforcement/task'){
  1849. location.reload()
  1850. }
  1851. })
  1852. },
  1853. methods: {
  1854. /** 保存审批意见提交 */
  1855. submitCase() {
  1856. const data = {
  1857. taskId: this.surveyForm.taskId,
  1858. instanceId: this.surveyForm.instanceId,
  1859. variables: JSON.stringify({
  1860. comment: this.comment,
  1861. pass: this.pass,
  1862. //"formData": this.row,
  1863. }),
  1864. };
  1865. return request({
  1866. url: "/activiti/process/complete",
  1867. method: "post",
  1868. params: data,
  1869. }).then((response) => {
  1870. if (response.code == 200 && response.msg == "操作成功") {
  1871. this.$notify({ type: 'success' , message: "操作成功" });
  1872. setTimeout(function () {
  1873. history.back(-1);
  1874. },1000)
  1875. } else {
  1876. this.$notify({ type: 'danger' , message: "操作失败" });
  1877. }
  1878. });
  1879. },
  1880. /** 保存审批意见提交 */
  1881. submitEvidence() {
  1882. const data = {
  1883. taskId: this.evidenceForm.taskId,
  1884. instanceId: this.evidenceForm.instanceId,
  1885. variables: JSON.stringify({
  1886. comment: this.comment,
  1887. pass: this.pass,
  1888. //"formData": this.row,
  1889. }),
  1890. };
  1891. return request({
  1892. url: "/activiti/process/complete",
  1893. method: "post",
  1894. params: data,
  1895. }).then((response) => {
  1896. if (response.code == 200 && response.msg == "操作成功") {
  1897. this.$notify({ type: 'success' , message: "操作成功" });
  1898. setTimeout(function () {
  1899. history.back(-1);
  1900. },1000)
  1901. } else {
  1902. this.$notify({ type: 'danger' , message: "操作失败" });
  1903. }
  1904. });
  1905. },
  1906. /** 保存审批意见提交 */
  1907. submitTreat() {
  1908. const data = {
  1909. taskId: this.treatForm.taskId,
  1910. instanceId: this.treatForm.instanceId,
  1911. variables: JSON.stringify({
  1912. comment: this.comment,
  1913. pass: this.pass,
  1914. //"formData": this.row,
  1915. }),
  1916. };
  1917. return request({
  1918. url: "/activiti/process/complete",
  1919. method: "post",
  1920. params: data,
  1921. }).then((response) => {
  1922. if (response.code == 200 && response.msg == "操作成功") {
  1923. this.$notify({ type: 'success' , message: "操作成功" });
  1924. setTimeout(function () {
  1925. history.back(-1);
  1926. },1000)
  1927. } else {
  1928. this.$notify({ type: 'danger' , message: "操作失败" });
  1929. }
  1930. });
  1931. },
  1932. getInformation(){
  1933. getCase(this.$route.query.id).then(response => {
  1934. console.log(response)
  1935. response.data.schemeId = this.selectDictScheme(this.schemeOptions, response.data.schemeId);
  1936. response.data.typeLable = this.selectDictLabel(this.typeOptions, response.data.type);
  1937. response.data.nation = this.selectDictLabel(this.nationOptions, response.data.nation);
  1938. response.data.caseSource = response.data.caseSource == '' ? '' : this.selectDictLabel(this.caseSourceOptions, response.data.caseSource);
  1939. response.data.belongTeam = response.data.belongTeam == '' ? '' : this.selectDictLabel(this.belongTeamOptions, response.data.belongTeam);
  1940. response.data.type = response.data.type == '' ? '' : this.selectDictLabel(this.typeOptions, response.data.type);
  1941. response.data.sex = response.data.sex == '' ? '' : this.selectDictLabel(this.sexOptions, response.data.sex);
  1942. getDeptName(response.data.deptId).then(res => {
  1943. response.data.deptId = res.data.deptName
  1944. });
  1945. if (response.data.attachement){
  1946. var attachement = response.data.attachement.split( "," );
  1947. response.data.attachementList = []
  1948. attachement.forEach(res=>{
  1949. response.data.attachementList.push({
  1950. url:'/api'+res,
  1951. isImage: true
  1952. });
  1953. })
  1954. }
  1955. // response.data.deptId = this.selectDictDeptId(this.deptOptions, response.data.deptId);
  1956. this.form = response.data;
  1957. this.progressSpeed()
  1958. // if (this.caseActive == 7){//判断是否为备案
  1959. //
  1960. // }else{
  1961. // if( this.caseActive >= 1 ){//勘察
  1962. // console.log("勘察")
  1963. // this.caseSurvey();
  1964. // }
  1965. // if( this.caseActive >= 2 ){//立案
  1966. // console.log("立案")
  1967. // this.getFileCase();
  1968. // }
  1969. // if( this.caseActive >= 3 ){//取证
  1970. // console.log("取证")
  1971. // this.getEvidenceCase();
  1972. // }
  1973. // if( this.caseActive >= 4 ){//处理
  1974. // console.log("处理")
  1975. // this.getTreat();
  1976. // }
  1977. // if( this.caseActive >= 5 ){//裁决
  1978. // console.log("裁决")
  1979. // this.getDecision();
  1980. // }
  1981. // if( this.caseActive >= 6 ){//执行
  1982. // console.log("执行")
  1983. // this.getExecuteCase();
  1984. // }
  1985. // if( this.caseActive >= 7 ){//备案
  1986. // console.log("备案")
  1987. // this.getOnrecord();
  1988. // }
  1989. // if( this.caseActive >= 8 ){//结案
  1990. // console.log("结案")
  1991. // this.getEndingForm();
  1992. // }
  1993. // }
  1994. });
  1995. },
  1996. //勘察表单查询
  1997. caseSurvey(){
  1998. // 查询勘察表单数据
  1999. var _this = this;
  2000. if (this.form.id != null && this.form.id != "") {
  2001. this.surveyForm.caseId = this.form.id;
  2002. getSurveyByCaseId(this.form.id).then(responseSurvey => {
  2003. console.log(responseSurvey)
  2004. if (responseSurvey.data != undefined) {
  2005. _this.surveyForm = responseSurvey.data;
  2006. _this.instanceId = responseSurvey.data.instanceId;
  2007. if (responseSurvey.data.tEnforceCaseHandlerList){
  2008. _this.tEnforceCaseHandlerList = responseSurvey.data.tEnforceCaseHandlerList;
  2009. responseSurvey.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{
  2010. let data = {
  2011. enforcerId : responseEnforce.enforcerId,
  2012. caseId:this.form.id,
  2013. relationType: "2"
  2014. }
  2015. enforceLockinCount(data).then(resEnforceLockin => {
  2016. _this.$set(_this.tEnforceCaseHandlerList[index],"num",resEnforceLockin.data)
  2017. });
  2018. });
  2019. }
  2020. }else{
  2021. }
  2022. if (responseSurvey.data.attachement){
  2023. var attachement = responseSurvey.data.attachement.split( "," );
  2024. attachement.forEach(response=>{
  2025. this.surveyOption.push({
  2026. url:'/api'+response,
  2027. isImage: true
  2028. });
  2029. this.openPic2.push(response)
  2030. })
  2031. }
  2032. // _this.surveyForm.gender = this.selectDictLabel(this.sexOptions, _this.surveyForm.gender);
  2033. _this.surveyResult = this.selectDictLabel(this.surveyResultOptions, _this.surveyForm.surveyResult);
  2034. _this.surveyForm.caseName = this.form.caseName;
  2035. _this.surveyForm.schemeId = this.form.schemeId;
  2036. // 查询审批历史记录
  2037. // _this.getHistoryList(_this.surveyForm,'');
  2038. });
  2039. }
  2040. },
  2041. //查询立案表单数据
  2042. getFileCase(){
  2043. var _this = this;
  2044. if(this.form.id != null && this.form.id !=""){
  2045. this.putRecordForm.caseId = this.form.id;
  2046. getputRecordByCaseId(_this.form.id).then(responsePutRecord => {
  2047. getSamplingByCaseId(_this.form.id).then(responseSampling => {
  2048. if(responsePutRecord.data != undefined){
  2049. if (responsePutRecord.data.attachement){
  2050. var attachement = responsePutRecord.data.attachement.split( "," );
  2051. attachement.forEach(response=>{
  2052. this.samplingOption.push({
  2053. url:'/api' + response,
  2054. isImage: true
  2055. });
  2056. })
  2057. // process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API
  2058. }
  2059. _this.putRecordForm = responsePutRecord.data;
  2060. // _this.tEnforcePutRecordHandlerList = responsePutRecord.data.tEnforceCaseHandlerList == null ? [] : responsePutRecord.data.tEnforceCaseHandlerList;
  2061. if (responsePutRecord.data.id == ''){
  2062. // 立案表单没有保存之前,办理人员默认获取上一节点勘察的办理人员列表
  2063. const queryEnforcerParams = {
  2064. relationType: "2",
  2065. caseId: this.form.id
  2066. };
  2067. caseHandlerList(queryEnforcerParams).then(responseHandlerList => {
  2068. responseHandlerList.data.relationType = "3";
  2069. _this.tEnforcePutRecordHandlerList = responseHandlerList.data;
  2070. if (responseHandlerList.data){
  2071. responseHandlerList.data.map((responseEnforce,index)=>{
  2072. let data = {
  2073. enforcerId : responseEnforce.enforcerId,
  2074. caseId:this.form.id,
  2075. relationType: "3"
  2076. }
  2077. enforceLockinCount(data).then(resEnforceLockin => {
  2078. _this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data)
  2079. });
  2080. });
  2081. }
  2082. });
  2083. }else{
  2084. _this.tEnforcePutRecordHandlerList = responsePutRecord.data.tEnforceCaseHandlerList;
  2085. if (responsePutRecord.data.tEnforceCaseHandlerList){
  2086. responsePutRecord.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{
  2087. let data = {
  2088. enforcerId : responseEnforce.enforcerId,
  2089. caseId:this.form.id,
  2090. relationType: "3"
  2091. }
  2092. enforceLockinCount(data).then(resEnforceLockin => {
  2093. _this.$set(_this.tEnforcePutRecordHandlerList[index],"num",resEnforceLockin.data)
  2094. });
  2095. });
  2096. }
  2097. console.log(_this.tEnforcePutRecordHandlerList)
  2098. }
  2099. }else{
  2100. _this.putRecordForm.attachement = [];
  2101. _this.putRecordForm.attachementList = [];
  2102. }
  2103. if(responseSampling.data != undefined) {
  2104. _this.samplingForm = responseSampling.data;
  2105. _this.tEnforceSamplingGoodsList = responseSampling.data.tEnforceSamplingGoodsList;
  2106. for (var i = 0 ; i < responseSampling.data.tEnforceSamplingGoodsList.length ; i++){
  2107. responseSampling.data.tEnforceSamplingGoodsList[i].showTimeliness = false;
  2108. if (responseSampling.data.tEnforceSamplingGoodsList[i].attachement != null){
  2109. responseSampling.data.tEnforceSamplingGoodsList[i].attachementList = [];
  2110. var Sampling = responseSampling.data.tEnforceSamplingGoodsList[i].attachement.split( "," );
  2111. Sampling.forEach(response=>{
  2112. responseSampling.data.tEnforceSamplingGoodsList[i].attachementList.push({
  2113. url:'/api' + response,
  2114. isImage: true
  2115. });
  2116. // process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API
  2117. })
  2118. }else{
  2119. responseSampling.data.tEnforceSamplingGoodsList[i].attachement = [];
  2120. }
  2121. }
  2122. console.log(responseSampling.data.tEnforceSamplingGoodsList)
  2123. }
  2124. _this.putRecordForm.caseName = this.form.caseName;
  2125. _this.putRecordForm.schemeId = this.form.schemeId;
  2126. });
  2127. });
  2128. }
  2129. },
  2130. //查询取证表单数据
  2131. getEvidenceCase(){
  2132. var _this = this;
  2133. if (this.form.id != null && this.form.id != "") {
  2134. this.evidenceForm.caseId = this.form.id;
  2135. getEvidenceByCaseId(this.form.id).then(responseEvidence => {
  2136. getSamplingByCaseId(this.form.id).then(responseSampling => {
  2137. for (var i = 0; i < responseSampling.data.tEnforceSamplingGoodsList.length; i++) {
  2138. let goodsId = responseSampling.data.tEnforceSamplingGoodsList[i].id;
  2139. let goodsName = responseSampling.data.tEnforceSamplingGoodsList[i].goodsName;
  2140. getReportByGoodsId(goodsId).then(responseReport => {
  2141. console.log(responseReport)
  2142. if (responseReport.data != undefined) {
  2143. responseReport.data.goodsId = goodsId;
  2144. responseReport.data.goodsName = goodsName;
  2145. responseReport.data.attachementList = [];
  2146. var Evidence = responseReport.data.attachement.split( "," );
  2147. console.log(Evidence)
  2148. Evidence.forEach(response=>{
  2149. responseReport.data.attachementList.push({
  2150. url:'/api' + response,
  2151. });
  2152. })
  2153. _this.detectResults.push(responseReport.data);
  2154. } else {
  2155. var goodsObj = {
  2156. "goodsId": goodsId,
  2157. "goodsName": goodsName,
  2158. attachement:[]
  2159. };
  2160. _this.detectResults.push(goodsObj);
  2161. }
  2162. });
  2163. }
  2164. if (responseEvidence.data != undefined) {
  2165. responseEvidence.data.attachementList = [];
  2166. responseEvidence.data.conclusion = this.selectDictLabel(this.conclusionOptions,responseEvidence.data.conclusion)
  2167. _this.evidenceForm = responseEvidence.data;
  2168. if (responseEvidence.data.id == ''){
  2169. // 取证表单没有保存之前,办理人员默认获取上一节点立案的办理人员列表
  2170. const queryEnforcerParams = {
  2171. relationType: "3",
  2172. caseId: this.form.id
  2173. };
  2174. caseHandlerList(queryEnforcerParams).then(responseHandlerList => {
  2175. responseHandlerList.data.relationType = "4";
  2176. _this.tEnforceEvidenceHandlerList = responseHandlerList.data;
  2177. if (responseHandlerList.data){
  2178. responseHandlerList.data.map((responseEnforce,index)=>{
  2179. let data = {
  2180. enforcerId : responseEnforce.enforcerId,
  2181. caseId:this.form.id,
  2182. relationType: "4"
  2183. }
  2184. enforceLockinCount(data).then(resEnforceLockin => {
  2185. _this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data)
  2186. });
  2187. });
  2188. }
  2189. });
  2190. }else{
  2191. _this.tEnforceEvidenceHandlerList = responseEvidence.data.tEnforceCaseHandlerList;
  2192. if (responseEvidence.data.tEnforceCaseHandlerList){
  2193. responseEvidence.data.tEnforceCaseHandlerList.map((responseEnforce,index)=>{
  2194. let data = {
  2195. enforcerId : responseEnforce.enforcerId,
  2196. caseId:this.form.id,
  2197. relationType: "4"
  2198. }
  2199. enforceLockinCount(data).then(resEnforceLockin => {
  2200. _this.$set(_this.tEnforceEvidenceHandlerList[index],"num",resEnforceLockin.data)
  2201. });
  2202. });
  2203. }
  2204. }
  2205. if (responseEvidence.data.attachement){
  2206. var Evidence = responseEvidence.data.attachement.split( "," );
  2207. Evidence.forEach(response=>{
  2208. responseEvidence.data.attachementList.push({
  2209. url:'/api' + response,
  2210. });
  2211. })
  2212. // process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API
  2213. }else{
  2214. responseEvidence.data.attachement = [];
  2215. }
  2216. }else{
  2217. _this.evidenceForm.attachement = [];
  2218. }
  2219. setTimeout(function () {
  2220. for (var i = 0 ; i < responseSampling.data.tEnforceSamplingGoodsList.length ; i++){
  2221. console.log(_this.detectResults[0])
  2222. if (responseSampling.data.tEnforceSamplingGoodsList[i].attachement){
  2223. responseSampling.data.tEnforceSamplingGoodsList[i].attachementList = [];
  2224. var Sampling = responseSampling.data.tEnforceSamplingGoodsList[i].attachement.split( "," );
  2225. Sampling.forEach(response=>{
  2226. responseSampling.data.tEnforceSamplingGoodsList[i].attachementList.push({
  2227. url: '/api' + response,
  2228. });
  2229. // process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API
  2230. })
  2231. }else{
  2232. responseSampling.data.tEnforceSamplingGoodsList[i].attachement = [];
  2233. }
  2234. }
  2235. },1000)
  2236. _this.evidenceForm.caseName = this.form.caseName;
  2237. _this.evidenceForm.schemeId = this.form.schemeId;
  2238. // 查询审批历史记录
  2239. _this.getHistoryList(this.evidenceForm,'evidence');
  2240. });
  2241. });
  2242. }
  2243. },
  2244. //查询处理表单数据
  2245. getTreat(){
  2246. // 执行人员列表查询
  2247. getEnforcerList().then(response => {
  2248. const data = response.enforcerList;
  2249. for (let i = 0; i < data.length; i++) {
  2250. const res = {
  2251. enforcerId: data[i].id,
  2252. enforcerName: data[i].name,
  2253. enforcerNum: data[i].enforceNum,
  2254. value: data[i].name,
  2255. };
  2256. this.treatEnforcers.push(res);
  2257. }
  2258. });
  2259. // 查询处理表单数据
  2260. var _this = this;
  2261. if (this.form.id != null && this.form.id != "") {
  2262. this.treatForm.caseId = this.form.id;
  2263. getTreatByCaseId(this.form.id).then(responseTreat => {
  2264. console.log(responseTreat)
  2265. if (responseTreat.data != undefined) {
  2266. responseTreat.data.attachementList = [];
  2267. responseTreat.data.documentType = this.selectDictLabel(this.documentTypeOptions,responseTreat.data.documentType)
  2268. responseTreat.data.agentDocumentType = this.selectDictLabel(this.documentTypeOptions,responseTreat.data.agentDocumentType)
  2269. _this.treatForm = responseTreat.data;
  2270. _this.tEnforceTreatHandlerList = responseTreat.data.tEnforceCaseHandlerList;
  2271. if (responseTreat.data.attachement){
  2272. var Treat = responseTreat.data.attachement.split( "," );
  2273. Treat.forEach(response=>{
  2274. responseTreat.data.attachementList.push({
  2275. url:process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + response,
  2276. });
  2277. })
  2278. }
  2279. }
  2280. _this.treatForm.caseName = this.form.caseName;
  2281. _this.treatForm.schemeId = this.form.schemeId;
  2282. // 查询审批历史记录
  2283. _this.getHistoryList(_this.treatForm,'treat');
  2284. });
  2285. }
  2286. },
  2287. //查询裁决表单数据
  2288. getDecision(){
  2289. // 执行人员列表查询
  2290. getEnforcerList().then(response => {
  2291. const data = response.enforcerList;
  2292. for (let i = 0; i < data.length; i++) {
  2293. const res = {
  2294. enforcerId: data[i].id,
  2295. enforcerName: data[i].name,
  2296. enforcerNum: data[i].enforceNum,
  2297. value: data[i].name,
  2298. };
  2299. this.decisionEnforcers.push(res);
  2300. }
  2301. });
  2302. // 查询裁决表单数据
  2303. var _this = this;
  2304. if (this.form.id != null && this.form.id != "") {
  2305. this.decisionForm.caseId = this.form.id;
  2306. getDecisionByCaseId(this.form.id).then(responseDecision => {
  2307. if (responseDecision.data != undefined) {
  2308. console.log(responseDecision)
  2309. responseDecision.data.attachementList = [];
  2310. _this.decisionForm = responseDecision.data;
  2311. _this.tEnforceDecisionHandlerList = responseDecision.data.tEnforceCaseHandlerList;
  2312. if (responseDecision.data.attachement){
  2313. var Treat = responseDecision.data.attachement.split( "," );
  2314. Treat.forEach(response=>{
  2315. responseDecision.data.attachementList.push({
  2316. url:process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + response,
  2317. });
  2318. })
  2319. }
  2320. }
  2321. _this.decisionForm.caseName = this.form.caseName;
  2322. _this.decisionForm.schemeId = this.form.schemeId;
  2323. });
  2324. }
  2325. },
  2326. //查询执行表单数据
  2327. getExecuteCase(){
  2328. // 执行人员列表查询
  2329. getEnforcerList().then(response => {
  2330. const data = response.enforcerList;
  2331. for (let i = 0; i < data.length; i++) {
  2332. const res = {
  2333. enforcerId: data[i].id,
  2334. enforcerName: data[i].name,
  2335. enforcerNum: data[i].enforceNum,
  2336. value: data[i].name,
  2337. };
  2338. this.executeEnforcers.push(res);
  2339. }
  2340. });
  2341. // 查询执行表单数据
  2342. var _this = this;
  2343. if (this.form.id != null && this.form.id != "") {
  2344. this.executeForm.caseId = this.form.id;
  2345. getExecuteByCaseId(this.form.id).then(responseExecute => {
  2346. if (responseExecute.data != undefined) {
  2347. responseExecute.data.attachementList = [];
  2348. _this.executeForm = responseExecute.data;
  2349. _this.tEnforceExecuteHandlerList = responseExecute.data.tEnforceCaseHandlerList;
  2350. if (responseExecute.data.attachement){
  2351. var Execute = responseExecute.data.attachement.split( "," );
  2352. Execute.forEach(response=>{
  2353. responseExecute.data.attachementList.push({
  2354. url:process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + response,
  2355. });
  2356. })
  2357. }
  2358. }
  2359. _this.executeForm.caseName = this.form.caseName;
  2360. _this.executeForm.schemeId = this.form.schemeId;
  2361. });
  2362. }
  2363. },
  2364. getOnrecord(){
  2365. // 查询备案表单数据
  2366. if (this.form.id != null && this.form.id != "") {
  2367. this.onrecordForm.caseId = this.form.id;
  2368. getCase(this.form.id).then(response => {
  2369. getOnrecordByCaseId(this.form.id).then(responseOnrecord => {
  2370. if (responseOnrecord.data != undefined) {
  2371. this.onrecordForm = responseOnrecord.data;
  2372. this.tEnforceOnrecordHandlerList = responseOnrecord.data.tEnforceCaseHandlerList;
  2373. }
  2374. this.onrecordForm.caseName = this.form.caseName;
  2375. this.onrecordForm.schemeId = this.form.schemeId;
  2376. });
  2377. });
  2378. }
  2379. },
  2380. //查询结案表单数据
  2381. getEndingForm(){
  2382. // 执行人员列表查询
  2383. getEnforcerList().then(response => {
  2384. const data = response.enforcerList;
  2385. for (let i = 0; i < data.length; i++) {
  2386. const res = {
  2387. enforcerId: data[i].id,
  2388. enforcerName: data[i].name,
  2389. enforcerNum: data[i].enforceNum,
  2390. value: data[i].name,
  2391. };
  2392. this.endingEnforcers.push(res);
  2393. }
  2394. });
  2395. // 查询结案表单数据
  2396. var _this = this;
  2397. if (this.form.id != null && this.form.id != "") {
  2398. this.endingForm.caseId = this.form.id;
  2399. getEndingByCaseId(this.form.id).then(responseEnding => {
  2400. if (responseEnding.data != undefined) {
  2401. responseEnding.data.attachementList = [];
  2402. responseEnding.data.agingStatus = this.selectDictLabel(this.agingStatusOptions,responseEnding.data.agingStatus)
  2403. _this.endingForm = responseEnding.data;
  2404. if (responseEnding.data.attachement){
  2405. var Execute = responseEnding.data.attachement.split( "," );
  2406. Execute.forEach(response=>{
  2407. responseEnding.data.attachementList.push({
  2408. url:process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API + response,
  2409. });
  2410. })
  2411. }
  2412. }
  2413. _this.endingForm.caseName = this.form.caseName;
  2414. _this.endingForm.schemeId = this.form.schemeId;
  2415. });
  2416. }
  2417. },
  2418. progressSpeed(){
  2419. console.log(this.form)
  2420. if((this.form.caseStatus == "2" || this.form.caseStatus == "3") &&
  2421. (this.form.caseProgress=="8" || this.form.caseProgress=="9")){
  2422. // 已结束备案或者结案阶段的案件,查询显示已保存案件的历史流程节点
  2423. var progressParam = {
  2424. "caseId": this.form.id
  2425. };
  2426. progressList(progressParam).then(response => {
  2427. console.log(response)
  2428. for (var i = 0; i < response.data.length; i++) {
  2429. var obj={
  2430. dictLabel:response.data[i].caseProgressName,
  2431. dictValue:response.data[i].caseProgress
  2432. }
  2433. this.caseProgressOptions.push(obj);
  2434. }
  2435. });
  2436. } else if(this.form.caseProgress=="8" && this.form.caseStatus == "1"){
  2437. console.log("b")
  2438. // 进行中的案件到达备案阶段显示历史节点和备案节点
  2439. var progressParam = {
  2440. "caseId": this.form.id
  2441. };
  2442. progressList(progressParam).then(response => {
  2443. for (var i = 0; i < response.data.length; i++) {
  2444. var obj = {
  2445. dictLabel: response.data[i].caseProgressName,
  2446. dictValue: response.data[i].caseProgress
  2447. }
  2448. this.caseProgressOptions.push(obj);
  2449. }
  2450. var onrecordObj = {
  2451. dictLabel: "备案",
  2452. dictValue: "8"
  2453. }
  2454. this.caseProgressOptions.push(onrecordObj);
  2455. });
  2456. } else{
  2457. console.log("c")
  2458. // 非备案或者结案阶段的案件,显示所有节点判断状态
  2459. this.getDicts("case_node").then(response => {
  2460. console.log(this.form.caseProgress)
  2461. if (this.form.caseProgress == "8") { // 结案状态
  2462. for (var i = 0; i < response.data.length; i++) {
  2463. if (response.data[i].dictValue != "8") { // 如果是结案,步骤条不显示备案
  2464. this.caseProgressOptions.push(response.data[i]);
  2465. }
  2466. }
  2467. } else{
  2468. this.caseProgressOptions = response.data;
  2469. }
  2470. });
  2471. }
  2472. var that = this ;
  2473. setTimeout(function () {
  2474. that.zhenchaShow = false ;
  2475. that.lianShow = false ;
  2476. that.quzhengShow = false ;
  2477. that.chuliShow = false ;
  2478. that.caijueShow = false ;
  2479. that.zhixingShow = false ;
  2480. console.log(this.zhenchaShow)
  2481. console.log(this.lianShow)
  2482. console.log(this.quzhengShow)
  2483. console.log(this.chuliShow)
  2484. console.log(this.caijueShow)
  2485. console.log(this.zhixingShow)
  2486. that.progressLength = that.caseProgressOptions.length;
  2487. console.log(that.caseProgressOptions.length-1)
  2488. if( that.caseProgressOptions.length >= 3 && that.caseActive >= 1 ){//勘察
  2489. console.log("勘察")
  2490. that.caseSurvey();
  2491. that.zhenchaShow = true ;
  2492. }
  2493. if( that.caseProgressOptions.length >= 4 && that.caseActive >= 2 ){//立案
  2494. console.log("立案")
  2495. that.getFileCase();
  2496. that.lianShow = true ;
  2497. }
  2498. if( that.caseProgressOptions.length >= 5 && that.caseActive >= 3 ){//取证
  2499. console.log("取证")
  2500. that.getEvidenceCase();
  2501. that.quzhengShow = true ;
  2502. }
  2503. if( that.caseProgressOptions.length >= 6 && that.caseActive >= 4 ){//处理
  2504. console.log("处理")
  2505. that.getTreat();
  2506. that.chuliShow = true ;
  2507. }
  2508. if( that.caseProgressOptions.length >= 7 && that.caseActive >= 5 ){//裁决
  2509. console.log("裁决")
  2510. that.getDecision();
  2511. that.caijueShow = true ;
  2512. }
  2513. if( that.caseProgressOptions.length >= 8 && that.caseActive >= 6 ){//执行
  2514. console.log("执行")
  2515. that.getExecuteCase();
  2516. that.zhixingShow = true ;
  2517. }
  2518. if( that.caseActive == 8 ){//执行
  2519. console.log("结案")
  2520. that.caseProgress = that.caseProgressOptions.length-1;
  2521. that.getEndingForm();
  2522. }
  2523. if (that.caseActive == 7){//判断是否为备案
  2524. console.log("备案")
  2525. that.caseProgress = that.caseProgressOptions.length-1;
  2526. that.getOnrecord();
  2527. }else{
  2528. that.zhenchaShow = true ;
  2529. that.lianShow = true ;
  2530. that.quzhengShow = true ;
  2531. that.chuliShow = true ;
  2532. that.caijueShow = true ;
  2533. that.zhixingShow = true ;
  2534. }
  2535. },2000)
  2536. console.log(this.caseProgressOptions)
  2537. },
  2538. /** 查询审批历史展示步骤条 */
  2539. getHistoryList(formData,type) {
  2540. if (formData.instanceId != null && formData.instanceId != "") {
  2541. var queryParams = {
  2542. processInstanceId: formData.instanceId
  2543. };
  2544. return request({
  2545. url: "/activiti/process/listHistory",
  2546. method: "post",
  2547. data: queryParams,
  2548. }).then((response) => {
  2549. if (type == 'evidence'){
  2550. this.evidencHistoryList = response.rows;
  2551. this.evidencHistoryList.forEach((row) => {
  2552. row.startTime = this.format(row.startTime, "yyyy-MM-dd HH:mm:ss");
  2553. row.endTime = this.format(row.endTime, "yyyy-MM-dd HH:mm:ss");
  2554. row.durationInMillis = this.formatTotalDateSub(
  2555. row.durationInMillis / 1000
  2556. );
  2557. });
  2558. }else if (type == 'treat'){
  2559. this.treatHistoryList = response.rows;
  2560. this.treatHistoryList.forEach((row) => {
  2561. row.startTime = this.format(row.startTime, "yyyy-MM-dd HH:mm:ss");
  2562. row.endTime = this.format(row.endTime, "yyyy-MM-dd HH:mm:ss");
  2563. row.durationInMillis = this.formatTotalDateSub(
  2564. row.durationInMillis / 1000
  2565. );
  2566. });
  2567. }else{
  2568. this.historyList = response.rows;
  2569. this.historyList.forEach((row) => {
  2570. row.startTime = this.format(row.startTime, "yyyy-MM-dd HH:mm:ss");
  2571. row.endTime = this.format(row.endTime, "yyyy-MM-dd HH:mm:ss");
  2572. row.durationInMillis = this.formatTotalDateSub(
  2573. row.durationInMillis / 1000
  2574. );
  2575. });
  2576. }
  2577. });
  2578. }else{
  2579. this.spanNum = 5;
  2580. }
  2581. },
  2582. onConfirmAskStartTime(data){
  2583. this.surveyForm.askStartTime = this.format(data,'yyyy-MM-dd HH:mm');
  2584. this.askStartTime = data;
  2585. this.showAskStartTime = false;
  2586. },
  2587. onConfirmAskEndTime(data){
  2588. this.surveyForm.askEndTime = this.format(data,'yyyy-MM-dd HH:mm');
  2589. this.askEndTime = data;
  2590. this.showAskEndTime = false;
  2591. },
  2592. onConfirmHandleDate(data){
  2593. this.surveyForm.handleDate = this.format(data,'yyyy-MM-dd');
  2594. this.handleDate = data;
  2595. this.showHandleDate = false;
  2596. },
  2597. onConfirmShouanDate(data){
  2598. this.surveyForm.shouanDate = this.format(data,'yyyy-MM-dd');
  2599. this.shouanDate = data;
  2600. this.showShouanDate = false;
  2601. },
  2602. onConfirmSealDate(data){
  2603. this.putRecordForm.sealDate = this.format(data,'yyyy-MM-dd');
  2604. this.sealDate = data;
  2605. this.showSealDate = false;
  2606. },
  2607. onConfirmSealTimeliness(data){
  2608. this.putRecordForm.sealTimeliness = this.format(data,'yyyy-MM-dd');
  2609. this.sealTimeliness = data;
  2610. this.showSealTimeliness = false;
  2611. },
  2612. onConfirmSamplingTime(data){
  2613. this.samplingForm.samplingTime = this.format(data,'yyyy-MM-dd');
  2614. this.samplingTime = data;
  2615. this.showSamplingTime = false;
  2616. },
  2617. onConfirmSurveyResult(data){
  2618. this.surveyForm.surveyResult = data.dictValue;
  2619. this.surveyResult = data.dictLabel;
  2620. this.showSurveyResult = false;
  2621. if (data.dictValue != '1'){
  2622. if (data.dictValue == "3") {
  2623. this.$set(this.surveyForm, "caseNumPartType", "简罚");
  2624. } else if (data.dictValue == "4") {
  2625. this.$set(this.surveyForm, "caseNumPartType", "罚");
  2626. }
  2627. const caseNumParam = {
  2628. caseNumPart3: this.surveyForm.caseNumPart3,
  2629. surveyResult: data.dictValue
  2630. };
  2631. getCaseNum(caseNumParam).then(response => {
  2632. this.$set(this.surveyForm, "caseNum", response.data);
  2633. });
  2634. this.getDicts("case_number_title").then(response => {
  2635. this.$set(this.surveyForm, "caseNumPart1", response.data[0].dictLabel);
  2636. });
  2637. // 默认显示当前年份
  2638. let nowDate = new Date();
  2639. console.log(this.form)
  2640. this.$set(this.surveyForm, "caseNumPart3", nowDate.getFullYear().toString());
  2641. this.$set(this.surveyForm, "caseNumPart2", this.form.enforceCategory);
  2642. }
  2643. },
  2644. onConfirmTimeliness(data){
  2645. this.tEnforceSamplingGoodsList[this.goodsIndex].timeliness = this.format(data,'yyyy-MM-dd');
  2646. this.timeliness = data;
  2647. this.showTimeliness = false;
  2648. },
  2649. onConfirmProductTimeNum(data){
  2650. this.tEnforceSamplingGoodsList[this.goodsIndex].productTimeNum = this.format(data,'yyyy-MM-dd');
  2651. this.productTimeNum = data;
  2652. this.showProductTimeNum = false;
  2653. },
  2654. onConfirmConfirmTimeliness(data){
  2655. this.tEnforceSamplingGoodsList[this.goodsIndex].confirmTimeliness = this.format(data,'yyyy-MM-dd');
  2656. this.confirmTimeliness = data;
  2657. this.showConfirmTimeliness = false;
  2658. },
  2659. onConfirmSurveyStartTime(data){
  2660. this.surveyForm.surveyStartTime = this.format(data,'yyyy-MM-dd HH:mm');
  2661. this.confirmSurveyStartTime = data;
  2662. this.showSurveyStartTime = false;
  2663. },
  2664. onConfirmSurveyEndTime(data){
  2665. this.surveyForm.surveyEndTime = this.format(data,'yyyy-MM-dd HH:mm');
  2666. this.confirmSurveyEndTime = data;
  2667. this.showSurveyEndTime = false;
  2668. },
  2669. addFinance(){
  2670. this.tEnforceDetainHandlerList.push({})
  2671. },
  2672. addGoods(){
  2673. // console.log(this.tEnforceSamplingGoodsList)
  2674. // this.tEnforceSamplingGoodsList[this.goodsIndex].attachement = this.attachementOption;
  2675. // // this.attachementOption = [];
  2676. this.goodsIndex += 1;
  2677. this.tEnforceSamplingGoodsList.push({attachement:[]})
  2678. },
  2679. addDetectResults(){
  2680. this.detectResults.push({attachement:[]})
  2681. },
  2682. format(time, format) {
  2683. var t = new Date(time);
  2684. var tf = function (i) { return (i < 10 ? '0' : '') + i };
  2685. return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function (a) {
  2686. switch (a) {
  2687. case 'yyyy':
  2688. return tf(t.getFullYear());
  2689. break;
  2690. case 'MM':
  2691. return tf(t.getMonth() + 1);
  2692. break;
  2693. case 'mm':
  2694. return tf(t.getMinutes());
  2695. break;
  2696. case 'dd':
  2697. return tf(t.getDate());
  2698. break;
  2699. case 'HH':
  2700. return tf(t.getHours());
  2701. break;
  2702. case 'ss':
  2703. return tf(t.getSeconds());
  2704. break;
  2705. }
  2706. })
  2707. },
  2708. /**
  2709. * 计算出相差天数
  2710. * @param secondSub
  2711. */
  2712. formatTotalDateSub (secondSub) {
  2713. var days = Math.floor(secondSub / (24 * 3600)); // 计算出小时数
  2714. var leave1 = secondSub % (24*3600) ; // 计算天数后剩余的毫秒数
  2715. var hours = Math.floor(leave1 / 3600); // 计算相差分钟数
  2716. var leave2 = leave1 % (3600); // 计算小时数后剩余的毫秒数
  2717. var minutes = Math.floor(leave2 / 60); // 计算相差秒数
  2718. var leave3 = leave2 % 60; // 计算分钟数后剩余的毫秒数
  2719. var seconds = Math.round(leave3);
  2720. return days + "天" + hours + "时" + minutes + "分" + seconds + '秒';
  2721. },
  2722. preservation(){
  2723. this.tEnforceCaseHandlerList.map(res=>{
  2724. res.relationType = '2';
  2725. })
  2726. this.surveyForm.tEnforceCaseHandlerList = this.tEnforceCaseHandlerList;
  2727. this.surveyForm.attachement = this.openPic2.join(',');
  2728. if (this.surveyForm.id != null) {
  2729. updateSurvey(this.surveyForm).then(response => {
  2730. this.$notify({ type: 'success', message: '修改成功' });
  2731. setTimeout(function(){
  2732. history.back(-1);
  2733. },2000)
  2734. });
  2735. } else {
  2736. addSurvey(this.surveyForm).then(response => {
  2737. this.$notify({ type: 'success', message: '新增成功' });
  2738. this.surveyForm.id = response.data;
  2739. setTimeout(function(){
  2740. history.back(-1);
  2741. },2000)
  2742. });
  2743. }
  2744. },
  2745. submit(){
  2746. if (this.surveyForm.id == null) {
  2747. this.$notify({ type: 'danger', message: '请先保存数据之后再确定提交申请' });
  2748. } else {
  2749. if (this.surveyForm.isApprove == "Y") { // 是否审批选择是,走工作流审批
  2750. var id = this.surveyForm.id;
  2751. const requestMapping = this.requestMapping;
  2752. this.$dialog.confirm({
  2753. message: '提交后案件将进入后续流程并且不能修改,是否确认提交?',
  2754. }).then(function () {
  2755. return request({
  2756. url: requestMapping + '/submitApply/' + id,
  2757. method: 'post',
  2758. });
  2759. }).then(() => {
  2760. this.$notify({ type: 'success', message: '提交成功' });
  2761. setTimeout(function(){
  2762. history.back(-1);
  2763. },2000)
  2764. })
  2765. } else {
  2766. // 不审批直接更新进度到备案
  2767. var caseId = this.surveyForm.caseId;
  2768. var caseStatus = "1";
  2769. var caseProgress = "8"; // 备案
  2770. var caseParam = {
  2771. id: caseId,
  2772. caseId: caseId,
  2773. caseStatus: caseStatus,
  2774. caseProgress: caseProgress,
  2775. caseProgressName: this.selectDictLabel(this.caseProgressOptions, caseProgress)
  2776. };
  2777. var progressParam = {
  2778. id: caseId,
  2779. caseId: caseId,
  2780. caseStatus: caseStatus,
  2781. caseProgress: "2", // 勘察
  2782. caseProgressName: this.selectDictLabel(this.caseProgressOptions, "2")
  2783. };
  2784. var _this = this;
  2785. this.$dialog.confirm({
  2786. message: '提交后案件将进入后续流程并且不能修改,是否确认提交?',
  2787. }).then(function () {
  2788. let recordType = "";
  2789. if (_this.surveyForm.surveyResult == "1") { // 审批程序设置 1:不予立案 2:无违法行为
  2790. recordType = "5"; // 两个表值不一致做对应匹配
  2791. } else if (_this.surveyForm.surveyResult == "2") {
  2792. recordType = "2";
  2793. }
  2794. var onrecordParam = {
  2795. caseId: caseId,
  2796. recordType: recordType// 备案类型 1:交办执法 2:无违法行为 3:刑事追责 4:简易程序(处罚整改) 5:违法不予立案
  2797. };
  2798. addOnrecord(onrecordParam).then(response => {
  2799. // 更新案件的节点和状态
  2800. updateCase(caseParam).then(response => {
  2801. addProgress(progressParam).then(response => {
  2802. this.$notify({ type: 'success', message: '提交成功' });
  2803. setTimeout(function(){
  2804. history.back(-1);
  2805. },2000)
  2806. });
  2807. });
  2808. });
  2809. });
  2810. }
  2811. }
  2812. },
  2813. /** 案件立案提交按钮 */
  2814. submitPutRecordForm() {
  2815. this.tEnforcePutRecordHandlerList.map(res=>{
  2816. res.relationType = '3';
  2817. })
  2818. // 办理人员列表
  2819. this.putRecordForm.tEnforceCaseHandlerList = this.tEnforcePutRecordHandlerList;
  2820. // 查封扣押财物列表
  2821. this.putRecordForm.tEnforceDetainHandlerList = this.tEnforceDetainHandlerList;
  2822. // 抽样产品信息表格数据
  2823. this.samplingForm.tEnforceSamplingGoodsList = this.tEnforceSamplingGoodsList;
  2824. this.samplingForm.caseId = this.putRecordForm.caseId;
  2825. if (typeof this.putRecordForm.attachement != 'string') {
  2826. this.putRecordForm.attachement = this.putRecordForm.attachement.join(',');
  2827. }
  2828. this.samplingForm.tEnforceSamplingGoodsList.forEach(res=>{
  2829. if (typeof res.attachement != 'string') {
  2830. res.attachement = res.attachement.join(',');
  2831. }
  2832. })
  2833. // this.tEnforceSamplingGoodsList[index].attachement
  2834. console.log(this.samplingForm.tEnforceSamplingGoodsList)
  2835. console.log(this.putRecordForm)
  2836. console.log(this.samplingForm)
  2837. var _this = this;
  2838. if (this.putRecordForm.id != null) {
  2839. updatePutrecord(this.putRecordForm).then(responsePutrecord => {
  2840. if (responsePutrecord.code == "200") {
  2841. if (this.samplingForm.id != null) {
  2842. updateSampling(this.samplingForm).then(responseSampling => {
  2843. if (responseSampling.code == "200") {
  2844. this.$notify({ type: 'success', message: '修改成功' });
  2845. setTimeout(function(){
  2846. history.back(-1);
  2847. },2000)
  2848. }
  2849. });
  2850. } else {
  2851. addSampling(this.samplingForm).then(responseSampling => {
  2852. if (responseSampling.code == "200") {
  2853. this.$notify({ type: 'success', message: '新增成功' });
  2854. _this.samplingForm.id = responseSampling.data;
  2855. setTimeout(function(){
  2856. history.back(-1);
  2857. },2000)
  2858. }
  2859. });
  2860. }
  2861. _this.putRecordDiglogStatus = false;
  2862. }
  2863. });
  2864. } else {
  2865. addPutrecord(this.putRecordForm).then(responsePutrecord => {
  2866. if (responsePutrecord.code == "200") {
  2867. addSampling(this.samplingForm).then(responseSampling => {
  2868. if (responseSampling.code == "200") {
  2869. this.$notify({ type: 'success', message: '新增成功' });
  2870. _this.putRecordForm.id = responsePutrecord.data;
  2871. _this.samplingForm.id = responseSampling.data;
  2872. setTimeout(function(){
  2873. history.back(-1);
  2874. },2000)
  2875. }
  2876. });
  2877. _this.putRecordDiglogStatus = false;
  2878. }
  2879. });
  2880. }
  2881. },
  2882. /** 弹窗确定按钮操作 */
  2883. submitDefine(){
  2884. if (this.putRecordForm.id == null) {
  2885. this.$notify({ type: 'success', message: '请先保存数据之后再确定提交申请' });
  2886. } else {
  2887. var id = this.putRecordForm.id;
  2888. const requestMapping = this.requestMapping;
  2889. this.$dialog.confirm({
  2890. message: '提交后案件将进入后续流程并且不能修改,是否确认提交?',
  2891. }).then(function () {
  2892. return request({
  2893. url: '/enforce/putrecord/submitApply/' + id,
  2894. method: 'post',
  2895. });
  2896. }).then(() => {
  2897. this.$notify({ type: 'success', message: '提交成功' });
  2898. setTimeout(function(){
  2899. history.back(-1);
  2900. },2000)
  2901. })
  2902. }
  2903. },
  2904. /** 案件取证提交按钮 */
  2905. submitEvidenceForm() {
  2906. this.surveyDiglogStatus = false;
  2907. this.tEnforceEvidenceHandlerList.map(res=>{
  2908. res.relationType = '4';
  2909. })
  2910. this.evidenceForm.tEnforceCaseHandlerList = this.tEnforceEvidenceHandlerList;
  2911. this.evidenceForm.detectResults = this.detectResults;
  2912. console.log(this.evidenceForm.detectResults)
  2913. if (typeof this.evidenceForm.attachement != 'string'){
  2914. this.evidenceForm.attachement = this.evidenceForm.attachement.join(',');
  2915. }
  2916. this.evidenceForm.detectResults.forEach(res=>{
  2917. if (typeof res.attachement != 'string'){
  2918. res.attachement = res.attachement.join(',');
  2919. }
  2920. })
  2921. if (this.evidenceForm.id != null) {
  2922. this.surveyDiglogStatus = true;
  2923. updateEvidence(this.evidenceForm).then(response => {
  2924. this.$notify({ type: 'success', message: '提交成功' });
  2925. this.surveyDiglogStatus = false;
  2926. setTimeout(function(){
  2927. history.back(-1);
  2928. },2000)
  2929. });
  2930. } else {
  2931. this.surveyDiglogStatus = true;
  2932. addEvidence(this.evidenceForm).then(response => {
  2933. this.$notify({ type: 'success', message: '提交成功' });
  2934. this.evidenceForm.id = response.data;
  2935. this.surveyDiglogStatus = false;
  2936. setTimeout(function(){
  2937. history.back(-1);
  2938. },2000)
  2939. });
  2940. }
  2941. },
  2942. /** 弹窗确定按钮操作 */
  2943. submitDefineEvidenceForm() {
  2944. if (this.evidenceForm.id == null) {
  2945. this.$notify({ type: 'success', message: '请先保存数据之后再确定提交申请' });
  2946. } else {
  2947. var id = this.evidenceForm.id;
  2948. const requestMapping = this.requestMapping;
  2949. this.$dialog.confirm({
  2950. message: '提交后案件将进入后续流程并且不能修改,是否确认提交?',
  2951. }).then(function () {
  2952. return request({
  2953. url: '/enforce/evidence/submitApply/' + id,
  2954. method: 'post',
  2955. });
  2956. }).then(() => {
  2957. this.$notify({ type: 'success', message: '提交成功' });
  2958. this.cancel();
  2959. setTimeout(function(){
  2960. history.back(-1);
  2961. },2000)
  2962. })
  2963. }
  2964. },
  2965. afterRead(file) {
  2966. // 此时可以自行将文件上传至服务器
  2967. this.openPic.push(file.file);
  2968. let params1 = new FormData();
  2969. params1.append("file", file.file);
  2970. commonUpload(params1).then((r1) => {
  2971. this.openPic2.push(r1.fileName);
  2972. })
  2973. },
  2974. deleteFile(file,detail) {
  2975. console.log(file)
  2976. console.log(detail)
  2977. this.openPic2.splice(detail.index,1);
  2978. },
  2979. afterReadAttachement(index){
  2980. return(file)=>{
  2981. let params1 = new FormData();
  2982. params1.append("file", file.file);
  2983. commonUpload(params1).then((r1) => {
  2984. this.tEnforceSamplingGoodsList[index].attachement.push(r1.fileName);
  2985. })
  2986. }
  2987. },
  2988. deleteFileAttachement(index) {
  2989. console.log(this.tEnforceSamplingGoodsList)
  2990. return (file,detail) => {
  2991. console.log(detail)
  2992. this.tEnforceSamplingGoodsList[index].attachement.splice(detail.index,1);
  2993. this.tEnforceSamplingGoodsList[index].attachementList.splice(detail.index,1);
  2994. }
  2995. },
  2996. afterReadEvidence(index){
  2997. return(file)=>{
  2998. let params1 = new FormData();
  2999. params1.append("file", file.file);
  3000. commonUpload(params1).then((r1) => {
  3001. this.detectResults[index].attachement.push(r1.fileName);
  3002. })
  3003. }
  3004. },
  3005. deleteFileEvidence(index) {
  3006. return (file,detail) => {
  3007. this.detectResults[index].attachement.splice(detail.index,1);
  3008. this.detectResults[index].attachementList.splice(detail.index,1);
  3009. }
  3010. },
  3011. afterReadSampling(file){
  3012. let params1 = new FormData();
  3013. params1.append("file", file.file);
  3014. commonUpload(params1).then((r1) => {
  3015. // this.tEnforceSamplingGoodsList[index].attachement.push(r1.fileName);
  3016. this.putRecordForm.attachement.push(r1.fileName)
  3017. console.log(this.putRecordForm)
  3018. })
  3019. },
  3020. deleteFileSampling(file,detail) {
  3021. this.putRecordForm.attachement.splice(detail.index,1);
  3022. this.samplingOption.splice(detail.index,1);
  3023. console.log(this.putRecordForm)
  3024. },
  3025. afterReadEvidenceForm(file){
  3026. console.log(this.evidenceForm.attachement)
  3027. let params1 = new FormData();
  3028. params1.append("file", file.file);
  3029. commonUpload(params1).then((r1) => {
  3030. // this.tEnforceSamplingGoodsList[index].attachement.push(r1.fileName);
  3031. this.evidenceForm.attachement.push(r1.fileName)
  3032. })
  3033. },
  3034. deleteFileEvidenceForm(file,detail) {
  3035. this.evidenceForm.attachement.splice(detail.index,1);
  3036. this.evidenceForm.attachementList.splice(detail.index,1);
  3037. console.log(this.putRecordForm)
  3038. },
  3039. radioChange(value){
  3040. this.comment = value == 'true' ? '同意' : '驳回' ;
  3041. },
  3042. removePeople(index,type){
  3043. if (type == 'CaseHand'){
  3044. this.tEnforceCaseHandlerList.splice(index,1)
  3045. }else if(type == 'PutRecord'){
  3046. this.tEnforcePutRecordHandlerList.splice(index,1)
  3047. }else if(type == 'evidence'){
  3048. this.tEnforceEvidenceHandlerList.splice(index,1)
  3049. }
  3050. },
  3051. },
  3052. watch: {
  3053. $route (to, from ) {
  3054. // 监听路由变化, 实现类似 小程序的 onShow 事件
  3055. if (to.path === '/lawEnforcement/taskHandle') {
  3056. // do anything you want
  3057. if (Cookies.get('enforcer')){
  3058. console.log(this.enforceType)
  3059. JSON.parse(Cookies.get('enforcer')).map((res,index)=>{
  3060. if (this.enforceType == 'CaseHand'){
  3061. let array1 = this.tEnforceCaseHandlerList.filter(function (e) { return e.enforcerName == res.enforcerName; });
  3062. console.log(array1)
  3063. if ( array1.length < 1 ){
  3064. this.tEnforceCaseHandlerList.push(res)//勘察
  3065. }
  3066. }
  3067. if (this.enforceType == 'PutRecord'){
  3068. let array1 = this.tEnforcePutRecordHandlerList.filter(function (e) { return e.enforcerName == res.enforcerName; });
  3069. if ( array1.length < 1 ){
  3070. this.tEnforcePutRecordHandlerList.push(res)//立案
  3071. }
  3072. }
  3073. if (this.enforceType == 'evidence'){
  3074. let array1 = this.tEnforceEvidenceHandlerList.filter(function (e) { return e.enforcerName == res.enforcerName; });
  3075. if ( array1.length < 1 ){
  3076. this.tEnforceEvidenceHandlerList.push(res)//取证
  3077. }
  3078. }
  3079. // tEnforceCaseHandlerList
  3080. // tEnforcePutRecordHandlerList
  3081. // tEnforceEvidenceHandlerList
  3082. // this.tEnforceCaseHandlerList.push(res)
  3083. })
  3084. }
  3085. }
  3086. }
  3087. },
  3088. };
  3089. </script>
  3090. <style scoped lang="scss">
  3091. @font-face {
  3092. font-family: SourceHanSansCNBold;
  3093. src: url("../../../assets/fonts/SourceHanSansCN-Bold.otf");
  3094. }
  3095. .app-container {
  3096. padding: 0;
  3097. }
  3098. .header_main{
  3099. height: 116px;
  3100. background: url('../../../../static/images/lawEnforcement/new/list_head.png') no-repeat;
  3101. background-size: 100% 100%;
  3102. position: fixed;
  3103. top: 0;
  3104. left: 0;
  3105. width: 100%;
  3106. font-size: 36px;
  3107. line-height: 116px;
  3108. text-align: center;
  3109. color: #fff;
  3110. z-index: 999;
  3111. .return_btn{
  3112. width: 24px;
  3113. height: 43.2px;
  3114. background: url('../../../assets/images/sunVillage_info/list_icon_5.png') center center no-repeat;
  3115. background-size: 20px 36px;
  3116. position: absolute;
  3117. left: 38px;
  3118. top: 36px;
  3119. }
  3120. .add_btn{
  3121. width: 56.4px;
  3122. height: 40.8px;
  3123. background: url('../../../assets/images/sunVillage_info/list_icon_9.png') center center no-repeat;
  3124. background-size: 47px 34px;
  3125. position: absolute;
  3126. right: 38px;
  3127. top: 36px;
  3128. }
  3129. }
  3130. /deep/ .van-collapse-item__content{
  3131. padding: 0;
  3132. }
  3133. .van-row{
  3134. display: flex;
  3135. flex-wrap: wrap;
  3136. }
  3137. .examine_box{
  3138. background-color: #1D6FE9!important;
  3139. padding: 0.18rem!important;
  3140. padding-left: 0!important;
  3141. border-radius: 0.15rem!important;
  3142. margin-top: 0.3rem!important;
  3143. }
  3144. .examine_box .van-col:first-child{
  3145. color: #FFF!important;
  3146. font-size: 0.45rem!important;
  3147. text-align: center!important;
  3148. }
  3149. .examine_box .van-col:last-child{
  3150. background-color: #FFF!important;
  3151. border-radius: 0.15rem!important;
  3152. overflow: hidden!important;
  3153. .van-radio-group--horizontal{
  3154. padding: 0.2rem 0;
  3155. border-bottom: 1px solid #eee;
  3156. }
  3157. }
  3158. /deep/.van-tabs .van-tabs__nav{
  3159. border: none;
  3160. height: auto;
  3161. }
  3162. /deep/.van-radio--horizontal{
  3163. margin-left: 20px;
  3164. margin-right: 0;
  3165. }
  3166. .submitButtonActive{
  3167. width: 100%;
  3168. margin: 0 auto;
  3169. }
  3170. .van-uploader {
  3171. padding: 15PX;
  3172. }
  3173. /deep/ .van-nav-bar--fixed{
  3174. background: url("../../../../static/images/lawEnforcement/head_bg.png") 100%;
  3175. }
  3176. /deep/ .van-nav-bar .van-icon{
  3177. color: #ffffff;
  3178. }
  3179. /deep/ .van-nav-bar__title{
  3180. color: #ffffff;
  3181. }
  3182. /deep/ .van-tabs__nav--complete{
  3183. padding: 0;
  3184. border: none;
  3185. height: auto;
  3186. }
  3187. /deep/ .van-tabs__nav--card .van-tab{
  3188. border: none;
  3189. }
  3190. /deep/ .van-tabs--card>.van-tabs__wrap{
  3191. height: auto;
  3192. margin-top: 10PX;
  3193. }
  3194. /deep/ .van-tabs__nav--card .van-tab.van-tab--active{
  3195. background: transparent;
  3196. .van-tab__text{
  3197. width: 56PX;
  3198. height: 56PX;
  3199. line-height: 56PX;
  3200. }
  3201. .finish,.ongoing,.notStarted{
  3202. padding: 15PX 0;
  3203. }
  3204. }
  3205. /deep/ .van-tab__text{
  3206. display: block;
  3207. width: 44PX;
  3208. height: 44PX;
  3209. background: #FFF;
  3210. border-radius: 50%;
  3211. border: 1px solid #C9C9C9;
  3212. color: #C9C9C9;
  3213. text-align: center;
  3214. padding: 0;
  3215. p{
  3216. line-height: 1;
  3217. }
  3218. }
  3219. .finish{
  3220. border-radius: 50%;
  3221. border: 1px solid #1DCC80;
  3222. color: #1DCC80;
  3223. padding: 10PX 0;
  3224. height: 100%;
  3225. }
  3226. .ongoing{
  3227. border-radius: 50%;
  3228. border: 1px solid #1D6FE9;
  3229. color: #1D6FE9;
  3230. padding: 10PX 0;
  3231. height: 100%;
  3232. }
  3233. .notStarted{
  3234. padding: 10PX 0;
  3235. height: 100%;
  3236. }
  3237. .typeBox{
  3238. width: 44PX;
  3239. height: 44PX;
  3240. background: #ffffff;
  3241. text-align: center;
  3242. font-size: 14PX;
  3243. border-radius: 50%;
  3244. border: 1px solid #1DCC80;
  3245. color: #1DCC80;
  3246. margin: 0 auto;
  3247. padding: 10PX 0px;
  3248. line-height: 1;
  3249. position: relative;
  3250. top: 50%;
  3251. transform: translateY(-50%);
  3252. }
  3253. .noActive{
  3254. border: 1px solid #1D6FE9;
  3255. color: #1D6FE9;
  3256. }
  3257. .doActive{
  3258. border: 1px solid #C9C9C9;
  3259. color: #C9C9C9;
  3260. }
  3261. .active{
  3262. width: 56PX;
  3263. height: 56PX;
  3264. padding: 15PX 0px;
  3265. }
  3266. /deep/ .van-radio--horizontal{
  3267. margin-left: 0.32rem;
  3268. margin-right: 0;
  3269. }
  3270. .peopleList{
  3271. padding: 0 3%;
  3272. margin-top: 10PX;
  3273. text-align: center;
  3274. .van-row{
  3275. margin-bottom: 10PX;
  3276. .van-col{
  3277. text-align: center;
  3278. font-size: 14PX;
  3279. }
  3280. &:first-child{
  3281. .van-col{
  3282. color: #1D6FE9;
  3283. }
  3284. }
  3285. }
  3286. .icon_box{
  3287. display: flex;
  3288. justify-content: space-around;
  3289. /deep/ .van-checkbox{
  3290. justify-content: center;
  3291. }
  3292. }
  3293. }
  3294. .cf{
  3295. padding: 0 3%;
  3296. margin-top: 20PX;
  3297. margin-bottom: 20PX;
  3298. .van-row{
  3299. background: #F0F3F5;
  3300. .van-col{
  3301. padding: 5PX 0;
  3302. font-size: 12PX!important;
  3303. text-align: center;
  3304. p{
  3305. color: #1D6FE9;
  3306. }
  3307. }
  3308. &:first-child{
  3309. background: transparent;
  3310. }
  3311. }
  3312. .van-cell{
  3313. padding: 0;
  3314. background: transparent;
  3315. }
  3316. }
  3317. .main_title{
  3318. font-size: 0.4rem;
  3319. color: #1D6FE9;
  3320. margin: 0.2rem 6%;
  3321. margin-top: 0;
  3322. position: relative;
  3323. }
  3324. .main_box{
  3325. width: 96%;
  3326. margin: 0 auto;
  3327. border-radius: 6PX;
  3328. box-shadow: 0PX 3PX 6PX 0PX rgba(0,0,0,0.16);
  3329. overflow: hidden;
  3330. background-color: #FFF;
  3331. margin-top: 10PX;
  3332. .van-icon{
  3333. vertical-align: middle;
  3334. }
  3335. .custom-title{
  3336. font-size: 17PX;
  3337. color: #333333;
  3338. vertical-align: middle;
  3339. line-height: 1;
  3340. position: relative;
  3341. margin-left: 5PX;
  3342. }
  3343. .tap{
  3344. color: #1D6FE9;
  3345. }
  3346. .bgBlue{
  3347. display: block;
  3348. position: absolute;
  3349. width: 17PX;
  3350. height: 17PX;
  3351. border-radius: 50%;
  3352. background-color: rgba(29,111,233,0.26);
  3353. top: -2PX;
  3354. right: -8PX;
  3355. }
  3356. }
  3357. .addFamily{
  3358. position: absolute;
  3359. top: -2px;
  3360. right: 0;
  3361. border-radius: 50%;
  3362. }
  3363. .main_box2{
  3364. width: 96%;
  3365. margin: 0 auto;
  3366. background: #ffffff;
  3367. border-radius: 6PX;
  3368. overflow: hidden;
  3369. margin-top: 10PX;
  3370. margin-bottom: 20PX;
  3371. box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
  3372. .van-col{
  3373. position: relative;
  3374. }
  3375. .van-col--20{
  3376. padding: 12PX 0;
  3377. }
  3378. .van-row:nth-child(2n){
  3379. background: rgba(29,111,233,0.1);
  3380. }
  3381. /deep/ .van-cell{
  3382. background: transparent;
  3383. padding: 0 10Px;
  3384. }
  3385. .bq{
  3386. display: inline-block;
  3387. padding: 0PX 10PX;
  3388. line-height: 0.64rem;
  3389. border-radius: 5PX;
  3390. }
  3391. .index{
  3392. background: #1D6FE9;
  3393. color: #ffffff;
  3394. text-align: center;
  3395. width: 20PX;
  3396. height: 20PX;
  3397. line-height: 20PX;
  3398. border-radius: 50%;
  3399. position: absolute;
  3400. left: 50%;
  3401. top: 50%;
  3402. transform: translate(-50%,-50%);
  3403. }
  3404. .indexCenter{
  3405. top: 0!important;
  3406. }
  3407. .van-row:first-child{
  3408. .van-col:first-child{
  3409. .indexBorder {
  3410. top: calc(50% - 5px);
  3411. }
  3412. }
  3413. }
  3414. .indexBorder{
  3415. width: 10PX;
  3416. position: absolute;
  3417. right: 0;
  3418. top: 0;
  3419. height: 100%;
  3420. .yq{
  3421. height: 10PX;
  3422. width: 10PX;
  3423. background: #C9C9C9;
  3424. border-radius: 50%;
  3425. }
  3426. .ss{
  3427. height: calc(50% - 5PX);
  3428. width: 2PX;
  3429. background: #C9C9C9;
  3430. position: relative;
  3431. left: 4PX;
  3432. }
  3433. .ssT{
  3434. height: calc(50% - 5PX);
  3435. width: 2PX;
  3436. background: #C9C9C9;
  3437. position: relative;
  3438. left: 4PX;
  3439. }
  3440. }
  3441. }
  3442. .splcTit{
  3443. font-size: 17PX;
  3444. text-align: center;
  3445. margin-top: 25PX;
  3446. margin-bottom: 5PX;
  3447. }
  3448. .submitButton{
  3449. width: 40%;
  3450. margin: 0 auto;
  3451. background-image: linear-gradient(to right, #2E79E9 , #77A6EF);
  3452. text-align: center;
  3453. color: #ffffff;
  3454. height: 70px;
  3455. line-height: 70px;
  3456. border-radius: 8PX;
  3457. margin-top: 25PX;
  3458. }
  3459. .submit_box{
  3460. display: flex;
  3461. }
  3462. </style>