1 Commits

Author SHA1 Message Date
史典卓
47c1418d2a flat,logo 2025-01-16 09:42:42 +08:00
16 changed files with 1197 additions and 1433 deletions

View File

@@ -33,13 +33,8 @@ export async function uploadFile(file) {
'Authorization': `Basic ${Base64.encode(`${website.clientId}:${website.clientSecret}`)}`, 'Authorization': `Basic ${Base64.encode(`${website.clientId}:${website.clientSecret}`)}`,
} }
header[website.tokenName] = "bearer " + token 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({ uni.uploadFile({
url: baseUrl + url, url: `${baseUrl}/api/jobslink-api/resource/file/save?bussinessType=5`,
header, header,
filePath: file.url, filePath: file.url,
// formData: formdata, // formData: formdata,

View File

@@ -367,41 +367,69 @@ const workwageUnitCategoryState = [
const addressColumn = [ const addressColumn = [
[{ [{
value: '1500',
label: "五道岗乡"
},
{
value: '700',
label: "土龙山镇"
},
{
value: '1400',
label: "大八浪乡"
},
{
value: '800',
label: "孟家岗镇"
},
{
value: '1300',
label: "明义乡"
},
{
value: '1700',
label: "曙光农场"
},
{
value: '1000',
label: "柳毛河镇"
},
{
value: '4', value: '4',
label: "馆陶县" label: "桦南县"
}, },
{ {
value: '5', value: '1600',
label: "馆陶镇" label: "桦南林业局"
}, },
{ {
value: '6', value: '1800',
label: "房寨镇" label: "桦南种畜场"
}, },
{ {
value: '7', value: '600',
label: "魏僧寨镇" label: "桦南镇"
}, },
{ {
value: '8', value: '1200',
label: "柴堡镇" label: "梨树乡"
}, },
{ {
value: '9', value: '500',
label: "寿山寺" label: "石头河子镇"
}, },
{ {
value: '10', value: '1100',
label: " 王桥乡" label: "金沙乡"
}, },
{ {
value: '11', value: '900',
label: "路桥乡" label: "阎家镇"
}, },
{ {
value: '12', value: '400',
label: "南徐村乡" label: "驼腰子镇"
}, }
] ]
] ]

View File

@@ -5,7 +5,6 @@
"versionName": "1.0.0", "versionName": "1.0.0",
"versionCode": "100", "versionCode": "100",
"transformPx": false, "transformPx": false,
"sassImplementationName": "node-sass",
"app-plus": { "app-plus": {
"usingComponents": true, "usingComponents": true,
"compilerVersion": 3, "compilerVersion": 3,

View File

@@ -79,7 +79,7 @@
{ {
"path": "pages/project/newProject", "path": "pages/project/newProject",
"style": { "style": {
"navigationBarTitleText": "宜昌市灵活就业平台", "navigationBarTitleText": "华楠县灵活就业平台",
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }

View File

@@ -268,7 +268,7 @@
</view> </view>
</view> </view>
<view class="homeFooter"> <view class="homeFooter">
<view class="atBottom">宜昌市人力资源和社会保障局主办</view> <view class="atBottom">华楠县人力资源和社会保障局主办</view>
<!-- <image src="../../static/img/index/seeMore.png" mode="" @click="goMore()"></image> --> <!-- <image src="../../static/img/index/seeMore.png" mode="" @click="goMore()"></image> -->
</view> </view>
<policy-content ref="pContent"></policy-content> <policy-content ref="pContent"></policy-content>
@@ -624,7 +624,7 @@ export default {
} }
.home_logo { .home_logo {
background: url(@/static/img/index/inLogo3.png) no-repeat center center; background: url(@/static/img/index/inLogo.png) no-repeat center center;
background-size: cover; background-size: cover;
height: 76rpx; height: 76rpx;
width: 560rpx; width: 560rpx;
@@ -1000,4 +1000,4 @@ page {
border-radius: 0; border-radius: 0;
} }
} }
</style> </style>

View File

@@ -31,7 +31,7 @@
</view> </view>
<view class="conatiner_card"> <view class="conatiner_card">
<view class="row blod fs_34">宜昌市智慧就业市场</view> <view class="row blod fs_34">华楠县智慧就业市场</view>
<view class="row color_666 fs_30 marT_30"> <view class="row color_666 fs_30 marT_30">
<u-icon style="margin-right: 10rpx" name="calendar" color="#666666" size="16"></u-icon> <u-icon style="margin-right: 10rpx" name="calendar" color="#666666" size="16"></u-icon>
营业时间 营业时间

View File

@@ -12,7 +12,7 @@
</view> </view>
<view class="navPosition" @click="navTo('/pages/project/map')"> <view class="navPosition" @click="navTo('/pages/project/map')">
<u-icon name="map" color="#2979ff" size="16"></u-icon> <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> <u-icon name="arrow-right" color="#666666" size="14"></u-icon>
</view> </view>
<view class="content"> <view class="content">

View File

@@ -1,364 +1,310 @@
<template> <template>
<view class=""> <view class="">
<view class="content"> <view class="content">
<u--form labelPosition="left" :model="formData" :rules="rules" ref="formOne"> <u--form labelPosition="left" :model="formData" :rules="rules" ref="formOne">
<view class="card"> <view class="card">
<view class="card_title">认证信息</view> <view class="card_title">认证信息</view>
<u-form-item label="用工单位名称" labelWidth="100" prop="comname" borderBottom ref="item1"> <u-form-item label="用工单位名称" labelWidth="100" prop="comname" borderBottom ref="item1">
<u--input v-model="formData.comname" placeholder="请输入用工单位名称"></u--input> <u--input v-model="formData.comname" placeholder="请输入用工单位名称"></u--input>
</u-form-item> </u-form-item>
<u-form-item label="统一信用代码" labelWidth="100" prop="companyTid" borderBottom ref="item1"> <u-form-item label="统一信用代码" labelWidth="100" prop="companyTid" borderBottom ref="item1">
<u--input v-model="formData.companyTid" placeholder="请输入统一信用代码"></u--input> <u--input v-model="formData.companyTid" placeholder="请输入统一信用代码"></u--input>
</u-form-item> </u-form-item>
<u-form-item label="法人姓名" labelWidth="100" prop="masterName" borderBottom ref="item1"> <u-form-item label="法人姓名" labelWidth="100" prop="masterName" borderBottom ref="item1">
<u--input v-model="formData.masterName" placeholder="请输入法人姓名"></u--input> <u--input v-model="formData.masterName" placeholder="请输入法人姓名"></u--input>
</u-form-item> </u-form-item>
<u-form-item label="法人身份证号" labelWidth="100" prop="masterIdentity" borderBottom ref="item1"> <u-form-item label="法人身份证号" labelWidth="100" prop="masterIdentity" borderBottom ref="item1">
<u--input v-model="formData.masterIdentity" placeholder="请输入法人身份证号"></u--input> <u--input v-model="formData.masterIdentity" placeholder="请输入法人身份证号"></u--input>
</u-form-item> </u-form-item>
<u-form-item <u-form-item label="所在地区" labelWidth="100" prop="cityId" borderBottom ref="item1"
label="所属机构" @click="showAddress = true; hideKeyboard()">
labelWidth="100" <PickerList placeholder="请选择所在地区" :columns="dic.addressColumn" :visibel="showAddress"
prop="cityId" v-model="formData.cityId" @cancel="showAddress = false">
borderBottom </PickerList>
ref="item1" </u-form-item>
@click=" <u-form-item label="详细地址" labelWidth="100" prop="companyAddress" borderBottom ref="item1">
showAddress = true; <u--input v-model="formData.companyAddress" placeholder="请输入详细地址"></u--input>
hideKeyboard(); </u-form-item>
" <u-form-item label="用工单位性质" labelWidth="100" prop="nature" borderBottom ref="item1"
> @click="showJobCompanyNature = true; hideKeyboard()">
<PickerList <PickerList placeholder="请选择企业性质" :columns="[xzDic]" :visibel="showJobCompanyNature"
placeholder="请选择所属机构" labelName="dictValue" valueName="dictKey" v-model="formData.nature"
:columns="dic.addressColumn" @cancel="showJobCompanyNature = false">
:visibel="showAddress" </PickerList>
v-model="formData.cityId" </u-form-item>
@cancel="showAddress = false" <u-form-item label="所属行业" labelWidth="100" prop="tradeId" borderBottom ref="item1"
></PickerList> @click="showjobCompanyIndustry = true; hideKeyboard()">
</u-form-item> <PickerList placeholder="请选择所属行业" :columns="dic.tradeArr" labelName="name" valueName="id"
<u-form-item label="详细地址" labelWidth="100" prop="companyAddress" borderBottom ref="item1"> :visibel="showjobCompanyIndustry" v-model="formData.tradeId"
<u--input v-model="formData.companyAddress" placeholder="请输入详细地址"></u--input> @cancel="showjobCompanyIndustry = false">
</u-form-item> </PickerList>
<u-form-item </u-form-item>
label="用工单位性质" <u-form-item label="用工单位介绍" labelWidth="100" labelPosition="top" prop="companyDesc" borderBottom
labelWidth="100" ref="item1">
prop="nature" <u--textarea v-model="formData.companyDesc" placeholder="请输入用工单位介绍" count
borderBottom maxlength="200"></u--textarea>
ref="item1" </u-form-item>
@click=" </view>
showJobCompanyNature = true; <view class="card">
hideKeyboard(); <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>
<PickerList </u-form-item>
placeholder="请选择企业性质" <u-form-item label="手机号码" labelWidth="100" prop="telphone" borderBottom ref="item1">
:columns="[xzDic]" <u--input v-model="formData.telphone" placeholder="请输入手机号码"></u--input>
:visibel="showJobCompanyNature" </u-form-item>
labelName="dictValue" </view>
valueName="dictKey"
v-model="formData.nature" <view class="card">
@cancel="showJobCompanyNature = false" <view class="card_title">证件资料</view>
></PickerList> <view class="card_content">
</u-form-item> <u-form-item labelWidth="100" prop="identityUrl4Id">
<u-form-item <UploadIdNumber v-model="formData.identityUrl4Id" contentStyle="marginTop: 30rpx"
label="所属行业" backImg="/static/img/idcard.png">
labelWidth="100" </UploadIdNumber>
prop="tradeId" </u-form-item>
borderBottom <u-form-item labelWidth="100" prop="identityUrl5Id">
ref="item1" <UploadIdNumber v-model="formData.identityUrl5Id" backImg="/static/img/backidcard1.png">
@click=" </UploadIdNumber>
showjobCompanyIndustry = true; </u-form-item>
hideKeyboard(); <u-form-item labelWidth="100" prop="authUrlId">
" <UploadIdNumber v-model="formData.authUrlId" backImg="/static/img/businessLicense.jpg">
> </UploadIdNumber>
<PickerList </u-form-item>
placeholder="请选择所属行业" </view>
:columns="dic.tradeArr" </view>
labelName="name"
valueName="id" <view class="card">
:visibel="showjobCompanyIndustry" <u-button type="primary" text="提交" customStyle="margin-top: 50px" @click="submit"></u-button>
v-model="formData.tradeId" <u-button type="error" text="重置" customStyle="margin-top: 10px" @click="reset"></u-button>
@cancel="showjobCompanyIndustry = false" </view>
></PickerList> </u--form>
</u-form-item> </view>
<u-form-item </view>
label="用工单位介绍" </template>
labelWidth="100"
labelPosition="top" <script>
prop="companyDesc" import UploadIdNumber from './uploadIdNumber.vue';
borderBottom import dic from '@/common/dic.js'
ref="item1" import PickerList from './pickerList.vue';
> import {
<u--textarea addInviteCompanyAuth,
v-model="formData.companyDesc" getInviteCompanyAuthInfo,
placeholder="请输入用工单位介绍" getDictionary2
count } from '@/api/userrecruit.js'
maxlength="200" import {
></u--textarea> mapState
</u-form-item> } from 'vuex'
</view> const rules = {
<view class="card"> comname: {
<view class="card_title">联系人信息</view> type: 'string',
<u-form-item label="联系人" labelWidth="100" prop="manager" borderBottom ref="item1"> required: true,
<u--input v-model="formData.manager" placeholder="请输入联系人"></u--input> message: '请输入用工单位',
</u-form-item> trigger: ['change']
<u-form-item label="手机号码" labelWidth="100" prop="telphone" borderBottom ref="item1"> },
<u--input v-model="formData.telphone" placeholder="请输入手机号码"></u--input> companyTid: {
</u-form-item> type: 'string',
</view> required: true,
max: 18,
<view class="card"> min: 18,
<view class="card_title">证件资料</view> message: '请输入18位统一信用代码',
<view class="card_content"> trigger: ['change']
<u-form-item labelWidth="100" prop="identityUrl4Id"> },
<UploadIdNumber masterName: {
v-model="formData.identityUrl4Id" type: 'string',
contentStyle="marginTop: 30rpx" required: true,
backImg="/static/img/idcard.png" message: '请输入法人姓名',
></UploadIdNumber> trigger: ['change']
</u-form-item> },
<u-form-item labelWidth="100" prop="identityUrl5Id"> masterIdentity: {
<UploadIdNumber type: 'string',
v-model="formData.identityUrl5Id" required: true,
backImg="/static/img/backidcard1.png" 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]$/,
></UploadIdNumber> message: '请输入法人身份证号',
</u-form-item> trigger: ['change']
<u-form-item labelWidth="100" prop="authUrlId"> },
<UploadIdNumber cityId: {
v-model="formData.authUrlId" type: 'string',
backImg="/static/img/businessLicense.jpg" required: true,
></UploadIdNumber> message: '请选择所在地区',
</u-form-item> trigger: ['change']
</view> },
</view> companyAddress: {
type: 'string',
<view class="card"> required: true,
<u-button type="primary" text="提交" customStyle="margin-top: 50px" @click="submit"></u-button> message: '请输入详细地址',
<u-button type="error" text="重置" customStyle="margin-top: 10px" @click="reset"></u-button> trigger: ['change']
</view> },
</u--form> nature: {
</view> type: 'string',
</view> required: true,
</template> message: '请选择企业性质',
trigger: ['change']
<script> },
import UploadIdNumber from './uploadIdNumber.vue'; tradeId: {
import dic from '@/common/dic.js'; type: 'string',
import PickerList from './pickerList.vue'; required: true,
import { addInviteCompanyAuth, getInviteCompanyAuthInfo, getDictionary2 } from '@/api/userrecruit.js'; message: '请选择行业',
import { mapState } from 'vuex'; trigger: ['change']
const rules = { },
comname: { companyDesc: {
type: 'string', type: 'string',
required: true, min: 20,
message: '请输入用工单位', required: true,
trigger: ['change'], message: '请输入企业介绍最少20个字符',
}, trigger: ['change']
companyTid: { },
type: 'string', manager: {
required: true, type: 'string',
max: 18, required: true,
min: 18, message: '请输入联系人',
message: '请输入18位统一信用代码', trigger: ['change']
trigger: ['change'], },
}, telphone: {
masterName: { type: 'string',
type: 'string', required: true,
required: true, pattern: /^1[3-9]{1}[0-9]{9}$/,
message: '请输入法人姓名', message: '请输入手机号码',
trigger: ['change'], trigger: ['change']
}, },
masterIdentity: { identityUrl4Id: {
type: 'string', type: 'string',
required: true, 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: '请上传法人身份证(人像)',
message: '请输入法人身份证号', trigger: ['change']
trigger: ['change'], },
}, identityUrl5Id: {
cityId: { type: 'string',
type: 'string', required: true,
required: true, message: '请上传法人身份证(国徽)',
message: '请选择所在地区', trigger: ['change']
trigger: ['change'], },
}, authUrlId: {
companyAddress: { type: 'string',
type: 'string', required: true,
required: true, message: '请上传企业营业执照',
message: '请输入详细地址', trigger: ['change']
trigger: ['change'], },
}, }
nature: { export default {
type: 'string', components: {
required: true, UploadIdNumber,
message: '请选择企业性质', PickerList
trigger: ['change'], },
}, data() {
tradeId: { return {
type: 'string', showAddress: false,
required: true, showJobCompanyNature: false,
message: '请选择行业', showjobCompanyIndustry: false,
trigger: ['change'], dic,
}, xzDic: [],
companyDesc: { formData: {},
type: 'string', rules
min: 20, };
required: true, },
message: '请输入企业介绍最少20个字符', onLoad(options) {
trigger: ['change'], if (options.reviewStatus === '9') {
}, this.getInfo()
manager: { }
type: 'string', this.getDictInfo()
required: true, },
message: '请输入联系人', computed: {
trigger: ['change'], ...mapState({
}, authInfo: (state) => state.auth.authInfo,
telphone: { userInfo: (state) => state.user.userInfo
type: 'string', }),
required: true, },
pattern: /^1[3-9]{1}[0-9]{9}$/, created() {
message: '请输入手机号码', this.formData.manager = this.authInfo.realName
trigger: ['change'], this.formData.idNumber = this.authInfo.idNumber
}, },
identityUrl4Id: { methods: {
type: 'string', hideKeyboard() {
required: true, uni.hideKeyboard()
message: '请上传法人身份证(人像)', },
trigger: ['change'], async submit() {
}, let params = {
identityUrl5Id: { ...this.formData,
type: 'string', nature: Number(this.formData.nature),
required: true, cityId: Number(this.formData.cityId),
message: '请上传法人身份证(国徽)', tradeId: Number(this.formData.tradeId),
trigger: ['change'], }
}, const _this = this
authUrlId: { this.$refs.formOne.validate().then(async (res) => {
type: 'string', let params = {
required: true, ..._this.formData,
message: '请上传企业营业执照', nature: Number(_this.formData.nature),
trigger: ['change'], cityId: Number(_this.formData.cityId),
}, tradeId: Number(_this.formData.tradeId),
}; manager: _this.authInfo.realName,
export default { idNumber: _this.authInfo.idNumber,
components: { companyName: dic.addressColumn[0].filter((item) => item.value == _this
UploadIdNumber, .formData.cityId)[0].label
PickerList, }
}, console.log(params)
data() { let resData = await addInviteCompanyAuth(params)
return { if (resData.data.code === 200) {
showAddress: false, uni.navigateBack(1)
showJobCompanyNature: false, _this.$api.sleep(1000).then(() => {
showjobCompanyIndustry: false, _this.$api.msg('已完成企业信息认证')
dic, })
xzDic: [], }
formData: {}, }).catch(errors => {
rules, if (/[\u4e00-\u9fff]/.test(errors.message)) {
}; _this.$api.msg(errors.message)
}, }
onLoad(options) { })
if (options.reviewStatus === '9') { },
this.getInfo(); async getInfo() {
} let params = {
this.getDictInfo(); idNumber: this.authInfo.idNumber
}, }
computed: { let resData = await getInviteCompanyAuthInfo(params)
...mapState({ if (resData.data.code === 200) {
authInfo: (state) => state.auth.authInfo, console.log(resData.data.data)
userInfo: (state) => state.user.userInfo, this.formData = {
}), ...resData.data.data,
}, nature: String(resData.data.data.nature),
created() { cityId: String(resData.data.data.cityId),
this.formData.manager = this.authInfo.realName; tradeId: String(resData.data.data.tradeId),
this.formData.idNumber = this.authInfo.idNumber; }
}, }
methods: { },
hideKeyboard() { reset() {
uni.hideKeyboard(); const _this = this
}, uni.showModal({
async submit() { content: '重置将清空表单,确定重置吗?',
let params = { success() {
...this.formData, _this.formData = {}
nature: Number(this.formData.nature), },
cityId: Number(this.formData.cityId), })
tradeId: Number(this.formData.tradeId), },
}; async getDictInfo() {
const _this = this; let resData = await getDictionary2()
this.$refs.formOne if (resData.data.code === 200) {
.validate() this.xzDic = resData.data.data
.then(async (res) => { }
let params = { }
..._this.formData, },
nature: Number(_this.formData.nature), }
cityId: Number(_this.formData.cityId), </script>
tradeId: Number(_this.formData.tradeId),
manager: _this.authInfo.realName, <style lang="scss" scoped>
idNumber: _this.authInfo.idNumber, .content {
companyName: dic.addressColumn[0].filter((item) => item.value == _this.formData.cityId)[0] padding: 24rpx;
.label,
}; .card {
console.log(params); .card_title {
let resData = await addInviteCompanyAuth(params); font-weight: bold;
if (resData.data.code === 200) { margin-top: 20rpx;
uni.navigateBack(1); }
_this.$api.sleep(1000).then(() => {
_this.$api.msg('已完成企业信息认证'); .card_content {
}); display: flex;
} flex-direction: column;
}) justify-content: center;
.catch((errors) => { align-items: center;
if (/[\u4e00-\u9fff]/.test(errors.message)) { }
_this.$api.msg(errors.message); }
} }
}); </style>
},
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>

View File

@@ -1,86 +1,77 @@
<template> <template>
<view class="content_upload" :style="contentStyle"> <view class="content_upload" :style="contentStyle">
<u-upload <u-upload :fileList="ImgUrl" @afterRead="afterRead" :deletable="true" @delete="deletePic" name="6" :maxCount="1"
:fileList="ImgUrl" :width="width" :height="height">
@afterRead="afterRead" <image :src="backImg" :style="`width: ${width}px;height: ${height}px;`"></image>
:deletable="true" <image class="iconimg" src="/static/img/Takingpictures.png"
@delete="deletePic" :style="`width: ${width/4}px;height: ${width/4}px;`"></image>
name="6" </u-upload>
:maxCount="1" </view>
:width="width" </template>
:height="height"
> <script>
<image :src="backImg" :style="{ width: width + 'px', height: height + 'px' }"></image> import {
<image uploadFile
class="iconimg" } from '@/api/upload.js'
src="/static/img/Takingpictures.png" export default {
:style="{ width: width / 4 + 'px', height: height / 4 + 'px' }" name: 'UploadIdNumber',
></image> props: {
</u-upload> backImg: {
</view> type: String,
</template> require: true,
},
<script> value: {
import { uploadFile } from '@/api/upload.js'; type: String,
export default { default: null
name: 'UploadIdNumber', },
props: { width: {
backImg: { type: Number,
type: String, default: 280
require: true, },
}, height: {
value: { type: Number,
type: String, default: 150
default: null, },
}, contentStyle: {
width: { type: String,
type: Number, default: ''
default: 280, }
}, },
height: { computed: {
type: Number, ImgUrl(val) {
default: 150, return this.value ? [{
}, name: 'img.jpg',
contentStyle: { url: this.value
type: String, }] : []
default: '', }
}, },
}, methods: {
computed: { afterRead({
ImgUrl(val) { file,
return this.value index,
? [ name
{ }) {
name: 'img.jpg', // this.$emit("input", file);
url: this.value, uploadFile(file).then((url) => {
}, this.$emit("input", url);
] })
: []; },
}, deletePic() {
}, this.$emit("input", null);
methods: { },
afterRead({ file, index, name }) { }
// this.$emit("input", file); }
uploadFile(file).then((url) => { </script>
this.$emit('input', url);
}); <style scoped>
}, .content_upload {
deletePic() { position: relative;
this.$emit('input', null); }
},
}, .iconimg {
}; position: absolute;
</script> left: 50%;
top: 50%;
<style scoped> transform: translate(-50%, -50%);
.content_upload { }
position: relative; </style>
}
.iconimg {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
</style>

File diff suppressed because it is too large Load Diff

View File

@@ -308,7 +308,7 @@
<view <view
class="addressinfo" class="addressinfo"
@click="selectMap" @click="selectMap"
:style="{ fontSize: '15px', color: info.address ? '#333333' : '#c0c4cc' }" :style="`fontSize: 15px;color: ${info.address ? '#333333' : '#c0c4cc'}`"
> >
{{ info.address || '请选择' }} {{ info.address || '请选择' }}
</view> </view>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -10,7 +10,7 @@ export default {
}) !== false, }) !== false,
homeTitle: getStore({ homeTitle: getStore({
name: 'homeTitle' name: 'homeTitle'
}) || '管陶县智慧就业服务平台' }) || '华楠县智慧就业服务平台'
}, },
actions: {}, actions: {},
mutations: { mutations: {

View File

@@ -86,10 +86,6 @@ async function DoAjax(options, config = {}) {
if (baseUrl) { if (baseUrl) {
options.url = baseUrl + options.url options.url = baseUrl + options.url
} }
// 馆陶替换url
if (options.url.startsWith('/api')) {
options.url = options.url.replace(/^\/api/, '/api/gt');
}
options = Object.assign({}, options, { options = Object.assign({}, options, {
header header
}); });

View File

@@ -7,12 +7,11 @@ module.exports = {
proxy: { proxy: {
'/api': { '/api': {
// target: 'http://192.168.1.115:8000', // target: 'http://192.168.1.115:8000',
// target: 'http://39.98.184.58:8000', target: 'http://39.98.184.58:88',
target: 'http://39.98.44.136:80',
ws: true, ws: true,
pathRewrite: { // pathRewrite: {
'^/api': '/api' // '^/api': '/'
} // }
}, },
'/qq/map': { '/qq/map': {
//本地服务接口地址 //本地服务接口地址