1 line
20 KiB
Plaintext
1 line
20 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/Lee/工地打卡小程序/building-sign/pagesB/enterDetail/enterDetail.vue?01e2","webpack:///D:/Lee/工地打卡小程序/building-sign/pagesB/enterDetail/enterDetail.vue?32d8","webpack:///D:/Lee/工地打卡小程序/building-sign/pagesB/enterDetail/enterDetail.vue?86b6","webpack:///D:/Lee/工地打卡小程序/building-sign/pagesB/enterDetail/enterDetail.vue?c11b","uni-app:///pagesB/enterDetail/enterDetail.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","tabbar","data","statusHeight","userType","baseHttp","centerDetail","reasonMsg","ifReason","id","onLoad","onShow","methods","getEnterDetail","console","submitEv","type","reason","submitApi","uni","url","closeReason","previewImageEv","current","urls"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,oBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;;;AAG1D;AACgL;AAChL,gBAAgB,uLAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,kGAAM;AACR,EAAE,2GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,oMAEN;AACP,KAAK;AACL;AACA,aAAa,kOAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAyqB,CAAgB,uqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;eC6K7rB;EACAC;IACAC;EACA;EACAC;IACA;MACAC;MAAA;MACAC;MAAA;MACAC;MACAC;MAAA;MACAC;MAAA;MACAC;MAAA;MACAC;IACA;EACA;EACAC;IACA;MACA;IACA;IACA;MACA;IACA;EACA;EACAC;IACA;IACA;EACA;EACAC;IACA;IACAC;MAAA;MACA;QAAAJ;MAAA;QACA;UACAK;UACA;UACA;UACA;UACA;UACA;UACA;UACA;QACA;MACA;IACA;IAEA;IACAC;MACA;QACA;UACAN;UACAO;UACAC;QACA;QACA;QACA;MACA;QACA;UACAR;UACAO;QACA;QACA;QACA;MACA;IACA;IAEA;IACAE;MAAA;MACAJ;MACA;QACA;UACA;YACA;UACA;YACA;UACA;UACAK;YACAC;UACA;QACA;UACA;QACA;MACA;IACA;IAEA;IACAC;MACA;MACA;IACA;IAEA;IACAC;MACA;MACAH;QACAI;QAAA;QACAC;MACA;IACA;EACA;AACA;AAAA,2B","file":"pagesB/enterDetail/enterDetail.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesB/enterDetail/enterDetail.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./enterDetail.vue?vue&type=template&id=0a1f2b80&scoped=true&\"\nvar renderjs\nimport script from \"./enterDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./enterDetail.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0a1f2b80\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesB/enterDetail/enterDetail.vue\"\nexport default component.exports","export * from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./enterDetail.vue?vue&type=template&id=0a1f2b80&scoped=true&\"","var components\ntry {\n components = {\n statusNav: function () {\n return import(\n /* webpackChunkName: \"components/status-nav/status-nav\" */ \"@/components/status-nav/status-nav.vue\"\n )\n },\n tabbar: function () {\n return import(\n /* webpackChunkName: \"components/tabbar/tabbar\" */ \"@/components/tabbar/tabbar.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n _vm.ifReason = true\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./enterDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./enterDetail.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"pad-x120\">\n\t\t<!-- 头部 -->\n\t\t<status-nav navBarTitle=\"工人信息\"></status-nav>\n\t\t<view class=\"content\" :style=\"{'padding-top':statusHeight+50+'px'}\">\n\t\t\t<!-- 工人信息 -->\n\t\t\t<view class=\"enter-detail font26\">\r\n\t\t\t\t<view class=\"item\" v-if=\"centerDetail.status==-1\">\r\n\t\t\t\t\t<view class=\"title\">审核状态</view>\r\n\t\t\t\t\t<view class=\"msg font24 color-red\">已退回</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"title\">姓名</view>\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.account.real_name!==''?centerDetail.account.real_name:centerDetail.real_name}}\r\n\t\t\t\t\t\t<text class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.real_name!==centerDetail.account.real_name\">\r\n\t\t\t\t\t\t\t{{centerDetail.real_name}}\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"title\">电话</view>\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.account.mobile!==''?centerDetail.account.mobile:centerDetail.mobile}}\r\n\t\t\t\t\t\t<text class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.mobile!==centerDetail.account.mobile\">\r\n\t\t\t\t\t\t\t{{centerDetail.mobile}}\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"title\">身份证</view>\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.account.card_number!==''?centerDetail.account.card_number:centerDetail.card_number}}\r\n\t\t\t\t\t\t<text class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.card_number!==centerDetail.account.card_number\">\r\n\t\t\t\t\t\t\t{{centerDetail.card_number}}\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t</view>\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"item item-other\">\r\n\t\t\t\t\t<view class=\"title\">身份证正面</view>\r\n\t\t\t\t\t<view class=\"msg\">\r\n\t\t\t\t\t\t<image @tap=\"previewImageEv(centerDetail.account.id_front!==baseHttp?centerDetail.account.id_front:centerDetail.id_front)\" :src=\"centerDetail.account.id_front!==baseHttp?centerDetail.account.id_front:centerDetail.id_front\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<view class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.id_front!==centerDetail.account.id_front\">\r\n\t\t\t\t\t\t\t<image @tap=\"previewImageEv(centerDetail.id_front)\" :src=\"centerDetail.id_front\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"item item-other\">\r\n\t\t\t\t\t<view class=\"title\">身份证反面</view>\r\n\t\t\t\t\t<view class=\"msg\">\r\n\t\t\t\t\t\t<image @tap=\"previewImageEv(centerDetail.account.id_back!==baseHttp?centerDetail.account.id_back:centerDetail.id_back)\" :src=\"centerDetail.account.id_back!==baseHttp?centerDetail.account.id_back:centerDetail.id_back\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<view class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.id_back!==centerDetail.account.id_back\">\r\n\t\t\t\t\t\t\t<image @tap=\"previewImageEv(centerDetail.id_back)\" :src=\"centerDetail.id_back\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"title\">紧急联系人</view>\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.account.emergency_contact!==''?centerDetail.account.emergency_contact:centerDetail.emergency_contact}}\r\n\t\t\t\t\t\t<text class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.emergency_contact!==centerDetail.account.emergency_contact\">\r\n\t\t\t\t\t\t\t{{centerDetail.emergency_contact}}\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"title\">联系人电话</view>\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.account.emergency_phone!==''?centerDetail.account.emergency_phone:centerDetail.emergency_phone}}\r\n\t\t\t\t\t\t<text class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.emergency_phone!==centerDetail.account.emergency_phone\">\r\n\t\t\t\t\t\t\t{{centerDetail.emergency_phone}}\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"title\">银行卡户名</view>\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.account.bank_card_name!==''?centerDetail.account.bank_card_name:centerDetail.bank_card_name}}\r\n\t\t\t\t\t\t<text class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.bank_card_name!==centerDetail.account.bank_card_name\">\r\n\t\t\t\t\t\t\t{{centerDetail.bank_card_name}}\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"title\">银行卡号</view>\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.account.bank_card_number!==''?centerDetail.account.bank_card_number:centerDetail.bank_card_number}}\r\n\t\t\t\t\t\t<text class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.bank_card_number!==centerDetail.account.bank_card_number\">\r\n\t\t\t\t\t\t\t{{centerDetail.bank_card_number}}\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"title\">开户行</view>\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.account.bank_name!==''?centerDetail.account.bank_name:centerDetail.bank_name}}\r\n\t\t\t\t\t\t<text class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.bank_name!==centerDetail.account.bank_name\">\r\n\t\t\t\t\t\t\t{{centerDetail.bank_name}}\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t</view>\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"item item-other\">\r\n\t\t\t\t\t<view class=\"title\">银行卡照片</view>\r\n\t\t\t\t\t<view class=\"msg\">\r\n\t\t\t\t\t\t<image @tap=\"previewImageEv(centerDetail.account.bank_card_img!==baseHttp?centerDetail.account.bank_card_img:centerDetail.bank_card_img)\" :src=\"centerDetail.account.bank_card_img!==baseHttp?centerDetail.account.bank_card_img:centerDetail.bank_card_img\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t<view class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.bank_card_img!==centerDetail.account.bank_card_img\">\r\n\t\t\t\t\t\t\t<image @tap=\"previewImageEv(centerDetail.bank_card_img)\" :src=\"centerDetail.bank_card_img\" mode=\"widthFix\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"title\">技术岗位</view>\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.account.position_name!==''?centerDetail.account.position_name:centerDetail.position_name}}\r\n\t\t\t\t\t\t<text class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.position_name!==centerDetail.account.position_name\">\r\n\t\t\t\t\t\t\t{{centerDetail.position_name}}\r\n\t\t\t\t\t\t</text>\r\n\t\t\t\t\t</view>\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"item\" v-if=\"centerDetail.certificate!==''\">\r\n\t\t\t\t\t<view class=\"title\">证书名称</view>\r\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.certificate}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"title\">工资</view>\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.account.pay!==''?centerDetail.account.pay:centerDetail.pay}}\r\n\t\t\t\t\t\t<text class=\"director-arrow\" v-if=\"centerDetail.is_register!==1 && centerDetail.status==0 && centerDetail.pay!==centerDetail.account.pay\">\r\n\t\t\t\t\t\t\t{{centerDetail.pay}}\r\n\t\t\t\t\t\t</text>元\r\n\t\t\t\t\t</view>\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"item item-other\">\r\n\t\t\t\t\t<view class=\"title\">工作经验</view>\r\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.work_experience}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"item\">\r\n\t\t\t\t\t<view class=\"title\">现住地址</view>\r\n\t\t\t\t\t<view class=\"msg font24\">\r\n\t\t\t\t\t\t{{centerDetail.province+centerDetail.city+centerDetail.area+centerDetail.address_now}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\n\t\t\t\t<view class=\"item\">\n\t\t\t\t\t<view class=\"title\">加入时间</view>\n\t\t\t\t\t<view class=\"msg font24\">{{centerDetail.created_at}}</view>\n\t\t\t\t</view>\r\n\t\t\t</view>\n\t\t\t<!-- 审核按钮 -->\n\t\t\t<view class=\"enter-detail-btns color-white font30\" v-if=\"centerDetail.status==0\">\n\t\t\t\t<view class=\"btn\" @tap=\"submitEv(1)\">确认</view>\n\t\t\t\t<view class=\"btn\" @tap=\"ifReason=true\">退回</view>\n\t\t\t</view>\n\t\t</view>\r\n\t\t<!-- 退回理由 -->\r\n\t\t<view class=\"pop-up-bg\" v-if=\"ifReason\">\r\n\t\t\t<view class=\"edit-box bg-white\">\r\n\t\t\t\t<image class=\"close-btn\" src=\"/static/icon/icon-close-btn.png\" mode=\"aspectFit\" @tap=\"closeReason\"></image>\r\n\t\t\t\t<view class=\"title font36\">退回理由</view>\r\n\t\t\t\t<!-- 其他显示 -->\r\n\t\t\t\t<input class=\"input font26\" type=\"text\" v-model=\"reasonMsg\" placeholder=\"请输入退回理由\" placeholder-style=\"color:rgba(51,51,51,.4)\">\r\n\t\t\t\t<view class=\"submit-btn font30 color-white\" @tap=\"submitEv(0)\">确认</view>\r\n\t\t\t</view>\r\n\t\t</view>\n\t\t<!-- 尾部 -->\n\t\t<tabbar :userType=\"userType\" current=\"2\"></tabbar>\n\t</view>\n</template>\n<script>\n\timport tabbar from '@/components/tabbar/tabbar';\n\texport default {\n\t\tcomponents:{\n\t\t\ttabbar\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tstatusHeight:uni.getSystemInfoSync().statusBarHeight, //状态栏高度\n\t\t\t\tuserType:'director', //账户类型 工人:worker 负责人:director\r\n\t\t\t\tbaseHttp:`${getApp().globalData.hostapi}`,\n\t\t\t\tcenterDetail:{}, //工人信息\r\n\t\t\t\treasonMsg:'', //退回理由\r\n\t\t\t\tifReason:false, //是否退回\n\t\t\t\tid:0, //工人id\n\t\t\t}\n\t\t},\n\t\tonLoad(op) {\n\t\t\tif(op.id){\n\t\t\t\tthis.id = op.id;\n\t\t\t}\r\n\t\t\tif(op.userType){\r\n\t\t\t\tthis.userType = op.userType;\r\n\t\t\t}\n\t\t},\n\t\tonShow() {\n\t\t\t// 获取工人信息\n\t\t\tthis.getEnterDetail();\n\t\t},\r\n\t\tmethods: {\n\t\t\t// 获取工人信息\n\t\t\tgetEnterDetail(){\n\t\t\t\tthis.$requst.post('/api/v1/manager/check-detail',{id:this.id}).then(res=>{\n\t\t\t\t\tif(res.code == 0){\n\t\t\t\t\t\tconsole.log(res,'工人信息');\n\t\t\t\t\t\tthis.centerDetail = res.data;\r\n\t\t\t\t\t\tthis.centerDetail.id_front = this.$toolAll.tools.handleImg(res.data.id_front);\r\n\t\t\t\t\t\tthis.centerDetail.account.id_front = this.$toolAll.tools.handleImg(res.data.account.id_front);\r\n\t\t\t\t\t\tthis.centerDetail.id_back = this.$toolAll.tools.handleImg(res.data.id_back);\r\n\t\t\t\t\t\tthis.centerDetail.account.id_back = this.$toolAll.tools.handleImg(res.data.account.id_back);\r\n\t\t\t\t\t\tthis.centerDetail.bank_card_img = this.$toolAll.tools.handleImg(res.data.bank_card_img);\r\n\t\t\t\t\t\tthis.centerDetail.account.bank_card_img = this.$toolAll.tools.handleImg(res.data.account.bank_card_img);\r\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\t// 确认&退回\n\t\t\tsubmitEv(type){\r\n\t\t\t\tif(type==0){\r\n\t\t\t\t\tlet params = {\r\n\t\t\t\t\t\tid:this.id,\r\n\t\t\t\t\t\ttype:type,\r\n\t\t\t\t\t\treason:this.reasonMsg\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// 提交\r\n\t\t\t\t\tthis.submitApi(params,type);\r\n\t\t\t\t}else{\r\n\t\t\t\t\tlet params = {\r\n\t\t\t\t\t\tid:this.id,\r\n\t\t\t\t\t\ttype:type\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// 提交\r\n\t\t\t\t\tthis.submitApi(params,type);\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\t// 提交\r\n\t\t\tsubmitApi(params,type){\r\n\t\t\t\tconsole.log(params,type,123)\r\n\t\t\t\tthis.$requst.post('/api/v1/manager/check-info',params).then(res=>{\r\n\t\t\t\t\tif(res.code == 0){\r\n\t\t\t\t\t\tif(type==0){\r\n\t\t\t\t\t\t\tthis.$toolAll.tools.showToast('已退回');\r\n\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\tthis.$toolAll.tools.showToast('已确认');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\t\turl:'/pages/director/enter/enter'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.$toolAll.tools.showToast(res.msg);\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\t// 关闭退回弹窗\r\n\t\t\tcloseReason(){\r\n\t\t\t\tthis.ifReason = false;\r\n\t\t\t\tthis.reasonMsg = '';\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\t// 图片预览\r\n\t\t\tpreviewImageEv(url) {\r\n\t\t\t\t//uniapp预览轮播图\r\n\t\t\t\tuni.previewImage({\r\n\t\t\t\t\tcurrent: 0, //预览图片的下标\r\n\t\t\t\t\turls: [url] //预览图片的地址,必须要数组形式,如果不是数组形式就转换成数组形式就可以\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t}\n\t}\n</script>\n<style scoped>\n\t\n</style>"],"sourceRoot":""} |