Commit eb18c854 by zeyang

优化法律手册

parent f3f0ddaa
...@@ -1712,6 +1712,7 @@ ...@@ -1712,6 +1712,7 @@
]) ])
let sum1= ref(1); let sum1= ref(1);
//返回顶部
const c_backTop = () => { const c_backTop = () => {
let systemInfo = uni.getSystemInfoSync(); let systemInfo = uni.getSystemInfoSync();
uni.pageScrollTo({ uni.pageScrollTo({
...@@ -1754,7 +1755,7 @@ ...@@ -1754,7 +1755,7 @@
} }
//获取权限 //获取权限
const powerQuery = () => { const powerQuery = () => {
api.powerQuery({"systemType": "1","userId": '1',"sessionId": sessionId.value}).then(res => { api.powerQuery({"systemType": "1","userId": null,"sessionId": sessionId.value}).then(res => {
if (res['success']) { if (res['success']) {
powerCodes.value=res['data']['powerCodes']; powerCodes.value=res['data']['powerCodes'];
// powerCodes.value=['3','4','5']; // powerCodes.value=['3','4','5'];
...@@ -1782,6 +1783,7 @@ ...@@ -1782,6 +1783,7 @@
}); });
} }
//根据id查询编号
const queryNo = (id)=>{ const queryNo = (id)=>{
for(let i =0;i<showList.value.length;i++){ for(let i =0;i<showList.value.length;i++){
if(showList.value[i].id==id){ if(showList.value[i].id==id){
......
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