应用层PC端前端服务

caseList.vue 47KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172
  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. <detailsAward :showarchiveDetails="showarchiveDetails" @cancelDetail="cancelDetail" :detailsAwardNum="detailsAwardNum" :videoList="videoList"
  306. :flagLoadingS="flagLoadingS" :trialTranscripts="trialTranscripts"
  307. ></detailsAward>
  308. </div>
  309. </template>
  310. <script>
  311. import caseentryDialog from "./components/caseentryDialog";
  312. import batchDialog from "./components/batchDialog";
  313. import formateCourtDialog from "./components/formateCourtDialog.vue";
  314. import courtReviewDialog from "./components/courtReviewDialog.vue";
  315. import choosetrialmethodDaiog from "./components/choosetrialmethodDaiog.vue";
  316. import adjudicaterecordDialog from "./components/adjudicaterecordDialog.vue";
  317. import trialincourtDialog from "./components/trialincourtDialog.vue";
  318. import payDialog from "./components/payDialog.vue";
  319. import filingreviewDialog from "./components/filingreviewDialog.vue";
  320. import caselogDialog from "./components/caselogDialog.vue";
  321. import viewprocessDialog from "./components/viewprocessDialog.vue";
  322. import evidenceDialog from './components/evidenceDialog.vue';
  323. import timeDialog from './components/timeDialog.vue';
  324. import operateDialog from './components/operateDialog.vue';
  325. import uploadCaseDialog from './components/uploadCaseDialog.vue';
  326. import caseCompressionPackage from './components/caseCompressionPackage.vue';
  327. import evidenceList from './components/evidenceList.vue'
  328. import batchConfirmationPaymen from './components/batchConfirmationPaymen.vue'
  329. import batchSignature from './components/batchSignature.vue'
  330. import batchPrinting from './components/batchPrinting.vue'
  331. import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
  332. // 秘书审核页面
  333. import caseentryExamineDialog from './components/caseentryExamine.vue';
  334. //裁决书弹框页面
  335. import judgmentInformation from './components/judgmentInformation.vue';
  336. //快递弹窗
  337. import expressDeliveryDialog from './components/expressDeliveryDialog.vue';
  338. //裁决书弹窗
  339. import mailawardDialog from './components/mailawardDialog.vue';
  340. //归档详情弹窗
  341. import detailsAward from './components/detailsAward.vue';
  342. import { caseApplicationDetail,selectCaseApplicationConfirm } from "@/api/pay/pay";
  343. import { videoList } from "@/api/caseFiling/caseFiling";
  344. import {
  345. caseApply,
  346. removeCaseApply,
  347. submitCaseApply,
  348. selectCaseApply,
  349. updateCaseLockStatus,
  350. } from "@/api/caseAccess/caseEntry";
  351. import { listDept } from "@/api/system/dept";
  352. import {
  353. document,
  354. caseLogRecordList,
  355. revoke,
  356. selectCompareCase,
  357. updateAudit,
  358. attachListByCaseId
  359. } from "@/api/caseManagement/caseManagement";
  360. import {selectSignSealUrl,selectSignUrl,selectSealUrl,adjudicationLogistics,emailByCaseId,adjudicationCaseFile,} from "@/api/awardManagement/awardManagement";
  361. import { getDicts } from '@/api/system/dict/data.js';
  362. export default {
  363. name: "caseList",
  364. // dicts: ["case_status"],
  365. components: {
  366. caseentryDialog,
  367. batchDialog,
  368. formateCourtDialog,
  369. courtReviewDialog,
  370. choosetrialmethodDaiog,
  371. adjudicaterecordDialog,
  372. trialincourtDialog,
  373. payDialog,
  374. filingreviewDialog,
  375. caselogDialog,
  376. viewprocessDialog,
  377. evidenceDialog,
  378. timeDialog,
  379. operateDialog,
  380. uploadCaseDialog,
  381. caseentryExamineDialog,
  382. caseCompressionPackage,
  383. evidenceList,
  384. batchConfirmationPaymen,
  385. batchSignature,
  386. batchPrinting,
  387. paymentdetailsDialog,
  388. judgmentInformation,
  389. expressDeliveryDialog,
  390. mailawardDialog,
  391. detailsAward
  392. },
  393. data() {
  394. return {
  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. // 证据清单
  951. this.caseAttachListR = res.data.caseAttachList;
  952. // this.visible = true;
  953. // this.formData = res.data;
  954. this.form.caseName = res.data.caseName;
  955. this.adjudicatename = {
  956. applicantName: res.data.applicantName,
  957. respondentName: res.data.respondentName,
  958. feePayable: res.data.feePayable,
  959. hearDate: res.data.hearDate,
  960. arbitratorName: res.data.arbitratorName,
  961. caseAttachList: res.data.caseAttachList,
  962. };
  963. console.log(res)
  964. this.initpaymentArr = [];
  965. this.initpaymentArr1 = [];
  966. res.data.caseAffiliates.forEach((item) => {
  967. if (item.identityType == 1) {
  968. this.initpaymentArr.push(item);
  969. } else {
  970. this.initpaymentArr1.push(item);
  971. }
  972. });
  973. this.columnValues = res.data.columnValues;
  974. this.caseAttachList = res.data.caseAttachList;
  975. // console.log(this.caseAttachList,"caseAttachList")
  976. this.form.requestRule = res.data.requestRule;
  977. this.form.properPreser = res.data.properPreser;
  978. this.form.facts =res.data.facts;
  979. // this.form.applicantIsWrittenHear = 1
  980. });
  981. },
  982. // 删除
  983. deleteRow(row) {
  984. // const id = row.id;
  985. this.$modal
  986. .confirm("是否确认删除?")
  987. .then(function () {
  988. // return removeCaseApply({ id: row.id });
  989. return removeCaseApply({ ids: [row.id] });
  990. })
  991. .then((res) => {
  992. this.getcaseApply(this.queryParams);
  993. this.$modal.msgSuccess("删除成功");
  994. })
  995. .catch(() => { });
  996. },
  997. // 申请人撤销修改 revoke
  998. undoRow(row) {
  999. if (row.updateSubmitStatus == 1) {
  1000. this.$modal.confirm("是否确认撤销修改?").then(function () {
  1001. return revoke({ caseId: row.id, version: row.version });
  1002. }).then((res) => {
  1003. if (res.code == 200) {
  1004. this.getcaseApply(this.queryParams);
  1005. this.$modal.msgSuccess("撤销成功");
  1006. }
  1007. })
  1008. .catch(() => { });
  1009. } else if (row.updateSubmitStatus == 3) {
  1010. this.$modal.confirm("是否确认撤销已审核的修改?").then(function () {
  1011. return revoke({ caseId: row.id, version: row.version });
  1012. }).then((res) => {
  1013. if (res.code == 200) {
  1014. this.getcaseApply(this.queryParams);
  1015. this.$modal.msgSuccess("撤销申请已提交,等待审核");
  1016. }
  1017. })
  1018. .catch(() => { });
  1019. }
  1020. },
  1021. // 表格显示高亮
  1022. tableRowClassName(row){
  1023. if(row.row.arbitratMethodName=="开庭审理"){
  1024. return 'pendingTrial'
  1025. }
  1026. },
  1027. // model框显示
  1028. showModel(row, type) {
  1029. switch (type) {
  1030. case 0:
  1031. selectSignSealUrl({ id: row.id }).then(res => {
  1032. let url = res.data.filearbitraUrl;
  1033. window.open(url)
  1034. })
  1035. break;
  1036. case 1:
  1037. this.getDetail({ id: row.id,version: row.version });
  1038. this.openDialogInfor = true;
  1039. this.title = "核验裁决书";
  1040. this.flag = 1;
  1041. break;
  1042. case 2:
  1043. this.getDetail({ id: row.id,version: row.version });
  1044. this.openDialogInfor = true;
  1045. this.title = "审核裁决书";
  1046. this.flag = 2;
  1047. break;
  1048. case 3:
  1049. selectSignUrl({ id: row.id }).then(res => {
  1050. console.log(res)
  1051. let url = res.data.signUrl;
  1052. window.open(url)
  1053. })
  1054. break;
  1055. case 4:
  1056. this.getDetail({ id: row.id,version: row.version});
  1057. this.openDialogInfor = true;
  1058. this.title = "审核裁决书";
  1059. this.flag = 4;
  1060. break;
  1061. default:
  1062. break;
  1063. }
  1064. },
  1065. // 关闭弹窗
  1066. cancelpaymentdetailsCom() {
  1067. this.openDialogInfor = false;
  1068. },
  1069. // 用印申请
  1070. showaffixModel(row) {
  1071. this.$modal.confirm('是否进行用印申请?')
  1072. .then(function () {
  1073. selectSealUrl({ id: row.id }).then(res => {
  1074. let url = res.data.sealUrl;
  1075. window.open(url)
  1076. })
  1077. }).catch(function () {
  1078. });
  1079. },
  1080. // 快递信息弹框
  1081. showDeliveryModel(row) {
  1082. console.log(row, '快递');
  1083. this.showDelivery = true
  1084. this.getadjudicationLogistics({ id: row.id })
  1085. },
  1086. closeDeliveryModel() {
  1087. this.showDelivery = false
  1088. },
  1089. // 查询物流信息
  1090. getadjudicationLogistics(val) {
  1091. this.flagLoading = true;
  1092. adjudicationLogistics(val).then((res) => {
  1093. this.deliveryDataArr = res.data
  1094. this.flagLoading = false
  1095. })
  1096. },
  1097. // 送达裁决书弹框
  1098. showMailaward(row) {
  1099. this.mailawardata = row;
  1100. this.emailByCaseIdFn(row.id)
  1101. this.openMailawardDialog = true
  1102. },
  1103. // 关闭送达裁决书弹框
  1104. closeMailaward(row) {
  1105. this.openMailawardDialog = false
  1106. },
  1107. // 根据案件id查询邮件
  1108. emailByCaseIdFn(val) {
  1109. emailByCaseId({ id: val }).then((res) => {
  1110. this.emailobj = res.data
  1111. })
  1112. },
  1113. // 案件归档
  1114. showCasefilingModel(row) {
  1115. this.$modal.confirm('是否确认立即进行案件扫描?').then(
  1116. function () {
  1117. // return adjudicationCaseFile({ id: row.id })
  1118. return adjudicationCaseFile({ ids: [row.id] })
  1119. }
  1120. ).then(() => {
  1121. this.getcaseApply(this.queryParams);
  1122. this.$modal.msgSuccess("归档成功!");
  1123. }).catch(function () { })
  1124. },
  1125. // 归档详情
  1126. detailsAwardList(row){
  1127. this.showarchiveDetails = true
  1128. this.getDetail({ id: row.id })
  1129. this.getvideoList({ caseId: row.id })
  1130. this.getAttachListByCaseId({caseAppliId:row.id,annexType:11})
  1131. this.flagLoadingS = false
  1132. },
  1133. // 根据id查询视频列表
  1134. getvideoList(data){
  1135. videoList(data).then(res => {
  1136. this.videoList = res.data;
  1137. })
  1138. },
  1139. //根据案件id和类型查询附件
  1140. getAttachListByCaseId(data){
  1141. attachListByCaseId(data).then(res =>{
  1142. this.trialTranscripts = res.data;
  1143. })
  1144. },
  1145. // 归档详情关闭弹框
  1146. cancelDetail(){
  1147. this.showarchiveDetails = false;
  1148. },
  1149. },
  1150. };
  1151. </script>
  1152. <style>
  1153. /* // #formContainer {} */
  1154. .el-table .pendingTrial {
  1155. background:rgb(97, 224, 23);
  1156. }
  1157. </style>