Commit db4b667b authored by 黄奎's avatar 黄奎

页面优化

parent 9c0cad44
......@@ -553,7 +553,6 @@ import moment from 'moment'
},
methods: {
goUrl(path, item) {
// console.log(item);
this.$router.push({
path: path,
query: {
......
......@@ -83,7 +83,6 @@ export default {
res => {
this.loading = false;
if (res.data.resultCode == 1) {
console.log(res,'resssss');
this.dataList = res.data.data.List;
} else {
this.loading = false;
......
......@@ -152,7 +152,6 @@ export default {
created(){
this.dateList[0]=moment().subtract(6, "month").format("YYYY-MM-DD");
this.dateList[1]=moment().format("YYYY-MM-DD");
// console.log("this.dateList",this.dateList)
this.getTitle();
},
mounted(){
......@@ -234,14 +233,10 @@ export default {
this.loading = false;
if (res.data.resultCode === 1) {
let arrays=[];
// console.log("res.data.data.pageData",res.data.data)
res.data.data.pageData.forEach(x => {
let isHave=false
if(x.tCID!=0 || x.tCID || x.tCID!=''){
// if(this.fields.indexOf(x.title)==-1&&x.title!=''){
// this.fields.push(x.title)
// console.log("fields",this.fields)
// }
if(arrays.length>0){
arrays.forEach(y=>{
if(y.tcid==x.tCID){
......@@ -272,7 +267,6 @@ export default {
});
this.dataList=arrays;
// console.log("this.dataList",this.dataList)
this.total=res.data.data.count;
} else {
this.Error(res.data.message)
......
......@@ -239,7 +239,6 @@ export default {
this.dialogFormVisible=true;
this.exitMsg.orderId=this.oldModel.OrderID;
// console.log(item);
this.exitMsg.CancelBy = userInfo.customerId;
},
ExitOrder(){
......@@ -252,7 +251,6 @@ export default {
"dmc_post_Get_KKDayOrderCancel",
this.exitMsg,
res => {
// console.log("res",res);
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.$emit('queryDays')
......@@ -274,7 +272,6 @@ export default {
"dmc_post_Get_KKDayOrderQueryOrderDtl",
this.msg,
res => {
// console.log("sfafg",res);
if (res.data.resultCode == 1) {
this.oldModel=res.data.data.oldModel;
this.jo=res.data.data.jo;
......@@ -304,10 +301,7 @@ export default {
if (res.data.data.result === "00") {
this.DomainUrl=res.data.data.KkdayDomain;
let data = res.data.data.prod
console.log("data",data)
this.dataDetail = data;
} else {
this.Error(res.data.data.result_msg)
}
......
......@@ -350,8 +350,6 @@ export default {
let path = this.QRpath
var canvas = document.getElementById('canvas')
QRCode.toCanvas(canvas, path, function (error) {
if (error) console.error(error)
console.log('success!');
})
},1000);
}else{
......@@ -424,7 +422,6 @@ export default {
this.apipost('dmc_get_GetPeopleForeignInfo',{VisaPeopleId:this.ID},res=>{
if(res.data.resultCode==1){
this.QRpath = res.data.data
console.log(this.QRpath)
}else{
this.$message.error(res.data.message)
}
......@@ -433,7 +430,6 @@ export default {
getInfo(){ // 获取信息
this.apipost('dmc_get_GetVisaApplyForGrouSignInfo',{VisaPeopleId:this.ID},res=>{
if(res.data.resultCode==1){
console.log(res.data.data)
this.infoData = res.data.data
this.infoData.PeopleModel.OpenQRCode = this.infoData.PeopleModel.OpenQRCode.toString()
if(this.infoData.PeopleModel.OpenQRCode=='1'){
......
......@@ -353,8 +353,6 @@ export default {
let path = this.QRpath
var canvas = document.getElementById('canvas')
QRCode.toCanvas(canvas, path, function (error) {
if (error) console.error(error)
console.log('success!');
})
},1000);
}else{
......@@ -427,7 +425,6 @@ export default {
this.apipost('dmc_get_GetPeopleForeignInfo',{VisaPeopleId:this.ID},res=>{
if(res.data.resultCode==1){
this.QRpath = res.data.data
console.log(this.QRpath)
}else{
this.$message.error(res.data.message)
}
......@@ -436,7 +433,6 @@ export default {
getInfo(){ // 获取信息
this.apipost('dmc_get_GetVisaApplyForGrouSignInfoForSell',{VisaPeopleId:this.ID},res=>{
if(res.data.resultCode==1){
console.log(res.data.data)
this.infoData = res.data.data
this.infoData.PeopleModel.OpenQRCode = this.infoData.PeopleModel.OpenQRCode.toString()
if(this.infoData.PeopleModel.OpenQRCode=='1'){
......
......@@ -192,7 +192,8 @@
<el-input type="text" v-model="addMsg.BeginTier" :placeholder="$t('pub.pleaseImport')"></el-input>
</el-form-item>
<el-form-item class='w400' :label='$t("admin.admin_leader")' prop="BranchManager">
<el-select filterable clearable v-model='addMsg.BranchManager' :placeholder="$t('pub.pleaseSel')">
<el-select filterable clearable v-model='addMsg.BranchManager' :placeholder="$t('pub.pleaseSel')"
class='w280'>
<el-option label="请选择" :value='0'></el-option>
<el-option v-for='item in employeeList' :key="item.EmployeeId" :label="item.EmName"
:value="item.EmployeeId">
......@@ -228,7 +229,6 @@
<button class="normalBtn" type="primary" @click="submitForm('addMsg')">{{$t('pub.saveBtn')}}</button>
</div>
</el-dialog>
</div>
</template>
<script>
......@@ -444,7 +444,6 @@
getGroup() { //获取集团
this.apipost('admin_get_GroupGetList', this.groupMsg, res => {
this.layerGroupList = this.groupList = res.data.data;
//console.log(this.groupList)
}, err => {})
},
......@@ -545,5 +544,4 @@
},
},
}
</script>
</script>
\ No newline at end of file
......@@ -435,7 +435,6 @@
if(res.data.resultCode == 1) {
this.DataList = res.data.data.pageData;
this.total=res.data.data.count;
console.log(res,'res');
} else {
this.Error(res.data.message);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment