Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1cd5363723 | ||
|
|
e698f0624f | ||
|
|
23284483c4 |
@@ -33,8 +33,13 @@ export async function uploadFile(file) {
|
||||
'Authorization': `Basic ${Base64.encode(`${website.clientId}:${website.clientSecret}`)}`,
|
||||
}
|
||||
header[website.tokenName] = "bearer " + token
|
||||
// 馆陶替换url
|
||||
let url = `/api/jobslink-api/resource/file/save?bussinessType=5`
|
||||
if (url.startsWith('/api')) {
|
||||
url = url.replace(/^\/api/, '/api/gt');
|
||||
}
|
||||
uni.uploadFile({
|
||||
url: `${baseUrl}/api/jobslink-api/resource/file/save?bussinessType=5`,
|
||||
url: baseUrl + url,
|
||||
header,
|
||||
filePath: file.url,
|
||||
// formData: formdata,
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"versionName": "1.0.0",
|
||||
"versionCode": "100",
|
||||
"transformPx": false,
|
||||
"sassImplementationName": "node-sass",
|
||||
"app-plus": {
|
||||
"usingComponents": true,
|
||||
"compilerVersion": 3,
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
{
|
||||
"path": "pages/project/newProject",
|
||||
"style": {
|
||||
"navigationBarTitleText": "馆陶县灵活就业平台",
|
||||
"navigationBarTitleText": "宜昌市灵活就业平台",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,227 +1,225 @@
|
||||
<template>
|
||||
<view class="app_container">
|
||||
<view class="container_head">
|
||||
<view class="row">
|
||||
<view class="head_left">
|
||||
<view class="left_title">在德阳市开设</view>
|
||||
<view class="left_content">
|
||||
<view class="content_item">
|
||||
<view class="fs_28">1</view>
|
||||
<view class="fs_24">主市场</view>
|
||||
</view>
|
||||
<view class="content_item">
|
||||
<view class="fs_28">15</view>
|
||||
<view class="fs_24">分市场</view>
|
||||
</view>
|
||||
<view class="content_item">
|
||||
<view class="fs_28">136</view>
|
||||
<view class="fs_24">服务站</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="head_right">
|
||||
<image src="../../static/img/deyang.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="broadcast">
|
||||
<view class="cast-l"><u-icon style="margin-right: 10rpx;" name="volume" color="#fb6a09"
|
||||
size="20"></u-icon>周六常态化招聘会通知</view>
|
||||
<u-icon name="arrow-right" color="#666666" size="16"></u-icon>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view class="conatiner_card">
|
||||
<view class="row blod fs_34">馆陶县智慧就业市场</view>
|
||||
<view class="row color_666 fs_30 marT_30">
|
||||
<u-icon style="margin-right: 10rpx;" name="calendar" color="#666666" size="16"></u-icon>营业时间
|
||||
</view>
|
||||
<view class="row color_666 fs_30">上午9:00-12:00 下午14:00-18:00</view>
|
||||
<view class="row color_666 fs_30 marT_30">
|
||||
<u-icon style="margin-right: 10rpx;" name="map" color="#666666" size="16"></u-icon>
|
||||
四川省德阳市旌阳区天山南路1段108号
|
||||
<!-- <u-icon style="margin-left: 10rpx;" name="arrow-right" color="#666666" size="16"></u-icon> -->
|
||||
</view>
|
||||
<!-- <view class="row color_666 fs_28 marT_10">
|
||||
<view class="column">距离我7km</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view class="conatiner_card">
|
||||
<view class="row blod fs_34">关于市场</view>
|
||||
<view class="row color_666 fs_30">
|
||||
德阳市公共就业服务市场,为进一步促进公共就业服务提质增效,保障重点企业用工需求,助力高校毕业生等重点群体实现更充分更高质量就业,德阳市人社局进一步加强统筹、靶向施力,充分利用市本级和各区(市、县)现有招聘网站、微信小程序、抖音号等以及线下人力资源招聘市场,全力打造集“手机端”+“电脑端”+“线下端”三位一体立体招聘矩阵,通过深挖收集企业用工岗位信息,坚持定向推送,进一步拓宽招聘信息发布渠道,提升招聘求职成功率。
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <view class="container_chioe">
|
||||
<view class="chioe_share color_666 fs_24">
|
||||
<u-icon name="share" color="#666666" size="16"></u-icon>分享
|
||||
</view>
|
||||
<view class="chioe_btn">电话咨询</view>
|
||||
<view class="chioe_btn btn_Blue">到这去</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@function designTo($num) {
|
||||
@return ($num / 620rpx) * 750rpx
|
||||
}
|
||||
|
||||
@for $i from 10 to 60 {
|
||||
.fs_#{$i} {
|
||||
font-size : #{$i}rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@for $i from 1 to 60 {
|
||||
.marT_#{$i} {
|
||||
margin-top : #{$i}rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.color_666 {
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.app_container {
|
||||
background-color: #f3f4f8;
|
||||
min-height: calc(100vh - var(--window-top) - var(--status-bar-height) - var(--window-bottom));
|
||||
|
||||
.container_head {
|
||||
min-height: 300rpx;
|
||||
padding: 28rpx;
|
||||
background: linear-gradient(to bottom, rgba(69, 112, 250, 1), rgba(69, 112, 250, .0));
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.head_left {
|
||||
color: #FFFFFF;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
|
||||
.left_title {}
|
||||
|
||||
.left_content {
|
||||
height: designTo(87rpx);
|
||||
width: designTo(313rpx);
|
||||
background-color: rgba(69, 104, 252, 0.4);
|
||||
border-radius: 20rpx;
|
||||
margin-top: 20rpx;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
|
||||
.content_item {
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.head_right {
|
||||
width: designTo(220rpx);
|
||||
height: designTo(148rpx);
|
||||
border-radius: 20rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.broadcast {
|
||||
margin-top: designTo(65rpx);
|
||||
height: designTo(77rpx);
|
||||
background-color: rgba(244, 230, 224, 1);
|
||||
border-radius: 20rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 24rpx;
|
||||
|
||||
.cast-l {
|
||||
font-size: 32rpx;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.conatiner_card {
|
||||
margin: 28rpx;
|
||||
background-color: #FFFFFF;
|
||||
height: fit-content;
|
||||
border-radius: 20rpx;
|
||||
padding: designTo(28rpx);
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.column {
|
||||
padding: 10rpx 20rpx;
|
||||
border-radius: 40rpx;
|
||||
background-color: #f3f4f8;
|
||||
}
|
||||
}
|
||||
|
||||
.container_chioe {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
background-color: #FFFFFF;
|
||||
height: designTo(108rpx);
|
||||
padding: 0 28rpx designTo(30rpx) 28rpx;
|
||||
|
||||
.chioe_share {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.chioe_btn {
|
||||
color: #FFFFFF;
|
||||
background: linear-gradient(to right, #fbaf1a, #fbaf1a);
|
||||
height: designTo(66rpx);
|
||||
width: designTo(228rpx);
|
||||
text-align: center;
|
||||
line-height: designTo(66rpx);
|
||||
border-radius: designTo(33rpx);
|
||||
}
|
||||
|
||||
.btn_Blue {
|
||||
background: linear-gradient(to right, #95aefb, #4b74f7);
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<view class="app_container">
|
||||
<view class="container_head">
|
||||
<view class="row">
|
||||
<view class="head_left">
|
||||
<view class="left_title">在德阳市开设</view>
|
||||
<view class="left_content">
|
||||
<view class="content_item">
|
||||
<view class="fs_28">1</view>
|
||||
<view class="fs_24">主市场</view>
|
||||
</view>
|
||||
<view class="content_item">
|
||||
<view class="fs_28">15</view>
|
||||
<view class="fs_24">分市场</view>
|
||||
</view>
|
||||
<view class="content_item">
|
||||
<view class="fs_28">136</view>
|
||||
<view class="fs_24">服务站</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="head_right">
|
||||
<image src="../../static/img/deyang.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="broadcast">
|
||||
<view class="cast-l"><u-icon style="margin-right: 10rpx;" name="volume" color="#fb6a09"
|
||||
size="20"></u-icon>周六常态化招聘会通知</view>
|
||||
<u-icon name="arrow-right" color="#666666" size="16"></u-icon>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view class="conatiner_card">
|
||||
<view class="row blod fs_34">宜昌市智慧就业市场</view>
|
||||
<view class="row color_666 fs_30 marT_30">
|
||||
<u-icon style="margin-right: 10rpx" name="calendar" color="#666666" size="16"></u-icon>
|
||||
营业时间
|
||||
</view>
|
||||
<view class="row color_666 fs_30">上午9:00-12:00 下午14:00-18:00</view>
|
||||
<view class="row color_666 fs_30 marT_30">
|
||||
<u-icon style="margin-right: 10rpx" name="map" color="#666666" size="16"></u-icon>
|
||||
四川省德阳市旌阳区天山南路1段108号
|
||||
<!-- <u-icon style="margin-left: 10rpx;" name="arrow-right" color="#666666" size="16"></u-icon> -->
|
||||
</view>
|
||||
<!-- <view class="row color_666 fs_28 marT_10">
|
||||
<view class="column">距离我7km</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view class="conatiner_card">
|
||||
<view class="row blod fs_34">关于市场</view>
|
||||
<view class="row color_666 fs_30">
|
||||
德阳市公共就业服务市场,为进一步促进公共就业服务提质增效,保障重点企业用工需求,助力高校毕业生等重点群体实现更充分更高质量就业,德阳市人社局进一步加强统筹、靶向施力,充分利用市本级和各区(市、县)现有招聘网站、微信小程序、抖音号等以及线下人力资源招聘市场,全力打造集“手机端”+“电脑端”+“线下端”三位一体立体招聘矩阵,通过深挖收集企业用工岗位信息,坚持定向推送,进一步拓宽招聘信息发布渠道,提升招聘求职成功率。
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <view class="container_chioe">
|
||||
<view class="chioe_share color_666 fs_24">
|
||||
<u-icon name="share" color="#666666" size="16"></u-icon>分享
|
||||
</view>
|
||||
<view class="chioe_btn">电话咨询</view>
|
||||
<view class="chioe_btn btn_Blue">到这去</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
methods: {},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@function designTo($num) {
|
||||
@return ($num / 620rpx) * 750rpx;
|
||||
}
|
||||
|
||||
@for $i from 10 to 60 {
|
||||
.fs_#{$i} {
|
||||
font-size: #{$i}rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@for $i from 1 to 60 {
|
||||
.marT_#{$i} {
|
||||
margin-top: #{$i}rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.color_666 {
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.app_container {
|
||||
background-color: #f3f4f8;
|
||||
min-height: calc(100vh - var(--window-top) - var(--status-bar-height) - var(--window-bottom));
|
||||
|
||||
.container_head {
|
||||
min-height: 300rpx;
|
||||
padding: 28rpx;
|
||||
background: linear-gradient(to bottom, rgba(69, 112, 250, 1), rgba(69, 112, 250, 0));
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.head_left {
|
||||
color: #ffffff;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
|
||||
.left_title {
|
||||
}
|
||||
|
||||
.left_content {
|
||||
height: designTo(87rpx);
|
||||
width: designTo(313rpx);
|
||||
background-color: rgba(69, 104, 252, 0.4);
|
||||
border-radius: 20rpx;
|
||||
margin-top: 20rpx;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
|
||||
.content_item {
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.head_right {
|
||||
width: designTo(220rpx);
|
||||
height: designTo(148rpx);
|
||||
border-radius: 20rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.broadcast {
|
||||
margin-top: designTo(65rpx);
|
||||
height: designTo(77rpx);
|
||||
background-color: rgba(244, 230, 224, 1);
|
||||
border-radius: 20rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 24rpx;
|
||||
|
||||
.cast-l {
|
||||
font-size: 32rpx;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.conatiner_card {
|
||||
margin: 28rpx;
|
||||
background-color: #ffffff;
|
||||
height: fit-content;
|
||||
border-radius: 20rpx;
|
||||
padding: designTo(28rpx);
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.column {
|
||||
padding: 10rpx 20rpx;
|
||||
border-radius: 40rpx;
|
||||
background-color: #f3f4f8;
|
||||
}
|
||||
}
|
||||
|
||||
.container_chioe {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
background-color: #ffffff;
|
||||
height: designTo(108rpx);
|
||||
padding: 0 28rpx designTo(30rpx) 28rpx;
|
||||
|
||||
.chioe_share {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.chioe_btn {
|
||||
color: #ffffff;
|
||||
background: linear-gradient(to right, #fbaf1a, #fbaf1a);
|
||||
height: designTo(66rpx);
|
||||
width: designTo(228rpx);
|
||||
text-align: center;
|
||||
line-height: designTo(66rpx);
|
||||
border-radius: designTo(33rpx);
|
||||
}
|
||||
|
||||
.btn_Blue {
|
||||
background: linear-gradient(to right, #95aefb, #4b74f7);
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</view>
|
||||
<view class="navPosition" @click="navTo('/pages/project/map')">
|
||||
<u-icon name="map" color="#2979ff" size="16"></u-icon>
|
||||
<view class="positionText">馆陶县地图服务</view>
|
||||
<view class="positionText">宜昌市地图服务</view>
|
||||
<u-icon name="arrow-right" color="#666666" size="14"></u-icon>
|
||||
</view>
|
||||
<view class="content">
|
||||
|
||||
@@ -1,310 +1,364 @@
|
||||
<template>
|
||||
<view class="">
|
||||
<view class="content">
|
||||
<u--form labelPosition="left" :model="formData" :rules="rules" ref="formOne">
|
||||
<view class="card">
|
||||
<view class="card_title">认证信息</view>
|
||||
<u-form-item label="用工单位名称" labelWidth="100" prop="comname" borderBottom ref="item1">
|
||||
<u--input v-model="formData.comname" placeholder="请输入用工单位名称"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="统一信用代码" labelWidth="100" prop="companyTid" borderBottom ref="item1">
|
||||
<u--input v-model="formData.companyTid" placeholder="请输入统一信用代码"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="法人姓名" labelWidth="100" prop="masterName" borderBottom ref="item1">
|
||||
<u--input v-model="formData.masterName" placeholder="请输入法人姓名"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="法人身份证号" labelWidth="100" prop="masterIdentity" borderBottom ref="item1">
|
||||
<u--input v-model="formData.masterIdentity" placeholder="请输入法人身份证号"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="所在地区" labelWidth="100" prop="cityId" borderBottom ref="item1"
|
||||
@click="showAddress = true; hideKeyboard()">
|
||||
<PickerList placeholder="请选择所在地区" :columns="dic.addressColumn" :visibel="showAddress"
|
||||
v-model="formData.cityId" @cancel="showAddress = false">
|
||||
</PickerList>
|
||||
</u-form-item>
|
||||
<u-form-item label="详细地址" labelWidth="100" prop="companyAddress" borderBottom ref="item1">
|
||||
<u--input v-model="formData.companyAddress" placeholder="请输入详细地址"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="用工单位性质" labelWidth="100" prop="nature" borderBottom ref="item1"
|
||||
@click="showJobCompanyNature = true; hideKeyboard()">
|
||||
<PickerList placeholder="请选择企业性质" :columns="[xzDic]" :visibel="showJobCompanyNature"
|
||||
labelName="dictValue" valueName="dictKey" v-model="formData.nature"
|
||||
@cancel="showJobCompanyNature = false">
|
||||
</PickerList>
|
||||
</u-form-item>
|
||||
<u-form-item label="所属行业" labelWidth="100" prop="tradeId" borderBottom ref="item1"
|
||||
@click="showjobCompanyIndustry = true; hideKeyboard()">
|
||||
<PickerList placeholder="请选择所属行业" :columns="dic.tradeArr" labelName="name" valueName="id"
|
||||
:visibel="showjobCompanyIndustry" v-model="formData.tradeId"
|
||||
@cancel="showjobCompanyIndustry = false">
|
||||
</PickerList>
|
||||
</u-form-item>
|
||||
<u-form-item label="用工单位介绍" labelWidth="100" labelPosition="top" prop="companyDesc" borderBottom
|
||||
ref="item1">
|
||||
<u--textarea v-model="formData.companyDesc" placeholder="请输入用工单位介绍" count
|
||||
maxlength="200"></u--textarea>
|
||||
</u-form-item>
|
||||
</view>
|
||||
<view class="card">
|
||||
<view class="card_title">联系人信息</view>
|
||||
<u-form-item label="联系人" labelWidth="100" prop="manager" borderBottom ref="item1">
|
||||
<u--input v-model="formData.manager" placeholder="请输入联系人"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="手机号码" labelWidth="100" prop="telphone" borderBottom ref="item1">
|
||||
<u--input v-model="formData.telphone" placeholder="请输入手机号码"></u--input>
|
||||
</u-form-item>
|
||||
</view>
|
||||
|
||||
<view class="card">
|
||||
<view class="card_title">证件资料</view>
|
||||
<view class="card_content">
|
||||
<u-form-item labelWidth="100" prop="identityUrl4Id">
|
||||
<UploadIdNumber v-model="formData.identityUrl4Id" contentStyle="marginTop: 30rpx"
|
||||
backImg="/static/img/idcard.png">
|
||||
</UploadIdNumber>
|
||||
</u-form-item>
|
||||
<u-form-item labelWidth="100" prop="identityUrl5Id">
|
||||
<UploadIdNumber v-model="formData.identityUrl5Id" backImg="/static/img/backidcard1.png">
|
||||
</UploadIdNumber>
|
||||
</u-form-item>
|
||||
<u-form-item labelWidth="100" prop="authUrlId">
|
||||
<UploadIdNumber v-model="formData.authUrlId" backImg="/static/img/businessLicense.jpg">
|
||||
</UploadIdNumber>
|
||||
</u-form-item>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="card">
|
||||
<u-button type="primary" text="提交" customStyle="margin-top: 50px" @click="submit"></u-button>
|
||||
<u-button type="error" text="重置" customStyle="margin-top: 10px" @click="reset"></u-button>
|
||||
</view>
|
||||
</u--form>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import UploadIdNumber from './uploadIdNumber.vue';
|
||||
import dic from '@/common/dic.js'
|
||||
import PickerList from './pickerList.vue';
|
||||
import {
|
||||
addInviteCompanyAuth,
|
||||
getInviteCompanyAuthInfo,
|
||||
getDictionary2
|
||||
} from '@/api/userrecruit.js'
|
||||
import {
|
||||
mapState
|
||||
} from 'vuex'
|
||||
const rules = {
|
||||
comname: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请输入用工单位',
|
||||
trigger: ['change']
|
||||
},
|
||||
companyTid: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
max: 18,
|
||||
min: 18,
|
||||
message: '请输入18位统一信用代码',
|
||||
trigger: ['change']
|
||||
},
|
||||
masterName: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请输入法人姓名',
|
||||
trigger: ['change']
|
||||
},
|
||||
masterIdentity: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
pattern: /^[1-9]\d{5}(19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[Xx\d]$/,
|
||||
message: '请输入法人身份证号',
|
||||
trigger: ['change']
|
||||
},
|
||||
cityId: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请选择所在地区',
|
||||
trigger: ['change']
|
||||
},
|
||||
companyAddress: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请输入详细地址',
|
||||
trigger: ['change']
|
||||
},
|
||||
nature: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请选择企业性质',
|
||||
trigger: ['change']
|
||||
},
|
||||
tradeId: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请选择行业',
|
||||
trigger: ['change']
|
||||
},
|
||||
companyDesc: {
|
||||
type: 'string',
|
||||
min: 20,
|
||||
required: true,
|
||||
message: '请输入企业介绍(最少20个字符)',
|
||||
trigger: ['change']
|
||||
},
|
||||
manager: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请输入联系人',
|
||||
trigger: ['change']
|
||||
},
|
||||
telphone: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
pattern: /^1[3-9]{1}[0-9]{9}$/,
|
||||
message: '请输入手机号码',
|
||||
trigger: ['change']
|
||||
},
|
||||
identityUrl4Id: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请上传法人身份证(人像)',
|
||||
trigger: ['change']
|
||||
},
|
||||
identityUrl5Id: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请上传法人身份证(国徽)',
|
||||
trigger: ['change']
|
||||
},
|
||||
authUrlId: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请上传企业营业执照',
|
||||
trigger: ['change']
|
||||
},
|
||||
}
|
||||
export default {
|
||||
components: {
|
||||
UploadIdNumber,
|
||||
PickerList
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
showAddress: false,
|
||||
showJobCompanyNature: false,
|
||||
showjobCompanyIndustry: false,
|
||||
dic,
|
||||
xzDic: [],
|
||||
formData: {},
|
||||
rules
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
if (options.reviewStatus === '9') {
|
||||
this.getInfo()
|
||||
}
|
||||
this.getDictInfo()
|
||||
},
|
||||
computed: {
|
||||
...mapState({
|
||||
authInfo: (state) => state.auth.authInfo,
|
||||
userInfo: (state) => state.user.userInfo
|
||||
}),
|
||||
},
|
||||
created() {
|
||||
this.formData.manager = this.authInfo.realName
|
||||
this.formData.idNumber = this.authInfo.idNumber
|
||||
},
|
||||
methods: {
|
||||
hideKeyboard() {
|
||||
uni.hideKeyboard()
|
||||
},
|
||||
async submit() {
|
||||
let params = {
|
||||
...this.formData,
|
||||
nature: Number(this.formData.nature),
|
||||
cityId: Number(this.formData.cityId),
|
||||
tradeId: Number(this.formData.tradeId),
|
||||
}
|
||||
const _this = this
|
||||
this.$refs.formOne.validate().then(async (res) => {
|
||||
let params = {
|
||||
..._this.formData,
|
||||
nature: Number(_this.formData.nature),
|
||||
cityId: Number(_this.formData.cityId),
|
||||
tradeId: Number(_this.formData.tradeId),
|
||||
manager: _this.authInfo.realName,
|
||||
idNumber: _this.authInfo.idNumber,
|
||||
companyName: dic.addressColumn[0].filter((item) => item.value == _this
|
||||
.formData.cityId)[0].label
|
||||
}
|
||||
console.log(params)
|
||||
let resData = await addInviteCompanyAuth(params)
|
||||
if (resData.data.code === 200) {
|
||||
uni.navigateBack(1)
|
||||
_this.$api.sleep(1000).then(() => {
|
||||
_this.$api.msg('已完成企业信息认证')
|
||||
})
|
||||
}
|
||||
}).catch(errors => {
|
||||
if (/[\u4e00-\u9fff]/.test(errors.message)) {
|
||||
_this.$api.msg(errors.message)
|
||||
}
|
||||
})
|
||||
},
|
||||
async getInfo() {
|
||||
let params = {
|
||||
idNumber: this.authInfo.idNumber
|
||||
}
|
||||
let resData = await getInviteCompanyAuthInfo(params)
|
||||
if (resData.data.code === 200) {
|
||||
console.log(resData.data.data)
|
||||
this.formData = {
|
||||
...resData.data.data,
|
||||
nature: String(resData.data.data.nature),
|
||||
cityId: String(resData.data.data.cityId),
|
||||
tradeId: String(resData.data.data.tradeId),
|
||||
}
|
||||
}
|
||||
},
|
||||
reset() {
|
||||
const _this = this
|
||||
uni.showModal({
|
||||
content: '重置将清空表单,确定重置吗?',
|
||||
success() {
|
||||
_this.formData = {}
|
||||
},
|
||||
})
|
||||
},
|
||||
async getDictInfo() {
|
||||
let resData = await getDictionary2()
|
||||
if (resData.data.code === 200) {
|
||||
this.xzDic = resData.data.data
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.content {
|
||||
padding: 24rpx;
|
||||
|
||||
.card {
|
||||
.card_title {
|
||||
font-weight: bold;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.card_content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<view class="">
|
||||
<view class="content">
|
||||
<u--form labelPosition="left" :model="formData" :rules="rules" ref="formOne">
|
||||
<view class="card">
|
||||
<view class="card_title">认证信息</view>
|
||||
<u-form-item label="用工单位名称" labelWidth="100" prop="comname" borderBottom ref="item1">
|
||||
<u--input v-model="formData.comname" placeholder="请输入用工单位名称"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="统一信用代码" labelWidth="100" prop="companyTid" borderBottom ref="item1">
|
||||
<u--input v-model="formData.companyTid" placeholder="请输入统一信用代码"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="法人姓名" labelWidth="100" prop="masterName" borderBottom ref="item1">
|
||||
<u--input v-model="formData.masterName" placeholder="请输入法人姓名"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="法人身份证号" labelWidth="100" prop="masterIdentity" borderBottom ref="item1">
|
||||
<u--input v-model="formData.masterIdentity" placeholder="请输入法人身份证号"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item
|
||||
label="所属机构"
|
||||
labelWidth="100"
|
||||
prop="cityId"
|
||||
borderBottom
|
||||
ref="item1"
|
||||
@click="
|
||||
showAddress = true;
|
||||
hideKeyboard();
|
||||
"
|
||||
>
|
||||
<PickerList
|
||||
placeholder="请选择所属机构"
|
||||
:columns="dic.addressColumn"
|
||||
:visibel="showAddress"
|
||||
v-model="formData.cityId"
|
||||
@cancel="showAddress = false"
|
||||
></PickerList>
|
||||
</u-form-item>
|
||||
<u-form-item label="详细地址" labelWidth="100" prop="companyAddress" borderBottom ref="item1">
|
||||
<u--input v-model="formData.companyAddress" placeholder="请输入详细地址"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item
|
||||
label="用工单位性质"
|
||||
labelWidth="100"
|
||||
prop="nature"
|
||||
borderBottom
|
||||
ref="item1"
|
||||
@click="
|
||||
showJobCompanyNature = true;
|
||||
hideKeyboard();
|
||||
"
|
||||
>
|
||||
<PickerList
|
||||
placeholder="请选择企业性质"
|
||||
:columns="[xzDic]"
|
||||
:visibel="showJobCompanyNature"
|
||||
labelName="dictValue"
|
||||
valueName="dictKey"
|
||||
v-model="formData.nature"
|
||||
@cancel="showJobCompanyNature = false"
|
||||
></PickerList>
|
||||
</u-form-item>
|
||||
<u-form-item
|
||||
label="所属行业"
|
||||
labelWidth="100"
|
||||
prop="tradeId"
|
||||
borderBottom
|
||||
ref="item1"
|
||||
@click="
|
||||
showjobCompanyIndustry = true;
|
||||
hideKeyboard();
|
||||
"
|
||||
>
|
||||
<PickerList
|
||||
placeholder="请选择所属行业"
|
||||
:columns="dic.tradeArr"
|
||||
labelName="name"
|
||||
valueName="id"
|
||||
:visibel="showjobCompanyIndustry"
|
||||
v-model="formData.tradeId"
|
||||
@cancel="showjobCompanyIndustry = false"
|
||||
></PickerList>
|
||||
</u-form-item>
|
||||
<u-form-item
|
||||
label="用工单位介绍"
|
||||
labelWidth="100"
|
||||
labelPosition="top"
|
||||
prop="companyDesc"
|
||||
borderBottom
|
||||
ref="item1"
|
||||
>
|
||||
<u--textarea
|
||||
v-model="formData.companyDesc"
|
||||
placeholder="请输入用工单位介绍"
|
||||
count
|
||||
maxlength="200"
|
||||
></u--textarea>
|
||||
</u-form-item>
|
||||
</view>
|
||||
<view class="card">
|
||||
<view class="card_title">联系人信息</view>
|
||||
<u-form-item label="联系人" labelWidth="100" prop="manager" borderBottom ref="item1">
|
||||
<u--input v-model="formData.manager" placeholder="请输入联系人"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="手机号码" labelWidth="100" prop="telphone" borderBottom ref="item1">
|
||||
<u--input v-model="formData.telphone" placeholder="请输入手机号码"></u--input>
|
||||
</u-form-item>
|
||||
</view>
|
||||
|
||||
<view class="card">
|
||||
<view class="card_title">证件资料</view>
|
||||
<view class="card_content">
|
||||
<u-form-item labelWidth="100" prop="identityUrl4Id">
|
||||
<UploadIdNumber
|
||||
v-model="formData.identityUrl4Id"
|
||||
contentStyle="marginTop: 30rpx"
|
||||
backImg="/static/img/idcard.png"
|
||||
></UploadIdNumber>
|
||||
</u-form-item>
|
||||
<u-form-item labelWidth="100" prop="identityUrl5Id">
|
||||
<UploadIdNumber
|
||||
v-model="formData.identityUrl5Id"
|
||||
backImg="/static/img/backidcard1.png"
|
||||
></UploadIdNumber>
|
||||
</u-form-item>
|
||||
<u-form-item labelWidth="100" prop="authUrlId">
|
||||
<UploadIdNumber
|
||||
v-model="formData.authUrlId"
|
||||
backImg="/static/img/businessLicense.jpg"
|
||||
></UploadIdNumber>
|
||||
</u-form-item>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="card">
|
||||
<u-button type="primary" text="提交" customStyle="margin-top: 50px" @click="submit"></u-button>
|
||||
<u-button type="error" text="重置" customStyle="margin-top: 10px" @click="reset"></u-button>
|
||||
</view>
|
||||
</u--form>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import UploadIdNumber from './uploadIdNumber.vue';
|
||||
import dic from '@/common/dic.js';
|
||||
import PickerList from './pickerList.vue';
|
||||
import { addInviteCompanyAuth, getInviteCompanyAuthInfo, getDictionary2 } from '@/api/userrecruit.js';
|
||||
import { mapState } from 'vuex';
|
||||
const rules = {
|
||||
comname: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请输入用工单位',
|
||||
trigger: ['change'],
|
||||
},
|
||||
companyTid: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
max: 18,
|
||||
min: 18,
|
||||
message: '请输入18位统一信用代码',
|
||||
trigger: ['change'],
|
||||
},
|
||||
masterName: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请输入法人姓名',
|
||||
trigger: ['change'],
|
||||
},
|
||||
masterIdentity: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
pattern: /^[1-9]\d{5}(19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[Xx\d]$/,
|
||||
message: '请输入法人身份证号',
|
||||
trigger: ['change'],
|
||||
},
|
||||
cityId: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请选择所在地区',
|
||||
trigger: ['change'],
|
||||
},
|
||||
companyAddress: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请输入详细地址',
|
||||
trigger: ['change'],
|
||||
},
|
||||
nature: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请选择企业性质',
|
||||
trigger: ['change'],
|
||||
},
|
||||
tradeId: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请选择行业',
|
||||
trigger: ['change'],
|
||||
},
|
||||
companyDesc: {
|
||||
type: 'string',
|
||||
min: 20,
|
||||
required: true,
|
||||
message: '请输入企业介绍(最少20个字符)',
|
||||
trigger: ['change'],
|
||||
},
|
||||
manager: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请输入联系人',
|
||||
trigger: ['change'],
|
||||
},
|
||||
telphone: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
pattern: /^1[3-9]{1}[0-9]{9}$/,
|
||||
message: '请输入手机号码',
|
||||
trigger: ['change'],
|
||||
},
|
||||
identityUrl4Id: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请上传法人身份证(人像)',
|
||||
trigger: ['change'],
|
||||
},
|
||||
identityUrl5Id: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请上传法人身份证(国徽)',
|
||||
trigger: ['change'],
|
||||
},
|
||||
authUrlId: {
|
||||
type: 'string',
|
||||
required: true,
|
||||
message: '请上传企业营业执照',
|
||||
trigger: ['change'],
|
||||
},
|
||||
};
|
||||
export default {
|
||||
components: {
|
||||
UploadIdNumber,
|
||||
PickerList,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
showAddress: false,
|
||||
showJobCompanyNature: false,
|
||||
showjobCompanyIndustry: false,
|
||||
dic,
|
||||
xzDic: [],
|
||||
formData: {},
|
||||
rules,
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
if (options.reviewStatus === '9') {
|
||||
this.getInfo();
|
||||
}
|
||||
this.getDictInfo();
|
||||
},
|
||||
computed: {
|
||||
...mapState({
|
||||
authInfo: (state) => state.auth.authInfo,
|
||||
userInfo: (state) => state.user.userInfo,
|
||||
}),
|
||||
},
|
||||
created() {
|
||||
this.formData.manager = this.authInfo.realName;
|
||||
this.formData.idNumber = this.authInfo.idNumber;
|
||||
},
|
||||
methods: {
|
||||
hideKeyboard() {
|
||||
uni.hideKeyboard();
|
||||
},
|
||||
async submit() {
|
||||
let params = {
|
||||
...this.formData,
|
||||
nature: Number(this.formData.nature),
|
||||
cityId: Number(this.formData.cityId),
|
||||
tradeId: Number(this.formData.tradeId),
|
||||
};
|
||||
const _this = this;
|
||||
this.$refs.formOne
|
||||
.validate()
|
||||
.then(async (res) => {
|
||||
let params = {
|
||||
..._this.formData,
|
||||
nature: Number(_this.formData.nature),
|
||||
cityId: Number(_this.formData.cityId),
|
||||
tradeId: Number(_this.formData.tradeId),
|
||||
manager: _this.authInfo.realName,
|
||||
idNumber: _this.authInfo.idNumber,
|
||||
companyName: dic.addressColumn[0].filter((item) => item.value == _this.formData.cityId)[0]
|
||||
.label,
|
||||
};
|
||||
console.log(params);
|
||||
let resData = await addInviteCompanyAuth(params);
|
||||
if (resData.data.code === 200) {
|
||||
uni.navigateBack(1);
|
||||
_this.$api.sleep(1000).then(() => {
|
||||
_this.$api.msg('已完成企业信息认证');
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch((errors) => {
|
||||
if (/[\u4e00-\u9fff]/.test(errors.message)) {
|
||||
_this.$api.msg(errors.message);
|
||||
}
|
||||
});
|
||||
},
|
||||
async getInfo() {
|
||||
let params = {
|
||||
idNumber: this.authInfo.idNumber,
|
||||
};
|
||||
let resData = await getInviteCompanyAuthInfo(params);
|
||||
if (resData.data.code === 200) {
|
||||
console.log(resData.data.data);
|
||||
this.formData = {
|
||||
...resData.data.data,
|
||||
nature: String(resData.data.data.nature),
|
||||
cityId: String(resData.data.data.cityId),
|
||||
tradeId: String(resData.data.data.tradeId),
|
||||
};
|
||||
}
|
||||
},
|
||||
reset() {
|
||||
const _this = this;
|
||||
uni.showModal({
|
||||
content: '重置将清空表单,确定重置吗?',
|
||||
success() {
|
||||
_this.formData = {};
|
||||
},
|
||||
});
|
||||
},
|
||||
async getDictInfo() {
|
||||
let resData = await getDictionary2();
|
||||
if (resData.data.code === 200) {
|
||||
this.xzDic = resData.data.data;
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.content {
|
||||
padding: 24rpx;
|
||||
|
||||
.card {
|
||||
.card_title {
|
||||
font-weight: bold;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.card_content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,77 +1,86 @@
|
||||
<template>
|
||||
<view class="content_upload" :style="contentStyle">
|
||||
<u-upload :fileList="ImgUrl" @afterRead="afterRead" :deletable="true" @delete="deletePic" name="6" :maxCount="1"
|
||||
:width="width" :height="height">
|
||||
<image :src="backImg" :style="`width: ${width}px;height: ${height}px;`"></image>
|
||||
<image class="iconimg" src="/static/img/Takingpictures.png"
|
||||
:style="`width: ${width/4}px;height: ${width/4}px;`"></image>
|
||||
</u-upload>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
uploadFile
|
||||
} from '@/api/upload.js'
|
||||
export default {
|
||||
name: 'UploadIdNumber',
|
||||
props: {
|
||||
backImg: {
|
||||
type: String,
|
||||
require: true,
|
||||
},
|
||||
value: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
width: {
|
||||
type: Number,
|
||||
default: 280
|
||||
},
|
||||
height: {
|
||||
type: Number,
|
||||
default: 150
|
||||
},
|
||||
contentStyle: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
ImgUrl(val) {
|
||||
return this.value ? [{
|
||||
name: 'img.jpg',
|
||||
url: this.value
|
||||
}] : []
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
afterRead({
|
||||
file,
|
||||
index,
|
||||
name
|
||||
}) {
|
||||
// this.$emit("input", file);
|
||||
uploadFile(file).then((url) => {
|
||||
this.$emit("input", url);
|
||||
})
|
||||
},
|
||||
deletePic() {
|
||||
this.$emit("input", null);
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.content_upload {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.iconimg {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<view class="content_upload" :style="contentStyle">
|
||||
<u-upload
|
||||
:fileList="ImgUrl"
|
||||
@afterRead="afterRead"
|
||||
:deletable="true"
|
||||
@delete="deletePic"
|
||||
name="6"
|
||||
:maxCount="1"
|
||||
:width="width"
|
||||
:height="height"
|
||||
>
|
||||
<image :src="backImg" :style="{ width: width + 'px', height: height + 'px' }"></image>
|
||||
<image
|
||||
class="iconimg"
|
||||
src="/static/img/Takingpictures.png"
|
||||
:style="{ width: width / 4 + 'px', height: height / 4 + 'px' }"
|
||||
></image>
|
||||
</u-upload>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { uploadFile } from '@/api/upload.js';
|
||||
export default {
|
||||
name: 'UploadIdNumber',
|
||||
props: {
|
||||
backImg: {
|
||||
type: String,
|
||||
require: true,
|
||||
},
|
||||
value: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
width: {
|
||||
type: Number,
|
||||
default: 280,
|
||||
},
|
||||
height: {
|
||||
type: Number,
|
||||
default: 150,
|
||||
},
|
||||
contentStyle: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
ImgUrl(val) {
|
||||
return this.value
|
||||
? [
|
||||
{
|
||||
name: 'img.jpg',
|
||||
url: this.value,
|
||||
},
|
||||
]
|
||||
: [];
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
afterRead({ file, index, name }) {
|
||||
// this.$emit("input", file);
|
||||
uploadFile(file).then((url) => {
|
||||
this.$emit('input', url);
|
||||
});
|
||||
},
|
||||
deletePic() {
|
||||
this.$emit('input', null);
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.content_upload {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.iconimg {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
</style>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -308,7 +308,7 @@
|
||||
<view
|
||||
class="addressinfo"
|
||||
@click="selectMap"
|
||||
:style="`fontSize: 15px;color: ${info.address ? '#333333' : '#c0c4cc'}`"
|
||||
:style="{ fontSize: '15px', color: info.address ? '#333333' : '#c0c4cc' }"
|
||||
>
|
||||
{{ info.address || '请选择' }}
|
||||
</view>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 50 KiB |
BIN
static/img/index/inLogo3.png
Normal file
BIN
static/img/index/inLogo3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
@@ -86,6 +86,10 @@ async function DoAjax(options, config = {}) {
|
||||
if (baseUrl) {
|
||||
options.url = baseUrl + options.url
|
||||
}
|
||||
// 馆陶替换url
|
||||
if (options.url.startsWith('/api')) {
|
||||
options.url = options.url.replace(/^\/api/, '/api/gt');
|
||||
}
|
||||
options = Object.assign({}, options, {
|
||||
header
|
||||
});
|
||||
|
||||
@@ -7,10 +7,11 @@ module.exports = {
|
||||
proxy: {
|
||||
'/api': {
|
||||
// target: 'http://192.168.1.115:8000',
|
||||
target: 'http://39.98.184.58:8000',
|
||||
// target: 'http://39.98.184.58:8000',
|
||||
target: 'http://39.98.44.136:80',
|
||||
ws: true,
|
||||
pathRewrite: {
|
||||
'^/api': '/'
|
||||
'^/api': '/api'
|
||||
}
|
||||
},
|
||||
'/qq/map': {
|
||||
|
||||
Reference in New Issue
Block a user