|
|
@ -7,7 +7,7 @@
|
|
|
|
<p class="" style="font-size: 13px;line-height: 32px;margin-left: 20px;margin-right: 20px;">便于门店进行推广员招募</p>
|
|
|
|
<p class="" style="font-size: 13px;line-height: 32px;margin-left: 20px;margin-right: 20px;">便于门店进行推广员招募</p>
|
|
|
|
</i-col>
|
|
|
|
</i-col>
|
|
|
|
<i-col span="8">
|
|
|
|
<i-col span="8">
|
|
|
|
<span class="">使用范围:26家零售公司,785家店铺</span>
|
|
|
|
<span class="">使用范围:{{welcome.company.length || 0}}家零售公司,{{welcome.stores.length || 0}}家店铺</span>
|
|
|
|
<span class="" style="border: 0px; color: rgb(52, 150, 235); margin-left: 15px; cursor: pointer;" @click="showStores">修改</span>
|
|
|
|
<span class="" style="border: 0px; color: rgb(52, 150, 235); margin-left: 15px; cursor: pointer;" @click="showStores">修改</span>
|
|
|
|
</i-col>
|
|
|
|
</i-col>
|
|
|
|
<i-col span="8">
|
|
|
|
<i-col span="8">
|
|
|
@ -54,7 +54,6 @@ import bulletinService from '../../services/recruit/Bulletin'
|
|
|
|
import http from '../../services/CommonHttp';
|
|
|
|
import http from '../../services/CommonHttp';
|
|
|
|
import axios from "axios";
|
|
|
|
import axios from "axios";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
inject:['reload'],
|
|
|
|
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
selectStoreStep,
|
|
|
|
selectStoreStep,
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -72,7 +71,8 @@ export default {
|
|
|
|
btnStr:'编辑',
|
|
|
|
btnStr:'编辑',
|
|
|
|
imgUrl:'',
|
|
|
|
imgUrl:'',
|
|
|
|
onWitch:false,
|
|
|
|
onWitch:false,
|
|
|
|
uploadUrl:""
|
|
|
|
uploadUrl:"",
|
|
|
|
|
|
|
|
oldImg:""
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted: function() {
|
|
|
|
mounted: function() {
|
|
|
@ -81,6 +81,7 @@ export default {
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.initData();
|
|
|
|
this.initData();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
inject: ['reload'],
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
witchChange(status) {
|
|
|
|
witchChange(status) {
|
|
|
|
this.onWitch = status;
|
|
|
|
this.onWitch = status;
|
|
|
@ -91,6 +92,7 @@ export default {
|
|
|
|
console.log(data);
|
|
|
|
console.log(data);
|
|
|
|
if(data.data.results.scheduleVO.params.length>0){
|
|
|
|
if(data.data.results.scheduleVO.params.length>0){
|
|
|
|
that.imgUrl = http.getBaseUrl() + data.data.results.scheduleVO.params[0].defaultVal;
|
|
|
|
that.imgUrl = http.getBaseUrl() + data.data.results.scheduleVO.params[0].defaultVal;
|
|
|
|
|
|
|
|
that.oldImg = http.getBaseUrl() + data.data.results.scheduleVO.params[0].defaultVal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
that.initData = data.data.results;
|
|
|
|
that.initData = data.data.results;
|
|
|
|
|
|
|
|
|
|
|
@ -142,6 +144,9 @@ export default {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
bulletinService.dosave(this.initData, function (data) {
|
|
|
|
bulletinService.dosave(this.initData, function (data) {
|
|
|
|
console.log(data);
|
|
|
|
console.log(data);
|
|
|
|
|
|
|
|
that.$Message.info("保存成功");
|
|
|
|
|
|
|
|
that.btnStr = '编辑'
|
|
|
|
|
|
|
|
that.showUpload = false;
|
|
|
|
that.reload();
|
|
|
|
that.reload();
|
|
|
|
}, function (err) {
|
|
|
|
}, function (err) {
|
|
|
|
that.$Message.error("网络异常,请重试");
|
|
|
|
that.$Message.error("网络异常,请重试");
|
|
|
@ -151,6 +156,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onCancel(){
|
|
|
|
onCancel(){
|
|
|
|
this.showUpload = false;
|
|
|
|
this.showUpload = false;
|
|
|
|
|
|
|
|
this.imgUrl = this.oldImg;
|
|
|
|
this.btnStr = '编辑'
|
|
|
|
this.btnStr = '编辑'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
uploadImgSuccess (res, file) {
|
|
|
|
uploadImgSuccess (res, file) {
|
|
|
|