flat: 修改提示
This commit is contained in:
@@ -20,11 +20,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getWorktypesList
|
getWorktypesList
|
||||||
} from '@/api/resume.js'
|
} from '@/api/resume.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
workTypeList: [],
|
workTypeList: [],
|
||||||
@@ -71,7 +71,7 @@ export default {
|
|||||||
this.layer = parseInt(layer || 1)
|
this.layer = parseInt(layer || 1)
|
||||||
this.maxLayer = parseInt(maxLayer || 2)
|
this.maxLayer = parseInt(maxLayer || 2)
|
||||||
},
|
},
|
||||||
onShow: function () { },
|
onShow: function() {},
|
||||||
methods: {
|
methods: {
|
||||||
cityClick(item) {
|
cityClick(item) {
|
||||||
if (this.layer === this.maxLayer) {
|
if (this.layer === this.maxLayer) {
|
||||||
@@ -91,26 +91,32 @@ export default {
|
|||||||
url: `./skill?layer=${this.layer + 1}&maxLayer=${this.maxLayer}&parentId=${item.id}&parentLabel=${item.name}`
|
url: `./skill?layer=${this.layer + 1}&maxLayer=${this.maxLayer}&parentId=${item.id}&parentLabel=${item.name}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
comfirm: function () {
|
comfirm: function() {
|
||||||
if (this.id) {
|
if (this.id) {
|
||||||
uni.$emit('setworkTypes', { detail: { id: this.id, label: this.label, parentLabel: this.$route.query.parentLabel } })
|
uni.$emit('setworkTypes', {
|
||||||
|
detail: {
|
||||||
|
id: this.id,
|
||||||
|
label: this.label,
|
||||||
|
parentLabel: this.$route.query.parentLabel
|
||||||
|
}
|
||||||
|
})
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
delta: this.layer
|
delta: this.layer
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "请选择地点",
|
title: "请选择类别",
|
||||||
icon: "none"
|
icon: "none"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.bottombtn {
|
.bottombtn {
|
||||||
background-color: #1B66FF;
|
background-color: #1B66FF;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -119,9 +125,9 @@ export default {
|
|||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
height: 90rpx;
|
height: 90rpx;
|
||||||
line-height: 90rpx;
|
line-height: 90rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
background-color: #fefefe;
|
background-color: #fefefe;
|
||||||
width: 690rpx;
|
width: 690rpx;
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
@@ -129,14 +135,14 @@ export default {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cityList image {
|
.cityList image {
|
||||||
width: 32rpx;
|
width: 32rpx;
|
||||||
height: 32rpx;
|
height: 32rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cityList {
|
.cityList {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@@ -148,9 +154,9 @@ export default {
|
|||||||
margin-left: 30rpx;
|
margin-left: 30rpx;
|
||||||
width: 690rpx;
|
width: 690rpx;
|
||||||
border-bottom: 1rpx solid #dddddd;
|
border-bottom: 1rpx solid #dddddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.location {
|
.location {
|
||||||
font-family: PingFangSC-Regular;
|
font-family: PingFangSC-Regular;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
@@ -158,26 +164,26 @@ export default {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comfirm {
|
.comfirm {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.location image {
|
.location image {
|
||||||
width: 40rpx;
|
width: 40rpx;
|
||||||
height: 40rpx;
|
height: 40rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-family: PingFangSC-Regular;
|
font-family: PingFangSC-Regular;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
background-color: #f6f6f6;
|
background-color: #f6f6f6;
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
page {
|
page {
|
||||||
background-color: #fefefe;
|
background-color: #fefefe;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -20,11 +20,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getWorktypesList
|
getWorktypesList
|
||||||
} from '@/api/resume.js'
|
} from '@/api/resume.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
workTypeList: [],
|
workTypeList: [],
|
||||||
@@ -44,8 +44,8 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
city() {
|
city() {
|
||||||
if(!this.workTypeList.length) return;
|
if (!this.workTypeList.length) return;
|
||||||
if(this.parentTwoId) {
|
if (this.parentTwoId) {
|
||||||
const parentItem = this.workTypeList.find(item => item.id == this.parentId);
|
const parentItem = this.workTypeList.find(item => item.id == this.parentId);
|
||||||
const parentChild = parentItem.child.find(item => item.id == this.parentTwoId);
|
const parentChild = parentItem.child.find(item => item.id == this.parentTwoId);
|
||||||
if (parentItem) {
|
if (parentItem) {
|
||||||
@@ -84,7 +84,7 @@ export default {
|
|||||||
this.layer = parseInt(layer || 1)
|
this.layer = parseInt(layer || 1)
|
||||||
this.maxLayer = parseInt(maxLayer || 2)
|
this.maxLayer = parseInt(maxLayer || 2)
|
||||||
},
|
},
|
||||||
onShow: function () { },
|
onShow: function() {},
|
||||||
methods: {
|
methods: {
|
||||||
cityClick(item) {
|
cityClick(item) {
|
||||||
console.log('items', item, this.layer, this.maxLayer)
|
console.log('items', item, this.layer, this.maxLayer)
|
||||||
@@ -119,32 +119,33 @@ export default {
|
|||||||
url: `./skillLevel?layer=${this.layer + 1}&maxLayer=${this.maxLayer}&parentId=${item.id}&parentLabel=${item.name}`
|
url: `./skillLevel?layer=${this.layer + 1}&maxLayer=${this.maxLayer}&parentId=${item.id}&parentLabel=${item.name}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
comfirm: function () {
|
comfirm: function() {
|
||||||
if (this.id) {
|
if (this.id) {
|
||||||
uni.$emit('setSkill', { detail: {
|
uni.$emit('setSkill', {
|
||||||
|
detail: {
|
||||||
id: this.id,
|
id: this.id,
|
||||||
label: this.label,
|
label: this.label,
|
||||||
parentLabel: this.$route.query.parentLabel,
|
parentLabel: this.$route.query.parentLabel,
|
||||||
parentTwoLabel: this.$route.query.parentTwoLabel
|
parentTwoLabel: this.$route.query.parentTwoLabel
|
||||||
} ,
|
},
|
||||||
})
|
})
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
delta: this.layer
|
delta: this.layer
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "请选择地点",
|
title: "请选择类别",
|
||||||
icon: "none"
|
icon: "none"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.bottombtn {
|
.bottombtn {
|
||||||
background-color: #1B66FF;
|
background-color: #1B66FF;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -153,9 +154,9 @@ export default {
|
|||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
height: 90rpx;
|
height: 90rpx;
|
||||||
line-height: 90rpx;
|
line-height: 90rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
background-color: #fefefe;
|
background-color: #fefefe;
|
||||||
width: 690rpx;
|
width: 690rpx;
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
@@ -163,14 +164,14 @@ export default {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cityList image {
|
.cityList image {
|
||||||
width: 32rpx;
|
width: 32rpx;
|
||||||
height: 32rpx;
|
height: 32rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cityList {
|
.cityList {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@@ -182,9 +183,9 @@ export default {
|
|||||||
margin-left: 30rpx;
|
margin-left: 30rpx;
|
||||||
width: 690rpx;
|
width: 690rpx;
|
||||||
border-bottom: 1rpx solid #dddddd;
|
border-bottom: 1rpx solid #dddddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.location {
|
.location {
|
||||||
font-family: PingFangSC-Regular;
|
font-family: PingFangSC-Regular;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
@@ -192,26 +193,26 @@ export default {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comfirm {
|
.comfirm {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.location image {
|
.location image {
|
||||||
width: 40rpx;
|
width: 40rpx;
|
||||||
height: 40rpx;
|
height: 40rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-family: PingFangSC-Regular;
|
font-family: PingFangSC-Regular;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
background-color: #f6f6f6;
|
background-color: #f6f6f6;
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
page {
|
page {
|
||||||
background-color: #fefefe;
|
background-color: #fefefe;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -3,11 +3,10 @@ module.exports = {
|
|||||||
port: 1887,
|
port: 1887,
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://192.168.1.101:8200',
|
target: 'http://10.165.0.173:8000',
|
||||||
ws: true,
|
ws: true,
|
||||||
changeOrigin: true,
|
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
"^/api/jobslink-api": "/"
|
'^/api': '/'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'/qq/map': {
|
'/qq/map': {
|
||||||
|
|||||||
Reference in New Issue
Block a user