应用层PC端前端服务

caseList.vue 47KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174
  1. <template>
  2. <div class="app-container">
  3. <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
  4. <el-form-item label="案件编号" prop="caseNum">
  5. <el-input style="width:180px" v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
  6. </el-form-item>
  7. <el-form-item label="案件批号" prop="caseNum">
  8. <el-input style="width:180px" v-model="queryParams.batchNumber" placeholder="请输入案件批号" clearable @keyup.enter.native="handleQuery" />
  9. </el-form-item>
  10. <!-- <el-form-item label="申请人" prop="applicantName"> -->
  11. <!-- <el-input
  12. v-model="queryParams.applicantName"
  13. placeholder="请输入机构名称"
  14. clearable
  15. @keyup.enter.native="handleQuery"
  16. /> -->
  17. <!-- <el-cascader v-model="queryParams.nameId" :options="options" @change="changeDept" :props="{ checkStrictly: true }"
  18. clearable></el-cascader>
  19. </el-form-item> -->
  20. <el-form-item label="案件状态" prop="caseStatus">
  21. <el-select :disabled="caseStatusType" v-model="queryParams.caseStatus" placeholder="请选择案件状态" clearable
  22. @keyup.enter.native="handleQuery">
  23. <el-option v-for="dict in caseStatus" :key="dict.dictValue" :label="dict.dictLabel"
  24. :value="dict.dictValue"></el-option>
  25. </el-select>
  26. </el-form-item>
  27. <!-- <el-form-item label="是否完成" prop="selectCaseStatus">
  28. <el-select v-model="queryParams.selectCaseStatus" placeholder="请选择状态" clearable @keyup.enter.native="handleQuery">
  29. <el-option v-for="dict in selectCaseStatusList" :key="dict.value" :label="dict.label"
  30. :value="dict.value"></el-option>
  31. </el-select>
  32. </el-form-item> -->
  33. <!-- <el-form-item label="开庭日期" prop="hearDate">
  34. <el-date-picker
  35. v-model="queryParams.hearDate"
  36. type="daterange"
  37. range-separator="至"
  38. start-placeholder="开始日期"
  39. end-placeholder="结束日期"
  40. >
  41. </el-date-picker>
  42. </el-form-item> -->
  43. <el-form-item>
  44. <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
  45. <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
  46. </el-form-item>
  47. </el-form>
  48. <el-row :gutter="10" class="mb8">
  49. <el-col :span="1.5">
  50. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="filingApplication"
  51. v-hasPermi="['caseManagement:list:add']">案件录入</el-button>
  52. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="compressedPackages"
  53. v-hasPermi="['caseManagement:list:zip']"
  54. >导入压缩包</el-button>
  55. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchApplication"
  56. v-hasPermi="['caseManagement:list:import']">案件批量导入</el-button>
  57. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(2)"
  58. v-hasPermi="['caseManagement:list:check']">案件批量立案审查</el-button>
  59. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(4)"
  60. v-hasPermi="['caseManagement:list:Batchgeneration']">批量生成裁决书</el-button>
  61. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(6)"
  62. v-hasPermi="['caseManagement:list:pay']">批量缴费</el-button>
  63. <!-- <el-button type="primary" plain icon="el-icon-plus" size="mini"
  64. @click="batchConfirmation"
  65. v-hasPermi="['caseManagement:list:batchConfirma']"
  66. >
  67. 批量缴费确认
  68. </el-button> -->
  69. </el-col>
  70. <!-- <el-col :span="24" style="margin-top:10px;">
  71. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchSignatures"
  72. v-hasPermi="['caseManagement:list:signature']"
  73. >
  74. 批量签名
  75. </el-button>
  76. <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchPrintings"
  77. v-hasPermi="['caseManagement:list:officialSeal']"
  78. >
  79. 批量用印
  80. </el-button>
  81. </el-col> -->
  82. </el-row>
  83. <el-table v-loading="loading" :data="dataList" style="width: 100%" :row-class-name="tableRowClassName" class="pendingTrial">
  84. <el-table-column type="selection">
  85. </el-table-column>
  86. <el-table-column label="序号" type="index" align="center">
  87. <template slot-scope="scope">
  88. <span>{{
  89. (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
  90. }}</span>
  91. </template>
  92. </el-table-column>
  93. <el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
  94. <el-table-column label="案件批号" align="center" prop="batchNumber" :show-overflow-tooltip="true" />
  95. <el-table-column label="申请人" align="center" prop="applicantName" :show-overflow-tooltip="true" />
  96. <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
  97. <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
  98. <!-- 仲裁员 -->
  99. <el-table-column label="仲裁员" align="center" prop="arbitratorName" />
  100. <!-- 开庭日期 -->
  101. <el-table-column label="开庭日期" align="center" prop="hearDate" :show-overflow-tooltip="true" />
  102. <el-table-column label="案件状态" align="center" prop="caseStatusName" :show-overflow-tooltip="true">
  103. <template slot-scope="scope">
  104. <el-tag type="success">{{ scope.row.caseStatusName }}</el-tag>
  105. </template>
  106. </el-table-column>
  107. <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
  108. <template slot-scope="scope">
  109. <el-button size="mini" type="text" icon="el-icon-zoom-in" @click="detailRow(scope.row)">详情</el-button>
  110. <el-button size="mini" type="text" icon="el-icon-zoom-in" @click="viewProcess(scope.row)">查看流程</el-button>
  111. <!-- 案件日志 -->
  112. <el-button size="mini" type="text" icon="el-icon-notebook-2" @click="caselogRow(scope.row)">案件日志</el-button>
  113. <el-button size="mini" type="text" icon="el-icon-edit" @click="editRow(scope.row)" v-if="(scope.row.caseStatus < 10 && scope.row.updateSubmitStatus !== 1) &&
  114. checkPermi(['caseManagement:list:update']) && btnStatus
  115. ">修改</el-button>
  116. <!-- 撤销修改 -->
  117. <el-button size="mini" type="text" icon="el-icon-edit" @click="undoRow(scope.row,1)" v-if="(scope.row.updateSubmitStatus == 1 || scope.row.updateSubmitStatus == 3) && scope.row.caseStatus > 0 && checkPermi(['caseManagement:list:undo'])">撤销修改</el-button>
  118. <el-button size="mini" type="text" icon="el-icon-check" @click="onsubmitRow(scope.row)" v-if="scope.row.caseStatus == 0 &&
  119. checkPermi(['caseManagement:list:submit']) && btnStatus
  120. ">提交案件</el-button>
  121. <!-- <el-button size="mini" type="text" icon="el-icon-delete" @click="deleteRow(scope.row)" v-if="scope.row.caseStatus == 0 &&
  122. checkPermi(['caseManagement:list:delete']) && btnStatus
  123. ">删除</el-button> -->
  124. <el-button size="mini" type="text" icon="el-icon-view" @click="filingreviewRow(scope.row)" v-if="scope.row.caseStatus == 1 &&
  125. checkPermi(['caseManagement:list:check']) && btnStatus
  126. ">审查案件</el-button>
  127. <!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)"
  128. v-if="scope.row.caseStatus == 2" v-hasPermi="['caseManagement:list:pay']">缴费</el-button> -->
  129. <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)" v-if="scope.row.caseStatus == 2 &&
  130. checkPermi(['caseManagement:list:pay']) && btnStatus
  131. ">缴费</el-button>
  132. <el-button size="mini" type="text" icon="el-icon-zoom-in" @click="paymentconfirmationRow(scope.row)" v-if="checkPermi(['caseManagement:list:payconfirm']) && btnStatus&&scope.row.caseStatus==3">确认缴费</el-button>
  133. <el-button size="mini" type="text" icon="el-icon-edit" @click="viewpaymentformRow(scope.row)" v-if="checkPermi(['caseManagement:list:detail'])&&scope.row.caseStatus>2">查看缴费单</el-button>
  134. <el-button size="mini" type="text" icon="el-icon-tickets" @click="evidenceListS(scope.row)" >证据清单</el-button>
  135. <!-- <el-button
  136. size="mini"
  137. type="text"
  138. icon="el-icon-data-analysis"
  139. @click="formationcourtRow(scope.row)"
  140. v-hasPermi="['monitor:online:forceLogout']"
  141. >组庭</el-button
  142. > -->
  143. <!-- 审核修改,秘书角色 -->
  144. <el-button size="mini" type="text" icon="el-icon-s-check" @click="reviewCase(scope.row)" v-if="scope.row.updateSubmitStatus == 1 && checkPermi(['caseManagement:list:reviewCase'])">审核修改</el-button>
  145. <!-- 审核撤销,秘书角色 -->
  146. <el-button size="mini" type="text" icon="el-icon-s-check" @click="reviewRevocation(scope.row)" v-if="scope.row.updateSubmitStatus == 2 && checkPermi(['caseManagement:list:reviewRevocation'])">审核撤销</el-button>
  147. <el-button size="mini" type="text" icon="el-icon-s-check" @click="courtconfirmationRow(scope.row)" v-if="scope.row.caseStatus == 6 &&
  148. checkPermi(['caseManagement:list:confirmgroup']) && btnStatus
  149. ">确认组庭</el-button>
  150. <el-button size="mini" type="text" icon="el-icon-check" @click="courtreviewRow(scope.row)" v-if="scope.row.caseStatus == 5 &&
  151. checkPermi(['caseManagement:list:checkgroup']) && btnStatus
  152. ">组庭审核</el-button>
  153. <el-button size="mini" type="text" icon="el-icon-sort" @click="choosetrialmethodRow(scope.row)">审核仲裁方式</el-button>
  154. <el-button size="mini" type="text" icon="el-icon-edit-outline" @click="adjudicaterecordRow(scope.row)" v-if="scope.row.caseStatus == 9 &&
  155. scope.row.arbitratMethod == 2 &&
  156. checkPermi(['caseManagement:list:hear']) && btnStatus
  157. ">书面审理</el-button>
  158. <!-- v-hasPermi="['caseManagement:list:hear']" -->
  159. <el-button size="mini" type="text" icon="el-icon-service" @click="trialcourtRow(scope.row)" v-if="scope.row.caseStatus == 8 &&
  160. scope.row.arbitratMethod == 1 &&
  161. checkPermi(['caseManagement:list:hear']) && btnStatus
  162. ">开庭审理</el-button>
  163. <!-- <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus < 8 &&
  164. checkPermi(['caseManagement:list:evidenceUpdate']) && btnStatus"
  165. @click="evidenceUpload(scope.row)">证据修改</el-button> -->
  166. <el-button size="mini" type="text" icon="el-icon-edit" v-if="(scope.row.caseStatus < 10 && scope.row.caseStatus != 2 && scope.row.caseStatus != 0) &&
  167. checkPermi(['caseManagement:list:evidenceUpdate']) && btnStatus"
  168. @click="evidenceUpload(scope.row)">修改证据</el-button>
  169. <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 31 && btnStatus && checkPermi(['caseManagement:list:timer'])"
  170. @click="timeUpdata(scope.row)">设定开庭时间</el-button>
  171. <el-button size="mini" type="text" icon="el-icon-lock"
  172. v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 0 && btnStatus"
  173. @click="lockClick(scope.row)">锁定案件</el-button>
  174. <el-button size="mini" type="text" icon="el-icon-unlock"
  175. v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 1 && btnStatus"
  176. @click="ulockClick(scope.row)">解锁</el-button>
  177. <el-button size="mini" type="text" icon="el-icon-reading"
  178. v-if="scope.row.filearbitraUrl && scope.row.filearbitraUrl !== ''"
  179. @click="showModel(scope.row, 0)">查看裁决书</el-button>
  180. <el-button size="mini" type="text" icon="el-icon-edit"
  181. v-if="scope.row.caseStatus == 11 && checkPermi(['caseManagement:list:secretarycheck'])"
  182. @click="showModel(scope.row, 1)">核验裁决书</el-button>
  183. <el-button size="mini" type="text" icon="el-icon-edit"
  184. v-if="scope.row.caseStatus == 18 && checkPermi(['caseManagement:list:arbitratorcheck']) && btnStatus"
  185. @click="showModel(scope.row, 4)">审核裁决书</el-button>
  186. <el-button size="mini" type="text" icon="el-icon-edit"
  187. v-if="scope.row.caseStatus == 12 && checkPermi(['caseManagement:list:confirmaward']) && btnStatus"
  188. @click="showModel(scope.row, 2)">审核裁决书</el-button>
  189. <el-button size="mini" type="text" icon="el-icon-edit"
  190. v-if="scope.row.caseStatus == 13 && checkPermi(['caseManagement:list:sign']) && btnStatus"
  191. @click="showModel(scope.row, 3)">签名</el-button>
  192. <el-button size="mini" type="text" icon="el-icon-edit"
  193. v-if="scope.row.caseStatus == 14 && checkPermi(['caseManagement:list:signprint']) && btnStatus"
  194. @click="showaffixModel(scope.row, 4)">用印</el-button>
  195. <!-- <el-button size="mini" type="text" icon="el-icon-truck"
  196. v-if="scope.row.caseStatus > 15 && checkPermi(['caseManagement:list:delivery'])"
  197. @click="showDeliveryModel(scope.row, 4)">快递信息</el-button> -->
  198. <el-button size="mini" type="text" icon="el-icon-edit"
  199. v-if="scope.row.caseStatus == 15 && checkPermi(['caseManagement:list:sendaward']) && btnStatus"
  200. @click="showMailaward(scope.row)">送达裁决书</el-button>
  201. <el-button size="mini" type="text" icon="el-icon-edit"
  202. v-if="scope.row.caseStatus == 16 && checkPermi(['caseManagement:list:archive']) && btnStatus"
  203. @click="showCasefilingModel(scope.row, 6)">案件归档</el-button>
  204. <!-- <el-button size="mini" type="text" icon="el-icon-tickets" @click="detailsAwardList(scope.row)">案件详情</el-button> -->
  205. <!-- 暂时隐藏后期可能会放其他地方 -->
  206. <!-- <el-button v-if="checkPermi(['caseManagement:list:listEvidence']) && scope.row.caseStatus <= 1 && btnStatus"
  207. size="mini" type="text" icon="el-icon-upload" @click="uploadCase(scope.row)">上传证据目录</el-button> -->
  208. <!-- <el-button
  209. size="mini"
  210. type="text"
  211. icon="el-icon-document"
  212. @click="generateawardRow(scope.row)"
  213. v-if="
  214. scope.row.caseStatus == 10 &&
  215. checkPermi(['caseManagement:list:createaward'])
  216. "
  217. >生成裁决书</el-button
  218. > -->
  219. </template>
  220. </el-table-column>
  221. </el-table>
  222. <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
  223. @pagination="getcaseApply(queryParams)" />
  224. <!-- 立案申请弹框 -->
  225. <caseentryDialog :visible="visible" @cancel="cancel" :form="form" :detailsAwardForm="detailsAwardForm" :queryParams="queryParams"
  226. :dialogtitle="dialogtitle" :getcaseApply="getcaseApply" :flag="flag" :caseAttachList="caseAttachList"
  227. :initpaymentArr="initpaymentArr" :initpaymentArr1="initpaymentArr1" :columnValues="columnValues"></caseentryDialog>
  228. <!-- 批量申请弹框 openbatch-->
  229. <batchDialog :openbatch="openbatch" :queryParams="queryParams" @cancelBatch="cancelBatch"
  230. :getcaseApply="getcaseApply"></batchDialog>
  231. <!-- 立案审查页面 -->
  232. <filingreviewDialog :showfilingreview="showfilingreview" :filingreviewdata="filingreviewdata"
  233. :queryParams="queryParams" @getcaseApply="getcaseApply" @cancelFilingreview="cancelFilingreview">
  234. </filingreviewDialog>
  235. <!-- 组庭页面---改为组庭审核 -->
  236. <formateCourtDialog :showformateCourt="showformateCourt" @cancelcourtDialog="cancelcourtDialog"
  237. :queryParams="queryParams" :formateCourtData="formateCourtData" @getcaseApply="getcaseApply"></formateCourtDialog>
  238. <!-- 组庭审核--改组庭确认 -->
  239. <courtReviewDialog :showcourtReview="showcourtReview" :form="form" :queryParams="queryParams"
  240. @cancelcourtReview="cancelcourtReview" @getcaseApply="getcaseApply"></courtReviewDialog>
  241. <!-- 审核仲裁方式 -->
  242. <choosetrialmethodDaiog :showchoosetrialmethod="showchoosetrialmethod" :choosetrialmethodata="choosetrialmethodata"
  243. :queryParams="queryParams" @getcaseApply="getcaseApply" @cancelshowchoosetrialMethod="cancelshowchoosetrialMethod">
  244. </choosetrialmethodDaiog>
  245. <!-- 书面审理 -->
  246. <adjudicaterecordDialog :showadjudicaterecord="showadjudicaterecord" :form="form" :adjudicatename="adjudicatename"
  247. :queryParams="queryParams" @canceladjudicaterecord="canceladjudicaterecord" @getcaseApply="getcaseApply">
  248. </adjudicaterecordDialog>
  249. <!-- 开庭审理 -->
  250. <trialincourtDialog :showtrialincourt="showtrialincourt" :adjudicatename="adjudicatename" :form="form"
  251. :queryParams="queryParams" @getcaseApply="getcaseApply" @canceltrialincourt="canceltrialincourt">
  252. </trialincourtDialog>
  253. <!-- 缴费 -->
  254. <payDialog :openPay="openPay" :payTitle="payTitle" :form="form" :payForm="payForm" :queryParams="queryParams"
  255. @getcaseApply="getcaseApply" @paycancelRow="paycancelRow" :payId="payId"></payDialog>
  256. <!-- 缴费确认数据详情 -->
  257. <paymentdetailsDialog :openDialog="openDialog" :detailform="detailform" :title="title" :flag="flag" :queryParams="queryParams"
  258. @getcaseApply="getcaseApply" @cancelpaymentdetails="cancelpaymentdetails"></paymentdetailsDialog>
  259. <!-- 案件日志 -->
  260. <caselogDialog :showcaseLog="showcaseLog" @cancelcaseLog="cancelcaseLog" :flagLoading="flagLoading"
  261. :caselogDataArr="caselogDataArr"></caselogDialog>
  262. <!-- 案件流程 -->
  263. <viewprocessDialog :processVisable="processVisable" @cancelViewProcess="cancelViewProcess" :processData="processData">
  264. </viewprocessDialog>
  265. <!-- 证据修改 -->
  266. <evidenceDialog :evidenceVisable="evidenceVisable" @cancelEvidence="cancelEvidence" :evidenceData="evidenceData">
  267. </evidenceDialog>
  268. <!-- 开庭时间修改 -->
  269. <timeDialog :timeVisable="timeVisable" @getcaseApply="getcaseApply" @cancelTime="cancelTime" :timeData="timeData"
  270. :queryParams="queryParams">
  271. </timeDialog>
  272. <!-- 批量操作弹窗 -->
  273. <operateDialog :queryParams="queryParams" :operateStatus="operateStatus" :operateVisable="operateVisable"
  274. @getcaseApply="getcaseApply" :operateTitle="operateTitle" @cancelOperate="cancelOperate" :operateData="operateData">
  275. </operateDialog>
  276. <!-- 上传证据目录弹窗 -->
  277. <uploadCaseDialog :uploadCaseVisable="uploadCaseVisable" @uploadCaseCancel="uploadCaseCancel"
  278. :uploadCaseData="uploadCaseData">
  279. </uploadCaseDialog>
  280. <!-- 秘书审核修改页面 -->
  281. <caseentryExamineDialog :dialogtitle="dialogtitle" :caseentryExamineVisible="caseentryExamineVisible" :queryParams="queryParams"
  282. @getcaseApply="getcaseApply"
  283. @caseentryExamineCancel="caseentryExamineCancel" :caseentryExamineData="caseentryExamineData" :caseentryExamineDataAll="caseentryExamineDataAll"></caseentryExamineDialog>
  284. <caseCompressionPackage :openCompressedPackages="openCompressedPackages" :queryParams="queryParams" @cancelCompreess="cancelCompreess"
  285. @getcaseApply="getcaseApply">
  286. </caseCompressionPackage>
  287. <!-- 证据清单 -->
  288. <evidenceList :evidenceListD ="evidenceListD" @cancelevidenceList="cancelevidenceList" :caseAttachListR ="caseAttachListR"></evidenceList>
  289. <!-- 批量缴费确认 -->
  290. <batchConfirmationPaymen @batchOperate="batchOperate" :batchVisable="batchVisable"></batchConfirmationPaymen>
  291. <!-- 批量签名 -->
  292. <batchSignature :signatureVisable="signatureVisable" @signatureOperate="signatureOperate"></batchSignature>
  293. <!-- 批量用印 -->
  294. <batchPrinting :printingVisable="printingVisable" @printingOperate="printingOperate"></batchPrinting>
  295. <!-- 裁决书弹窗 -->
  296. <judgmentInformation :openDialogInfor="openDialogInfor" :awardDetailform="awardDetailform" :title="title" :flag="flag" @getcaseApply="getcaseApply" :queryParams="queryParams"
  297. @cancelpaymentdetailsCom="cancelpaymentdetailsCom"></judgmentInformation>
  298. <!-- 快递信息页面 -->
  299. <expressDeliveryDialog :showDelivery="showDelivery" :deliveryDataArr="deliveryDataArr"
  300. @closeDeliveryModel="closeDeliveryModel" :flagLoading="flagLoading"></expressDeliveryDialog>
  301. <!-- 送达裁决书页面 -->
  302. <mailawardDialog :openMailawardDialog="openMailawardDialog" @closeMailaward="closeMailaward" :mailawardata="mailawardata" :emailobj="emailobj" @getcaseApply="getcaseApply" :queryParams="queryParams"></mailawardDialog>
  303. <!-- 裁决书案件详情 -->
  304. <!-- <detailsAward :showarchiveDetails="showarchiveDetails" @cancelDetail="cancelDetail" :detailsAwardNum="detailsAwardNum" :videoList="videoList"
  305. :flagLoadingS="flagLoadingS" :trialTranscripts="trialTranscripts"
  306. ></detailsAward> -->
  307. </div>
  308. </template>
  309. <script>
  310. import caseentryDialog from "./components/caseentryDialog";
  311. import batchDialog from "./components/batchDialog";
  312. import formateCourtDialog from "./components/formateCourtDialog.vue";
  313. import courtReviewDialog from "./components/courtReviewDialog.vue";
  314. import choosetrialmethodDaiog from "./components/choosetrialmethodDaiog.vue";
  315. import adjudicaterecordDialog from "./components/adjudicaterecordDialog.vue";
  316. import trialincourtDialog from "./components/trialincourtDialog.vue";
  317. import payDialog from "./components/payDialog.vue";
  318. import filingreviewDialog from "./components/filingreviewDialog.vue";
  319. import caselogDialog from "./components/caselogDialog.vue";
  320. import viewprocessDialog from "./components/viewprocessDialog.vue";
  321. import evidenceDialog from './components/evidenceDialog.vue';
  322. import timeDialog from './components/timeDialog.vue';
  323. import operateDialog from './components/operateDialog.vue';
  324. import uploadCaseDialog from './components/uploadCaseDialog.vue';
  325. import caseCompressionPackage from './components/caseCompressionPackage.vue';
  326. import evidenceList from './components/evidenceList.vue'
  327. import batchConfirmationPaymen from './components/batchConfirmationPaymen.vue'
  328. import batchSignature from './components/batchSignature.vue'
  329. import batchPrinting from './components/batchPrinting.vue'
  330. import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
  331. // 秘书审核页面
  332. import caseentryExamineDialog from './components/caseentryExamine.vue';
  333. //裁决书弹框页面
  334. import judgmentInformation from './components/judgmentInformation.vue';
  335. //快递弹窗
  336. import expressDeliveryDialog from './components/expressDeliveryDialog.vue';
  337. //裁决书弹窗
  338. import mailawardDialog from './components/mailawardDialog.vue';
  339. //归档详情弹窗
  340. import detailsAward from './components/detailsAward.vue';
  341. import { caseApplicationDetail,selectCaseApplicationConfirm } from "@/api/pay/pay";
  342. import { videoList } from "@/api/caseFiling/caseFiling";
  343. import {
  344. caseApply,
  345. removeCaseApply,
  346. submitCaseApply,
  347. selectCaseApply,
  348. updateCaseLockStatus,
  349. } from "@/api/caseAccess/caseEntry";
  350. import { listDept } from "@/api/system/dept";
  351. import {
  352. document,
  353. caseLogRecordList,
  354. revoke,
  355. selectCompareCase,
  356. updateAudit,
  357. attachListByCaseId
  358. } from "@/api/caseManagement/caseManagement";
  359. import {selectSignSealUrl,selectSignUrl,selectSealUrl,adjudicationLogistics,emailByCaseId,adjudicationCaseFile,} from "@/api/awardManagement/awardManagement";
  360. import { getDicts } from '@/api/system/dict/data.js';
  361. export default {
  362. name: "caseList",
  363. // dicts: ["case_status"],
  364. components: {
  365. caseentryDialog,
  366. batchDialog,
  367. formateCourtDialog,
  368. courtReviewDialog,
  369. choosetrialmethodDaiog,
  370. adjudicaterecordDialog,
  371. trialincourtDialog,
  372. payDialog,
  373. filingreviewDialog,
  374. caselogDialog,
  375. viewprocessDialog,
  376. evidenceDialog,
  377. timeDialog,
  378. operateDialog,
  379. uploadCaseDialog,
  380. caseentryExamineDialog,
  381. caseCompressionPackage,
  382. evidenceList,
  383. batchConfirmationPaymen,
  384. batchSignature,
  385. batchPrinting,
  386. paymentdetailsDialog,
  387. judgmentInformation,
  388. expressDeliveryDialog,
  389. mailawardDialog,
  390. detailsAward
  391. },
  392. data() {
  393. return {
  394. detailsAwardForm: {},
  395. // 遮罩层
  396. loading: true,
  397. // 总条数
  398. total: 0,
  399. isapply: "申请人:",
  400. // 表格数据
  401. dataList: [],
  402. // 抓取数据
  403. columnValues:[],
  404. // 审核修改抓取数据
  405. // afterColumnValues:[],
  406. // 查询参数
  407. queryParams: {
  408. caseNum: undefined,
  409. // caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 16],
  410. caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 31],
  411. // hearDate: "",
  412. caseStatus: null,
  413. batchNumber:null,
  414. applicantName: "",
  415. nameId: "",
  416. pageNum: 1,
  417. pageSize: 10,
  418. },
  419. dialogtitle: "", //弹框标题
  420. visible: false, //申请弹框控制
  421. form: {},
  422. starttime: "", //开始时间
  423. endtime: "", //结束时间
  424. formData: {},
  425. flag: "-1",
  426. initpaymentArr: [],
  427. initpaymentArr1: [],
  428. showfilingreview: false, //立案申查弹框控制
  429. filingreviewdata: {}, //立案审查传输数据
  430. openbatch: false, // 批量申请弹框
  431. openCompressedPackages:false,//案件压缩包导入
  432. formateCourtData: {}, //组庭
  433. showformateCourt: false, //组庭界面显示
  434. showcourtReview: false, //组庭审核页面
  435. showchoosetrialmethod: false, //选择仲裁方式页面
  436. choosetrialmethodata: {},
  437. showadjudicaterecord: false, //书面审理弹框
  438. adjudicatename: {}, //书面仲裁(被)申请人姓名
  439. showtrialincourt: false, //开庭审理
  440. openPay: false, //缴费弹框
  441. processVisable: false,//案件流程弹窗
  442. evidenceVisable: false,//修改证据弹窗
  443. evidenceData: {},
  444. payTitle: "",
  445. payForm: {},
  446. caseAttachList: [], //案件质证资料
  447. showcaseLog: false, //案件日志弹框显示
  448. evidenceListD:false,//证据清单弹框显示
  449. caseAttachListR:[], //证据清单
  450. flagLoading: true, //案件日志弹框loading
  451. caselogDataArr: [],
  452. options: [], //机构数据
  453. detailform:{},//缴费详情
  454. awardDetailform:{},//裁决书详情
  455. openDialog: false, //缴费详情数据弹框
  456. openDialogInfor:false,//裁决书弹框
  457. showDelivery:false,//快递弹窗
  458. flagLoading: true,
  459. deliveryDataArr: [],//快递信息数据
  460. openMailawardDialog: false, //送达裁决书页面
  461. mailawardata: {}, //裁决书送达界面数据
  462. emailobj: {},//邮箱存储
  463. showarchiveDetails:false,//归档详情弹框
  464. videoList:"", //视频数据
  465. flagLoadingS: true,
  466. trialTranscripts:[],//庭审笔录
  467. detailsAwardNum:{},//归档详情数据
  468. flag: null,
  469. title: "",
  470. payId: null,
  471. caseStatus: [],
  472. processData: {},
  473. timeVisable: false,
  474. timeData: {},
  475. operateVisable: false,
  476. batchVisable:false,
  477. signatureVisable:false,//批量签名
  478. printingVisable:false,
  479. operateData: {},
  480. operateTitle: "",
  481. operateStatus: 0,
  482. uploadCaseVisable: false,
  483. caseentryExamineVisible: false,
  484. caseentryExamineData: {},
  485. caseentryExamineDataAll: {},
  486. uploadCaseData: {},
  487. selectCaseStatusList: [
  488. {
  489. label: "待办案件",
  490. value: 0
  491. },
  492. {
  493. label: "已办案件",
  494. value: 1
  495. }
  496. ],
  497. caseStatusType: false,
  498. btnStatus: true,
  499. };
  500. },
  501. created() {
  502. getDicts("case_status").then(res => {
  503. this.caseStatus = res.data;
  504. let params = this.$route.params.status;
  505. if (params >= 0) {
  506. this.queryParams.caseStatus = params;
  507. }
  508. this.queryParams.batchNumber = this.$route.params.batchNumber;
  509. console.log(this.$route.params.batchNumber)
  510. this.getcaseApply(this.queryParams);
  511. })
  512. // this.getcaseApply(this.queryParams);
  513. this.getInstitution();
  514. },
  515. methods: {
  516. cancel() {
  517. this.visible = false;
  518. },
  519. cancelBatch() {
  520. this.openbatch = false;
  521. },
  522. cancelCompreess(){
  523. this.openCompressedPackages = false;
  524. },
  525. cancelTime() {
  526. this.timeVisable = false;
  527. },
  528. cancelOperate() {
  529. this.operateVisable = false;
  530. },
  531. batchOperate(){
  532. this.batchVisable = false;
  533. },
  534. printingOperate(){
  535. this.printingVisable = false;
  536. },
  537. uploadCaseCancel() {
  538. this.uploadCaseVisable = false;
  539. },
  540. signatureOperate(){
  541. this.signatureVisable = false;
  542. },
  543. // 关闭确认缴费弹窗
  544. cancelpaymentdetails() {
  545. this.openDialog = false;
  546. },
  547. // 上传证据目录弹窗
  548. uploadCase(row) {
  549. this.uploadCaseData = row;
  550. this.uploadCaseVisable = true;
  551. },
  552. // 批量缴费
  553. batchConfirmation(){
  554. this.batchVisable = true;
  555. },
  556. // 批量签名
  557. batchSignatures(){
  558. this.signatureVisable = true;
  559. },
  560. // 批量用印
  561. batchPrintings(){
  562. this.printingVisable = true;
  563. },
  564. // 批量操作弹窗
  565. operateClick(type) {
  566. this.operateVisable = true;
  567. if (type == 0) {
  568. this.operateTitle = '批量提交';
  569. this.operateStatus = 0;
  570. } else if (type == 1) {
  571. this.operateTitle = '批量删除';
  572. this.operateStatus = 1;
  573. } else if (type == 2) {
  574. this.operateTitle = '批量立案审查';
  575. this.operateStatus = 2;
  576. } else if (type == 4) {
  577. this.operateTitle = '批量生成裁决书';
  578. this.operateStatus = 4;
  579. } else if(type == 6){
  580. this.operateTitle = '批量缴费';
  581. this.operateStatus = 6;
  582. }
  583. },
  584. // 修改开庭时间
  585. timeUpdata(row) {
  586. this.timeData = row;
  587. this.timeVisable = true;
  588. },
  589. // 锁定案件
  590. lockClick(row) {
  591. this.$modal
  592. .confirm("是否锁定案件")
  593. .then(function () {
  594. return updateCaseLockStatus({ id: row.id, lockStatus: 1 });
  595. })
  596. .then((res) => {
  597. this.getcaseApply(this.queryParams);
  598. this.$modal.msgSuccess("锁定成功");
  599. })
  600. .catch(() => { });
  601. },
  602. // 解锁案件
  603. ulockClick(row) {
  604. this.$modal
  605. .confirm("是否解锁案件")
  606. .then(function () {
  607. return updateCaseLockStatus({ id: row.id, lockStatus: 0 });
  608. })
  609. .then((res) => {
  610. this.getcaseApply(this.queryParams);
  611. this.$modal.msgSuccess("解锁成功");
  612. })
  613. .catch(() => { });
  614. },
  615. // 修改证据
  616. evidenceUpload(row) {
  617. this.evidenceData = row;
  618. this.evidenceVisable = true;
  619. },
  620. // 取消弹窗(证据弹窗)
  621. cancelEvidence() {
  622. this.evidenceVisable = false;
  623. },
  624. // 查看流程
  625. viewProcess(row) {
  626. this.processVisable = true;
  627. this.processData = row;
  628. },
  629. // 机构发生变化
  630. changeDept(data) {
  631. this.queryParams.nameId = data[0];
  632. },
  633. // 获取机构数据
  634. getInstitution() {
  635. listDept().then((res) => {
  636. res.data.forEach((item) => {
  637. item.value = item.deptId;
  638. item.label = item.deptName;
  639. });
  640. this.options = this.handleTree(res.data, "deptId");
  641. });
  642. },
  643. /** 查询列表 */
  644. getcaseApply(val) {
  645. this.loading = true;
  646. caseApply(val).then((response) => {
  647. this.dataList = response.rows;
  648. this.total = response.total;
  649. this.loading = false;
  650. });
  651. },
  652. /** 搜索按钮操作 */
  653. handleQuery() {
  654. this.queryParams.caseStatusList = [];
  655. if (!this.queryParams.caseStatus) {
  656. this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]
  657. }
  658. if (this.queryParams.selectCaseStatus == 1) {
  659. this.queryParams.caseStatus = null;
  660. this.caseStatusType = true;
  661. this.btnStatus = false;
  662. } else if (this.queryParams.selectCaseStatus == 0) {
  663. this.caseStatusType = false;
  664. this.btnStatus = true;
  665. }
  666. this.queryParams.pageNum = 1;
  667. this.getcaseApply(this.queryParams);
  668. },
  669. /** 重置按钮操作 */
  670. resetQuery() {
  671. this.resetForm("queryForm");
  672. (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]),
  673. (this.queryParams.applicantName = ""),
  674. (this.queryParams.nameId = ""),
  675. (this.queryParams.batchNumber=""),
  676. this.getcaseApply(this.queryParams);
  677. },
  678. // 案件录入
  679. filingApplication() {
  680. this.form = {};
  681. this.initpaymentArr = [
  682. {
  683. identityType: 1,
  684. name: "",
  685. identityNum: "",
  686. contactTelphone: "",
  687. workAddress: "",
  688. workTelphone: "",
  689. contactAddress: "",
  690. nameAgent: "",
  691. contactTelphoneAgent: "",
  692. contactAddressAgent: "",
  693. },
  694. ];
  695. this.initpaymentArr1 = [
  696. {
  697. identityType: 2,
  698. name: "",
  699. identityNum: "",
  700. contactTelphone: "",
  701. workAddress: "",
  702. workTelphone: "",
  703. contactAddress: "",
  704. nameAgent: "",
  705. contactTelphoneAgent: "",
  706. contactAddressAgent: "",
  707. },
  708. ];
  709. this.visible = true;
  710. this.dialogtitle = "立案申请";
  711. this.flag = "2";
  712. },
  713. // 批量批量录入
  714. batchApplication() {
  715. this.openbatch = true;
  716. },
  717. //案件导入压缩包
  718. compressedPackages(){
  719. this.openCompressedPackages = true;
  720. },
  721. // 详情
  722. detailRow(row) {
  723. this.flag = "0";
  724. this.form = row;
  725. this.visible = true;
  726. this.dialogtitle = "立案详情";
  727. this.getInfo(row);
  728. },
  729. // 案件日志
  730. caselogRow(row) {
  731. this.showcaseLog = true;
  732. this.caseLogRecordListFn(row);
  733. },
  734. // 证据清单
  735. evidenceListS(row){
  736. this.evidenceListD = true;
  737. this.getInfo(row);
  738. },
  739. // 查询案件日志信息
  740. caseLogRecordListFn(val) {
  741. this.flagLoading = true;
  742. let params = {
  743. caseAppliId: val.id,
  744. };
  745. caseLogRecordList(params).then((res) => {
  746. this.caselogDataArr = res.data;
  747. this.flagLoading = false;
  748. });
  749. },
  750. // 关闭案件日志
  751. cancelcaseLog() {
  752. this.showcaseLog = false;
  753. },
  754. //关闭案件流程
  755. cancelViewProcess() {
  756. this.processVisable = false;
  757. },
  758. // 关闭案件详情
  759. cancelevidenceList(){
  760. this.evidenceListD = false;
  761. },
  762. // 修改
  763. editRow(row) {
  764. this.flag = "1";
  765. this.form = row;
  766. console.log(this.form)
  767. this.visible = true;
  768. this.dialogtitle = "立案修改";
  769. this.getInfo(row);
  770. },
  771. // 列表提交立案
  772. onsubmitRow(row) {
  773. this.$modal
  774. .confirm("是否提交立案申请?")
  775. .then(function () {
  776. // return submitCaseApply({ id: row.id });
  777. return submitCaseApply({ ids: [row.id] });
  778. })
  779. .then(() => {
  780. this.getcaseApply(this.queryParams);
  781. this.$modal.msgSuccess("立案申请成功");
  782. })
  783. .catch(() => { });
  784. },
  785. // 立案审查
  786. filingreviewRow(row) {
  787. console.log(row, "立案审查");
  788. this.showfilingreview = true;
  789. this.filingreviewdata = row;
  790. },
  791. cancelFilingreview() {
  792. this.showfilingreview = false;
  793. },
  794. // 取消缴费
  795. paycancelRow(row) {
  796. this.openPay = false;
  797. },
  798. // 是否进行缴费
  799. payStatus(val) {
  800. this.getDetail({ id: val.id, version: val.version });
  801. this.payTitle = "缴费";
  802. this.openPay = true;
  803. this.payId = val.id;
  804. },
  805. getDetail(parms) {
  806. caseApplicationDetail(parms).then((res) => {
  807. if (res.data.caseStatus == 1) {
  808. res.data.caseStatusName = "待缴费";
  809. }
  810. this.form = res.data;
  811. this.detailform = res.data;
  812. this.awardDetailform = res.data;
  813. this.detailsAwardNum = res.data;
  814. console.log(this.detailsAwardNum)
  815. this.payForm.feePayable = res.data.feePayable;
  816. this.payForm.caseId = res.data.id;
  817. });
  818. },
  819. // 缴费确认
  820. paymentconfirmationRow(row) {
  821. console.log(row)
  822. this.getDetail({ id: row.id,version: row.version });
  823. this.openDialog = true;
  824. this.title = "缴费确认";
  825. this.flag = 0;
  826. this.detailform = {}
  827. },
  828. // 查看缴费单
  829. viewpaymentformRow(row) {
  830. // console.log("查看缴费单", row);
  831. this.getDetail({ id: row.id,version: row.version});
  832. this.openDialog = true;
  833. this.title = "缴费单详情";
  834. this.flag = 1;
  835. this.detailform = {}
  836. },
  837. // 组庭
  838. // formationcourtRow(row) {
  839. // console.log(row, "组庭");
  840. // this.formateCourtData = row;
  841. // this.showformateCourt = true;
  842. // },
  843. // 关闭组庭页面
  844. cancelcourtDialog() {
  845. this.showformateCourt = false;
  846. },
  847. // 审核案件 selectCompareCase caseentryExamineData
  848. reviewCase(row) {
  849. this.caseentryExamineVisible = true;
  850. this.dialogtitle = "审核修改详情";
  851. this.getSelectCompareCase(row)
  852. },
  853. // 秘书审核修改页面 caseentryExamineVisible
  854. caseentryExamineCancel() {
  855. this.caseentryExamineVisible = false;
  856. },
  857. // 查询修改字段
  858. getSelectCompareCase(val) {
  859. let param = {
  860. caseId:val.id,
  861. version:val.version
  862. }
  863. selectCompareCase(param).then((res) => {
  864. // this.afterColumnValues = res.data.afterCase.columnValues
  865. // console.log(this.afterColumnValues+"8888888888")
  866. this.caseentryExamineData = res.data.afterCase
  867. this.caseentryExamineDataAll = res.data
  868. })
  869. },
  870. // 审核撤销
  871. reviewRevocation(row) {
  872. this.caseentryExamineVisible = true;
  873. this.dialogtitle = "审核撤销";
  874. this.getSelectCompareCase(row)
  875. },
  876. // 组庭确认
  877. courtconfirmationRow(row) {
  878. // console.log(row, "组庭确认");
  879. this.showcourtReview = true;
  880. this.form = row;
  881. },
  882. // 组庭审核
  883. courtreviewRow(row) {
  884. console.log(row, "组庭审核");
  885. this.formateCourtData = row;
  886. console.log(row)
  887. this.showformateCourt = true;
  888. },
  889. cancelcourtReview() {
  890. this.showcourtReview = false;
  891. },
  892. // 选择开庭方式改为审核仲裁方式
  893. choosetrialmethodRow(row) {
  894. // console.log(row, "审核仲裁方式");
  895. this.choosetrialmethodata = row;
  896. console.log(row)
  897. this.showchoosetrialmethod = true;
  898. },
  899. // 关闭审核仲裁方式
  900. cancelshowchoosetrialMethod() {
  901. this.showchoosetrialmethod = false;
  902. },
  903. // 书面审理
  904. adjudicaterecordRow(row) {
  905. // console.log(row, "书面审理");
  906. this.showadjudicaterecord = true;
  907. this.form = row;
  908. this.getInfo(row);
  909. },
  910. canceladjudicaterecord() {
  911. this.showadjudicaterecord = false;
  912. },
  913. // 开庭审理
  914. trialcourtRow(row) {
  915. console.log(row, "开庭审理");
  916. this.showtrialincourt = true;
  917. this.form = row;
  918. this.getInfo(row);
  919. },
  920. canceltrialincourt() {
  921. this.showtrialincourt = false;
  922. },
  923. // 生成裁决书 2023.10.15裁决书生成为自动,已合并如庭审提交
  924. // generateawardRow(row) {
  925. // console.log(row, "生成裁决书");
  926. // this.$modal
  927. // .confirm("确定生成裁决书吗?")
  928. // .then(function () {
  929. // return document({ id: row.id });
  930. // })
  931. // .then((res) => {
  932. // if (res.code == 200) {
  933. // this.getcaseApply(this.queryParams);
  934. // this.$modal.msgSuccess("裁决书生成成功");
  935. // }
  936. // })
  937. // .catch(() => {});
  938. // },
  939. // 归档
  940. fileRow(row) {
  941. console.log(row, "归档");
  942. },
  943. // 查找主体信息数据
  944. getInfo(row) {
  945. let params = {
  946. id: row.id,
  947. version: row.version
  948. }
  949. selectCaseApply(params).then((res) => {
  950. this.detailsAwardForm = res.data;
  951. // 证据清单
  952. this.caseAttachListR = res.data.caseAttachList;
  953. // this.visible = true;
  954. // this.formData = res.data;
  955. this.form.caseName = res.data.caseName;
  956. this.adjudicatename = {
  957. applicantName: res.data.applicantName,
  958. respondentName: res.data.respondentName,
  959. feePayable: res.data.feePayable,
  960. hearDate: res.data.hearDate,
  961. arbitratorName: res.data.arbitratorName,
  962. caseAttachList: res.data.caseAttachList,
  963. };
  964. console.log(res)
  965. this.initpaymentArr = [];
  966. this.initpaymentArr1 = [];
  967. res.data.caseAffiliates.forEach((item) => {
  968. if (item.identityType == 1) {
  969. this.initpaymentArr.push(item);
  970. } else {
  971. this.initpaymentArr1.push(item);
  972. }
  973. });
  974. this.columnValues = res.data.columnValues;
  975. this.caseAttachList = res.data.caseAttachList;
  976. // console.log(this.caseAttachList,"caseAttachList")
  977. this.form.requestRule = res.data.requestRule;
  978. this.form.properPreser = res.data.properPreser;
  979. this.form.facts =res.data.facts;
  980. // this.form.applicantIsWrittenHear = 1
  981. });
  982. },
  983. // 删除
  984. deleteRow(row) {
  985. // const id = row.id;
  986. this.$modal
  987. .confirm("是否确认删除?")
  988. .then(function () {
  989. // return removeCaseApply({ id: row.id });
  990. return removeCaseApply({ ids: [row.id] });
  991. })
  992. .then((res) => {
  993. this.getcaseApply(this.queryParams);
  994. this.$modal.msgSuccess("删除成功");
  995. })
  996. .catch(() => { });
  997. },
  998. // 申请人撤销修改 revoke
  999. undoRow(row) {
  1000. if (row.updateSubmitStatus == 1) {
  1001. this.$modal.confirm("是否确认撤销修改?").then(function () {
  1002. return revoke({ caseId: row.id, version: row.version });
  1003. }).then((res) => {
  1004. if (res.code == 200) {
  1005. this.getcaseApply(this.queryParams);
  1006. this.$modal.msgSuccess("撤销成功");
  1007. }
  1008. })
  1009. .catch(() => { });
  1010. } else if (row.updateSubmitStatus == 3) {
  1011. this.$modal.confirm("是否确认撤销已审核的修改?").then(function () {
  1012. return revoke({ caseId: row.id, version: row.version });
  1013. }).then((res) => {
  1014. if (res.code == 200) {
  1015. this.getcaseApply(this.queryParams);
  1016. this.$modal.msgSuccess("撤销申请已提交,等待审核");
  1017. }
  1018. })
  1019. .catch(() => { });
  1020. }
  1021. },
  1022. // 表格显示高亮
  1023. tableRowClassName(row){
  1024. console.log(row)
  1025. if(row.row.caseStatus==8){
  1026. return 'pendingTrial'
  1027. }
  1028. },
  1029. // model框显示
  1030. showModel(row, type) {
  1031. switch (type) {
  1032. case 0:
  1033. selectSignSealUrl({ id: row.id }).then(res => {
  1034. let url = res.data.filearbitraUrl;
  1035. window.open(url)
  1036. })
  1037. break;
  1038. case 1:
  1039. this.getDetail({ id: row.id,version: row.version });
  1040. this.openDialogInfor = true;
  1041. this.title = "核验裁决书";
  1042. this.flag = 1;
  1043. break;
  1044. case 2:
  1045. this.getDetail({ id: row.id,version: row.version });
  1046. this.openDialogInfor = true;
  1047. this.title = "审核裁决书";
  1048. this.flag = 2;
  1049. break;
  1050. case 3:
  1051. selectSignUrl({ id: row.id }).then(res => {
  1052. console.log(res)
  1053. let url = res.data.signUrl;
  1054. window.open(url)
  1055. })
  1056. break;
  1057. case 4:
  1058. this.getDetail({ id: row.id,version: row.version});
  1059. this.openDialogInfor = true;
  1060. this.title = "审核裁决书";
  1061. this.flag = 4;
  1062. break;
  1063. default:
  1064. break;
  1065. }
  1066. },
  1067. // 关闭弹窗
  1068. cancelpaymentdetailsCom() {
  1069. this.openDialogInfor = false;
  1070. },
  1071. // 用印申请
  1072. showaffixModel(row) {
  1073. this.$modal.confirm('是否进行用印申请?')
  1074. .then(function () {
  1075. selectSealUrl({ id: row.id }).then(res => {
  1076. let url = res.data.sealUrl;
  1077. window.open(url)
  1078. })
  1079. }).catch(function () {
  1080. });
  1081. },
  1082. // 快递信息弹框
  1083. showDeliveryModel(row) {
  1084. console.log(row, '快递');
  1085. this.showDelivery = true
  1086. this.getadjudicationLogistics({ id: row.id })
  1087. },
  1088. closeDeliveryModel() {
  1089. this.showDelivery = false
  1090. },
  1091. // 查询物流信息
  1092. getadjudicationLogistics(val) {
  1093. this.flagLoading = true;
  1094. adjudicationLogistics(val).then((res) => {
  1095. this.deliveryDataArr = res.data
  1096. this.flagLoading = false
  1097. })
  1098. },
  1099. // 送达裁决书弹框
  1100. showMailaward(row) {
  1101. this.mailawardata = row;
  1102. this.emailByCaseIdFn(row.id)
  1103. this.openMailawardDialog = true
  1104. },
  1105. // 关闭送达裁决书弹框
  1106. closeMailaward(row) {
  1107. this.openMailawardDialog = false
  1108. },
  1109. // 根据案件id查询邮件
  1110. emailByCaseIdFn(val) {
  1111. emailByCaseId({ id: val }).then((res) => {
  1112. this.emailobj = res.data
  1113. })
  1114. },
  1115. // 案件归档
  1116. showCasefilingModel(row) {
  1117. this.$modal.confirm('是否确认立即进行案件扫描?').then(
  1118. function () {
  1119. // return adjudicationCaseFile({ id: row.id })
  1120. return adjudicationCaseFile({ ids: [row.id] })
  1121. }
  1122. ).then(() => {
  1123. this.getcaseApply(this.queryParams);
  1124. this.$modal.msgSuccess("归档成功!");
  1125. }).catch(function () { })
  1126. },
  1127. // 归档详情
  1128. detailsAwardList(row){
  1129. this.showarchiveDetails = true
  1130. this.getDetail({ id: row.id })
  1131. this.getvideoList({ caseId: row.id })
  1132. this.getAttachListByCaseId({caseAppliId:row.id,annexType:11})
  1133. this.flagLoadingS = false
  1134. },
  1135. // 根据id查询视频列表
  1136. getvideoList(data){
  1137. videoList(data).then(res => {
  1138. this.videoList = res.data;
  1139. })
  1140. },
  1141. //根据案件id和类型查询附件
  1142. getAttachListByCaseId(data){
  1143. attachListByCaseId(data).then(res =>{
  1144. this.trialTranscripts = res.data;
  1145. })
  1146. },
  1147. // 归档详情关闭弹框
  1148. cancelDetail(){
  1149. this.showarchiveDetails = false;
  1150. },
  1151. },
  1152. };
  1153. </script>
  1154. <style>
  1155. /* // #formContainer {} */
  1156. .el-table .pendingTrial {
  1157. background:rgb(97, 224, 23);
  1158. }
  1159. </style>