人发模块 代码格式化

This commit is contained in:
tian.guangyuan
2020-04-01 10:26:09 +08:00
parent 62be77957b
commit ec0af28171
13 changed files with 59 additions and 58 deletions

View File

@@ -1,5 +1,5 @@
<template> <template>
<van-cell :title="talentPoolInfo.name" title-class="ml10" is-link value-class="text-left" @click="edit(talentPoolInfo.personnelCode)" > <van-cell :title="talentPoolInfo.name" title-class="ml10" is-link value-class="text-left" @click="edit(talentPoolInfo.personnelCode)">
<van-icon slot="icon" :name="talentPoolInfo.avatarUrl || defaultAcatarUrl" style="line-height: inherit;" size="24" /> <van-icon slot="icon" :name="talentPoolInfo.avatarUrl || defaultAcatarUrl" style="line-height: inherit;" size="24" />
<span>{{ talentPoolInfo.sameCompany }}</span> <span>{{ talentPoolInfo.sameCompany }}</span>
<van-icon slot="right-icon" name="edit" style="line-height: inherit;" color="#ee0a24" size="24" /> <van-icon slot="right-icon" name="edit" style="line-height: inherit;" color="#ee0a24" size="24" />

View File

@@ -33,8 +33,7 @@ export default {
title: '政策方案', title: '政策方案',
icon: 'orders-o', icon: 'orders-o',
path: '/manpower/increaseStaffTools/PolicyOptions' path: '/manpower/increaseStaffTools/PolicyOptions'
} },
,
{ {
title: '产品信息', title: '产品信息',
icon: 'bookmark-o', icon: 'bookmark-o',

View File

@@ -106,7 +106,12 @@ export default {
value: '1' value: '1'
} }
], ],
resultArr: [{ id: '0', text: '不加盟' }, { id: '1', text: '考虑中' }, { id: '2', text: '进班了解' }, { id: '3', text: '同意加盟' }], resultArr: [
{ id: '0', text: '不加盟' },
{ id: '1', text: '考虑中' },
{ id: '2', text: '进班了解' },
{ id: '3', text: '同意加盟' }
],
occupationArr: [ occupationArr: [
{ id: '001', text: '一般内勤职员' }, { id: '001', text: '一般内勤职员' },
{ id: '002', text: '其他金融行业' }, { id: '002', text: '其他金融行业' },

View File

@@ -32,12 +32,12 @@ export default {
created() {}, created() {},
mounted() {}, mounted() {},
methods: { methods: {
init() {}, init() {}
}, },
components: { components: {
[Col.name]: Col, [Col.name]: Col,
[Row.name]: Row, [Row.name]: Row
}, }
} }
</script> </script>

View File

@@ -40,12 +40,12 @@ export default {
methods: { methods: {
init() { init() {
answerDetail({ answerDetail({
'qnCode': 'GFRS-DISC' qnCode: 'GFRS-DISC'
}) })
.then( res => { .then(res => {
console.log(res) console.log(res)
}) })
.catch( err => {} ) .catch(err => {})
} }
}, },
components: { components: {

View File

@@ -31,48 +31,48 @@ export default {
created() {}, created() {},
mounted() {}, mounted() {},
methods: { methods: {
init() {}, init() {}
}, },
components: { components: {
[Row.name]: Row, [Row.name]: Row,
[Col.name]: Col, [Col.name]: Col,
[Divider.name]: Divider, [Divider.name]: Divider
}, }
} }
</script> </script>
<style scoped="scoped" lang="scss"> <style scoped="scoped" lang="scss">
.container{ .container {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: inherit; height: inherit;
background-image: url('../../../../assets/images/discBg.png'); background-image: url('../../../../assets/images/discBg.png');
background-size: 100% auto; background-size: 100% auto;
background-repeat: no-repeat; background-repeat: no-repeat;
background-color: #0827A9; background-color: #0827a9;
.mt66vw{ .mt66vw {
margin-top: 66vw; margin-top: 66vw;
}
.box{
width: auto;
height: 300px;
background-image: url('../../../../assets/images/discResBorder.png');
background-size: 100% 100%;
background-repeat: no-repeat;
}
.circular{
display: inline-block;
width: 8px;
height: 8px;
background:rgba(255,101,26,1);
border-radius:50%;
}
.h40{
line-height: 40px;
height: 40px;
}
} }
.box {
width: auto;
height: 300px;
background-image: url('../../../../assets/images/discResBorder.png');
background-size: 100% 100%;
background-repeat: no-repeat;
}
.circular {
display: inline-block;
width: 8px;
height: 8px;
background: rgba(255, 101, 26, 1);
border-radius: 50%;
}
.h40 {
line-height: 40px;
height: 40px;
}
}
</style> </style>

View File

@@ -17,11 +17,11 @@ export default {
created() {}, created() {},
mounted() {}, mounted() {},
methods: { methods: {
init() {}, init() {}
}, },
components: { components: {
// [Field.name]: Field, // [Field.name]: Field,
}, }
} }
</script> </script>

View File

@@ -27,6 +27,6 @@ export default {
routerInfo: { path: `/manpower/increaseStaffTools/PdfShare?pdf=${num}` } routerInfo: { path: `/manpower/increaseStaffTools/PdfShare?pdf=${num}` }
}) })
} }
}, }
} }
</script> </script>

View File

@@ -1,5 +1,2 @@
//验证 //验证
export function demo(par) { export function demo(par) {}
}

View File

@@ -1,7 +1,7 @@
<!-- 人才库-人才列表 --> <!-- 人才库-人才列表 -->
<template> <template>
<div class="container"> <div class="container">
<van-search placeholder="请输入要查询人的姓名" v-model="searchName" @change="searchList" @keyup.enter="searchList"/> <van-search placeholder="请输入要查询人的姓名" v-model="searchName" @change="searchList" @keyup.enter="searchList" />
<div v-if="hasTalentPoolList" class="mb60"> <div v-if="hasTalentPoolList" class="mb60">
<van-index-bar :index-list="indexList"> <van-index-bar :index-list="indexList">
<div v-for="(item, key) in talentPoolList" :key="key" class="bg-white mb10 mr20"> <div v-for="(item, key) in talentPoolList" :key="key" class="bg-white mb10 mr20">