提交 be5deddf 编写于 作者: chengxiang.li's avatar chengxiang.li

update

上级 2bc64e73
...@@ -54,7 +54,7 @@ service.interceptors.request.use(config => { ...@@ -54,7 +54,7 @@ service.interceptors.request.use(config => {
} }
if( process.env.BUILD_ENV == "development" ){ // 本地开发环境 if( process.env.BUILD_ENV == "development" ){ // 本地开发环境
// console.log('环境变量>>>> ', process.env.BUILD_ENV); // console.log('环境变量>>>> ', process.env.BUILD_ENV);
config.headers['token'] = 'D34A213A354849A0B08A241771F7A675'; config.headers['token'] = '5E2F79D96DD144A0B23E7607E2169A68';
}else{ }else{
config.headers['token'] = localStorage.getItem('storageToken') config.headers['token'] = localStorage.getItem('storageToken')
} }
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="left" align="left"
prop="address" prop="reason"
label="关闭理由"> label="关闭理由">
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -194,11 +194,14 @@ ...@@ -194,11 +194,14 @@
}]; }];
let req = { let req = {
token: localStorage.getItem("token"),
// token: 'EA8DFCA594494230ABD14AC7E00E3E05',
fileArray: fileArray, fileArray: fileArray,
import_type: 2, import_type: 2,
}; };
if( process.env.BUILD_ENV == "development" ){
req.token = '5E2F79D96DD144A0B23E7607E2169A68'
}else{
req.token = localStorage.getItem("token");
}
self.postData = JSON.stringify(req); self.postData = JSON.stringify(req);
uploadExcel(self.postData).then(res => { uploadExcel(self.postData).then(res => {
// console.log('%c res >> ','color: red;', res) // console.log('%c res >> ','color: red;', res)
...@@ -208,7 +211,7 @@ ...@@ -208,7 +211,7 @@
type: 'success' type: 'success'
}); });
try{ try{
this.goToGetUploadHistory(); self.goToGetUploadHistory();
}catch(err){ }catch(err){
console.log('reload history list error'); console.log('reload history list error');
} }
......
...@@ -117,7 +117,6 @@ ...@@ -117,7 +117,6 @@
watch: { watch: {
showChooseLabelModal: function(val) { showChooseLabelModal: function(val) {
if(val == false){ if(val == false){
console.log('%c 隐藏选择分组', 'color: red;', val)
this.labelNameList = []; this.labelNameList = [];
this.choosedLabelList = []; this.choosedLabelList = [];
} }
...@@ -270,7 +269,7 @@ ...@@ -270,7 +269,7 @@
// 下载二维码 // 下载二维码
downloadQRCode(params).then(res => { downloadQRCode(params).then(res => {
if(res.code == '000000'){ if(res.code == '000000'){
// window.location.href = res.data; this.showChooseLabelModal = false;
this.downloadFile(res.data); this.downloadFile(res.data);
}else{ }else{
this.$message({ this.$message({
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
return { return {
curmbFirst: "居民管理", curmbFirst: "居民管理",
curmbSecond: "新增居民", curmbSecond: "新增居民",
activeName2: 'second', activeName2: 'first',
patientInfo: {}, patientInfo: {},
checkForm: false, checkForm: false,
patientId: '', patientId: '',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册