|
|
@ -25,7 +25,8 @@
|
|
|
|
<Button type="primary">查询</Button>
|
|
|
|
<Button type="primary">查询</Button>
|
|
|
|
</i-col>
|
|
|
|
</i-col>
|
|
|
|
<i-col span="12" style="text-align: right;padding-right: 20px;">
|
|
|
|
<i-col span="12" style="text-align: right;padding-right: 20px;">
|
|
|
|
<Button type="primary" style="margin-right: 10px;">批量下载</Button>
|
|
|
|
<Button type="primary" @click="downloadStoreCode" style="margin-right: 10px;">批量下载门店码</Button>
|
|
|
|
|
|
|
|
<Button type="primary" @click="downloadStoreSellerCode" style="margin-right: 10px;">批量下载导购码</Button>
|
|
|
|
<Button type="primary" @click="showImport" style="margin-right: 10px;">批量开通</Button>
|
|
|
|
<Button type="primary" @click="showImport" style="margin-right: 10px;">批量开通</Button>
|
|
|
|
</i-col>
|
|
|
|
</i-col>
|
|
|
|
</Row>
|
|
|
|
</Row>
|
|
|
@ -176,6 +177,7 @@
|
|
|
|
isShowAdd: false,
|
|
|
|
isShowAdd: false,
|
|
|
|
showStoreName: '',
|
|
|
|
showStoreName: '',
|
|
|
|
updateUrl: http.getBaseUrl() + "/store/emp/import",
|
|
|
|
updateUrl: http.getBaseUrl() + "/store/emp/import",
|
|
|
|
|
|
|
|
downLoadStoreCodeUrl: http.getBaseUrl() + "/store/emp/download/store/code",
|
|
|
|
qrCodeImage: '',
|
|
|
|
qrCodeImage: '',
|
|
|
|
selectedRegion: null,
|
|
|
|
selectedRegion: null,
|
|
|
|
regionList: [],
|
|
|
|
regionList: [],
|
|
|
@ -310,6 +312,12 @@
|
|
|
|
this.isShowImport = true;
|
|
|
|
this.isShowImport = true;
|
|
|
|
this.isShowError = false
|
|
|
|
this.isShowError = false
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
downloadStoreCode(){
|
|
|
|
|
|
|
|
http.downloadStoreCode({},null);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
downloadStoreSellerCode(){
|
|
|
|
|
|
|
|
http.downloadStoreSellerCode({},null);
|
|
|
|
|
|
|
|
},
|
|
|
|
handleSubmit (name) {
|
|
|
|
handleSubmit (name) {
|
|
|
|
this.$refs[name].validate((valid) => {
|
|
|
|
this.$refs[name].validate((valid) => {
|
|
|
|
if (valid) {
|
|
|
|
if (valid) {
|
|
|
|