Compare commits

..

No commits in common. "e758ca98b0344a11bcef2774f65a3276fe45f326" and "ac2f915c9f258d5f18bb61bd97c88d6e825131d1" have entirely different histories.

3 changed files with 12 additions and 31 deletions

View File

@ -3,7 +3,7 @@ import { ElMessage } from "element-plus";
import tools from "@/utils/tools";
import router from "../router";
axios.defaults.baseURL = 'https://jzzf.longyou.gov.cn:998/'
// axios.defaults.baseURL = 'https://jzzf.longyou.gov.cn:998/'
axios.defaults.timeout = 120000;
// HTTP request 拦截器

View File

@ -61,32 +61,14 @@
</div>
<div class="select_item">
<el-date-picker
style="width: 45%"
v-model="search1.date"
type="date"
placeholder="开始时间"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
@change="searchT('date')"
/>
<span class="demonstration"> - </span>
<el-date-picker
style="width: 45%"
v-model="search1.date1"
type="date"
placeholder="结束时间"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
@change="searchT('date')"
/>
<!-- <el-date-picker
style="width: 100%"
:size="size"
type="daterange"
v-model="search1.date"
start-placeholder="开始时间"
end-placeholder="结束时间"
/> -->
type="date"
placeholder="选择时间"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
@change="searchT('date')"
/>
</div>
</div>
<el-table
@ -121,7 +103,7 @@
class="mt-4"
background
layout="prev, pager, next"
:pager-count="5"
:pager-count="5"
:page-size="data.pagination1.pageSize"
:total="data.pagination1.total"
:current-page="data.pagination1.current"
@ -201,7 +183,6 @@ const chooseTitle = ref(1);
const search1 = reactive({
name: "",
date: "",
date1: "",
});
const search2 = reactive({
name: "",
@ -283,10 +264,10 @@ const searchT = (val) => {
} else {
if (search1.date == null) {
search1.date = "";
search1.date1 = "";
throttle(getRegisteredDB, 50);
} else {
getRegisteredDB();
console.log(search);
}
}
};
@ -321,7 +302,7 @@ const getDate = () => {
const getRegisteredDB = () => {
http
.get(
`/api/ggfwyth/pg/zcdbry?size=${data.pagination1.pageSize}&page=${data.pagination1.current}&name=${search1.name}&startTime=${search1.date}&endTime=${search1.date1}`
`/api/ggfwyth/pg/zcdbry?size=${data.pagination1.pageSize}&page=${data.pagination1.current}&name=${search1.name}&jzrq=${search1.date}`
)
.then((res) => {
if (res.code == 200) {

View File

@ -15,8 +15,8 @@ export default defineConfig({
// 第一个代理
"/api": {
// 匹配到啥来进行方向代理
// target: "http://10.0.0.7:8095/", //刘进
target: "https://jzzf.longyou.gov.cn:998/", //线上
target: "http://10.0.0.7:8095/", //刘进
// target: "https://jzzf.longyou.gov.cn:998/", //线上
// target: "http://220.191.238.50:996/", //线上
// target: "https://zzdyyfb.dsjj.qz.gov.cn/web/mgop/gov-open/zj/2002428903/reserved/", //线上
changeOrigin: true, //是否支持跨域