移动端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

345 lines
11 KiB

  1. <template>
  2. <div class="app-container">
  3. <div class="header_main">
  4. 查看登记
  5. <div class="return_btn" @click="onClickLeft"></div>
  6. </div>
  7. <div style="height: 58px;"></div>
  8. <div class="main_box">
  9. <van-cell>
  10. <template #title>
  11. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  12. <span class="custom-title">登记<i class="bgBlue"></i></span>
  13. </template>
  14. </van-cell>
  15. <van-cell title="案件来源" :border="false" v-model="form.caseSource" />
  16. <van-cell title="关联方案" :border="false" v-model="form.schemeId" />
  17. <van-cell title="案件属地" :border="false" v-model="form.deptId" />
  18. <van-cell title="执行主体" :border="false" v-model="form.belongTeam" />
  19. <van-cell title="案件名称" :border="false" v-model="form.caseName" />
  20. <van-cell title="登记日期" :border="false" v-model="form.registerDate" />
  21. <van-cell title="执法类别" :border="false" v-model="form.enforceCategory" />
  22. <!-- <van-cell title="案件简述1" :border="false" v-model="form.caseSource" />-->
  23. </div>
  24. <div class="main_box" style="margin-top: 10px;">
  25. <van-collapse v-model="activeNames">
  26. <van-collapse-item name="1">
  27. <template #title>
  28. <van-icon name="../../../static/images/lawEnforcement/icon/icon_dsr.png" size="20"></van-icon>
  29. <span class="custom-title">当事人<i class="bgBlue"></i></span>
  30. </template>
  31. <van-cell title="当事人类型" :border="false" v-model="form.type" />
  32. <template v-if="form.type=='个人/个体工商户'">
  33. <van-cell title="当事人姓名" :border="false" v-model="form.name" />
  34. <van-cell title="性别" :border="false" v-model="form.sex" />
  35. <van-cell title="身份证号" :border="false" v-model="form.cardNum" />
  36. <van-cell title="出生日期" :border="false" v-model="form.birthday" />
  37. <van-cell title="民族" :border="false" v-model="form.nation" />
  38. <van-cell title="工作单位" :border="false" v-model="form.companyPosition" />
  39. <van-cell title="职务" :border="false" v-model="form.duties" />
  40. <van-cell title="字号名称" :border="false" v-model="form.zihao" />
  41. </template>
  42. <template v-if="form.type=='企业'">
  43. <van-cell title="企业名称" :border="false" v-model="form.companyName" />
  44. <van-cell title="法人/负责人" :border="false" v-model="form.legalName" />
  45. </template>
  46. <van-cell title="联系电话" :border="false" v-model="form.phone" />
  47. <van-cell title="联系地址" :border="false" v-model="form.address" />
  48. <van-cell title="统一社会信用代码" :border="false" v-model="form.uniformCode" />
  49. </van-collapse-item>
  50. </van-collapse>
  51. </div>
  52. <div class="main_box" style="margin-top: 10px;">
  53. <van-collapse v-model="activeNames1">
  54. <van-collapse-item name="1">
  55. <template #title>
  56. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajwd.png" size="20"></van-icon>
  57. <span class="custom-title">附件<i class="bgBlue"></i></span>
  58. </template>
  59. <div class="cf">
  60. <van-uploader v-model="form.attachementList" :show-upload="false" :deletable="false" />
  61. <van-empty v-if="form.attachement == null " description="暂无文件" />
  62. </div>
  63. </van-collapse-item>
  64. </van-collapse>
  65. </div>
  66. <div class="main_box" style="margin-top: 10px;">
  67. <van-collapse v-model="activeNames2">
  68. <van-collapse-item name="1">
  69. <template #title>
  70. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>
  71. <span class="custom-title">执法人员<i class="bgBlue"></i></span>
  72. </template>
  73. <div class="peopleList">
  74. <van-row>
  75. <van-col :span="4">序号</van-col>
  76. <van-col :span="6">执行人员</van-col>
  77. <van-col :span="10">执法证号</van-col>
  78. <van-col :span="4">带队人</van-col>
  79. </van-row>
  80. <van-row v-for="(item,index) in tEnforceCaseHandlerList" :key="index" >
  81. <van-col :span="4">{{index+1}}</van-col>
  82. <van-col :span="6">{{item.enforcerName}}</van-col>
  83. <van-col :span="10">{{item.enforcerNum}}</van-col>
  84. <van-col :span="4">
  85. <div class="icon_box">
  86. <van-checkbox v-model="item.enforcerLeader" shape="square"></van-checkbox>
  87. </div>
  88. </van-col>
  89. </van-row>
  90. <!-- <img src="../../../../static/images/lawEnforcement/new/addPeop_btn.png" style="margin: 0 auto;" @click="$router.push({name:'lawEnforcementCaseLawEnforcer'})">-->
  91. </div>
  92. </van-collapse-item>
  93. </van-collapse>
  94. </div>
  95. <p class="submitButton" @click="$router.push({name:'lawEnforcementTaskSignIn', query: {id:form.id}})">执法打卡</p>
  96. </div>
  97. </template>
  98. <script>
  99. import { getCase , getDeptName , getSurveyByCaseId } from "@/api/lawEnforcement/index";
  100. export default {
  101. name: "programmeDetail",
  102. data() {
  103. return {
  104. showBankType:false,
  105. showPayeeType:false,
  106. showPicker:false,
  107. form:{},
  108. bankType:'',
  109. payeeType:'',
  110. value:'',
  111. bankTypeOptions:[],
  112. payeeTypeOptions:[],
  113. tEnforceSchemeHandlerList:[],
  114. minDate: new Date(2020, 0, 1),
  115. maxDate: new Date(2025, 10, 1),
  116. currentDate: new Date(2021, 0, 17),
  117. activeNames: ['1'],
  118. activeNames1: ['1'],
  119. activeNames2: ['1'],
  120. caseSourceOptions:[],
  121. belongTeamOptions:[],
  122. // 查询参数
  123. queryParams: {
  124. // 分页
  125. pageNum: 1,
  126. pageSize: 10,
  127. // 查询排序
  128. orderByColumn: "id",
  129. isAsc: "desc",
  130. name: null, // 搜索参数-执行人姓名或证件号
  131. belongTeam: null, // 搜索参数-所在中队
  132. },
  133. tEnforceCaseHandlerList:[]
  134. };
  135. },
  136. created() {
  137. // this.getDictionaries()
  138. this.getDicts("case_source").then(response => {
  139. this.caseSourceOptions = response.data;
  140. });
  141. this.getDicts("team_category").then(response => {
  142. this.belongTeamOptions = response.data;
  143. });
  144. this.getDicts("enforce_body_type").then(response => {
  145. this.typeOptions = response.data;
  146. });
  147. this.getDicts("sex").then(response => {
  148. this.sexOptions = response.data;
  149. });
  150. this.getDetail();
  151. },
  152. methods: {
  153. getDetail(){
  154. getCase(this.$route.query.id).then((response) => {
  155. response.data.caseSource = response.data.caseSource == '' ? '' : this.selectDictLabel(this.caseSourceOptions, response.data.caseSource);
  156. response.data.belongTeam = response.data.belongTeam == '' ? '' : this.selectDictLabel(this.belongTeamOptions, response.data.belongTeam);
  157. response.data.type = response.data.type == '' ? '' : this.selectDictLabel(this.typeOptions, response.data.type);
  158. response.data.sex = response.data.sex == '' ? '' : this.selectDictLabel(this.sexOptions, response.data.sex);
  159. getDeptName(response.data.deptId).then(res => {
  160. response.data.deptId = res.data.deptName
  161. });
  162. if (response.data.attachement){
  163. response.data.attachementList = [];
  164. var attachement = response.data.attachement.split( "," );
  165. attachement.forEach(responseAttach=>{
  166. response.data.attachementList.push({
  167. url:'/api' + responseAttach,
  168. isImage: true
  169. });
  170. })
  171. // process.env.VUE_APP_BASE_ROUTING_URL + process.env.VUE_APP_BASE_API
  172. }
  173. this.form = response.data;
  174. });
  175. getSurveyByCaseId(this.$route.query.id).then((response) => {
  176. if(response.data != undefined){
  177. this.tEnforceCaseHandlerList = response.data.tEnforceCaseHandlerList;
  178. }
  179. });
  180. },
  181. goBack(){
  182. window.history.go(-1)
  183. }
  184. },
  185. }
  186. </script>
  187. <style scoped lang="scss">
  188. .app-container {
  189. padding: 2% 0;
  190. }
  191. /deep/ .van-collapse-item__content{
  192. padding: 0;
  193. }
  194. .cf{
  195. padding: 0 3%;
  196. margin-top: 20PX;
  197. margin-bottom: 20PX;
  198. .van-row{
  199. background: #F0F3F5;
  200. .van-col{
  201. padding: 5PX 0;
  202. font-size: 12PX!important;
  203. text-align: center;
  204. p{
  205. color: #1D6FE9;
  206. }
  207. }
  208. &:first-child{
  209. background: transparent;
  210. }
  211. }
  212. }
  213. .header_main{
  214. height: 116px;
  215. background: url('../../../../static/images/lawEnforcement/new/list_head.png') no-repeat;
  216. background-size: 100% 100%;
  217. position: fixed;
  218. top: 0;
  219. left: 0;
  220. width: 100%;
  221. font-size: 36px;
  222. line-height: 116px;
  223. text-align: center;
  224. color: #fff;
  225. z-index: 999;
  226. .return_btn{
  227. width: 24px;
  228. height: 43.2px;
  229. background: url('../../../assets/images/sunVillage_info/list_icon_5.png') center center no-repeat;
  230. background-size: 20px 36px;
  231. position: absolute;
  232. left: 38px;
  233. top: 36px;
  234. }
  235. .add_btn{
  236. width: 56.4px;
  237. height: 40.8px;
  238. background: url('../../../assets/images/sunVillage_info/list_icon_9.png') center center no-repeat;
  239. background-size: 47px 34px;
  240. position: absolute;
  241. right: 38px;
  242. top: 36px;
  243. }
  244. }
  245. /deep/ .van-radio--horizontal{
  246. margin-left: 0.32rem;
  247. margin-right: 0;
  248. }
  249. .peopleList{
  250. padding: 3%;
  251. text-align: center;
  252. .van-row{
  253. margin-bottom: 10PX;
  254. background: rgba(196,218,249,0.3);
  255. border-radius: 5PX;
  256. .van-col{
  257. text-align: center;
  258. font-size: 14PX;
  259. color: #333333;
  260. padding: 5PX 0;
  261. }
  262. &:first-child{
  263. background: none;
  264. .van-col{
  265. padding: 0;
  266. color: #1D6FE9;
  267. }
  268. }
  269. }
  270. .icon_box{
  271. /deep/ .van-checkbox{
  272. justify-content: center;
  273. }
  274. }
  275. }
  276. .main_title{
  277. font-size: 0.4rem;
  278. color: #1D6FE9;
  279. margin: 0.2rem 6%;
  280. margin-top: 0;
  281. position: relative;
  282. }
  283. .main_box{
  284. width: 96%;
  285. margin: 0 auto;
  286. border-radius: 10PX;
  287. box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
  288. overflow: hidden;
  289. background-color: #FFF;
  290. .van-icon{
  291. vertical-align: middle;
  292. }
  293. .custom-title{
  294. font-size: 17PX;
  295. color: #333333;
  296. vertical-align: middle;
  297. line-height: 1;
  298. position: relative;
  299. }
  300. .tap{
  301. color: #1D6FE9;
  302. }
  303. .bgBlue{
  304. display: block;
  305. position: absolute;
  306. width: 17PX;
  307. height: 17PX;
  308. border-radius: 50%;
  309. background-color: rgba(29,111,233,0.26);
  310. top: -2PX;
  311. right: -8PX;
  312. }
  313. }
  314. .submitButton{
  315. width: 45%;
  316. margin: 0 auto;
  317. background-image: linear-gradient(to right, #2E79E9 , #77A6EF);
  318. text-align: center;
  319. color: #ffffff;
  320. height: 70px;
  321. line-height: 70px;
  322. border-radius: 8PX;
  323. margin-top: 25PX;
  324. }
  325. .addFamily{
  326. position: absolute;
  327. top: -2px;
  328. right: 0;
  329. border-radius: 50%;
  330. }
  331. </style>