移动端
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.
 
 

421 regels
9.1 KiB

  1. <template>
  2. <div class="app-container">
  3. <van-nav-bar
  4. title="案件详情"
  5. fixed
  6. placeholder
  7. left-arrow
  8. @click-left="onClickLeft"
  9. />
  10. <div class="main_box">
  11. <van-cell>
  12. <template #title>
  13. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxfa.png" size="20"></van-icon>
  14. <span class="custom-title">方案公开<i class="bgBlue"></i></span>
  15. </template>
  16. </van-cell>
  17. <van-cell title="方案名称:" :label="schemeOption.schemeName" />
  18. <van-cell title="检查方式:" :value="schemeOption.checkMethod" />
  19. <van-cell title="检查部门:" :value="schemeOption.checkDepartment" />
  20. <van-cell title="检查时间:" :value="schemeOption.checkStartDate" />
  21. <van-cell title="检查类型:" :value="schemeOption.checkType" />
  22. <van-cell title="检查事项:" :label="schemeOption.checkList" />
  23. <van-cell title="方案描述:" :label="schemeOption.checkContent" />
  24. </div>
  25. <div class="main_box" style="margin-top: 10px;">
  26. <van-cell>
  27. <template #title>
  28. <van-icon name="../../../static/images/lawEnforcement/icon/icon_zxry.png" size="20"></van-icon>
  29. <span class="custom-title">执行人员<i class="bgBlue"></i></span>
  30. </template>
  31. </van-cell>
  32. <div class="peopleList">
  33. <van-row>
  34. <van-col :span="4">序号</van-col>
  35. <van-col :span="10">经办人姓名</van-col>
  36. <van-col :span="10">执法证号</van-col>
  37. </van-row>
  38. <van-row v-for="(item,index) in schemeOption.tenforceSchemeHandlerList">
  39. <van-col :span="4">{{index+1}}</van-col>
  40. <van-col :span="10">{{item.name}}</van-col>
  41. <van-col :span="10">{{item.enforceNum}}</van-col>
  42. </van-row>
  43. </div>
  44. </div>
  45. <div class="main_box2">
  46. <van-cell>
  47. <template #title>
  48. <van-icon name="../../../static/images/lawEnforcement/icon/icon_ajxx.png" size="20"></van-icon>
  49. <span class="custom-title">审批列表<i class="bgBlue"></i></span>
  50. </template>
  51. </van-cell>
  52. <van-row v-for="(item,index) in schemeOption.historicActivityList">
  53. <van-col :span="4">
  54. <p class="index">{{index+1}}</p>
  55. <div class="indexBorder" :class="{'indexCenter':index==0 ? false : true}">
  56. <p class="ssT" v-if="index>0"></p>
  57. <p class="yq"></p>
  58. <p class="ss" v-if="schemeOption.historicActivityList.length != index+1"></p>
  59. </div>
  60. </van-col>
  61. <van-col :span="20">
  62. <van-cell :title="item.activityName" center>
  63. <template #label>
  64. <p>{{item.time}}</p>
  65. </template>
  66. <template #default>
  67. <p style="color: #999999;">{{item.assigneeName == null ? '(空)' : item.assigneeName}}</p>
  68. <p style="color: #666666;">
  69. <span
  70. class="bq"
  71. :style="{
  72. background:item.comment == '提交申请' ? 'rgba(29,111,233,0.2)' : item.comment == '同意' ? 'rgba(29,204,128,0.2)' : item.comment == '自动结束' ? 'rgba(255,166,62,0.2)' : '',
  73. color:item.comment == '提交申请' ? '#1D6FE9' : item.comment == '同意' ? '#1DCC80' : item.comment == '自动结束' ? '#FFA63E' : ''
  74. }"
  75. >
  76. {{item.comment}}
  77. </span>
  78. </p>
  79. </template>
  80. </van-cell>
  81. </van-col>
  82. </van-row>
  83. </div>
  84. </div>
  85. </template>
  86. <script>
  87. import { getTopDeptId , schemeDetail } from "@/api/lawEnforcement/index";
  88. import law from "@/components/common/law_footer";
  89. export default {
  90. name: "index",
  91. components: {
  92. law
  93. },
  94. data() {
  95. return {
  96. showBankType:false,
  97. showPayeeType:false,
  98. showPicker:false,
  99. form:{},
  100. bankType:'',
  101. payeeType:'',
  102. value:'',
  103. schemeOption:[]
  104. };
  105. },
  106. created() {
  107. this.getDetail()
  108. },
  109. methods: {
  110. getDetail(){
  111. schemeDetail(this.$route.query.id).then(response => {
  112. this.schemeOption = response.data;
  113. });
  114. },
  115. },
  116. };
  117. </script>
  118. <style scoped lang="scss">
  119. @font-face {
  120. font-family: SourceHanSansCNBold;
  121. src: url("../../../assets/fonts/SourceHanSansCN-Bold.otf");
  122. }
  123. .app-container {
  124. padding: 0;
  125. }
  126. .van-uploader {
  127. padding: 15PX;
  128. }
  129. /deep/ .van-nav-bar--fixed{
  130. background: url("../../../../static/images/lawEnforcement/head_bg.png") 100%;
  131. }
  132. /deep/ .van-nav-bar .van-icon{
  133. color: #ffffff;
  134. }
  135. /deep/ .van-nav-bar__title{
  136. color: #ffffff;
  137. }
  138. /deep/ .van-tabs__nav--complete{
  139. padding: 0;
  140. border: none;
  141. height: auto;
  142. }
  143. /deep/ .van-tabs__nav--card .van-tab{
  144. border: none;
  145. }
  146. /deep/ .van-tabs--card>.van-tabs__wrap{
  147. height: auto;
  148. margin-top: 10PX;
  149. }
  150. /deep/ .van-tabs__nav--card .van-tab.van-tab--active{
  151. background: transparent;
  152. .van-tab__text{
  153. width: 56PX;
  154. height: 56PX;
  155. line-height: 56PX;
  156. }
  157. .finish,.ongoing,.notStarted{
  158. padding: 15PX 0;
  159. }
  160. }
  161. /deep/ .van-tab__text{
  162. display: block;
  163. width: 44PX;
  164. height: 44PX;
  165. background: #FFF;
  166. border-radius: 50%;
  167. border: 1px solid #C9C9C9;
  168. color: #C9C9C9;
  169. text-align: center;
  170. padding: 0;
  171. p{
  172. line-height: 1;
  173. }
  174. }
  175. .finish{
  176. border-radius: 50%;
  177. border: 1px solid #1DCC80;
  178. color: #1DCC80;
  179. padding: 10PX 0;
  180. height: 100%;
  181. }
  182. .ongoing{
  183. border-radius: 50%;
  184. border: 1px solid #1D6FE9;
  185. color: #1D6FE9;
  186. padding: 10PX 0;
  187. height: 100%;
  188. }
  189. .notStarted{
  190. padding: 10PX 0;
  191. height: 100%;
  192. }
  193. .typeBox{
  194. width: 44PX;
  195. height: 44PX;
  196. background: #ffffff;
  197. text-align: center;
  198. font-size: 14PX;
  199. border-radius: 50%;
  200. border: 1px solid #1DCC80;
  201. color: #1DCC80;
  202. margin: 0 auto;
  203. padding: 10PX 0px;
  204. line-height: 1;
  205. position: relative;
  206. top: 50%;
  207. transform: translateY(-50%);
  208. }
  209. .noActive{
  210. border: 1px solid #1D6FE9;
  211. color: #1D6FE9;
  212. }
  213. .doActive{
  214. border: 1px solid #C9C9C9;
  215. color: #C9C9C9;
  216. }
  217. .active{
  218. width: 56PX;
  219. height: 56PX;
  220. padding: 15PX 0px;
  221. }
  222. /deep/ .van-radio--horizontal{
  223. margin-left: 0.32rem;
  224. margin-right: 0;
  225. }
  226. .peopleList{
  227. padding-right: 3%;
  228. margin-top: 10PX;
  229. .van-row{
  230. margin-bottom: 10PX;
  231. .van-col{
  232. text-align: center;
  233. font-size: 14PX;
  234. }
  235. &:first-child{
  236. .van-col{
  237. color: #1D6FE9;
  238. }
  239. }
  240. }
  241. }
  242. .cf{
  243. padding: 0 3%;
  244. margin-top: 20PX;
  245. margin-bottom: 20PX;
  246. .van-row{
  247. background: #F0F3F5;
  248. .van-col{
  249. padding: 5PX 0;
  250. font-size: 12PX!important;
  251. text-align: center;
  252. p{
  253. color: #1D6FE9;
  254. }
  255. }
  256. &:first-child{
  257. background: transparent;
  258. }
  259. }
  260. }
  261. .main_title{
  262. font-size: 0.4rem;
  263. color: #1D6FE9;
  264. margin: 0.2rem 6%;
  265. margin-top: 0;
  266. position: relative;
  267. }
  268. .main_box{
  269. width: 96%;
  270. margin: 0 auto;
  271. border-radius: 6PX;
  272. box-shadow: 0PX 3PX 6PX 0PX rgba(0,0,0,0.16);
  273. overflow: hidden;
  274. background-color: #FFF;
  275. margin-top: 10PX;
  276. .van-icon{
  277. vertical-align: middle;
  278. }
  279. .custom-title{
  280. font-size: 17PX;
  281. color: #333333;
  282. vertical-align: middle;
  283. line-height: 1;
  284. position: relative;
  285. margin-left: 5PX;
  286. }
  287. .tap{
  288. color: #1D6FE9;
  289. }
  290. .bgBlue{
  291. display: block;
  292. position: absolute;
  293. width: 17PX;
  294. height: 17PX;
  295. border-radius: 50%;
  296. background-color: rgba(29,111,233,0.26);
  297. top: -2PX;
  298. right: -8PX;
  299. }
  300. }
  301. .submitButton{
  302. width: 80%;
  303. margin: 0 auto;
  304. background-color: #1D6FE9;
  305. }
  306. .addFamily{
  307. position: absolute;
  308. top: -2px;
  309. right: 0;
  310. border-radius: 50%;
  311. }
  312. .main_box2{
  313. width: 96%;
  314. margin: 0 auto;
  315. background: #ffffff;
  316. border-radius: 6PX;
  317. overflow: hidden;
  318. margin-top: 10PX;
  319. margin-bottom: 20PX;
  320. box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
  321. .van-icon{
  322. vertical-align: middle;
  323. }
  324. .custom-title{
  325. font-size: 17PX;
  326. color: #333333;
  327. vertical-align: middle;
  328. line-height: 1;
  329. position: relative;
  330. margin-left: 5PX;
  331. }
  332. .tap{
  333. color: #1D6FE9;
  334. }
  335. .bgBlue{
  336. display: block;
  337. position: absolute;
  338. width: 17PX;
  339. height: 17PX;
  340. border-radius: 50%;
  341. background-color: rgba(29,111,233,0.26);
  342. top: -2PX;
  343. right: -8PX;
  344. }
  345. .van-col{
  346. height: 76PX;
  347. position: relative;
  348. }
  349. .van-row:nth-child(2n){
  350. background: rgba(29,111,233,0.1);
  351. }
  352. /deep/ .van-cell{
  353. background: transparent;
  354. }
  355. .bq{
  356. display: inline-block;
  357. padding: 4PX 10PX;
  358. border-radius: 5PX;
  359. }
  360. .index{
  361. background: #1D6FE9;
  362. color: #ffffff;
  363. text-align: center;
  364. width: 20PX;
  365. height: 20PX;
  366. line-height: 20PX;
  367. border-radius: 50%;
  368. position: absolute;
  369. left: 50%;
  370. top: 50%;
  371. transform: translate(-50%,-50%);
  372. }
  373. .indexCenter{
  374. top: 0!important;
  375. }
  376. .indexBorder{
  377. width: 10PX;
  378. position: absolute;
  379. right: 0;
  380. top: calc(50% - 5PX);
  381. .yq{
  382. height: 10PX;
  383. width: 10PX;
  384. background: #C9C9C9;
  385. border-radius: 50%;
  386. }
  387. .ss{
  388. height: 33PX;
  389. width: 2PX;
  390. background: #C9C9C9;
  391. position: relative;
  392. left: 4PX;
  393. }
  394. .ssT{
  395. height: 33PX;
  396. width: 2PX;
  397. background: #C9C9C9;
  398. position: relative;
  399. left: 4PX;
  400. }
  401. }
  402. }
  403. .splcTit{
  404. font-size: 17PX;
  405. text-align: center;
  406. margin-top: 25PX;
  407. margin-bottom: 5PX;
  408. }
  409. </style>