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

list_fbfsq.vue 6.1 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <template>
  2. <div class="home_wrapper">
  3. <div class="header_main" >
  4. 发包方授权
  5. <div class="return_btn" @click="onClickLeft"></div>
  6. </div>
  7. <div class="list_main">
  8. <div class="titBox">
  9. <img src="../../assets/images/sunVillage_info/list_employer_process_icon_02.png" style="width:22PX;height:22PX;margin-right: 10px;"/>
  10. <p class="tit">发包方授权</p>
  11. </div>
  12. <van-field v-model="form.fbfbm" label="发包方代码" placeholder="发包方代码" input-align="right" :border="false" />
  13. <van-cell title="发包方名称" style="color: #646566;">
  14. <div style="color:#000000; ">{{form.fbfmc}}</div>
  15. </van-cell>
  16. <van-field v-model="form.fbffzrxm" label="负责人名称" placeholder="负责人名称" input-align="right" :border="false" />
  17. <van-field v-model="form.fzrzjlx" label="证件类型" placeholder="证件类型" input-align="right" :border="false" />
  18. <van-field v-model="form.fzrzjhm" label="证件号码" placeholder="证件号码" input-align="right" :border="false" />
  19. <van-field v-model="form.lxdh" label="联系电话" placeholder="联系电话" input-align="right" :border="false" />
  20. <van-field v-model="form.organType" label="企业证件类型" placeholder="企业证件类型" input-align="right" :border="false" />
  21. <van-field v-model="form.organCode" label="企业证件号码" placeholder="企业证件号码" input-align="right" :border="false" />
  22. <van-field v-model="form.fbfdz" label="发包方地址" placeholder="发包方地址" input-align="right" :border="false" />
  23. <van-field v-model="form.yzbm" label="邮政编码" placeholder=" 邮政编码" input-align="right" :border="false" />
  24. <van-field v-model="form.fbfdcy" label="发包方调查员" placeholder="发包方调查员" input-align="right" :border="false" />
  25. <van-field v-model="form.fbfdcrq" label="发包方调查日期" placeholder="发包方调查日期" input-align="right" :border="false" />
  26. <van-cell title="发包方调查记事" style="color: #646566;">
  27. <div style="color:#000000; ">{{form.fbfdcjs}}</div>
  28. </van-cell>
  29. <van-field readonly label="发包方调查签字" input-align="right" :border="false" />
  30. <img :src="'/api'+form.fbfdcqz" width="100%" alt="" v-if="form.fbfdcqz" />
  31. <van-field v-model="form.shyj" label="审核意见" placeholder="审核意见" input-align="right" :border="false" />
  32. <van-field v-model="form.shrq" label="审核日期" placeholder="审核日期" input-align="right" :border="false" />
  33. <van-field readonly label="审核人签字" input-align="right" :border="false" />
  34. <img :src="'/api'+form.shrqz" width="100%" alt="" v-if="form.shrqz" />
  35. <div style="margin: 30px auto 0;width: 50%;">
  36. <van-button round block type="primary" native-type="submit" @click="handleAuthorization(form.id)" v-if="!form.personAccountId && !form.companyAccountId" >
  37. 授权
  38. </van-button>
  39. </div>
  40. <img class="bottomImg" src="../../assets/images/sunVillage_info/employer_authorized.png" alt="" v-if="form.personAccountId && form.companyAccountId" />
  41. </div>
  42. </div>
  43. </template>
  44. <script>
  45. // import { getList} from "@/api/sunVillage_info/sysCbf";
  46. import { listFbf, authorizeSignature } from "@/api/contracted/fbf";
  47. import $ from "jquery";
  48. export default {
  49. name: "certificateList",
  50. data() {
  51. return {
  52. // 发包方信息表单
  53. form:{},
  54. };
  55. },
  56. created() {
  57. this.getFbfList();
  58. },
  59. methods: {
  60. getFbfList() {
  61. listFbf({deptId: this.$store.state.user.loginDeptId, translate_dict: 1}).then(response => {
  62. if (response.rows.length > 0) {
  63. this.form = response.rows[0];
  64. }
  65. });
  66. },
  67. handleAuthorization(id) {
  68. authorizeSignature(id).then(response => {
  69. if (response.code === 200) {
  70. this.$toast({
  71. icon: 'success',
  72. message: '授权成功',
  73. duration: '1000',
  74. onClose: () => {
  75. this.getFbfList();
  76. }
  77. })
  78. }
  79. });
  80. }
  81. },
  82. }
  83. </script>
  84. <style scoped lang="scss">
  85. /deep/ .van-button--primary {
  86. background: url("../../assets/images/sunVillage_info/btn_bg.png") no-repeat;
  87. background-size: 100% 100%;
  88. border: none;
  89. }
  90. .van-cell::after {
  91. position: absolute;
  92. box-sizing: border-box;
  93. content: ' ';
  94. pointer-events: none;
  95. right: 0.426667rem;
  96. bottom: 0;
  97. left: 0.426667rem;
  98. border: none;
  99. -webkit-transform: scaleY(.5);
  100. transform: scaleY(.5);
  101. }
  102. .home_wrapper {
  103. background: #e9e9e9;
  104. min-height: 100vh;
  105. width: 100vw;
  106. .header_main {
  107. height: 116px;
  108. background: url('../../assets/images/sunVillage_info/list_head.png') no-repeat;
  109. background-size: 100% 100%;
  110. position: fixed;
  111. top: 0;
  112. left: 0;
  113. width: 100%;
  114. font-size: 36px;
  115. line-height: 116px;
  116. text-align: center;
  117. color: #fff;
  118. position: relative;
  119. .return_btn {
  120. width: 24px;
  121. height: 43.2px;
  122. background: url('../../assets/images/sunVillage_info/list_icon_5.png') center center no-repeat;
  123. background-size: 20px 36px;
  124. position: absolute;
  125. left: 38px;
  126. top: 36px;
  127. }
  128. }
  129. .list_main {
  130. padding: 25px;
  131. background: #ffffff;
  132. width: 94%;
  133. margin: 25px auto 0;
  134. border-radius: 15PX;
  135. box-shadow: 4px 6px 5px rgba(63, 68, 75, 0.1);
  136. }
  137. .titBox {
  138. display: flex;
  139. align-items: center;
  140. }
  141. .tit {
  142. font-size: 36px;
  143. font-weight: bold;
  144. }
  145. /deep/ .van-cell {
  146. padding-left: 0 !important;
  147. padding-right: 0 !important;
  148. padding-bottom: 0 !important;
  149. }
  150. /deep/ .van-field__label {
  151. /*padding-left: 10PX;*/
  152. width: auto;
  153. display: flex;
  154. align-items: center;
  155. }
  156. /deep/ .van-cell--required::before {
  157. left: 85PX;
  158. }
  159. .bottomImg{
  160. position: absolute;
  161. left: 50%;
  162. top: 50%;
  163. width: 50vw;
  164. transform: translate(-50%,10%);
  165. }
  166. }
  167. </style>