移动端
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

freeExitDetail.vue 7.2 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <template>
  2. <div class="app-container">
  3. <van-nav-bar
  4. left-arrow
  5. fixed
  6. placeholder
  7. @click-left="$router.back(-1)"
  8. >
  9. <template #title>
  10. <p style="font-weight: bold;">无偿退出</p>
  11. </template>
  12. </van-nav-bar>
  13. <div class="main_box">
  14. <van-field
  15. readonly
  16. v-model="circulation.zjddm"
  17. label="宅基地代码"
  18. input-align="right"
  19. />
  20. <van-field readonly v-model="circulation.sqrxm" label="申请人姓名" input-align="right" label-width="auto"/>
  21. <van-field
  22. readonly
  23. v-model="circulation.sqrzjlx"
  24. label="申请人证件类型"
  25. input-align="right"
  26. label-width="auto"
  27. />
  28. <van-field readonly v-model="circulation.sqrzjhm" label="申请人证件号码" input-align="right" label-width="auto"/>
  29. </div>
  30. <p class="main_title">退出信息</p>
  31. <div class="main_box">
  32. <van-field
  33. readonly
  34. v-model="circulation.tcqllx"
  35. label="退出权利类型"
  36. input-align="right"
  37. label-width="auto"
  38. />
  39. <van-field
  40. readonly
  41. v-model="circulation.tclx"
  42. label="退出类型"
  43. input-align="right"
  44. label-width="auto"
  45. />
  46. <van-field
  47. readonly
  48. v-model="circulation.tcfs"
  49. label="退出方式"
  50. input-align="right"
  51. label-width="auto"
  52. />
  53. <van-field readonly v-model="circulation.tcmj" label="退出面积(㎡)" input-align="right" label-width="auto"/>
  54. <van-field readonly v-model="circulation.tcnx" label="退出年限" input-align="right" label-width="auto"/>
  55. </div>
  56. <p class="main_title">补偿信息</p>
  57. <div class="main_box">
  58. <van-field
  59. readonly
  60. v-model="circulation.bcfs"
  61. label="补偿方式"
  62. label-width="auto"
  63. input-align="right"
  64. />
  65. <van-field readonly v-model="circulation.bcje" label="补偿金额(元)" input-align="right" label-width="auto"/>
  66. <van-field readonly v-model="circulation.zhfwmj" label="置换房屋面积(㎡)" input-align="right" label-width="auto"/>
  67. <van-field readonly v-model="circulation.zhfwzl" label="置换房屋坐落" input-align="right" label-width="auto"/>
  68. <van-field readonly v-model="circulation.bz" label="备注" input-align="right" label-width="auto"/>
  69. </div>
  70. <!-- 审批 -->
  71. <!-- <template v-if="approval.type === 'todo'">
  72. <div class="main_box examine_box">
  73. <van-row type="flex" justify="space-between" align="center">
  74. <van-col span="5">审核<br/>意见</van-col>
  75. <van-col span="19">
  76. <van-field required :readonly="approval.type !== 'todo'" v-model="approval.comment" rows="2" autosize type="textarea" placeholder="审核意见"/>
  77. </van-col>
  78. </van-row>
  79. </div>
  80. <van-row style="margin-top: 0.2rem;">
  81. <van-col span="12" align="center">
  82. <van-button type="info" native-type="submit" class="submitButton" @click="complete(true)">同意</van-button>
  83. </van-col>
  84. <van-col span="12" align="center">
  85. <van-button type="danger" native-type="submit" class="submitButton" @click="complete(false)">驳回</van-button>
  86. </van-col>
  87. </van-row>
  88. <div class="clear"></div>
  89. </template> -->
  90. </div>
  91. </template>
  92. <script>
  93. import { getZyyctc } from "@/api/onlineHome/homestead/paidExit";
  94. import request from '@/utils/request';
  95. import {Notify} from "vant";
  96. export default {
  97. name: "freeExitDetail",
  98. data() {
  99. return {
  100. circulation:[],
  101. approval: {
  102. taskId: null,
  103. instanceId: null,
  104. type: null,
  105. id: null,
  106. comment: '',
  107. },
  108. };
  109. },
  110. created() {
  111. this.approval.id = this.$route.query.id;
  112. this.approval.instanceId = this.$route.query.instanceId;
  113. this.approval.type = this.$route.query.type;
  114. this.approval.taskId = this.$route.query.taskId;
  115. this.getDetail();
  116. },
  117. methods: {
  118. getDetail(){
  119. getZyyctc(this.$route.query.id).then(response => {
  120. console.log(response)
  121. this.circulation = response.data;
  122. //退出权利类型
  123. this.houseGetDicts("tcqllx").then((res) => {
  124. this.circulation.tcqllx = this.selectDictLabel(res.data, response.data.tcqllx);
  125. });
  126. //退出类型
  127. this.houseGetDicts("tclx").then((res) => {
  128. this.circulation.tclx = this.selectDictLabel(res.data, response.data.tclx);
  129. });
  130. //退出方式
  131. this.houseGetDicts("tcfs").then((res) => {
  132. this.circulation.tcfs = this.selectDictLabel(res.data, response.data.tcfs);
  133. });
  134. //申请人证件类型
  135. this.houseGetDicts("zjlx").then((res) => {
  136. this.circulation.sqrzjlx = this.selectDictLabel(res.data, response.data.sqrzjlx);
  137. });
  138. //补偿方式
  139. this.houseGetDicts("bcfs").then((res) => {
  140. this.circulation.bcfs = this.selectDictLabel(res.data, response.data.bcfs);
  141. });
  142. });
  143. },
  144. /* complete(pass) {
  145. if(!this.approval.taskId || !this.approval.instanceId || this.approval.type !== 'todo')
  146. {
  147. console.error("无效操作");
  148. return false;
  149. }
  150. if(!this.approval.comment)
  151. {
  152. this.notify("请填写审批意见", 'danger');
  153. return false;
  154. }
  155. let data = {
  156. taskId: this.approval.taskId,
  157. instanceId: this.approval.instanceId,
  158. variables: JSON.stringify({
  159. pass: pass ? "true" : "false",
  160. comment: this.approval.comment ? this.approval.comment : (pass ? '同意' : '驳回'),
  161. }),
  162. };
  163. request({
  164. url: "/activiti/process/complete",
  165. method: "post",
  166. params: data,
  167. }).then((response) => {
  168. this.notify("操作成功", 'success');
  169. this.$router.back();
  170. }).catch(e => {
  171. this.notify("操作失败!", 'danger');
  172. });
  173. return true;
  174. }, */
  175. notify(message, type) {
  176. Notify.clear();
  177. Notify({ type: type || 'primary', message: message });
  178. },
  179. },
  180. }
  181. </script>
  182. <style scoped lang="scss">
  183. .app-container {
  184. padding: 2% 0;
  185. }
  186. .main_title{
  187. font-size: 0.4rem;
  188. color: #1D6FE9;
  189. margin: 0.2rem 6%;
  190. position: relative;
  191. }
  192. .main_box{
  193. width: 96%;
  194. margin: 0 auto;
  195. border-radius: 6px;
  196. box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
  197. overflow: hidden;
  198. background-color: #FFF;
  199. }
  200. .submitButton{
  201. width: 80%;
  202. margin: 0 auto;
  203. background-color: #1D6FE9;
  204. }
  205. .examine_box{
  206. background-color: #1D6FE9!important;
  207. padding: 0.18rem!important;
  208. padding-left: 0!important;
  209. border-radius: 0.15rem!important;
  210. margin-top: 0.3rem!important;
  211. .van-col:first-child{
  212. color: #FFF!important;
  213. font-size: 0.45rem!important;
  214. text-align: center!important;
  215. }
  216. .van-col:last-child{
  217. background-color: #FFF!important;
  218. border-radius: 0.15rem!important;
  219. overflow: hidden!important;
  220. .van-radio-group--horizontal{
  221. padding: 0.2rem 0;
  222. border-bottom: 1px solid #eee;
  223. }
  224. }
  225. }
  226. </style>