应用层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'])">查看缴费单</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)" v-if="scope.row.caseStatus == 7 &&
  154. checkPermi(['caseManagement:list:checkarbitrationway']) && btnStatus
  155. ">审核仲裁方式</el-button>
  156. <el-button size="mini" type="text" icon="el-icon-edit-outline" @click="adjudicaterecordRow(scope.row)" v-if="scope.row.caseStatus == 9 &&
  157. scope.row.arbitratMethod == 2 &&
  158. checkPermi(['caseManagement:list:hear']) && btnStatus
  159. ">书面审理</el-button>
  160. <!-- v-hasPermi="['caseManagement:list:hear']" -->
  161. <el-button size="mini" type="text" icon="el-icon-service" @click="trialcourtRow(scope.row)" v-if="scope.row.caseStatus == 8 &&
  162. scope.row.arbitratMethod == 1 &&
  163. checkPermi(['caseManagement:list:hear']) && btnStatus
  164. ">开庭审理</el-button>
  165. <!-- <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus < 8 &&
  166. checkPermi(['caseManagement:list:evidenceUpdate']) && btnStatus"
  167. @click="evidenceUpload(scope.row)">证据修改</el-button> -->
  168. <el-button size="mini" type="text" icon="el-icon-edit" v-if="(scope.row.caseStatus < 10 && scope.row.caseStatus != 2 && scope.row.caseStatus != 0) &&
  169. checkPermi(['caseManagement:list:evidenceUpdate']) && btnStatus"
  170. @click="evidenceUpload(scope.row)">修改证据</el-button>
  171. <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 31 && btnStatus && checkPermi(['caseManagement:list:timer'])"
  172. @click="timeUpdata(scope.row)">设定开庭时间</el-button>
  173. <el-button size="mini" type="text" icon="el-icon-lock"
  174. v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 0 && btnStatus"
  175. @click="lockClick(scope.row)">锁定案件</el-button>
  176. <el-button size="mini" type="text" icon="el-icon-unlock"
  177. v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 1 && btnStatus"
  178. @click="ulockClick(scope.row)">解锁</el-button>
  179. <el-button size="mini" type="text" icon="el-icon-reading"
  180. v-if="scope.row.filearbitraUrl && scope.row.filearbitraUrl !== ''"
  181. @click="showModel(scope.row, 0)">查看裁决书</el-button>
  182. <el-button size="mini" type="text" icon="el-icon-edit"
  183. v-if="scope.row.caseStatus == 11 && checkPermi(['caseManagement:list:secretarycheck'])"
  184. @click="showModel(scope.row, 1)">核验裁决书</el-button>
  185. <el-button size="mini" type="text" icon="el-icon-edit"
  186. v-if="scope.row.caseStatus == 18 && checkPermi(['caseManagement:list:arbitratorcheck']) && btnStatus"
  187. @click="showModel(scope.row, 4)">审核裁决书</el-button>
  188. <el-button size="mini" type="text" icon="el-icon-edit"
  189. v-if="scope.row.caseStatus == 12 && checkPermi(['caseManagement:list:confirmaward']) && btnStatus"
  190. @click="showModel(scope.row, 2)">审核裁决书</el-button>
  191. <el-button size="mini" type="text" icon="el-icon-edit"
  192. v-if="scope.row.caseStatus == 13 && checkPermi(['caseManagement:list:sign']) && btnStatus"
  193. @click="showModel(scope.row, 3)">签名</el-button>
  194. <el-button size="mini" type="text" icon="el-icon-edit"
  195. v-if="scope.row.caseStatus == 14 && checkPermi(['caseManagement:list:signprint']) && btnStatus"
  196. @click="showaffixModel(scope.row, 4)">用印</el-button>
  197. <el-button size="mini" type="text" icon="el-icon-truck"
  198. v-if="scope.row.caseStatus > 15 && checkPermi(['caseManagement:list:delivery'])"
  199. @click="showDeliveryModel(scope.row, 4)">快递信息</el-button>
  200. <el-button size="mini" type="text" icon="el-icon-edit"
  201. v-if="scope.row.caseStatus == 15 && checkPermi(['caseManagement:list:sendaward']) && btnStatus"
  202. @click="showMailaward(scope.row)">送达裁决书</el-button>
  203. <el-button size="mini" type="text" icon="el-icon-edit"
  204. v-if="scope.row.caseStatus == 16 && checkPermi(['caseManagement:list:archive']) && btnStatus"
  205. @click="showCasefilingModel(scope.row, 6)">案件归档</el-button>
  206. <el-button size="mini" type="text" icon="el-icon-tickets" @click="detailsAwardList(scope.row)">案件详情</el-button>
  207. <!-- 暂时隐藏后期可能会放其他地方 -->
  208. <!-- <el-button v-if="checkPermi(['caseManagement:list:listEvidence']) && scope.row.caseStatus <= 1 && btnStatus"
  209. size="mini" type="text" icon="el-icon-upload" @click="uploadCase(scope.row)">上传证据目录</el-button> -->
  210. <!-- <el-button
  211. size="mini"
  212. type="text"
  213. icon="el-icon-document"
  214. @click="generateawardRow(scope.row)"
  215. v-if="
  216. scope.row.caseStatus == 10 &&
  217. checkPermi(['caseManagement:list:createaward'])
  218. "
  219. >生成裁决书</el-button
  220. > -->
  221. </template>
  222. </el-table-column>
  223. </el-table>
  224. <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
  225. @pagination="getcaseApply(queryParams)" />
  226. <!-- 立案申请弹框 -->
  227. <caseentryDialog :visible="visible" @cancel="cancel" :form="form" :queryParams="queryParams"
  228. :dialogtitle="dialogtitle" :getcaseApply="getcaseApply" :flag="flag" :caseAttachList="caseAttachList"
  229. :initpaymentArr="initpaymentArr" :initpaymentArr1="initpaymentArr1" :columnValues="columnValues"></caseentryDialog>
  230. <!-- 批量申请弹框 openbatch-->
  231. <batchDialog :openbatch="openbatch" :queryParams="queryParams" @cancelBatch="cancelBatch"
  232. :getcaseApply="getcaseApply"></batchDialog>
  233. <!-- 立案审查页面 -->
  234. <filingreviewDialog :showfilingreview="showfilingreview" :filingreviewdata="filingreviewdata"
  235. :queryParams="queryParams" @getcaseApply="getcaseApply" @cancelFilingreview="cancelFilingreview">
  236. </filingreviewDialog>
  237. <!-- 组庭页面---改为组庭审核 -->
  238. <formateCourtDialog :showformateCourt="showformateCourt" @cancelcourtDialog="cancelcourtDialog"
  239. :queryParams="queryParams" :formateCourtData="formateCourtData" @getcaseApply="getcaseApply"></formateCourtDialog>
  240. <!-- 组庭审核--改组庭确认 -->
  241. <courtReviewDialog :showcourtReview="showcourtReview" :form="form" :queryParams="queryParams"
  242. @cancelcourtReview="cancelcourtReview" @getcaseApply="getcaseApply"></courtReviewDialog>
  243. <!-- 审核仲裁方式 -->
  244. <choosetrialmethodDaiog :showchoosetrialmethod="showchoosetrialmethod" :choosetrialmethodata="choosetrialmethodata"
  245. :queryParams="queryParams" @getcaseApply="getcaseApply" @cancelshowchoosetrialMethod="cancelshowchoosetrialMethod">
  246. </choosetrialmethodDaiog>
  247. <!-- 书面审理 -->
  248. <adjudicaterecordDialog :showadjudicaterecord="showadjudicaterecord" :form="form" :adjudicatename="adjudicatename"
  249. :queryParams="queryParams" @canceladjudicaterecord="canceladjudicaterecord" @getcaseApply="getcaseApply">
  250. </adjudicaterecordDialog>
  251. <!-- 开庭审理 -->
  252. <trialincourtDialog :showtrialincourt="showtrialincourt" :adjudicatename="adjudicatename" :form="form"
  253. :queryParams="queryParams" @getcaseApply="getcaseApply" @canceltrialincourt="canceltrialincourt">
  254. </trialincourtDialog>
  255. <!-- 缴费 -->
  256. <payDialog :openPay="openPay" :payTitle="payTitle" :form="form" :payForm="payForm" :queryParams="queryParams"
  257. @getcaseApply="getcaseApply" @paycancelRow="paycancelRow" :payId="payId"></payDialog>
  258. <!-- 缴费确认数据详情 -->
  259. <paymentdetailsDialog :openDialog="openDialog" :detailform="detailform" :title="title" :flag="flag" :queryParams="queryParams"
  260. @getcaseApply="getcaseApply" @cancelpaymentdetails="cancelpaymentdetails"></paymentdetailsDialog>
  261. <!-- 案件日志 -->
  262. <caselogDialog :showcaseLog="showcaseLog" @cancelcaseLog="cancelcaseLog" :flagLoading="flagLoading"
  263. :caselogDataArr="caselogDataArr"></caselogDialog>
  264. <!-- 案件流程 -->
  265. <viewprocessDialog :processVisable="processVisable" @cancelViewProcess="cancelViewProcess" :processData="processData">
  266. </viewprocessDialog>
  267. <!-- 证据修改 -->
  268. <evidenceDialog :evidenceVisable="evidenceVisable" @cancelEvidence="cancelEvidence" :evidenceData="evidenceData">
  269. </evidenceDialog>
  270. <!-- 开庭时间修改 -->
  271. <timeDialog :timeVisable="timeVisable" @getcaseApply="getcaseApply" @cancelTime="cancelTime" :timeData="timeData"
  272. :queryParams="queryParams">
  273. </timeDialog>
  274. <!-- 批量操作弹窗 -->
  275. <operateDialog :queryParams="queryParams" :operateStatus="operateStatus" :operateVisable="operateVisable"
  276. @getcaseApply="getcaseApply" :operateTitle="operateTitle" @cancelOperate="cancelOperate" :operateData="operateData">
  277. </operateDialog>
  278. <!-- 上传证据目录弹窗 -->
  279. <uploadCaseDialog :uploadCaseVisable="uploadCaseVisable" @uploadCaseCancel="uploadCaseCancel"
  280. :uploadCaseData="uploadCaseData">
  281. </uploadCaseDialog>
  282. <!-- 秘书审核修改页面 -->
  283. <caseentryExamineDialog :dialogtitle="dialogtitle" :caseentryExamineVisible="caseentryExamineVisible" :queryParams="queryParams"
  284. @getcaseApply="getcaseApply"
  285. @caseentryExamineCancel="caseentryExamineCancel" :caseentryExamineData="caseentryExamineData" :caseentryExamineDataAll="caseentryExamineDataAll"></caseentryExamineDialog>
  286. <caseCompressionPackage :openCompressedPackages="openCompressedPackages" :queryParams="queryParams" @cancelCompreess="cancelCompreess"
  287. @getcaseApply="getcaseApply">
  288. </caseCompressionPackage>
  289. <!-- 证据清单 -->
  290. <evidenceList :evidenceListD ="evidenceListD" @cancelevidenceList="cancelevidenceList" :caseAttachListR ="caseAttachListR"></evidenceList>
  291. <!-- 批量缴费确认 -->
  292. <batchConfirmationPaymen @batchOperate="batchOperate" :batchVisable="batchVisable"></batchConfirmationPaymen>
  293. <!-- 批量签名 -->
  294. <batchSignature :signatureVisable="signatureVisable" @signatureOperate="signatureOperate"></batchSignature>
  295. <!-- 批量用印 -->
  296. <batchPrinting :printingVisable="printingVisable" @printingOperate="printingOperate"></batchPrinting>
  297. <!-- 裁决书弹窗 -->
  298. <judgmentInformation :openDialogInfor="openDialogInfor" :awardDetailform="awardDetailform" :title="title" :flag="flag" @getcaseApply="getcaseApply" :queryParams="queryParams"
  299. @cancelpaymentdetailsCom="cancelpaymentdetailsCom"></judgmentInformation>
  300. <!-- 快递信息页面 -->
  301. <expressDeliveryDialog :showDelivery="showDelivery" :deliveryDataArr="deliveryDataArr"
  302. @closeDeliveryModel="closeDeliveryModel" :flagLoading="flagLoading"></expressDeliveryDialog>
  303. <!-- 送达裁决书页面 -->
  304. <mailawardDialog :openMailawardDialog="openMailawardDialog" @closeMailaward="closeMailaward" :mailawardata="mailawardata" :emailobj="emailobj" @getcaseApply="getcaseApply" :queryParams="queryParams"></mailawardDialog>
  305. <!-- 裁决书案件详情 -->
  306. <detailsAward :showarchiveDetails="showarchiveDetails" @cancelDetail="cancelDetail" :detailsAwardNum="detailsAwardNum" :videoList="videoList"
  307. :flagLoadingS="flagLoadingS" :trialTranscripts="trialTranscripts"
  308. ></detailsAward>
  309. </div>
  310. </template>
  311. <script>
  312. import caseentryDialog from "./components/caseentryDialog";
  313. import batchDialog from "./components/batchDialog";
  314. import formateCourtDialog from "./components/formateCourtDialog.vue";
  315. import courtReviewDialog from "./components/courtReviewDialog.vue";
  316. import choosetrialmethodDaiog from "./components/choosetrialmethodDaiog.vue";
  317. import adjudicaterecordDialog from "./components/adjudicaterecordDialog.vue";
  318. import trialincourtDialog from "./components/trialincourtDialog.vue";
  319. import payDialog from "./components/payDialog.vue";
  320. import filingreviewDialog from "./components/filingreviewDialog.vue";
  321. import caselogDialog from "./components/caselogDialog.vue";
  322. import viewprocessDialog from "./components/viewprocessDialog.vue";
  323. import evidenceDialog from './components/evidenceDialog.vue';
  324. import timeDialog from './components/timeDialog.vue';
  325. import operateDialog from './components/operateDialog.vue';
  326. import uploadCaseDialog from './components/uploadCaseDialog.vue';
  327. import caseCompressionPackage from './components/caseCompressionPackage.vue';
  328. import evidenceList from './components/evidenceList.vue'
  329. import batchConfirmationPaymen from './components/batchConfirmationPaymen.vue'
  330. import batchSignature from './components/batchSignature.vue'
  331. import batchPrinting from './components/batchPrinting.vue'
  332. import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
  333. // 秘书审核页面
  334. import caseentryExamineDialog from './components/caseentryExamine.vue';
  335. //裁决书弹框页面
  336. import judgmentInformation from './components/judgmentInformation.vue';
  337. //快递弹窗
  338. import expressDeliveryDialog from './components/expressDeliveryDialog.vue';
  339. //裁决书弹窗
  340. import mailawardDialog from './components/mailawardDialog.vue';
  341. //归档详情弹窗
  342. import detailsAward from './components/detailsAward.vue';
  343. import { caseApplicationDetail,selectCaseApplicationConfirm } from "@/api/pay/pay";
  344. import { videoList } from "@/api/caseFiling/caseFiling";
  345. import {
  346. caseApply,
  347. removeCaseApply,
  348. submitCaseApply,
  349. selectCaseApply,
  350. updateCaseLockStatus,
  351. } from "@/api/caseAccess/caseEntry";
  352. import { listDept } from "@/api/system/dept";
  353. import {
  354. document,
  355. caseLogRecordList,
  356. revoke,
  357. selectCompareCase,
  358. updateAudit,
  359. attachListByCaseId
  360. } from "@/api/caseManagement/caseManagement";
  361. import {selectSignSealUrl,selectSignUrl,selectSealUrl,adjudicationLogistics,emailByCaseId,adjudicationCaseFile,} from "@/api/awardManagement/awardManagement";
  362. import { getDicts } from '@/api/system/dict/data.js';
  363. export default {
  364. name: "caseList",
  365. // dicts: ["case_status"],
  366. components: {
  367. caseentryDialog,
  368. batchDialog,
  369. formateCourtDialog,
  370. courtReviewDialog,
  371. choosetrialmethodDaiog,
  372. adjudicaterecordDialog,
  373. trialincourtDialog,
  374. payDialog,
  375. filingreviewDialog,
  376. caselogDialog,
  377. viewprocessDialog,
  378. evidenceDialog,
  379. timeDialog,
  380. operateDialog,
  381. uploadCaseDialog,
  382. caseentryExamineDialog,
  383. caseCompressionPackage,
  384. evidenceList,
  385. batchConfirmationPaymen,
  386. batchSignature,
  387. batchPrinting,
  388. paymentdetailsDialog,
  389. judgmentInformation,
  390. expressDeliveryDialog,
  391. mailawardDialog,
  392. detailsAward
  393. },
  394. data() {
  395. return {
  396. // 遮罩层
  397. loading: true,
  398. // 总条数
  399. total: 0,
  400. isapply: "申请人:",
  401. // 表格数据
  402. dataList: [],
  403. // 抓取数据
  404. columnValues:[],
  405. // 审核修改抓取数据
  406. // afterColumnValues:[],
  407. // 查询参数
  408. queryParams: {
  409. caseNum: undefined,
  410. // caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 16],
  411. caseStatusList: [0, 1, 2, 5, 6, 7, 8, 9, 10, 31],
  412. // hearDate: "",
  413. caseStatus: null,
  414. batchNumber:null,
  415. applicantName: "",
  416. nameId: "",
  417. pageNum: 1,
  418. pageSize: 10,
  419. },
  420. dialogtitle: "", //弹框标题
  421. visible: false, //申请弹框控制
  422. form: {},
  423. starttime: "", //开始时间
  424. endtime: "", //结束时间
  425. formData: {},
  426. flag: "-1",
  427. initpaymentArr: [],
  428. initpaymentArr1: [],
  429. showfilingreview: false, //立案申查弹框控制
  430. filingreviewdata: {}, //立案审查传输数据
  431. openbatch: false, // 批量申请弹框
  432. openCompressedPackages:false,//案件压缩包导入
  433. formateCourtData: {}, //组庭
  434. showformateCourt: false, //组庭界面显示
  435. showcourtReview: false, //组庭审核页面
  436. showchoosetrialmethod: false, //选择仲裁方式页面
  437. choosetrialmethodata: {},
  438. showadjudicaterecord: false, //书面审理弹框
  439. adjudicatename: {}, //书面仲裁(被)申请人姓名
  440. showtrialincourt: false, //开庭审理
  441. openPay: false, //缴费弹框
  442. processVisable: false,//案件流程弹窗
  443. evidenceVisable: false,//修改证据弹窗
  444. evidenceData: {},
  445. payTitle: "",
  446. payForm: {},
  447. caseAttachList: [], //案件质证资料
  448. showcaseLog: false, //案件日志弹框显示
  449. evidenceListD:false,//证据清单弹框显示
  450. caseAttachListR:[], //证据清单
  451. flagLoading: true, //案件日志弹框loading
  452. caselogDataArr: [],
  453. options: [], //机构数据
  454. detailform:{},//缴费详情
  455. awardDetailform:{},//裁决书详情
  456. openDialog: false, //缴费详情数据弹框
  457. openDialogInfor:false,//裁决书弹框
  458. showDelivery:false,//快递弹窗
  459. flagLoading: true,
  460. deliveryDataArr: [],//快递信息数据
  461. openMailawardDialog: false, //送达裁决书页面
  462. mailawardata: {}, //裁决书送达界面数据
  463. emailobj: {},//邮箱存储
  464. showarchiveDetails:false,//归档详情弹框
  465. videoList:"", //视频数据
  466. flagLoadingS: true,
  467. trialTranscripts:[],//庭审笔录
  468. detailsAwardNum:{},//归档详情数据
  469. flag: null,
  470. title: "",
  471. payId: null,
  472. caseStatus: [],
  473. processData: {},
  474. timeVisable: false,
  475. timeData: {},
  476. operateVisable: false,
  477. batchVisable:false,
  478. signatureVisable:false,//批量签名
  479. printingVisable:false,
  480. operateData: {},
  481. operateTitle: "",
  482. operateStatus: 0,
  483. uploadCaseVisable: false,
  484. caseentryExamineVisible: false,
  485. caseentryExamineData: {},
  486. caseentryExamineDataAll: {},
  487. uploadCaseData: {},
  488. selectCaseStatusList: [
  489. {
  490. label: "待办案件",
  491. value: 0
  492. },
  493. {
  494. label: "已办案件",
  495. value: 1
  496. }
  497. ],
  498. caseStatusType: false,
  499. btnStatus: true,
  500. };
  501. },
  502. created() {
  503. getDicts("case_status").then(res => {
  504. this.caseStatus = res.data;
  505. let params = this.$route.params.status;
  506. if (params >= 0) {
  507. this.queryParams.caseStatus = params;
  508. }
  509. this.queryParams.batchNumber = this.$route.params.batchNumber;
  510. console.log(this.$route.params.batchNumber)
  511. this.getcaseApply(this.queryParams);
  512. })
  513. // this.getcaseApply(this.queryParams);
  514. this.getInstitution();
  515. },
  516. methods: {
  517. cancel() {
  518. this.visible = false;
  519. },
  520. cancelBatch() {
  521. this.openbatch = false;
  522. },
  523. cancelCompreess(){
  524. this.openCompressedPackages = false;
  525. },
  526. cancelTime() {
  527. this.timeVisable = false;
  528. },
  529. cancelOperate() {
  530. this.operateVisable = false;
  531. },
  532. batchOperate(){
  533. this.batchVisable = false;
  534. },
  535. printingOperate(){
  536. this.printingVisable = false;
  537. },
  538. uploadCaseCancel() {
  539. this.uploadCaseVisable = false;
  540. },
  541. signatureOperate(){
  542. this.signatureVisable = false;
  543. },
  544. // 关闭确认缴费弹窗
  545. cancelpaymentdetails() {
  546. this.openDialog = false;
  547. },
  548. // 上传证据目录弹窗
  549. uploadCase(row) {
  550. this.uploadCaseData = row;
  551. this.uploadCaseVisable = true;
  552. },
  553. // 批量缴费
  554. batchConfirmation(){
  555. this.batchVisable = true;
  556. },
  557. // 批量签名
  558. batchSignatures(){
  559. this.signatureVisable = true;
  560. },
  561. // 批量用印
  562. batchPrintings(){
  563. this.printingVisable = true;
  564. },
  565. // 批量操作弹窗
  566. operateClick(type) {
  567. this.operateVisable = true;
  568. if (type == 0) {
  569. this.operateTitle = '批量提交';
  570. this.operateStatus = 0;
  571. } else if (type == 1) {
  572. this.operateTitle = '批量删除';
  573. this.operateStatus = 1;
  574. } else if (type == 2) {
  575. this.operateTitle = '批量立案审查';
  576. this.operateStatus = 2;
  577. } else if (type == 4) {
  578. this.operateTitle = '批量生成裁决书';
  579. this.operateStatus = 4;
  580. } else if(type == 6){
  581. this.operateTitle = '批量缴费';
  582. this.operateStatus = 6;
  583. }
  584. },
  585. // 修改开庭时间
  586. timeUpdata(row) {
  587. this.timeData = row;
  588. this.timeVisable = true;
  589. },
  590. // 锁定案件
  591. lockClick(row) {
  592. this.$modal
  593. .confirm("是否锁定案件")
  594. .then(function () {
  595. return updateCaseLockStatus({ id: row.id, lockStatus: 1 });
  596. })
  597. .then((res) => {
  598. this.getcaseApply(this.queryParams);
  599. this.$modal.msgSuccess("锁定成功");
  600. })
  601. .catch(() => { });
  602. },
  603. // 解锁案件
  604. ulockClick(row) {
  605. this.$modal
  606. .confirm("是否解锁案件")
  607. .then(function () {
  608. return updateCaseLockStatus({ id: row.id, lockStatus: 0 });
  609. })
  610. .then((res) => {
  611. this.getcaseApply(this.queryParams);
  612. this.$modal.msgSuccess("解锁成功");
  613. })
  614. .catch(() => { });
  615. },
  616. // 修改证据
  617. evidenceUpload(row) {
  618. this.evidenceData = row;
  619. this.evidenceVisable = true;
  620. },
  621. // 取消弹窗(证据弹窗)
  622. cancelEvidence() {
  623. this.evidenceVisable = false;
  624. },
  625. // 查看流程
  626. viewProcess(row) {
  627. this.processVisable = true;
  628. this.processData = row;
  629. },
  630. // 机构发生变化
  631. changeDept(data) {
  632. this.queryParams.nameId = data[0];
  633. },
  634. // 获取机构数据
  635. getInstitution() {
  636. listDept().then((res) => {
  637. res.data.forEach((item) => {
  638. item.value = item.deptId;
  639. item.label = item.deptName;
  640. });
  641. this.options = this.handleTree(res.data, "deptId");
  642. });
  643. },
  644. /** 查询列表 */
  645. getcaseApply(val) {
  646. this.loading = true;
  647. caseApply(val).then((response) => {
  648. this.dataList = response.rows;
  649. this.total = response.total;
  650. this.loading = false;
  651. });
  652. },
  653. /** 搜索按钮操作 */
  654. handleQuery() {
  655. this.queryParams.caseStatusList = [];
  656. if (!this.queryParams.caseStatus) {
  657. this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]
  658. }
  659. if (this.queryParams.selectCaseStatus == 1) {
  660. this.queryParams.caseStatus = null;
  661. this.caseStatusType = true;
  662. this.btnStatus = false;
  663. } else if (this.queryParams.selectCaseStatus == 0) {
  664. this.caseStatusType = false;
  665. this.btnStatus = true;
  666. }
  667. this.queryParams.pageNum = 1;
  668. this.getcaseApply(this.queryParams);
  669. },
  670. /** 重置按钮操作 */
  671. resetQuery() {
  672. this.resetForm("queryForm");
  673. (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]),
  674. (this.queryParams.applicantName = ""),
  675. (this.queryParams.nameId = ""),
  676. (this.queryParams.batchNumber=""),
  677. this.getcaseApply(this.queryParams);
  678. },
  679. // 案件录入
  680. filingApplication() {
  681. this.form = {};
  682. this.initpaymentArr = [
  683. {
  684. identityType: 1,
  685. name: "",
  686. identityNum: "",
  687. contactTelphone: "",
  688. workAddress: "",
  689. workTelphone: "",
  690. contactAddress: "",
  691. nameAgent: "",
  692. contactTelphoneAgent: "",
  693. contactAddressAgent: "",
  694. },
  695. ];
  696. this.initpaymentArr1 = [
  697. {
  698. identityType: 2,
  699. name: "",
  700. identityNum: "",
  701. contactTelphone: "",
  702. workAddress: "",
  703. workTelphone: "",
  704. contactAddress: "",
  705. nameAgent: "",
  706. contactTelphoneAgent: "",
  707. contactAddressAgent: "",
  708. },
  709. ];
  710. this.visible = true;
  711. this.dialogtitle = "立案申请";
  712. this.flag = "2";
  713. },
  714. // 批量批量录入
  715. batchApplication() {
  716. this.openbatch = true;
  717. },
  718. //案件导入压缩包
  719. compressedPackages(){
  720. this.openCompressedPackages = true;
  721. },
  722. // 详情
  723. detailRow(row) {
  724. this.flag = "0";
  725. this.form = row;
  726. this.visible = true;
  727. this.dialogtitle = "立案详情";
  728. this.getInfo(row);
  729. },
  730. // 案件日志
  731. caselogRow(row) {
  732. this.showcaseLog = true;
  733. this.caseLogRecordListFn(row);
  734. },
  735. // 证据清单
  736. evidenceListS(row){
  737. this.evidenceListD = true;
  738. this.getInfo(row);
  739. },
  740. // 查询案件日志信息
  741. caseLogRecordListFn(val) {
  742. this.flagLoading = true;
  743. let params = {
  744. caseAppliId: val.id,
  745. };
  746. caseLogRecordList(params).then((res) => {
  747. this.caselogDataArr = res.data;
  748. this.flagLoading = false;
  749. });
  750. },
  751. // 关闭案件日志
  752. cancelcaseLog() {
  753. this.showcaseLog = false;
  754. },
  755. //关闭案件流程
  756. cancelViewProcess() {
  757. this.processVisable = false;
  758. },
  759. // 关闭案件详情
  760. cancelevidenceList(){
  761. this.evidenceListD = false;
  762. },
  763. // 修改
  764. editRow(row) {
  765. this.flag = "1";
  766. this.form = row;
  767. console.log(this.form)
  768. this.visible = true;
  769. this.dialogtitle = "立案修改";
  770. this.getInfo(row);
  771. },
  772. // 列表提交立案
  773. onsubmitRow(row) {
  774. this.$modal
  775. .confirm("是否提交立案申请?")
  776. .then(function () {
  777. // return submitCaseApply({ id: row.id });
  778. return submitCaseApply({ ids: [row.id] });
  779. })
  780. .then(() => {
  781. this.getcaseApply(this.queryParams);
  782. this.$modal.msgSuccess("立案申请成功");
  783. })
  784. .catch(() => { });
  785. },
  786. // 立案审查
  787. filingreviewRow(row) {
  788. console.log(row, "立案审查");
  789. this.showfilingreview = true;
  790. this.filingreviewdata = row;
  791. },
  792. cancelFilingreview() {
  793. this.showfilingreview = false;
  794. },
  795. // 取消缴费
  796. paycancelRow(row) {
  797. this.openPay = false;
  798. },
  799. // 是否进行缴费
  800. payStatus(val) {
  801. this.getDetail({ id: val.id, version: val.version });
  802. this.payTitle = "缴费";
  803. this.openPay = true;
  804. this.payId = val.id;
  805. },
  806. getDetail(parms) {
  807. caseApplicationDetail(parms).then((res) => {
  808. if (res.data.caseStatus == 1) {
  809. res.data.caseStatusName = "待缴费";
  810. }
  811. this.form = res.data;
  812. this.detailform = res.data;
  813. this.awardDetailform = res.data;
  814. this.detailsAwardNum = res.data;
  815. console.log(this.detailsAwardNum)
  816. this.payForm.feePayable = res.data.feePayable;
  817. this.payForm.caseId = res.data.id;
  818. });
  819. },
  820. // 缴费确认
  821. paymentconfirmationRow(row) {
  822. console.log(row)
  823. this.getDetail({ id: row.id,version: row.version });
  824. this.openDialog = true;
  825. this.title = "缴费确认";
  826. this.flag = 0;
  827. this.detailform = {}
  828. },
  829. // 查看缴费单
  830. viewpaymentformRow(row) {
  831. // console.log("查看缴费单", row);
  832. this.getDetail({ id: row.id,version: row.version});
  833. this.openDialog = true;
  834. this.title = "缴费单详情";
  835. this.flag = 1;
  836. this.detailform = {}
  837. },
  838. // 组庭
  839. // formationcourtRow(row) {
  840. // console.log(row, "组庭");
  841. // this.formateCourtData = row;
  842. // this.showformateCourt = true;
  843. // },
  844. // 关闭组庭页面
  845. cancelcourtDialog() {
  846. this.showformateCourt = false;
  847. },
  848. // 审核案件 selectCompareCase caseentryExamineData
  849. reviewCase(row) {
  850. this.caseentryExamineVisible = true;
  851. this.dialogtitle = "审核修改详情";
  852. this.getSelectCompareCase(row)
  853. },
  854. // 秘书审核修改页面 caseentryExamineVisible
  855. caseentryExamineCancel() {
  856. this.caseentryExamineVisible = false;
  857. },
  858. // 查询修改字段
  859. getSelectCompareCase(val) {
  860. let param = {
  861. caseId:val.id,
  862. version:val.version
  863. }
  864. selectCompareCase(param).then((res) => {
  865. // this.afterColumnValues = res.data.afterCase.columnValues
  866. // console.log(this.afterColumnValues+"8888888888")
  867. this.caseentryExamineData = res.data.afterCase
  868. this.caseentryExamineDataAll = res.data
  869. })
  870. },
  871. // 审核撤销
  872. reviewRevocation(row) {
  873. this.caseentryExamineVisible = true;
  874. this.dialogtitle = "审核撤销";
  875. this.getSelectCompareCase(row)
  876. },
  877. // 组庭确认
  878. courtconfirmationRow(row) {
  879. // console.log(row, "组庭确认");
  880. this.showcourtReview = true;
  881. this.form = row;
  882. },
  883. // 组庭审核
  884. courtreviewRow(row) {
  885. console.log(row, "组庭审核");
  886. this.formateCourtData = row;
  887. console.log(row)
  888. this.showformateCourt = true;
  889. },
  890. cancelcourtReview() {
  891. this.showcourtReview = false;
  892. },
  893. // 选择开庭方式改为审核仲裁方式
  894. choosetrialmethodRow(row) {
  895. // console.log(row, "审核仲裁方式");
  896. this.choosetrialmethodata = row;
  897. console.log(row)
  898. this.showchoosetrialmethod = true;
  899. },
  900. // 关闭审核仲裁方式
  901. cancelshowchoosetrialMethod() {
  902. this.showchoosetrialmethod = false;
  903. },
  904. // 书面审理
  905. adjudicaterecordRow(row) {
  906. // console.log(row, "书面审理");
  907. this.showadjudicaterecord = true;
  908. this.form = row;
  909. this.getInfo(row);
  910. },
  911. canceladjudicaterecord() {
  912. this.showadjudicaterecord = false;
  913. },
  914. // 开庭审理
  915. trialcourtRow(row) {
  916. console.log(row, "开庭审理");
  917. this.showtrialincourt = true;
  918. this.form = row;
  919. this.getInfo(row);
  920. },
  921. canceltrialincourt() {
  922. this.showtrialincourt = false;
  923. },
  924. // 生成裁决书 2023.10.15裁决书生成为自动,已合并如庭审提交
  925. // generateawardRow(row) {
  926. // console.log(row, "生成裁决书");
  927. // this.$modal
  928. // .confirm("确定生成裁决书吗?")
  929. // .then(function () {
  930. // return document({ id: row.id });
  931. // })
  932. // .then((res) => {
  933. // if (res.code == 200) {
  934. // this.getcaseApply(this.queryParams);
  935. // this.$modal.msgSuccess("裁决书生成成功");
  936. // }
  937. // })
  938. // .catch(() => {});
  939. // },
  940. // 归档
  941. fileRow(row) {
  942. console.log(row, "归档");
  943. },
  944. // 查找主体信息数据
  945. getInfo(row) {
  946. let params = {
  947. id: row.id,
  948. version: row.version
  949. }
  950. selectCaseApply(params).then((res) => {
  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.arbitratMethodName=="开庭审理"){
  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>