Compare commits

...

2 Commits

@ -20,7 +20,7 @@
<div>
<p style="margin:10px 0 10px -480px;text-align:center">招募海报</p>
<div style="text-align: center;">
<img style="width:500px;height:500px" src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1590841039901&di=75940d3446fa7110a7482257d2934a5f&imgtype=0&src=http%3A%2F%2Fi1.ygimg.cn%2Fpics%2Fbosideng%2F2015%2F100266320%2F100266320_01_l.jpg%3F6" alt="">
<img style="width:500px;height:500px" :src="initData.scheduleVO.params[0].defaultVal" alt="">
</div>
<!-- <div style="margin-top:20px;text-align: center;"><Button ghost type="primary">上传</Button></div> -->
@ -50,6 +50,8 @@
<script>
import selectStoreStep from '../activity/selectStoreStep'
import store from '../../store'
import bulletinService from '../../services/recruit/Bulletin'
import http from '../../services/CommonHttp';
export default {
components: {
@ -64,14 +66,32 @@ export default {
company: [],
stores: [],
},
inidData:{},
showUpload:false,
btnStr:'编辑'
};
},
mounted: function() {
},
created() {
this.initData();
},
methods: {
initData(){
let that = this;
bulletinService.getDetail({}, function (data) {
console.log(data);
data.results.scheduleVO.params.forEach(item => {
item.defaultVal = http.getBaseUrl() + item.defaultVal;
});
that.initData = data.results;
}, function (err) {
that.$Message.error("网络异常,请重试");
that.setNoLoading();
});
},
doShow () {
this.showStoreCheck = false
this.welcome = store.getters.useData

@ -0,0 +1,10 @@
import http from '../CommonHttp'
import axios from 'axios'
export function getDetail(params, call) {
return http.get('/fission/detail', params).then(call)
}
export default {
getDetail,
}
Loading…
Cancel
Save