Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mp-enterprise-people-recruitment-h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭佳妮(贵阳日报)
mp-enterprise-people-recruitment-h5
Commits
a050919f
Commit
a050919f
authored
Nov 01, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
60f17728
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
70 deletions
+24
-70
package-lock.json
package-lock.json
+0
-32
package.json
package.json
+0
-1
main.ts
src/main.ts
+1
-1
submit.vue
src/pages/user/businessLicense/submit.vue
+12
-6
index.vue
src/pages/user/myCompany/index.vue
+11
-6
yarn.lock
yarn.lock
+0
-24
No files found.
package-lock.json
View file @
a050919f
...
...
@@ -27,7 +27,6 @@
"dayjs"
:
"^1.11.12"
,
"lodash"
:
"^4.17.21"
,
"pinia"
:
"2.0.36"
,
"vant"
:
"^4.9.8"
,
"vconsole"
:
"^3.15.1"
,
"vue"
:
"^3.3.11"
,
"vue-i18n"
:
"^9.1.9"
,
...
...
@@ -4703,19 +4702,6 @@
"resolved"
:
"https://registry.npmmirror.com/@vant/area-data/-/area-data-2.0.0.tgz"
,
"integrity"
:
"sha512-zgP4AA8z09S9QTNgVCCHo9cHjcybrv22RJDYPjuCkecn4SB98T5EoPQh2TwqbQXmUhbaOGgiZGy3OUaUxnY7qg=="
},
"node_modules/@vant/popperjs"
:
{
"version"
:
"1.3.0"
,
"resolved"
:
"https://registry.npmmirror.com/@vant/popperjs/-/popperjs-1.3.0.tgz"
,
"integrity"
:
"sha512-hB+czUG+aHtjhaEmCJDuXOep0YTZjdlRR+4MSmIFnkCQIxJaXLQdSsR90XWvAI2yvKUI7TCGqR8pQg2RtvkMHw=="
},
"node_modules/@vant/use"
:
{
"version"
:
"1.6.0"
,
"resolved"
:
"https://registry.npmmirror.com/@vant/use/-/use-1.6.0.tgz"
,
"integrity"
:
"sha512-PHHxeAASgiOpSmMjceweIrv2AxDZIkWXyaczksMoWvKV2YAYEhoizRuk/xFnKF+emUIi46TsQ+rvlm/t2BBCfA=="
,
"peerDependencies"
:
{
"vue"
:
"^3.0.0"
}
},
"node_modules/@vitejs/plugin-legacy"
:
{
"version"
:
"4.1.1"
,
"resolved"
:
"https://registry.npmmirror.com/@vitejs/plugin-legacy/-/plugin-legacy-4.1.1.tgz"
,
...
...
@@ -14340,24 +14326,6 @@
"spdx-expression-parse"
:
"^3.0.0"
}
},
"node_modules/vant"
:
{
"version"
:
"4.9.8"
,
"resolved"
:
"https://registry.npmmirror.com/vant/-/vant-4.9.8.tgz"
,
"integrity"
:
"sha512-iP+jNzwxkCeEdTrlUjro3WoXgY32+1CldOtLSc2K8acY7hR7t1zCkjzXSR9zWjtWT7zgNL1LEXofL8O7mtkYdQ=="
,
"dependencies"
:
{
"@vant/popperjs"
:
"^1.3.0"
,
"@vant/use"
:
"^1.6.0"
,
"@vue/shared"
:
"^3.5.11"
},
"peerDependencies"
:
{
"vue"
:
"^3.0.0"
}
},
"node_modules/vant/node_modules/@vue/shared"
:
{
"version"
:
"3.5.12"
,
"resolved"
:
"https://registry.npmmirror.com/@vue/shared/-/shared-3.5.12.tgz"
,
"integrity"
:
"sha512-L2RPSAwUFbgZH20etwrXyVyCBu9OxRSi8T/38QsvnkJyvq2LufW2lDCOzm7t/U9C1mkhJGWYfCuFBCmIuNivrg=="
},
"node_modules/vary"
:
{
"version"
:
"1.1.2"
,
"resolved"
:
"https://registry.npmmirror.com/vary/-/vary-1.1.2.tgz"
,
...
...
package.json
View file @
a050919f
...
...
@@ -27,7 +27,6 @@
"
dayjs
"
:
"^1.11.12"
,
"
lodash
"
:
"^4.17.21"
,
"
pinia
"
:
"2.0.36"
,
"
vant
"
:
"^4.9.8"
,
"
vconsole
"
:
"^3.15.1"
,
"
vue
"
:
"^3.3.11"
,
"
vue-i18n
"
:
"^9.1.9"
,
...
...
src/main.ts
View file @
a050919f
...
...
@@ -14,7 +14,7 @@ export function createApp() {
app
.
component
(
"NavBar"
,
NavBar
);
const
vConsole
=
new
Vconsole
();
app
.
use
(
store
);
app
.
use
(
Area
);
// app.use(Button
);
// app.use(vConsole);
return
{
app
...
...
src/pages/user/businessLicense/submit.vue
View file @
a050919f
...
...
@@ -27,21 +27,21 @@
<view
class=
"item"
>
<view
class=
"label"
>
是否人资机构
</view>
<view
class=
"content"
>
<wd-radio-group
v-model=
"isHumanResources"
shape=
"dot"
inline
>
<wd-radio
value=
"1"
>
是
</wd-radio>
<wd-radio
value=
"2"
>
否
</wd-radio>
<wd-radio-group
v-model=
"isHumanResources"
@
change=
"change"
shape=
"dot"
inline
>
<wd-radio
:
value=
"1"
>
是
</wd-radio>
<wd-radio
:
value=
"2"
>
否
</wd-radio>
</wd-radio-group>
</view>
</view>
<view
class=
"image-upload"
>
<image
v-if=
"isHumanResources ==
'1'
&& pinias.formData.humanResourcesLicensePath"
v-if=
"isHumanResources ==
1
&& pinias.formData.humanResourcesLicensePath"
:src=
"evn.APP_IMAGE_BASE_API + pinias.formData.humanResourcesLicensePath"
mode=
""
/>
<image
v-else
v-else
-if=
"isHumanResources == 1 && pinias.formData.humanResourcesLicensePath == ''"
@
click=
"chooseImage('album')"
src=
"@/static/image/businessLicense/businessLicenseUpload2.png"
mode=
""
...
...
@@ -143,7 +143,7 @@ const navigateTo = url => {
url
});
};
const
isHumanResources
=
ref
(
"1"
);
const
isHumanResources
=
ref
(
1
);
/* 选择图片 */
const
chooseImage
=
sourceType
=>
{
uni
.
chooseImage
({
...
...
@@ -156,6 +156,12 @@ const chooseImage = sourceType => {
}
});
};
function
change
({
value
})
{
isHumanResources
.
value
=
value
;
if
(
value
==
2
)
{
pinias
.
setFormDataKey
(
"humanResourcesLicensePath"
,
""
);
}
}
const
submit
=
()
=>
{
const
params
=
{
...
pinias
.
formData
};
const
{
name
,
creditCode
}
=
pinias
.
formData
;
...
...
src/pages/user/myCompany/index.vue
View file @
a050919f
...
...
@@ -14,6 +14,7 @@
<formItem
title=
"企业名称"
>
<input
type=
"text"
:style=
"
{ color: [1, 0].includes(companyInfo.status) ? '#77818f' : '' }"
:disabled="[1, 0].includes(companyInfo.status)"
v-model="params.companyName"
placeholder="请输入企业名称"
...
...
@@ -29,7 +30,7 @@
v-model=
"params.industry"
@
confirm=
"handleConfirm"
>
<p
style=
"color: #77818f"
>
{{
params
.
industry
}}
</p>
<p
style=
"color: #77818f"
>
{{
params
.
industry
==
""
?
"请选择行业分类"
:
params
.
industry
}}
</p>
</wd-picker>
</formItem>
<formItem
title=
"信用代码"
>
...
...
@@ -44,13 +45,14 @@
value-key=
"value"
label-key=
"label"
auto-complete
custom-value-class=
"value-class"
:column-change=
"columnChangeCity"
@
confirm=
"handleConfirmCity"
>
</wd-col-picker>
</formItem>
<formItem
title=
"详细地址"
arrow
>
<p
:class=
"
{ placeholder: !params.location }" style="margin-left: 2
0rpx">
<formItem
title=
"详细地址"
icon=
""
>
<p
class=
"placeholder"
style=
"margin-left: 10
0rpx"
>
{{
params
.
location
||
"请选择公司所在地"
}}
</p>
</formItem>
...
...
@@ -279,16 +281,13 @@ const submit = () => {
validateForm
(
params
,
[
"location"
,
"cityCode"
,
"cityName"
,
"companyName"
,
"creditCode"
,
"introduction"
,
"districtCode"
,
"districtName"
,
"id"
,
"logoPath"
,
"provinceCode"
,
"provinceName"
,
"industry"
])
)
{
...
...
@@ -369,6 +368,12 @@ const validateForm = (formData, requiredFields) => {
}
.form-wrap
{
padding
:
0
16px
;
:deep
(
.wd-col-picker__cell
)
{
padding
:
0
!
important
;
}
:deep
(
.value-class
)
{
color
:
#77818f
;
}
.placeholder
{
color
:
#77818f
;
}
...
...
yarn.lock
View file @
a050919f
...
...
@@ -2281,16 +2281,6 @@
"resolved" "https://registry.npmmirror.com/@vant/area-data/-/area-data-2.0.0.tgz"
"version" "2.0.0"
"@vant/popperjs@^1.3.0":
"integrity" "sha512-hB+czUG+aHtjhaEmCJDuXOep0YTZjdlRR+4MSmIFnkCQIxJaXLQdSsR90XWvAI2yvKUI7TCGqR8pQg2RtvkMHw=="
"resolved" "https://registry.npmmirror.com/@vant/popperjs/-/popperjs-1.3.0.tgz"
"version" "1.3.0"
"@vant/use@^1.6.0":
"integrity" "sha512-PHHxeAASgiOpSmMjceweIrv2AxDZIkWXyaczksMoWvKV2YAYEhoizRuk/xFnKF+emUIi46TsQ+rvlm/t2BBCfA=="
"resolved" "https://registry.npmmirror.com/@vant/use/-/use-1.6.0.tgz"
"version" "1.6.0"
"@vitejs/plugin-legacy@^4.0.3", "@vitejs/plugin-legacy@4.1.1":
"integrity" "sha512-um3gbVouD2Q/g19C0qpDfHwveXDCAHzs8OC3e9g6aXpKoD1H14himgs7wkMnhAynBJy7QqUoZNAXDuqN8zLR2g=="
"resolved" "https://registry.npmmirror.com/@vitejs/plugin-legacy/-/plugin-legacy-4.1.1.tgz"
...
...
@@ -2540,11 +2530,6 @@
"resolved" "https://registry.npmmirror.com/@vue/shared/-/shared-3.3.11.tgz"
"version" "3.3.11"
"@vue/shared@^3.5.11":
"integrity" "sha512-L2RPSAwUFbgZH20etwrXyVyCBu9OxRSi8T/38QsvnkJyvq2LufW2lDCOzm7t/U9C1mkhJGWYfCuFBCmIuNivrg=="
"resolved" "https://registry.npmmirror.com/@vue/shared/-/shared-3.5.12.tgz"
"version" "3.5.12"
"@vue/shared@3.4.29":
"integrity" "sha512-hQ2gAQcBO/CDpC82DCrinJNgOHI2v+FA7BDW4lMSPeBpQ7sRe2OLHWe5cph1s7D8DUQAwRt18dBDfJJ220APEA=="
"resolved" "https://registry.npmmirror.com/@vue/shared/-/shared-3.4.29.tgz"
...
...
@@ -6799,15 +6784,6 @@
"spdx-correct" "^3.0.0"
"spdx-expression-parse" "^3.0.0"
"vant@^4.9.8":
"integrity" "sha512-iP+jNzwxkCeEdTrlUjro3WoXgY32+1CldOtLSc2K8acY7hR7t1zCkjzXSR9zWjtWT7zgNL1LEXofL8O7mtkYdQ=="
"resolved" "https://registry.npmmirror.com/vant/-/vant-4.9.8.tgz"
"version" "4.9.8"
dependencies:
"@vant/popperjs" "^1.3.0"
"@vant/use" "^1.6.0"
"@vue/shared" "^3.5.11"
"vary@~1.1.2":
"integrity" "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg=="
"resolved" "https://registry.npmmirror.com/vary/-/vary-1.1.2.tgz"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment