This commit is contained in:
parent
f78a3ad67a
commit
c54d14da8d
|
@ -1 +1 @@
|
||||||
import{_ as i}from"./error3-2af3a855.js";import{_ as s,e as _,f as t,q as e}from"./index-843bcc4c.js";const d={},c={class:"error_main"},o=e('<img class="error_main_img" src="'+i+'" alt=""><div class="error_main_content">请求未验证,请联系管理员</div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),r=[o];function n(a,v){return _(),t("div",c,r)}const f=s(d,[["render",n]]);export{f as default};
|
import{_ as i}from"./error3-2af3a855.js";import{_ as s,e as _,f as t,q as e}from"./index-306f53b4.js";const d={},c={class:"error_main"},o=e('<img class="error_main_img" src="'+i+'" alt=""><div class="error_main_content">请求未验证,请联系管理员</div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),r=[o];function n(a,v){return _(),t("div",c,r)}const f=s(d,[["render",n]]);export{f as default};
|
|
@ -1 +1 @@
|
||||||
import{_ as i}from"./error3-2af3a855.js";import{_ as s,e as _,f as t,q as e}from"./index-843bcc4c.js";const d={},c={class:"error_main"},o=e('<img class="error_main_img" src="'+i+'" alt=""><div class="error_main_content"> 抱歉,您暂无当前页面的访问权限,请联系管理员 </div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),r=[o];function n(a,v){return _(),t("div",c,r)}const f=s(d,[["render",n]]);export{f as default};
|
import{_ as i}from"./error3-2af3a855.js";import{_ as s,e as _,f as t,q as e}from"./index-306f53b4.js";const d={},c={class:"error_main"},o=e('<img class="error_main_img" src="'+i+'" alt=""><div class="error_main_content"> 抱歉,您暂无当前页面的访问权限,请联系管理员 </div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),r=[o];function n(a,v){return _(),t("div",c,r)}const f=s(d,[["render",n]]);export{f as default};
|
|
@ -1 +1 @@
|
||||||
import{_ as i,e,f as s,q as t}from"./index-843bcc4c.js";const _=""+new URL("error1-70b8ad8e.png",import.meta.url).href;const d={},r={class:"error_main"},c=t('<img class="error_main_img" src="'+_+'" alt=""><div class="error_main_content">抱歉,系统错误,您可以选择尝试清除缓存或联系管理员</div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),n=[c];function o(a,v){return e(),s("div",r,n)}const m=i(d,[["render",o]]);export{m as default};
|
import{_ as i,e,f as s,q as t}from"./index-306f53b4.js";const _=""+new URL("error1-70b8ad8e.png",import.meta.url).href;const d={},r={class:"error_main"},c=t('<img class="error_main_img" src="'+_+'" alt=""><div class="error_main_content">抱歉,系统错误,您可以选择尝试清除缓存或联系管理员</div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),n=[c];function o(a,v){return e(),s("div",r,n)}const m=i(d,[["render",o]]);export{m as default};
|
|
@ -1 +1 @@
|
||||||
import{_ as i,e,f as s,q as t}from"./index-843bcc4c.js";const _=""+new URL("error2-91a8e6e9.png",import.meta.url).href;const d={},r={class:"error_main"},c=t('<img class="error_main_img" src="'+_+'" alt=""><div class="error_main_content"> 抱歉,系统错误,您可以选择尝试清除缓存或联系管理员 </div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),n=[c];function o(a,v){return e(),s("div",r,n)}const m=i(d,[["render",o]]);export{m as default};
|
import{_ as i,e,f as s,q as t}from"./index-306f53b4.js";const _=""+new URL("error2-91a8e6e9.png",import.meta.url).href;const d={},r={class:"error_main"},c=t('<img class="error_main_img" src="'+_+'" alt=""><div class="error_main_content"> 抱歉,系统错误,您可以选择尝试清除缓存或联系管理员 </div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),n=[c];function o(a,v){return e(),s("div",r,n)}const m=i(d,[["render",o]]);export{m as default};
|
|
@ -1 +1 @@
|
||||||
import{P as o}from"./index-843bcc4c.js";function n(){return n=Object.assign?Object.assign.bind():function(a){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(a[r]=t[r])}return a},n.apply(null,arguments)}const _=Object.freeze(Object.defineProperty({__proto__:null,get default(){return n}},Symbol.toStringTag,{value:"Module"})),s={},l=Object.freeze(Object.defineProperty({__proto__:null,default:s},Symbol.toStringTag,{value:"Module"})),c=o(l);export{n as _,_ as a,c as r};
|
import{P as o}from"./index-306f53b4.js";function n(){return n=Object.assign?Object.assign.bind():function(a){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(a[r]=t[r])}return a},n.apply(null,arguments)}const _=Object.freeze(Object.defineProperty({__proto__:null,get default(){return n}},Symbol.toStringTag,{value:"Module"})),s={},l=Object.freeze(Object.defineProperty({__proto__:null,default:s},Symbol.toStringTag,{value:"Module"})),c=o(l);export{n as _,_ as a,c as r};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{_ as q,a as z,b as I}from"./table_c-9de598ee.js";import{_ as M,u as j,a as N,r as v,d as R,y as w,b as A,z as i,e as n,f as d,A as p,D as u,g as l,x as F,E,l as D,v as _,F as k,h as U,G as X,p as G,m as K}from"./index-843bcc4c.js";/* empty css */const h=t=>(G("data-v-68919937"),t=t(),K(),t),L={class:"dialogPage"},O={class:"my-header"},T={class:"tabelPart"},$={class:"bo"},H={class:"title"},J={class:"title_top"},Q=h(()=>l("img",{src:q,alt:"",style:{"margin-right":"10px"}},null,-1)),W={key:0,class:"name"},Y={key:1,class:"name"},Z=h(()=>l("img",{src:z,alt:"",style:{"margin-left":"10px"}},null,-1)),ee=h(()=>l("img",{class:"title_botton",src:I,alt:""},null,-1)),te={style:{width:"100%",height:"calc(100% - 110px)"}},ae={class:"pagePart"},le={__name:"dialog",props:{dialogShow:{type:Boolean,default:()=>!1},columns:{type:Array,default:()=>[]},tableData:{type:Array,default:()=>[]},title:{type:String,default:()=>""},pagination:{type:Object,required:!0},showXq:{type:Boolean,default:()=>!0},dj:{type:Boolean,default:()=>!1}},emits:["close","handle","loadTables","openMessage"],setup(t,{emit:g}){const a=t;j(),N();const x=(o,r,f)=>{a.dj&&(console.log(o,a.dj,"rwxq"),g("openMessage",{identNo:o.identNo}))},c=v(),s=R({title:"",columns:[],tableData:[],pagination:{}}),m=v(Math.random());w(()=>a.dialogShow,(o,r)=>{c.value=o,s.columns=a.columns}),w(()=>a.tableData,(o,r)=>{s.tableData=a.tableData,m.value=Math.random()}),A(()=>{c.value=a.dialogShow,s.columns=a.columns,s.title=a.title,s.tableData=a.tableData,document.querySelector(".el-pagination__total")});const S=()=>{c.value=!1,g("close")},C=o=>{g("handle",o)};return(o,r)=>{const f=i("el-icon"),y=i("el-table-column"),V=i("el-table"),B=i("el-pagination"),P=i("el-dialog");return n(),d("div",L,[p(P,{modelValue:c.value,"onUpdate:modelValue":r[1]||(r[1]=e=>c.value=e),width:"80vw","show-close":!1,center:"","close-on-click-modal":!1,"close-on-press-escape":!1},{header:u(({close:e,titleId:b,titleClass:oe})=>[l("div",O,[p(f,{size:"26",color:"#fff",onClick:S},{default:u(()=>[p(F(E))]),_:1})])]),default:u(()=>[l("div",T,[l("div",$,[l("div",H,[l("div",J,[Q,t.showXq?(n(),d("div",W,D(t.title)+"详情",1)):(n(),d("div",Y,D(t.title),1)),Z]),ee])]),l("div",te,[(n(),_(V,{data:s.tableData,height:"100%",key:m.value,"header-cell-style":{background:"#008FCD"},onRowClick:x},{default:u(()=>[(n(!0),d(k,null,U(s.columns,e=>(n(),d(k,null,[e.type==="slot"?(n(),_(y,{key:e.label,"show-overflow-tooltip":!0,label:e.label,property:e.property,align:e.align||"center"},{default:u(b=>[X(o.$slots,e.property,{currentCol:e,currentData:b.row},void 0,!0)]),_:2},1032,["label","property","align"])):(n(),_(y,{key:1,property:e.property,label:e.label,"show-overflow-tooltip":!0,align:e.align||"center"},null,8,["property","label","align"]))],64))),256))]),_:3},8,["data"]))]),l("div",ae,[p(B,{background:"",layout:"prev, pager, next,total","page-size":t.pagination.pageSize,total:t.pagination.total,"prev-text":"上一页","next-text":"下一页",onCurrentChange:C,"current-page":t.pagination.currentPage,"onUpdate:currentPage":r[0]||(r[0]=e=>t.pagination.currentPage=e)},null,8,["page-size","total","current-page"])])])]),_:3},8,["modelValue"])])}}},ce=M(le,[["__scopeId","data-v-68919937"]]);export{ce as D};
|
import{_ as q,a as z,b as I}from"./table_c-9de598ee.js";import{_ as M,u as j,a as N,r as v,d as R,y as w,b as A,z as i,e as n,f as d,A as p,D as u,g as l,x as F,E,l as D,v as _,F as k,h as U,G as X,p as G,m as K}from"./index-306f53b4.js";/* empty css */const h=t=>(G("data-v-68919937"),t=t(),K(),t),L={class:"dialogPage"},O={class:"my-header"},T={class:"tabelPart"},$={class:"bo"},H={class:"title"},J={class:"title_top"},Q=h(()=>l("img",{src:q,alt:"",style:{"margin-right":"10px"}},null,-1)),W={key:0,class:"name"},Y={key:1,class:"name"},Z=h(()=>l("img",{src:z,alt:"",style:{"margin-left":"10px"}},null,-1)),ee=h(()=>l("img",{class:"title_botton",src:I,alt:""},null,-1)),te={style:{width:"100%",height:"calc(100% - 110px)"}},ae={class:"pagePart"},le={__name:"dialog",props:{dialogShow:{type:Boolean,default:()=>!1},columns:{type:Array,default:()=>[]},tableData:{type:Array,default:()=>[]},title:{type:String,default:()=>""},pagination:{type:Object,required:!0},showXq:{type:Boolean,default:()=>!0},dj:{type:Boolean,default:()=>!1}},emits:["close","handle","loadTables","openMessage"],setup(t,{emit:g}){const a=t;j(),N();const x=(o,r,f)=>{a.dj&&(console.log(o,a.dj,"rwxq"),g("openMessage",{identNo:o.identNo}))},c=v(),s=R({title:"",columns:[],tableData:[],pagination:{}}),m=v(Math.random());w(()=>a.dialogShow,(o,r)=>{c.value=o,s.columns=a.columns}),w(()=>a.tableData,(o,r)=>{s.tableData=a.tableData,m.value=Math.random()}),A(()=>{c.value=a.dialogShow,s.columns=a.columns,s.title=a.title,s.tableData=a.tableData,document.querySelector(".el-pagination__total")});const S=()=>{c.value=!1,g("close")},C=o=>{g("handle",o)};return(o,r)=>{const f=i("el-icon"),y=i("el-table-column"),V=i("el-table"),B=i("el-pagination"),P=i("el-dialog");return n(),d("div",L,[p(P,{modelValue:c.value,"onUpdate:modelValue":r[1]||(r[1]=e=>c.value=e),width:"80vw","show-close":!1,center:"","close-on-click-modal":!1,"close-on-press-escape":!1},{header:u(({close:e,titleId:b,titleClass:oe})=>[l("div",O,[p(f,{size:"26",color:"#fff",onClick:S},{default:u(()=>[p(F(E))]),_:1})])]),default:u(()=>[l("div",T,[l("div",$,[l("div",H,[l("div",J,[Q,t.showXq?(n(),d("div",W,D(t.title)+"详情",1)):(n(),d("div",Y,D(t.title),1)),Z]),ee])]),l("div",te,[(n(),_(V,{data:s.tableData,height:"100%",key:m.value,"header-cell-style":{background:"#008FCD"},onRowClick:x},{default:u(()=>[(n(!0),d(k,null,U(s.columns,e=>(n(),d(k,null,[e.type==="slot"?(n(),_(y,{key:e.label,"show-overflow-tooltip":!0,label:e.label,property:e.property,align:e.align||"center"},{default:u(b=>[X(o.$slots,e.property,{currentCol:e,currentData:b.row},void 0,!0)]),_:2},1032,["label","property","align"])):(n(),_(y,{key:1,property:e.property,label:e.label,"show-overflow-tooltip":!0,align:e.align||"center"},null,8,["property","label","align"]))],64))),256))]),_:3},8,["data"]))]),l("div",ae,[p(B,{background:"",layout:"prev, pager, next,total","page-size":t.pagination.pageSize,total:t.pagination.total,"prev-text":"上一页","next-text":"下一页",onCurrentChange:C,"current-page":t.pagination.currentPage,"onUpdate:currentPage":r[0]||(r[0]=e=>t.pagination.currentPage=e)},null,8,["page-size","total","current-page"])])])]),_:3},8,["modelValue"])])}}},ce=M(le,[["__scopeId","data-v-68919937"]]);export{ce as D};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{_ as i}from"./error6-f64d959f.js";import{_ as e,e as s,f as t,q as _}from"./index-843bcc4c.js";const d={},c={class:"error_main"},a=_('<img class="error_main_img" src="'+i+'" alt=""><div class="error_main_content">正在建设中,敬请期待</div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),o=[a];function r(n,v){return s(),t("div",c,o)}const p=e(d,[["render",r]]);export{p as default};
|
import{_ as i}from"./error6-f64d959f.js";import{_ as e,e as s,f as t,q as _}from"./index-306f53b4.js";const d={},c={class:"error_main"},a=_('<img class="error_main_img" src="'+i+'" alt=""><div class="error_main_content">正在建设中,敬请期待</div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),o=[a];function r(n,v){return s(),t("div",c,o)}const p=e(d,[["render",r]]);export{p as default};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{_ as i}from"./error6-f64d959f.js";import{_ as s,e as t,f as o,q as e}from"./index-843bcc4c.js";const n={},_={class:"error_main"},d=e('<img class="error_main_img" src="'+i+'" alt=""><div class="error_main_content">暂无相关内容,请退回上一页</div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),c=[d];function r(a,v){return t(),o("div",_,c)}const u=s(n,[["render",r]]);export{u as default};
|
import{_ as i}from"./error6-f64d959f.js";import{_ as s,e as t,f as o,q as e}from"./index-306f53b4.js";const n={},_={class:"error_main"},d=e('<img class="error_main_img" src="'+i+'" alt=""><div class="error_main_content">暂无相关内容,请退回上一页</div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),c=[d];function r(a,v){return t(),o("div",_,c)}const u=s(n,[["render",r]]);export{u as default};
|
|
@ -1 +1 @@
|
||||||
import{_ as i,e,f as t,q as s}from"./index-843bcc4c.js";const r=""+new URL("error4-af058904.png",import.meta.url).href;const o={},d={class:"error_main"},n=s('<img class="error_main_img" src="'+r+'" alt=""><div class="error_main_content">网络错误,请检查网络连接是否正常</div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),_=[n];function c(a,v){return e(),t("div",d,_)}const m=i(o,[["render",c]]);export{m as default};
|
import{_ as i,e,f as t,q as s}from"./index-306f53b4.js";const r=""+new URL("error4-af058904.png",import.meta.url).href;const o={},d={class:"error_main"},n=s('<img class="error_main_img" src="'+r+'" alt=""><div class="error_main_content">网络错误,请检查网络连接是否正常</div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),_=[n];function c(a,v){return e(),t("div",d,_)}const m=i(o,[["render",c]]);export{m as default};
|
|
@ -1 +1 @@
|
||||||
import{_ as i,e as s,f as e,q as t}from"./index-843bcc4c.js";const d=""+new URL("error5-ddc90da0.png",import.meta.url).href;const n={},r={class:"error_main"},_=t('<img class="error_main_img" src="'+d+'" alt=""><div class="error_main_content">暂无相关搜索结果,请更换关键字搜索</div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),c=[_];function o(a,v){return s(),e("div",r,c)}const m=i(n,[["render",o]]);export{m as default};
|
import{_ as i,e as s,f as e,q as t}from"./index-306f53b4.js";const d=""+new URL("error5-ddc90da0.png",import.meta.url).href;const n={},r={class:"error_main"},_=t('<img class="error_main_img" src="'+d+'" alt=""><div class="error_main_content">暂无相关搜索结果,请更换关键字搜索</div><div class="unit"><div> 应用归属单位 </div><div> 浙江省龙游县数据局 </div></div><div class="unit"><div> 应用管理员 </div><div> 王昊 </div></div><div class="unit"><div> 联系方式 </div><div> 18368625409 </div></div>',5),c=[_];function o(a,v){return s(),e("div",r,c)}const m=i(n,[["render",o]]);export{m as default};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -8,7 +8,7 @@
|
||||||
<title>公共服务一体化驾驶舱</title>
|
<title>公共服务一体化驾驶舱</title>
|
||||||
<!-- <script type="text/javascript"
|
<!-- <script type="text/javascript"
|
||||||
src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=2KLQUajGSpNL2DInxT6BwdPklMNpG3hw"></script> -->
|
src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=2KLQUajGSpNL2DInxT6BwdPklMNpG3hw"></script> -->
|
||||||
<script type="module" crossorigin src="./assets/index-843bcc4c.js"></script>
|
<script type="module" crossorigin src="./assets/index-306f53b4.js"></script>
|
||||||
<link rel="stylesheet" href="./assets/index-9c06b95a.css">
|
<link rel="stylesheet" href="./assets/index-9c06b95a.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { ElMessage } from "element-plus";
|
||||||
import tools from "@/utils/tools";
|
import tools from "@/utils/tools";
|
||||||
import router from "../router";
|
import router from "../router";
|
||||||
|
|
||||||
axios.defaults.baseURL = 'http://220.191.238.50:996/'
|
// axios.defaults.baseURL = 'http://220.191.238.50:996/'
|
||||||
axios.defaults.timeout = 120000;
|
axios.defaults.timeout = 120000;
|
||||||
|
|
||||||
// HTTP request 拦截器
|
// HTTP request 拦截器
|
||||||
|
|
|
@ -352,6 +352,7 @@
|
||||||
:class="
|
:class="
|
||||||
item.label == '学校' || item.label == '班级' ? 'widu' : ''
|
item.label == '学校' || item.label == '班级' ? 'widu' : ''
|
||||||
"
|
"
|
||||||
|
v-if="rightList?.length != 0"
|
||||||
>
|
>
|
||||||
{{ item.label }}
|
{{ item.label }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -866,13 +867,15 @@ const onClickTag2 = (name, label) => {
|
||||||
* 判断右侧显示的为表格还是列表,0为列表,1为表格
|
* 判断右侧显示的为表格还是列表,0为列表,1为表格
|
||||||
*/
|
*/
|
||||||
const rightType = ref(0);
|
const rightType = ref(0);
|
||||||
|
const rightTypeShow = ref(false);
|
||||||
//存放右侧单条数据
|
//存放右侧单条数据
|
||||||
const rightList = ref([]);
|
const rightList = ref([]);
|
||||||
//获取右侧表格数据
|
//获取右侧表格数据
|
||||||
const getTable = (url, csh) => {
|
const getTable = (url, csh) => {
|
||||||
/**
|
/**
|
||||||
* csh为true时,代表初始化,为false时,代表分页
|
* 判断
|
||||||
* rightType为1,表示显示表格,0为列表
|
* @param {boolean} csh -为true时,代表初始化,为false时,代表分页
|
||||||
|
* @param {*} rightType -为1,表示显示表格,0为列表
|
||||||
*/
|
*/
|
||||||
http
|
http
|
||||||
.get(url, {
|
.get(url, {
|
||||||
|
@ -887,13 +890,23 @@ const getTable = (url, csh) => {
|
||||||
pagination.total = res.count;
|
pagination.total = res.count;
|
||||||
}
|
}
|
||||||
if (csh) {
|
if (csh) {
|
||||||
|
// 判断是否为初始化
|
||||||
if (tableType.data?.length > 1) {
|
if (tableType.data?.length > 1) {
|
||||||
|
// 如果数据长度大于1,则显示表格
|
||||||
rightType.value = 1;
|
rightType.value = 1;
|
||||||
} else {
|
} else {
|
||||||
|
// 如果数据长度小于等于1,则显示列表
|
||||||
if (tableType.data == null || tableType.data.length == 0) {
|
if (tableType.data == null || tableType.data.length == 0) {
|
||||||
|
// 如果数据为空,则清空列表
|
||||||
rightList.value.length = 0;
|
rightList.value.length = 0;
|
||||||
} else {
|
} else {
|
||||||
|
// 如果数据不为空,则将数据赋值给列表
|
||||||
rightList.value = tableType.data[0];
|
rightList.value = tableType.data[0];
|
||||||
|
rightTypeShow.value = false;
|
||||||
|
// if (res.data[0].gzsj === null) {
|
||||||
|
// rightTypeShow.value = true;
|
||||||
|
// console.log(111, res.data[0].gzsj, rightTypeShow.value);
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
rightType.value = 0;
|
rightType.value = 0;
|
||||||
}
|
}
|
||||||
|
@ -955,9 +968,7 @@ const getData = (identNo) => {
|
||||||
camerali.name = camera.sbmc;
|
camerali.name = camera.sbmc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (Array.isArray(dataMyTag.myTag)) {
|
if (Array.isArray(dataMyTag.myTag)) {
|
||||||
|
|
||||||
dataMyTag.myTag.forEach((item) => {
|
dataMyTag.myTag.forEach((item) => {
|
||||||
item.show =
|
item.show =
|
||||||
rybqxx && rybqxx.some((itemm) => itemm.bq === item.name) ? 1 : 0;
|
rybqxx && rybqxx.some((itemm) => itemm.bq === item.name) ? 1 : 0;
|
||||||
|
|
|
@ -1831,6 +1831,7 @@ const autoScroll = () => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
onBeforeMount(async () => {
|
onBeforeMount(async () => {
|
||||||
|
|
||||||
getData();
|
getData();
|
||||||
getfw();
|
getfw();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
|
@ -578,9 +578,10 @@ const tapshow = (parentId, childId) => {
|
||||||
const toggleVisibility = (val, show) => {
|
const toggleVisibility = (val, show) => {
|
||||||
// console.log(val, show, "最低生活保障");
|
// console.log(val, show, "最低生活保障");
|
||||||
data.tabPosition.forEach((parent) => {
|
data.tabPosition.forEach((parent) => {
|
||||||
parent.visible = false;
|
|
||||||
if (parent.id === val.id) {
|
if (parent.id === val.id) {
|
||||||
parent.visible = !parent.visible;
|
parent.visible = !parent.visible;
|
||||||
|
} else {
|
||||||
|
parent.visible = false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (show) {
|
if (show) {
|
||||||
|
|
Loading…
Reference in New Issue