Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcjg-web
Showing
7 changed files
with
68 additions
and
39 deletions
... | @@ -118,7 +118,9 @@ export function timeFormat (date, end) { | ... | @@ -118,7 +118,9 @@ export function timeFormat (date, end) { |
118 | } | 118 | } |
119 | var y = date.getFullYear(); //年 | 119 | var y = date.getFullYear(); //年 |
120 | var m = date.getMonth() + 1; //月 | 120 | var m = date.getMonth() + 1; //月 |
121 | m < 10 && (m = '0' + m) | ||
121 | var d = date.getDate(); //日 | 122 | var d = date.getDate(); //日 |
123 | d < 10 && (d = '0' + d) | ||
122 | if (end) { | 124 | if (end) { |
123 | return y + "/" + m + "/" + d + ' 23:59:59'; | 125 | return y + "/" + m + "/" + d + ' 23:59:59'; |
124 | } else { | 126 | } else { | ... | ... |
... | @@ -11,7 +11,8 @@ | ... | @@ -11,7 +11,8 @@ |
11 | <el-col :span="4"> | 11 | <el-col :span="4"> |
12 | <el-form-item label="开始日期" prop="startTime"> | 12 | <el-form-item label="开始日期" prop="startTime"> |
13 | <el-date-picker | 13 | <el-date-picker |
14 | type="datetime" | 14 | type="date" |
15 | :clearable="false" | ||
15 | class="width100" | 16 | class="width100" |
16 | placeholder="开始日期" | 17 | placeholder="开始日期" |
17 | :picker-options="pickerOptionsStart" | 18 | :picker-options="pickerOptionsStart" |
... | @@ -24,16 +25,18 @@ | ... | @@ -24,16 +25,18 @@ |
24 | <el-form-item label="结束日期" prop="endTime"> | 25 | <el-form-item label="结束日期" prop="endTime"> |
25 | <el-date-picker | 26 | <el-date-picker |
26 | class="width100" | 27 | class="width100" |
27 | type="datetime" | 28 | :clearable="false" |
29 | type="date" | ||
28 | placeholder="结束日期" | 30 | placeholder="结束日期" |
29 | :picker-options="pickerOptionsEnd" | 31 | :picker-options="pickerOptionsEnd" |
30 | v-model="form.endTime" | 32 | v-model="form.endTime" |
31 | value-format="yyyy/MM/dd HH:mm:ss" | 33 | value-format="yyyy/MM/dd HH:mm:ss" |
34 | @change="endTimeChange" | ||
32 | ></el-date-picker> | 35 | ></el-date-picker> |
33 | </el-form-item> | 36 | </el-form-item> |
34 | </el-col> | 37 | </el-col> |
35 | <!-- 操作按钮 --> | 38 | <!-- 操作按钮 --> |
36 | <el-col :span="4" class="btnColRight"> | 39 | <el-col :span="16" class="btnColRight"> |
37 | <btn nativeType="cz" @click="resetForm">重置</btn> | 40 | <btn nativeType="cz" @click="resetForm">重置</btn> |
38 | <btn nativeType="cx" @click="getProcessCounts">查询</btn> | 41 | <btn nativeType="cx" @click="getProcessCounts">查询</btn> |
39 | </el-col> | 42 | </el-col> |
... | @@ -60,7 +63,7 @@ export default { | ... | @@ -60,7 +63,7 @@ export default { |
60 | pickerOptionsStart: { | 63 | pickerOptionsStart: { |
61 | disabledDate: (time) => { | 64 | disabledDate: (time) => { |
62 | if (this.form.endTime) { | 65 | if (this.form.endTime) { |
63 | return time.getTime() >= new Date(this.form.endTime).getTime(); | 66 | return time.getTime() > new Date(this.form.endTime).getTime(); |
64 | } | 67 | } |
65 | }, | 68 | }, |
66 | }, | 69 | }, |
... | @@ -68,7 +71,7 @@ export default { | ... | @@ -68,7 +71,7 @@ export default { |
68 | pickerOptionsEnd: { | 71 | pickerOptionsEnd: { |
69 | disabledDate: (time) => { | 72 | disabledDate: (time) => { |
70 | if (this.form.startTime) { | 73 | if (this.form.startTime) { |
71 | return time.getTime() <= new Date(this.form.startTime).getTime(); | 74 | return time.getTime() < new Date(this.form.startTime).getTime(); |
72 | } | 75 | } |
73 | }, | 76 | }, |
74 | }, | 77 | }, |
... | @@ -88,6 +91,9 @@ export default { | ... | @@ -88,6 +91,9 @@ export default { |
88 | ...mapGetters(["dicData"]), | 91 | ...mapGetters(["dicData"]), |
89 | }, | 92 | }, |
90 | methods: { | 93 | methods: { |
94 | endTimeChange(val){ | ||
95 | this.form.endTime = timeFormat(new Date(val),true) | ||
96 | }, | ||
91 | //查询各区县办件数量 | 97 | //查询各区县办件数量 |
92 | async getProcessCounts () { | 98 | async getProcessCounts () { |
93 | this.pieChartsData = []; | 99 | this.pieChartsData = []; | ... | ... |
... | @@ -29,7 +29,8 @@ | ... | @@ -29,7 +29,8 @@ |
29 | <el-col :span="4"> | 29 | <el-col :span="4"> |
30 | <el-form-item label="开始日期" prop="startTime"> | 30 | <el-form-item label="开始日期" prop="startTime"> |
31 | <el-date-picker | 31 | <el-date-picker |
32 | type="datetime" | 32 | type="date" |
33 | :clearable="false" | ||
33 | class="width100" | 34 | class="width100" |
34 | placeholder="开始日期" | 35 | placeholder="开始日期" |
35 | :picker-options="pickerOptionsStart" | 36 | :picker-options="pickerOptionsStart" |
... | @@ -41,17 +42,19 @@ | ... | @@ -41,17 +42,19 @@ |
41 | <el-col :span="4"> | 42 | <el-col :span="4"> |
42 | <el-form-item label="结束日期" prop="endTime"> | 43 | <el-form-item label="结束日期" prop="endTime"> |
43 | <el-date-picker | 44 | <el-date-picker |
44 | type="datetime" | 45 | type="date" |
46 | :clearable="false" | ||
45 | class="width100" | 47 | class="width100" |
46 | placeholder="结束日期" | 48 | placeholder="结束日期" |
47 | :picker-options="pickerOptionsEnd" | 49 | :picker-options="pickerOptionsEnd" |
48 | v-model="form.endTime" | 50 | v-model="form.endTime" |
49 | value-format="yyyy/MM/dd HH:mm:ss" | 51 | value-format="yyyy/MM/dd HH:mm:ss" |
52 | @change="endTimeChange" | ||
50 | ></el-date-picker> | 53 | ></el-date-picker> |
51 | </el-form-item> | 54 | </el-form-item> |
52 | </el-col> | 55 | </el-col> |
53 | <!-- 操作按钮 --> | 56 | <!-- 操作按钮 --> |
54 | <el-col :span="4" class="btnColRight"> | 57 | <el-col :span="12" class="btnColRight"> |
55 | <btn nativeType="cz" @click="resetForm">重置</btn> | 58 | <btn nativeType="cz" @click="resetForm">重置</btn> |
56 | <btn nativeType="cx" @click="getSuucessRate">查询</btn> | 59 | <btn nativeType="cx" @click="getSuucessRate">查询</btn> |
57 | </el-col> | 60 | </el-col> |
... | @@ -78,7 +81,7 @@ export default { | ... | @@ -78,7 +81,7 @@ export default { |
78 | pickerOptionsStart: { | 81 | pickerOptionsStart: { |
79 | disabledDate: (time) => { | 82 | disabledDate: (time) => { |
80 | if (this.form.endTime) { | 83 | if (this.form.endTime) { |
81 | return time.getTime() >= new Date(this.form.endTime).getTime(); | 84 | return time.getTime() > new Date(this.form.endTime).getTime(); |
82 | } | 85 | } |
83 | }, | 86 | }, |
84 | }, | 87 | }, |
... | @@ -86,7 +89,7 @@ export default { | ... | @@ -86,7 +89,7 @@ export default { |
86 | pickerOptionsEnd: { | 89 | pickerOptionsEnd: { |
87 | disabledDate: (time) => { | 90 | disabledDate: (time) => { |
88 | if (this.form.startTime) { | 91 | if (this.form.startTime) { |
89 | return time.getTime() <= new Date(this.form.startTime).getTime(); | 92 | return time.getTime() < new Date(this.form.startTime).getTime(); |
90 | } | 93 | } |
91 | }, | 94 | }, |
92 | }, | 95 | }, |
... | @@ -108,6 +111,9 @@ export default { | ... | @@ -108,6 +111,9 @@ export default { |
108 | ...mapGetters(["dicData"]), | 111 | ...mapGetters(["dicData"]), |
109 | }, | 112 | }, |
110 | methods: { | 113 | methods: { |
114 | endTimeChange(val){ | ||
115 | this.form.endTime = timeFormat(new Date(val),true) | ||
116 | }, | ||
111 | async getSuucessRate () { | 117 | async getSuucessRate () { |
112 | this.recTypeArr = []; | 118 | this.recTypeArr = []; |
113 | this.chartData = []; | 119 | this.chartData = []; | ... | ... |
... | @@ -30,7 +30,8 @@ | ... | @@ -30,7 +30,8 @@ |
30 | <el-form-item label="开始日期"> | 30 | <el-form-item label="开始日期"> |
31 | <el-date-picker | 31 | <el-date-picker |
32 | class="width100" | 32 | class="width100" |
33 | type="datetime" | 33 | :clearable="false" |
34 | type="date" | ||
34 | placeholder="开始日期" | 35 | placeholder="开始日期" |
35 | :picker-options="pickerOptionsStart" | 36 | :picker-options="pickerOptionsStart" |
36 | v-model="form.startTime" | 37 | v-model="form.startTime" |
... | @@ -42,16 +43,18 @@ | ... | @@ -42,16 +43,18 @@ |
42 | <el-form-item label="结束日期"> | 43 | <el-form-item label="结束日期"> |
43 | <el-date-picker | 44 | <el-date-picker |
44 | class="width100" | 45 | class="width100" |
45 | type="datetime" | 46 | :clearable="false" |
47 | type="date" | ||
46 | placeholder="结束日期" | 48 | placeholder="结束日期" |
47 | :picker-options="pickerOptionsEnd" | 49 | :picker-options="pickerOptionsEnd" |
48 | v-model="form.endTime" | 50 | v-model="form.endTime" |
49 | value-format="yyyy/MM/dd HH:mm:ss" | 51 | value-format="yyyy/MM/dd HH:mm:ss" |
52 | @change="endTimeChange" | ||
50 | ></el-date-picker> | 53 | ></el-date-picker> |
51 | </el-form-item> | 54 | </el-form-item> |
52 | </el-col> | 55 | </el-col> |
53 | <!-- 操作按钮 --> | 56 | <!-- 操作按钮 --> |
54 | <el-col :span="4" class="btnColRight"> | 57 | <el-col :span="12" class="btnColRight"> |
55 | <btn nativeType="cz" @click="resetForm">重置</btn> | 58 | <btn nativeType="cz" @click="resetForm">重置</btn> |
56 | <btn nativeType="cx" @click="getProcessCounts">查询</btn> | 59 | <btn nativeType="cx" @click="getProcessCounts">查询</btn> |
57 | </el-col> | 60 | </el-col> |
... | @@ -78,7 +81,7 @@ export default { | ... | @@ -78,7 +81,7 @@ export default { |
78 | pickerOptionsStart: { | 81 | pickerOptionsStart: { |
79 | disabledDate: (time) => { | 82 | disabledDate: (time) => { |
80 | if (this.form.endTime) { | 83 | if (this.form.endTime) { |
81 | return time.getTime() >= new Date(this.form.endTime).getTime(); | 84 | return time.getTime() > new Date(this.form.endTime).getTime(); |
82 | } | 85 | } |
83 | }, | 86 | }, |
84 | }, | 87 | }, |
... | @@ -86,7 +89,7 @@ export default { | ... | @@ -86,7 +89,7 @@ export default { |
86 | pickerOptionsEnd: { | 89 | pickerOptionsEnd: { |
87 | disabledDate: (time) => { | 90 | disabledDate: (time) => { |
88 | if (this.form.startTime) { | 91 | if (this.form.startTime) { |
89 | return time.getTime() <= new Date(this.form.startTime).getTime(); | 92 | return time.getTime() < new Date(this.form.startTime).getTime(); |
90 | } | 93 | } |
91 | }, | 94 | }, |
92 | }, | 95 | }, |
... | @@ -109,6 +112,9 @@ export default { | ... | @@ -109,6 +112,9 @@ export default { |
109 | ...mapGetters(["dicData"]), | 112 | ...mapGetters(["dicData"]), |
110 | }, | 113 | }, |
111 | methods: { | 114 | methods: { |
115 | endTimeChange(val){ | ||
116 | this.form.endTime = timeFormat(new Date(val),true) | ||
117 | }, | ||
112 | async getProcessCounts(){ | 118 | async getProcessCounts(){ |
113 | this.chartData = []; | 119 | this.chartData = []; |
114 | let { result: res } = await efficient.getProcessCounts( | 120 | let { result: res } = await efficient.getProcessCounts( | ... | ... |
... | @@ -19,13 +19,13 @@ | ... | @@ -19,13 +19,13 @@ |
19 | <el-col :span="6"> | 19 | <el-col :span="6"> |
20 | <el-form-item label="接收日期" prop="receiveStartTime"> | 20 | <el-form-item label="接收日期" prop="receiveStartTime"> |
21 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" | 21 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" |
22 | clearable v-model="form.receiveStartTime" value-format="yyyy-MM-dd"></el-date-picker> | 22 | clearable v-model="form.receiveStartTime" value-format="yyyy/MM/dd HH:mm:ss"></el-date-picker> |
23 | </el-form-item> | 23 | </el-form-item> |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="6"> | 25 | <el-col :span="6"> |
26 | <el-form-item label="至" prop="receiveEndTime" label-width="35px"> | 26 | <el-form-item label="至" prop="receiveEndTime" label-width="35px"> |
27 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" | 27 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" |
28 | clearable v-model="form.receiveEndTime" value-format="yyyy-MM-dd"></el-date-picker> | 28 | clearable v-model="form.receiveEndTime" value-format="yyyy/MM/dd HH:mm:ss" @change="endTimeChange"></el-date-picker> |
29 | </el-form-item> | 29 | </el-form-item> |
30 | </el-col> | 30 | </el-col> |
31 | <el-col :span="6"> | 31 | <el-col :span="6"> |
... | @@ -107,6 +107,8 @@ import tableMixin from "@/mixins/tableMixin.js"; | ... | @@ -107,6 +107,8 @@ import tableMixin from "@/mixins/tableMixin.js"; |
107 | import { getReceiveDataReportPage } from "@/api/dataReport.js"; | 107 | import { getReceiveDataReportPage } from "@/api/dataReport.js"; |
108 | // 引入详情弹框 | 108 | // 引入详情弹框 |
109 | import dataDetails from "@/components/EditDialog"; | 109 | import dataDetails from "@/components/EditDialog"; |
110 | //引入日期处理方法 | ||
111 | import {timeFormat } from "@/utils/operation"; | ||
110 | export default { | 112 | export default { |
111 | name: "jsbwcx", | 113 | name: "jsbwcx", |
112 | mixins: [tableMixin], | 114 | mixins: [tableMixin], |
... | @@ -121,8 +123,8 @@ export default { | ... | @@ -121,8 +123,8 @@ export default { |
121 | let endDateVal = this.form.receiveEndTime; | 123 | let endDateVal = this.form.receiveEndTime; |
122 | if (endDateVal) { | 124 | if (endDateVal) { |
123 | return ( | 125 | return ( |
124 | time.getTime() > | 126 | time.getTime() >= |
125 | new Date(endDateVal).getTime() - 1 * 24 * 60 * 60 * 1000 | 127 | new Date(endDateVal).getTime() |
126 | ); | 128 | ); |
127 | } | 129 | } |
128 | }, | 130 | }, |
... | @@ -133,7 +135,7 @@ export default { | ... | @@ -133,7 +135,7 @@ export default { |
133 | if (beginDateVal) { | 135 | if (beginDateVal) { |
134 | return ( | 136 | return ( |
135 | time.getTime() < | 137 | time.getTime() < |
136 | new Date(beginDateVal).getTime() + 1 * 24 * 60 * 60 * 1000 | 138 | new Date(beginDateVal).getTime() |
137 | ); | 139 | ); |
138 | } | 140 | } |
139 | }, | 141 | }, |
... | @@ -213,6 +215,10 @@ export default { | ... | @@ -213,6 +215,10 @@ export default { |
213 | }; | 215 | }; |
214 | }, | 216 | }, |
215 | methods: { | 217 | methods: { |
218 | //截止日期变化 | ||
219 | endTimeChange(val){ | ||
220 | this.form.receiveEndTime = timeFormat(new Date(val),true) | ||
221 | }, | ||
216 | // 初始化数据 | 222 | // 初始化数据 |
217 | queryClick () { | 223 | queryClick () { |
218 | getReceiveDataReportPage({ ...this.form, ...this.formData }).then( | 224 | getReceiveDataReportPage({ ...this.form, ...this.formData }).then( | ... | ... |
... | @@ -19,13 +19,13 @@ | ... | @@ -19,13 +19,13 @@ |
19 | <el-col :span="6"> | 19 | <el-col :span="6"> |
20 | <el-form-item label="开始日期" prop="startTime"> | 20 | <el-form-item label="开始日期" prop="startTime"> |
21 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" | 21 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" |
22 | clearable v-model="form.startTime" value-format="yyyy-MM-dd"></el-date-picker> | 22 | clearable v-model="form.startTime" value-format="yyyy/MM/dd HH:mm:ss"></el-date-picker> |
23 | </el-form-item> | 23 | </el-form-item> |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="6"> | 25 | <el-col :span="6"> |
26 | <el-form-item label="结束日期" prop="endTime"> | 26 | <el-form-item label="结束日期" prop="endTime"> |
27 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" | 27 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" |
28 | clearable v-model="form.endTime" value-format="yyyy-MM-dd"></el-date-picker> | 28 | clearable v-model="form.endTime" value-format="yyyy/MM/dd HH:mm:ss" @change="endTimeChange"></el-date-picker> |
29 | </el-form-item> | 29 | </el-form-item> |
30 | </el-col> | 30 | </el-col> |
31 | <!-- 操作按钮 --> | 31 | <!-- 操作按钮 --> |
... | @@ -54,6 +54,8 @@ import { datas, sendThis } from "./data" | ... | @@ -54,6 +54,8 @@ import { datas, sendThis } from "./data" |
54 | import tableMixin from "@/mixins/tableMixin.js"; | 54 | import tableMixin from "@/mixins/tableMixin.js"; |
55 | import { getRecordLogPage } from "@/api/recordLog.js"; | 55 | import { getRecordLogPage } from "@/api/recordLog.js"; |
56 | import { mapGetters } from 'vuex' | 56 | import { mapGetters } from 'vuex' |
57 | //引入日期处理方法 | ||
58 | import {timeFormat } from "@/utils/operation"; | ||
57 | export default { | 59 | export default { |
58 | name: "dbrzcx", | 60 | name: "dbrzcx", |
59 | mixins: [tableMixin], | 61 | mixins: [tableMixin], |
... | @@ -66,9 +68,7 @@ export default { | ... | @@ -66,9 +68,7 @@ export default { |
66 | pickerOptionsStart: { | 68 | pickerOptionsStart: { |
67 | disabledDate: (time) => { | 69 | disabledDate: (time) => { |
68 | if (this.form.endTime) { | 70 | if (this.form.endTime) { |
69 | return ( | 71 | return time.getTime() >= new Date(this.form.endTime).getTime() |
70 | time.getTime() >= new Date(this.form.endTime).getTime() | ||
71 | ); | ||
72 | } | 72 | } |
73 | } | 73 | } |
74 | }, | 74 | }, |
... | @@ -76,9 +76,7 @@ export default { | ... | @@ -76,9 +76,7 @@ export default { |
76 | pickerOptionsEnd: { | 76 | pickerOptionsEnd: { |
77 | disabledDate: (time) => { | 77 | disabledDate: (time) => { |
78 | if (this.form.startTime) { | 78 | if (this.form.startTime) { |
79 | return ( | 79 | return time.getTime() < new Date(this.form.startTime).getTime() |
80 | time.getTime() <= new Date(this.form.startTime).getTime() | ||
81 | ); | ||
82 | } | 80 | } |
83 | } | 81 | } |
84 | }, | 82 | }, |
... | @@ -88,12 +86,6 @@ export default { | ... | @@ -88,12 +86,6 @@ export default { |
88 | startTime: '', | 86 | startTime: '', |
89 | endTime: '', | 87 | endTime: '', |
90 | }, | 88 | }, |
91 | // 分页 | ||
92 | pageData: { | ||
93 | total: 0, | ||
94 | pageSize: 10, | ||
95 | current: 1 | ||
96 | }, | ||
97 | // table数据 | 89 | // table数据 |
98 | tableData: { | 90 | tableData: { |
99 | // 表头 | 91 | // 表头 |
... | @@ -116,6 +108,10 @@ export default { | ... | @@ -116,6 +108,10 @@ export default { |
116 | sendThis(this); | 108 | sendThis(this); |
117 | }, | 109 | }, |
118 | methods: { | 110 | methods: { |
111 | //截止日期变化 | ||
112 | endTimeChange(val){ | ||
113 | this.form.endTime = timeFormat(new Date(val),true) | ||
114 | }, | ||
119 | queryClick () { | 115 | queryClick () { |
120 | getRecordLogPage({ ...this.form, ...this.pageData }).then(res => { | 116 | getRecordLogPage({ ...this.form, ...this.pageData }).then(res => { |
121 | if (res.code === 200) { | 117 | if (res.code === 200) { | ... | ... |
... | @@ -20,18 +20,18 @@ | ... | @@ -20,18 +20,18 @@ |
20 | <el-form-item label="汇交时间" prop="exchangeStartTime"> | 20 | <el-form-item label="汇交时间" prop="exchangeStartTime"> |
21 | <el-date-picker type="date" class="width100" placeholder="开始日期" clearable | 21 | <el-date-picker type="date" class="width100" placeholder="开始日期" clearable |
22 | :picker-options="pickerOptionsStart" v-model="form.exchangeStartTime" | 22 | :picker-options="pickerOptionsStart" v-model="form.exchangeStartTime" |
23 | value-format="yyyy-MM-dd"></el-date-picker> | 23 | value-format="yyyy/MM/dd HH:mm:ss"></el-date-picker> |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> |
26 | <el-col :span="6"> | 26 | <el-col :span="6"> |
27 | <el-form-item label="至" prop="exchangeStartTime" label-width="35px"> | 27 | <el-form-item label="至" prop="exchangeStartTime" label-width="35px"> |
28 | <el-date-picker type="date" class="width100" placeholder="结束日期" clearable | 28 | <el-date-picker type="date" class="width100" placeholder="结束日期" clearable |
29 | :picker-options="pickerOptionsEnd" v-model="form.exchangeEndTime" | 29 | :picker-options="pickerOptionsEnd" v-model="form.exchangeEndTime" |
30 | value-format="yyyy-MM-dd"></el-date-picker> | 30 | value-format="yyyy/MM/dd HH:mm:ss" @change="endTimeChange"></el-date-picker> |
31 | </el-form-item> | 31 | </el-form-item> |
32 | </el-col> | 32 | </el-col> |
33 | <el-col :span="6"> | 33 | <el-col :span="6"> |
34 | <el-form-item label="汇交状态" prop="state"> | 34 | <el-form-item label="汇交状态" prop="hjjg"> |
35 | <el-select v-model="form.hjjg" class="width100" clearable placeholder="汇交状态"> | 35 | <el-select v-model="form.hjjg" class="width100" clearable placeholder="汇交状态"> |
36 | <el-option v-for="item in dicData['sbhjzt']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 36 | <el-option v-for="item in dicData['sbhjzt']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
37 | </el-option> | 37 | </el-option> |
... | @@ -90,7 +90,8 @@ import tableMixin from "@/mixins/tableMixin.js"; | ... | @@ -90,7 +90,8 @@ import tableMixin from "@/mixins/tableMixin.js"; |
90 | // 引入详情弹框 | 90 | // 引入详情弹框 |
91 | import dataDetails from "@/components/EditDialog"; | 91 | import dataDetails from "@/components/EditDialog"; |
92 | import { getDataReportPage } from "@/api/dataReport.js"; | 92 | import { getDataReportPage } from "@/api/dataReport.js"; |
93 | 93 | //引入日期处理方法 | |
94 | import {timeFormat } from "@/utils/operation"; | ||
94 | export default { | 95 | export default { |
95 | name: "sbbwcx", | 96 | name: "sbbwcx", |
96 | mixins: [tableMixin], | 97 | mixins: [tableMixin], |
... | @@ -113,7 +114,7 @@ export default { | ... | @@ -113,7 +114,7 @@ export default { |
113 | pickerOptionsEnd: { | 114 | pickerOptionsEnd: { |
114 | disabledDate: (time) => { | 115 | disabledDate: (time) => { |
115 | if (this.form.exchangeStartTime) { | 116 | if (this.form.exchangeStartTime) { |
116 | return time.getTime() <= new Date(this.form.exchangeStartTime).getTime(); | 117 | return time.getTime() < new Date(this.form.exchangeStartTime).getTime(); |
117 | } | 118 | } |
118 | }, | 119 | }, |
119 | }, | 120 | }, |
... | @@ -122,6 +123,7 @@ export default { | ... | @@ -122,6 +123,7 @@ export default { |
122 | qxdm: "", // 行政区 | 123 | qxdm: "", // 行政区 |
123 | exchangeStartTime: "", // 开始日期 | 124 | exchangeStartTime: "", // 开始日期 |
124 | exchangeEndTime: "", // 结束日期 | 125 | exchangeEndTime: "", // 结束日期 |
126 | hjjg:"", //汇交状态 | ||
125 | bdcdyh: "", // 不动产单元号 | 127 | bdcdyh: "", // 不动产单元号 |
126 | ywh: "", // 业务号 | 128 | ywh: "", // 业务号 |
127 | qllx: "", // 权利类型 | 129 | qllx: "", // 权利类型 |
... | @@ -170,6 +172,10 @@ export default { | ... | @@ -170,6 +172,10 @@ export default { |
170 | sendThis(this); | 172 | sendThis(this); |
171 | }, | 173 | }, |
172 | methods: { | 174 | methods: { |
175 | //截止日期变化 | ||
176 | endTimeChange(val){ | ||
177 | this.form.exchangeEndTime = timeFormat(new Date(val),true) | ||
178 | }, | ||
173 | // 初始化数据 | 179 | // 初始化数据 |
174 | queryClick () { | 180 | queryClick () { |
175 | getDataReportPage({ ...this.form, ...this.pageData }).then((res) => { | 181 | getDataReportPage({ ...this.form, ...this.pageData }).then((res) => { |
... | @@ -196,6 +202,7 @@ export default { | ... | @@ -196,6 +202,7 @@ export default { |
196 | // 重置 | 202 | // 重置 |
197 | resetForm () { | 203 | resetForm () { |
198 | this.$refs.ruleForm.resetFields(); | 204 | this.$refs.ruleForm.resetFields(); |
205 | this.form.exchangeEndTime = "" | ||
199 | this.form.currentPage = 1 | 206 | this.form.currentPage = 1 |
200 | this.queryClick(); | 207 | this.queryClick(); |
201 | }, | 208 | }, | ... | ... |
-
Please register or sign in to post a comment