Merge branch 'master' of http://git.xdadan.com/tanex/emis-frontend
This commit is contained in:
commit
2250fdd821
@ -639,5 +639,3 @@ export function genJsSeqNo() {
|
|||||||
return seqNo
|
return seqNo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -193,10 +193,6 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
value(newVal) {
|
|
||||||
},
|
|
||||||
svalue(newVal, oldVal) {
|
|
||||||
},
|
|
||||||
countryCode(newVal, oldVal) {
|
countryCode(newVal, oldVal) {
|
||||||
this.queryParams.countryCode = this.countryCode;
|
this.queryParams.countryCode = this.countryCode;
|
||||||
this.initData();
|
this.initData();
|
||||||
@ -207,6 +203,9 @@
|
|||||||
},
|
},
|
||||||
isAddSite(val){
|
isAddSite(val){
|
||||||
this.initData();
|
this.initData();
|
||||||
|
},
|
||||||
|
selectSiteCode(val){
|
||||||
|
|
||||||
},
|
},
|
||||||
// 根据名称筛选部门树
|
// 根据名称筛选部门树
|
||||||
filterName(val) {
|
filterName(val) {
|
||||||
@ -241,15 +240,10 @@
|
|||||||
initData() {
|
initData() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
|
||||||
// console.log(this.queryParams)
|
|
||||||
// console.log(this.selectSiteCodeStr)
|
|
||||||
|
|
||||||
if(this.selectSiteCodeStr!=null){
|
if(this.selectSiteCodeStr!=null){
|
||||||
this.checkList = this.selectSiteCodeStr.split(',');
|
this.checkList = this.selectSiteCodeStr.split(',');
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(this.isAddSite);
|
|
||||||
|
|
||||||
listSimpleEmisSite(this.queryParams).then(response => {
|
listSimpleEmisSite(this.queryParams).then(response => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
// 追加节点 过滤已经选中节点
|
// 追加节点 过滤已经选中节点
|
||||||
|
|||||||
@ -70,7 +70,7 @@
|
|||||||
defaultValue:null
|
defaultValue:null
|
||||||
},
|
},
|
||||||
blIncludeChildSite:{
|
blIncludeChildSite:{
|
||||||
type: [String],
|
type: [String,Number],
|
||||||
required: false,
|
required: false,
|
||||||
defaultValue:null
|
defaultValue:null
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div >
|
<div >
|
||||||
<el-row :gutter="0">
|
|
||||||
<el-form ref="form" :model="form" size="mini" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" size="mini" :rules="rules" label-width="80px">
|
||||||
|
<el-row :gutter="0" style="display: flex;flex-wrap: wrap;">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="省份名称" v-if="form.regionType==1" prop="regionName">
|
<el-form-item label="省份名称" v-if="form.regionType==1" prop="regionName">
|
||||||
<el-input v-model="form.regionName" placeholder="省份名称" />
|
<el-input v-model="form.regionName" placeholder="省份名称" />
|
||||||
@ -70,8 +71,9 @@
|
|||||||
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-form>
|
|
||||||
</el-row>
|
</el-row>
|
||||||
|
</el-form>
|
||||||
|
|
||||||
<div style="text-align: center;margin-bottom: 10px;">
|
<div style="text-align: center;margin-bottom: 10px;">
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
|
|||||||
@ -275,12 +275,12 @@ export default {
|
|||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum:1,
|
pageNum:1,
|
||||||
pageSize:20,
|
pageSize:20,
|
||||||
scanType:null,
|
scanType:1,
|
||||||
scanSiteCode:null,
|
scanSiteCode:$store.getters.ownerSiteCode,
|
||||||
preOrNextStationCode:null,
|
preOrNextStationCode:null,
|
||||||
scanManCode:null,
|
scanManCode:null,
|
||||||
params:{
|
params:{
|
||||||
thisSiteScanType:null,
|
thisSiteScanType:1,
|
||||||
beginScanDate:null,
|
beginScanDate:null,
|
||||||
endScanDate:null,
|
endScanDate:null,
|
||||||
},//扩展参数
|
},//扩展参数
|
||||||
@ -310,7 +310,7 @@ export default {
|
|||||||
start.setHours(0,0,0,0)
|
start.setHours(0,0,0,0)
|
||||||
end.setHours(23,59,59,0)
|
end.setHours(23,59,59,0)
|
||||||
this.dateTimeRange=[start,end];
|
this.dateTimeRange=[start,end];
|
||||||
this.getList();
|
// this.getList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// handleClick(){
|
// handleClick(){
|
||||||
|
|||||||
@ -360,8 +360,6 @@ export default {
|
|||||||
}else{
|
}else{
|
||||||
this.submitFormByNew();
|
this.submitFormByNew();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.reset();
|
|
||||||
this.open = false;
|
this.open = false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -839,6 +839,8 @@ export default {
|
|||||||
end.setHours(23,59,59,0)
|
end.setHours(23,59,59,0)
|
||||||
this.dateTimeRange=[start,end];
|
this.dateTimeRange=[start,end];
|
||||||
|
|
||||||
|
this.queryParams.dispatchUnderlingSiteCode=this.$store.getters.ownerSiteCode;
|
||||||
|
|
||||||
this.getList();
|
this.getList();
|
||||||
this.queryOrderType="1";
|
this.queryOrderType="1";
|
||||||
this.queryOrderDateType="1";
|
this.queryOrderDateType="1";
|
||||||
@ -852,11 +854,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
const end = new Date()
|
|
||||||
const start = new Date()
|
|
||||||
start.setHours(0,0,0,0)
|
|
||||||
end.setHours(23,59,59,0)
|
|
||||||
this.dateTimeRange=[start,end];
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//标红table指定行
|
//标红table指定行
|
||||||
|
|||||||
@ -2,15 +2,7 @@
|
|||||||
<XdPageContainer class="app-container">
|
<XdPageContainer class="app-container">
|
||||||
|
|
||||||
<SearchForm slot="pageHeader" class="queryForm" :model="queryParams" ref="queryForm" size="mini" :maxShow="9" label-width="100px" v-show="showSearch" @search="handleQuery" @reset="resetQuery">
|
<SearchForm slot="pageHeader" class="queryForm" :model="queryParams" ref="queryForm" size="mini" :maxShow="9" label-width="100px" v-show="showSearch" @search="handleQuery" @reset="resetQuery">
|
||||||
<!-- <el-row :gutter="10">
|
|
||||||
<el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="6"><div class="grid-content bg-purple">123</div></el-col>
|
|
||||||
<el-col :xs="8" :sm="6" :md="8" :lg="8" :xl="6"><div class="grid-content bg-purple-light">123</div></el-col>
|
|
||||||
<el-col :xs="8" :sm="6" :md="8" :lg="8" :xl="6"><div class="grid-content bg-purple">123</div></el-col>
|
|
||||||
<el-col :xs="8" :sm="6" :md="8" :lg="8" :xl="6"><div class="grid-content bg-purple-light">123</div></el-col>
|
|
||||||
</el-row> -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- label-width="100px" -->
|
|
||||||
<el-row :gutter="0" style="display: flex;flex-wrap: wrap;">
|
<el-row :gutter="0" style="display: flex;flex-wrap: wrap;">
|
||||||
<!-- :span="6" -->
|
<!-- :span="6" -->
|
||||||
<el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="6">
|
<el-col :xs="8" :sm="8" :md="8" :lg="8" :xl="6">
|
||||||
@ -843,25 +835,17 @@ export default {
|
|||||||
start.setHours(0,0,0,0)
|
start.setHours(0,0,0,0)
|
||||||
end.setHours(23,59,59,0)
|
end.setHours(23,59,59,0)
|
||||||
this.dateTimeRange=[start,end];
|
this.dateTimeRange=[start,end];
|
||||||
|
this.queryParams.sendSiteCode=this.$store.getters.ownerSiteCode;
|
||||||
|
|
||||||
|
|
||||||
this.getList();
|
|
||||||
this.queryOrderType="1";
|
this.queryOrderType="1";
|
||||||
this.queryOrderDateType="1";
|
this.queryOrderDateType="1";
|
||||||
// this.queryExpireNotSign="1"
|
// this.queryExpireNotSign="1"
|
||||||
|
|
||||||
// 调整表格的高度,不允许滚动
|
this.getList();
|
||||||
this.$nextTick(function() {
|
|
||||||
let queryFormEl = this.$refs.queryForm.$el;
|
|
||||||
let tableH = queryFormEl.offsetHeight+190;
|
|
||||||
this.tableHeight = window.innerHeight - tableH;
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
const end = new Date()
|
|
||||||
const start = new Date()
|
|
||||||
start.setHours(0,0,0,0)
|
|
||||||
end.setHours(23,59,59,0)
|
|
||||||
this.dateTimeRange=[start,end];
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//标红table指定行
|
//标红table指定行
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user