移动端
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

signUp.vue 9.6 KiB

há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. <template>
  2. <div class="app-container" style="background: #fff;height: 100%">
  3. <van-nav-bar
  4. title="报名"
  5. left-arrow
  6. fixed
  7. placeholder
  8. @click-left="$router.back(-1)"
  9. />
  10. <van-row>
  11. <p class="" style="padding:20px 20px 0px;font-size: 0.4rem">
  12. <span>项目名称:</span>
  13. <span style="color:#007E72;font-size: 0.45rem;font-weight: bold;">{{ projectName }}</span>
  14. </p>
  15. <p style="padding:10px 20px 0;font-size: 0.4rem;">
  16. <span>缴纳保证金:</span>
  17. <span style="color:#C21F3A;font-size: 0.45rem;font-weight: bold;">¥{{ deposit }}</span>
  18. </p>
  19. <p class="" style="padding:10px 20px 0px;font-size: 0.4rem">
  20. <span>保证金缴纳账号:</span>
  21. <span style="color:#007E72;font-size: 0.45rem;font-weight: bold;">{{ payAccount }}</span>
  22. </p>
  23. <p class="" style="padding:10px 20px 0px;font-size: 0.4rem">
  24. <span>账户名称:</span>
  25. <span style="color:#007E72;font-size: 0.45rem;font-weight: bold;">{{ accountName }}</span>
  26. </p>
  27. <p class="" style="padding:10px 20px 0px;font-size: 0.4rem;margin-bottom: 20px">
  28. <span>开户银行:</span>
  29. <span style="color:#007E72;font-size: 0.45rem;font-weight: bold;">{{ bankName }}</span>
  30. </p>
  31. </van-row>
  32. <van-row style="padding:0 20px;">
  33. <h2 style="margin-bottom:10px;">1.竞买人请确认以下事项并勾选</h2>
  34. <p>· 已阅读并知晓:拍下不买的后果,即保证金不予退还并承担相应的后果包括处罚等</p>
  35. <p>· 已阅读并知晓:本次报名仅代表本人,未接受他人委托参与竞买。(如需办理委托,请在报名前联系处置单位将双方信息录入系统</p>
  36. <p>· 已阅读并知晓:如您报名成功,您的姓名、证件号码、手机号、联系地址等信息将披露给资产处置单位及相关服务提供方,用于核实竞买人的真是身份、竞买资格及相关服务提供</p>
  37. <p>· 已阅读并知晓:竞买人如果没有进行实地看样,视为接受标的所有瑕疵等细则</p>
  38. <p style="margin-bottom:10px;">· 已阅读并知晓:已阅读并同意 <span style="color:#C21F3A">《竞拍服务协议》</span></p>
  39. <van-checkbox v-model="checked" shape="square" checked-color="#007E72" ><p :style="{color:color}">本人已知晓并同意以上所有事项</p></van-checkbox>
  40. </van-row>
  41. <van-row style="padding:0 20px;margin-top:10px;">
  42. <h2 style="margin-bottom:10px;">竞买人身份确认说明:</h2>
  43. <p>竞买人身份信息无法在此修改,请前往<span style="color: #c12e2a;">个人中心 > 账户设置 > 银行账户信息</span>进行修改维护</p>
  44. </van-row>
  45. <van-row style="padding:0 10px;margin-top: 20px;">
  46. <h2 style="margin-bottom:10px;padding:0 10px">2.竞买人身份确认</h2>
  47. <van-form @submit="onSubmit">
  48. <van-field
  49. readonly
  50. v-model="realname"
  51. name="realname"
  52. label="姓名"
  53. placeholder="姓名"
  54. required
  55. :rules="[{ required: true, message: '请填写姓名' }]"
  56. />
  57. <van-field
  58. readonly
  59. v-model="phone"
  60. name="phone"
  61. label="会员账号"
  62. placeholder="会员账号"
  63. required
  64. :rules="[{ required: true, message: '请填写会员账号' }]"
  65. />
  66. <van-field
  67. readonly
  68. v-model="accountType"
  69. name="accountType"
  70. label="账户类型"
  71. placeholder="账户类型"
  72. required
  73. :rules="[{ required: true, message: '请填写账户类型' }]"
  74. />
  75. <van-field
  76. readonly
  77. v-model="bankType"
  78. name="bankType"
  79. label="所属银行"
  80. placeholder="所属银行"
  81. required
  82. :rules="[{ required: true, message: '请填写所属银行' }]"
  83. />
  84. <van-field
  85. readonly
  86. v-model="bankCardName"
  87. name="bankCardName"
  88. label="开户姓名"
  89. placeholder="开户姓名"
  90. required
  91. :rules="[{ required: true, message: '请填写开户姓名' }]"
  92. />
  93. <van-field
  94. readonly
  95. v-model="bankAddress"
  96. name="bankAddress"
  97. label="开户银行"
  98. placeholder="开户银行"
  99. required
  100. :rules="[{ required: true, message: '请填写开户银行' }]"
  101. />
  102. <van-field
  103. readonly
  104. v-model="bankCardNum"
  105. name="bankCardNum"
  106. label="银行卡号"
  107. placeholder="银行卡号"
  108. required
  109. :rules="[{ required: true, message: '请填写银行卡号' }]"
  110. />
  111. <van-field
  112. readonly
  113. v-model="payeePaymentLines"
  114. name="payeePaymentLines"
  115. label="联行号"
  116. placeholder="联行号"
  117. required
  118. :rules="[{ required: true, message: '请填写联行号' }]"
  119. />
  120. <van-field
  121. readonly
  122. v-model="idCardNum"
  123. name="idCardNum"
  124. label="身份证号"
  125. placeholder="身份证号"
  126. required
  127. :rules="[{ required: true, message: '请填写身份证号' }]"
  128. />
  129. <van-field
  130. v-model="projectId"
  131. name="projectId"
  132. style="display: none"
  133. />
  134. <van-field
  135. v-model="memberId"
  136. name="memberId"
  137. style="display: none"
  138. />
  139. <van-field
  140. v-model="status"
  141. name="status"
  142. style="display: none"
  143. />
  144. <van-field label="缴款凭证">
  145. <template #input>
  146. <van-uploader v-model="fileList" multiple>
  147. <van-button icon="plus" size="small" round color="#007E72">点击上传</van-button>
  148. </van-uploader>
  149. </template>
  150. </van-field>
  151. <div style="margin: 16px;">
  152. <van-button round block type="info" native-type="submit" color="#007E72">保存</van-button>
  153. </div>
  154. </van-form>
  155. </van-row>
  156. </div>
  157. </template>
  158. <script>
  159. import {getMember, submmitSignup, uploadPic,getOutProjectDetail} from "../../api/project";
  160. import {getInfo} from "../../api/login";
  161. export default {
  162. name: "signUp",
  163. data() {
  164. return {
  165. projectId:this.$route.query.projectId,
  166. deposit:this.$route.query.deposit,
  167. projectName:this.$route.query.projectName,
  168. bankAddress:"",
  169. bankCardNum:"",
  170. bankCardName:"",
  171. idCardNum:"",
  172. phone:"",
  173. memberId:"",
  174. status:"N",
  175. checked: true,
  176. color:"#007E72",
  177. nickName:"",
  178. userName:"",
  179. password:"",
  180. fileList:[],
  181. tableId:"",
  182. realname:"",
  183. accountType:"",
  184. bankType:"",
  185. payeePaymentLines:"",
  186. payAccount :"",
  187. accountName :"",
  188. bankName:"",
  189. };
  190. },
  191. created() {
  192. this.projectId = this.$route.query.projectId;
  193. this.deposit = this.$route.query.deposit;
  194. this.projectName = this.$route.query.projectName;
  195. console.log(this.$route.query.projectId)
  196. console.log(this.$route.query.deposit)
  197. console.log(this.$route.query.projectName)
  198. getInfo().then(response => {
  199. getMember(response.user.userId).then(res => {
  200. this.realname = res.data.realname
  201. this.bankCardName = res.data.bankCardName
  202. this.idCardNum = res.data.idCardNum
  203. this.bankAddress = res.data.bankAddress
  204. this.bankCardNum = res.data.bankCardNum
  205. this.phone = res.data.phone
  206. this.memberId = res.data.id
  207. this.payeePaymentLines = res.data.payeePaymentLines
  208. this.getDicts("bank_account_type").then(rr => {
  209. this.accountType = this.selectDictLabel(rr.data,res.data.accountType);
  210. });
  211. this.getDicts("bank_type_all").then(rr => {
  212. this.bankType = this.selectDictLabel(rr.data,res.data.bankType);
  213. });
  214. })
  215. });
  216. getOutProjectDetail(this.$route.query.projectId).then(res => {
  217. // this.projectId = res.data.projectId
  218. // this.deposit = res.data.deposit
  219. // this.projectName = res.data.projectName
  220. this.payAccount = res.data.payAccount
  221. this.accountName = res.data.accountName
  222. this.bankName = res.data.bankName
  223. });
  224. },
  225. methods: {
  226. onRead (file) {
  227. let data = {};
  228. let f = []
  229. for (let i of file){
  230. f.push(i.content)
  231. }
  232. data['files']= f
  233. data['fileType']= ""
  234. data['bizPath']= "transaction"
  235. data['tableName']= "t_transaction_signup"
  236. data['tableId']= this.tableId
  237. uploadPic(data).then(response => {
  238. if(response.code=="200"){
  239. let _this = this
  240. this.$toast({
  241. icon: 'success', // 找到自己需要的图标
  242. message: '提交申请,等待审核',
  243. duration:"2000",
  244. onClose:function(){
  245. _this.$router.back(-1);
  246. }
  247. })
  248. }
  249. })
  250. },
  251. onSubmit(values){
  252. if(!this.checked){
  253. this.$toast({
  254. icon: 'warning', // 找到自己需要的图标
  255. message: '保存之前,请先勾选<<竞拍服务协议>>!'
  256. })
  257. return;
  258. }
  259. // if(this.fileList.length<1){
  260. // this.$toast({
  261. // icon: 'warning', // 找到自己需要的图标
  262. // message: '请上传相关凭证'
  263. // })
  264. // return;
  265. // }
  266. submmitSignup(values).then(response =>{
  267. if(response.code==200){
  268. this.tableId = response.data
  269. this.onRead(this.fileList)
  270. }
  271. })
  272. }
  273. },
  274. watch:{
  275. checked(val){
  276. val==true?this.color="#007E72":this.color="#000"
  277. }
  278. }
  279. }
  280. </script>
  281. <style scoped lang="scss">
  282. </style>