main
limingtao 11 months ago
parent 508fc88571
commit 905bd8dfdd
  1. 12
      App.vue
  2. 135
      components/tabbar.vue
  3. 44
      libs/function/tabbar.js
  4. 4
      main.js
  5. 197
      npminstall-debug.log
  6. 61
      pages.json
  7. 314
      pages/approve/index.vue
  8. 40
      pages/governance/index.vue
  9. 24
      pages/index/index.vue
  10. 21
      pages/investigation/index.vue
  11. 1
      pages/investigation/task.vue
  12. 16
      pages/logIn/logIn.vue
  13. 17
      pages/mine/index.vue

@ -2,6 +2,18 @@
export default { export default {
onLaunch: function() { onLaunch: function() {
console.log('App Launch') console.log('App Launch')
// 1tabBar
// uni.setTabBarItem({
// index: 1,
// visible:false,
// success: function () {
// console.log('TabBar item hidden successfully');
// },
// fail: function (err) {
// console.error('Failed to hide TabBar item:', err);
// }
// });
uni.hideTabBar()
}, },
onShow: function() { onShow: function() {
console.log('App Show') console.log('App Show')

@ -0,0 +1,135 @@
<template>
<view>
<u-tabbar activeColor="#2294E6" :value="name" :fixed="true" :placeholder="false" :safeAreaInsetBottom="false">
<u-tabbar-item :text="item.text" :name='item.text' @click="to(item)" v-for="(item,index) in list">
<image class="u-page__item__slot-icon" slot="active-icon" :src="item.selectedIconPath"></image>
<image class="u-page__item__slot-icon" slot="inactive-icon" :src="item.iconPath"></image>
</u-tabbar-item>
</u-tabbar>
</view>
</template>
<script>
export default {
props: {
name: {
default: '首页',
// type:'String'
}
},
watch: {
// path: {
// handler(newVal, oldVal) {
// // this.initVal()
// },
// // immediate truehandler
// immediate: true
// }
},
data() {
return {
$: this.$,
home: {
// 25 tab
"pagePath": "/pages/index/index",
// pages
"iconPath": "/static/nav/index.png",
// icon 40kb 81px * 81px
"selectedIconPath": "/static/nav/index_active.png",
//
"text": "首页"
// tab
},
approve: {
"pagePath": "/pages/approve/index",
"iconPath": "/static/nav/jobfind.png",
"selectedIconPath": "/static/nav/jobfind_active.png",
"text": "审批"
},
investigation: {
"pagePath": "/pages/investigation/index",
"iconPath": "/static/nav/job.png",
"selectedIconPath": "/static/nav/job_active.png",
"text": "排查"
},
governance: {
"pagePath": "/pages/governance/index",
"iconPath": "/static/nav/lean.png",
"selectedIconPath": "/static/nav/lean_active.png",
"text": "治理"
},
mine: {
"pagePath": "/pages/mine/index",
"iconPath": "/static/nav/mine.png",
"selectedIconPath": "/static/nav/mine_active.png",
"text": "我的"
},
"list": [
],
value: 0
}
},
created() {
this.initTab()
},
methods: {
to(item, index) {
this.value = index
uni.switchTab({
url: item.pagePath
})
},
initVal() {
for (let i in this.list) {
if ('/pages/' + this.path + '/index' == this.list[i].pagePath) {
this.value = i
}
}
},
initTab() {
let role = this.$.getData('userInfo').role || []
if (role.includes('领导')) {
this.list.push(this.home)
this.list.push(this.approve)
this.list.push(this.investigation)
this.list.push(this.governance)
this.list.push(this.mine)
}
if (role.includes('排查人员') && !role.includes('领导')) {
this.list.push(this.home)
// this.list.push(this.approve)
this.list.push(this.investigation)
this.list.push(this.governance)
this.list.push(this.mine)
}
if (!role.includes('排查人员') && !role.includes('领导')) {
this.list.push(this.home)
// this.list.push(this.approve)
// this.list.push(this.investigation)
this.list.push(this.governance)
this.list.push(this.mine)
}
for (let i in this.list) {
if ('/pages/' + this.path + '/index' == this.list[i].pagePath) {
// console.log('/pages/' + this.path + '/index' == this.list[i].pagePath,this.list.length,i)
// this.value = Number(i)
}
}
// console.log('/pages/'+this.path+'/index')
// console.log('/pages/' + this.path + '/index')
}
}
}
</script>
<style lang="scss" scoped>
.u-page__item__slot-icon {
width: 46rpx;
height: 46rpx;
}
</style>

@ -0,0 +1,44 @@
import $ from '@/common/globalJs/globalJs.js'
function tabbar() {
// let role = $.getData('userInfo').role || []
// console.log('拉拉')
// if (!role.includes('领导')) {
// uni.setTabBarItem({
// index: 1,
// visible: false,
// "pagePath": "pages/approve/index",
// "iconPath": "static/nav/jobfind.png",
// "selectedIconPath": "static/nav/jobfind_active.png",
// "text": "审批"
// });
// }
// if (!role.includes('排查人员') && !role.includes('领导')) {
// uni.setTabBarItem({
// index: 2,
// visible: false,
// "pagePath": "pages/investigation/index",
// "iconPath": "static/nav/job.png",
// "selectedIconPath": "static/nav/job_active.png",
// "text": "排查"
// });
// }
// if (!role.includes('治理人员') && !role.includes('领导')) {
// uni.setTabBarItem({
// index: 3,
// visible: false,
// "pagePath": "pages/governance/index",
// "iconPath": "static/nav/lean.png",
// "selectedIconPath": "static/nav/lean_active.png",
// "text": "治理"
// });
// }
// console.log($.getData('userInfo'))
// return uni.getSystemInfoSync().platform;
};
export default {
tabbar
}

@ -6,6 +6,10 @@ Vue.config.productionTip = false
// 全局方法 // 全局方法
import $ from './common/globalJs/globalJs.js' import $ from './common/globalJs/globalJs.js'
Vue.prototype.$ = $ Vue.prototype.$ = $
// Vue.prototype.$tabFun = tabFun
// console.log(tabbar.tabbar)
// // 拦截器 // // 拦截器
import request from './common/globalJs/request.js' import request from './common/globalJs/request.js'
// // 全局配置 // // 全局配置

@ -0,0 +1,197 @@
{
root: 'D:\\项目\\自己\\曹\\hitap-chat',
registry: 'https://registry.npmmirror.com',
pkgs: [],
production: false,
cacheStrict: false,
cacheDir: 'C:\\Users\\sybil\\.npminstall_tarball',
env: {
npm_config_registry: 'https://registry.npmmirror.com',
npm_config_argv: '{"remain":[],"cooked":["--fix-bug-versions","--china","--userconfig=C:\\\\Users\\\\sybil\\\\.cnpmrc","--disturl=https://cdn.npmmirror.com/binaries/node","--registry=https://registry.npmmirror.com"],"original":["--fix-bug-versions","--china","--userconfig=C:\\\\Users\\\\sybil\\\\.cnpmrc","--disturl=https://cdn.npmmirror.com/binaries/node","--registry=https://registry.npmmirror.com"]}',
npm_config_user_agent: 'npminstall/7.11.1 npm/? node/v18.16.1 win32 x64',
npm_config_cache: 'C:\\Users\\sybil\\.npminstall_tarball',
NODE: 'D:\\nodejs\\node.exe',
npm_node_execpath: 'D:\\nodejs\\node.exe',
npm_execpath: 'D:\\nvm\\nvm\\v18.16.1\\node_modules\\cnpm\\node_modules\\npminstall\\bin\\install.js',
npm_config_userconfig: 'C:\\Users\\sybil\\.cnpmrc',
npm_config_disturl: 'https://cdn.npmmirror.com/binaries/node',
npm_config_r: 'https://registry.npmmirror.com',
COREPACK_NPM_REGISTRY: 'https://registry.npmmirror.com',
EDGEDRIVER_CDNURL: 'https://npmmirror.com/mirrors/edgedriver',
NODEJS_ORG_MIRROR: 'https://cdn.npmmirror.com/binaries/node',
NVM_NODEJS_ORG_MIRROR: 'https://cdn.npmmirror.com/binaries/node',
PHANTOMJS_CDNURL: 'https://cdn.npmmirror.com/binaries/phantomjs',
CHROMEDRIVER_CDNURL: 'https://cdn.npmmirror.com/binaries/chromedriver',
OPERADRIVER_CDNURL: 'https://cdn.npmmirror.com/binaries/operadriver',
CYPRESS_DOWNLOAD_PATH_TEMPLATE: 'https://cdn.npmmirror.com/binaries/cypress/${version}/${platform}-${arch}/cypress.zip',
ELECTRON_MIRROR: 'https://cdn.npmmirror.com/binaries/electron/',
ELECTRON_BUILDER_BINARIES_MIRROR: 'https://cdn.npmmirror.com/binaries/electron-builder-binaries/',
SASS_BINARY_SITE: 'https://cdn.npmmirror.com/binaries/node-sass',
SWC_BINARY_SITE: 'https://cdn.npmmirror.com/binaries/node-swc',
NWJS_URLBASE: 'https://cdn.npmmirror.com/binaries/nwjs/v',
PUPPETEER_DOWNLOAD_HOST: 'https://cdn.npmmirror.com/binaries/chrome-for-testing',
PUPPETEER_DOWNLOAD_BASE_URL: 'https://cdn.npmmirror.com/binaries/chrome-for-testing',
PLAYWRIGHT_DOWNLOAD_HOST: 'https://cdn.npmmirror.com/binaries/playwright',
SENTRYCLI_CDNURL: 'https://cdn.npmmirror.com/binaries/sentry-cli',
SAUCECTL_INSTALL_BINARY_MIRROR: 'https://cdn.npmmirror.com/binaries/saucectl',
RE2_DOWNLOAD_MIRROR: 'https://cdn.npmmirror.com/binaries/node-re2',
RE2_DOWNLOAD_SKIP_PATH: 'true',
PRISMA_ENGINES_MIRROR: 'https://cdn.npmmirror.com/binaries/prisma',
npm_config_better_sqlite3_binary_host: 'https://cdn.npmmirror.com/binaries/better-sqlite3',
npm_config_keytar_binary_host: 'https://cdn.npmmirror.com/binaries/keytar',
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs',
npm_rootpath: 'D:\\项目\\自己\\曹\\hitap-chat',
INIT_CWD: 'D:\\项目\\自己\\曹\\hitap-chat'
},
binaryMirrors: {
ENVS: {
COREPACK_NPM_REGISTRY: 'https://registry.npmmirror.com',
EDGEDRIVER_CDNURL: 'https://npmmirror.com/mirrors/edgedriver',
NODEJS_ORG_MIRROR: 'https://cdn.npmmirror.com/binaries/node',
NVM_NODEJS_ORG_MIRROR: 'https://cdn.npmmirror.com/binaries/node',
PHANTOMJS_CDNURL: 'https://cdn.npmmirror.com/binaries/phantomjs',
CHROMEDRIVER_CDNURL: 'https://cdn.npmmirror.com/binaries/chromedriver',
OPERADRIVER_CDNURL: 'https://cdn.npmmirror.com/binaries/operadriver',
CYPRESS_DOWNLOAD_PATH_TEMPLATE: 'https://cdn.npmmirror.com/binaries/cypress/${version}/${platform}-${arch}/cypress.zip',
ELECTRON_MIRROR: 'https://cdn.npmmirror.com/binaries/electron/',
ELECTRON_BUILDER_BINARIES_MIRROR: 'https://cdn.npmmirror.com/binaries/electron-builder-binaries/',
SASS_BINARY_SITE: 'https://cdn.npmmirror.com/binaries/node-sass',
SWC_BINARY_SITE: 'https://cdn.npmmirror.com/binaries/node-swc',
NWJS_URLBASE: 'https://cdn.npmmirror.com/binaries/nwjs/v',
PUPPETEER_DOWNLOAD_HOST: 'https://cdn.npmmirror.com/binaries/chrome-for-testing',
PUPPETEER_DOWNLOAD_BASE_URL: 'https://cdn.npmmirror.com/binaries/chrome-for-testing',
PLAYWRIGHT_DOWNLOAD_HOST: 'https://cdn.npmmirror.com/binaries/playwright',
SENTRYCLI_CDNURL: 'https://cdn.npmmirror.com/binaries/sentry-cli',
SAUCECTL_INSTALL_BINARY_MIRROR: 'https://cdn.npmmirror.com/binaries/saucectl',
RE2_DOWNLOAD_MIRROR: 'https://cdn.npmmirror.com/binaries/node-re2',
RE2_DOWNLOAD_SKIP_PATH: 'true',
PRISMA_ENGINES_MIRROR: 'https://cdn.npmmirror.com/binaries/prisma',
npm_config_better_sqlite3_binary_host: 'https://cdn.npmmirror.com/binaries/better-sqlite3',
npm_config_keytar_binary_host: 'https://cdn.npmmirror.com/binaries/keytar',
npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp',
npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips',
npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs'
},
'@ali/s2': { host: 'https://cdn.npmmirror.com/binaries/looksgood-s2' },
sharp: { replaceHostFiles: [Array], replaceHostMap: [Object] },
'@tensorflow/tfjs-node': {
replaceHostFiles: [Array],
replaceHostRegExpMap: [Object],
replaceHostMap: [Object]
},
cypress: {
host: 'https://cdn.npmmirror.com/binaries/cypress',
newPlatforms: [Object]
},
'utf-8-validate': {
host: 'https://cdn.npmmirror.com/binaries/utf-8-validate/v{version}'
},
xprofiler: {
remote_path: './xprofiler/v{version}/',
host: 'https://cdn.npmmirror.com/binaries'
},
leveldown: { host: 'https://cdn.npmmirror.com/binaries/leveldown/v{version}' },
couchbase: { host: 'https://cdn.npmmirror.com/binaries/couchbase/v{version}' },
gl: { host: 'https://cdn.npmmirror.com/binaries/gl/v{version}' },
sqlite3: {
host: 'https://cdn.npmmirror.com/binaries/sqlite3',
remote_path: 'v{version}'
},
'@journeyapps/sqlcipher': { host: 'https://cdn.npmmirror.com/binaries' },
grpc: {
host: 'https://cdn.npmmirror.com/binaries',
remote_path: '{name}/v{version}'
},
'grpc-tools': { host: 'https://cdn.npmmirror.com/binaries' },
wrtc: {
host: 'https://cdn.npmmirror.com/binaries',
remote_path: '{name}/v{version}'
},
fsevents: { host: 'https://cdn.npmmirror.com/binaries/fsevents' },
nodejieba: { host: 'https://cdn.npmmirror.com/binaries/nodejieba' },
canvas: { host: 'https://cdn.npmmirror.com/binaries/canvas' },
'skia-canvas': { host: 'https://cdn.npmmirror.com/binaries/skia-canvas' },
'flow-bin': {
replaceHost: 'https://github.com/facebook/flow/releases/download/v',
host: 'https://cdn.npmmirror.com/binaries/flow/v'
},
'jpegtran-bin': {
replaceHost: [Array],
host: 'https://cdn.npmmirror.com/binaries/jpegtran-bin'
},
'cwebp-bin': {
replaceHost: [Array],
host: 'https://cdn.npmmirror.com/binaries/cwebp-bin'
},
'zopflipng-bin': {
replaceHost: [Array],
host: 'https://cdn.npmmirror.com/binaries/zopflipng-bin'
},
'optipng-bin': {
replaceHost: [Array],
host: 'https://cdn.npmmirror.com/binaries/optipng-bin'
},
mozjpeg: {
replaceHost: [Array],
host: 'https://cdn.npmmirror.com/binaries/mozjpeg-bin'
},
gifsicle: {
replaceHost: [Array],
host: 'https://cdn.npmmirror.com/binaries/gifsicle-bin'
},
'pngquant-bin': {
replaceHost: [Array],
host: 'https://cdn.npmmirror.com/binaries/pngquant-bin',
replaceHostMap: [Object]
},
'pngcrush-bin': {
replaceHost: [Array],
host: 'https://cdn.npmmirror.com/binaries/pngcrush-bin'
},
'jpeg-recompress-bin': {
replaceHost: [Array],
host: 'https://cdn.npmmirror.com/binaries/jpeg-recompress-bin'
},
'advpng-bin': {
replaceHost: [Array],
host: 'https://cdn.npmmirror.com/binaries/advpng-bin'
},
'pngout-bin': {
replaceHost: [Array],
host: 'https://cdn.npmmirror.com/binaries/pngout-bin'
},
'jpegoptim-bin': {
replaceHost: [Array],
host: 'https://cdn.npmmirror.com/binaries/jpegoptim-bin'
},
argon2: { host: 'https://cdn.npmmirror.com/binaries/argon2' },
'ali-zeromq': { host: 'https://cdn.npmmirror.com/binaries/ali-zeromq' },
'ali-usb_ctl': { host: 'https://cdn.npmmirror.com/binaries/ali-usb_ctl' },
'gdal-async': { host: 'https://cdn.npmmirror.com/binaries/node-gdal-async' },
'libpg-query': { host: 'https://cdn.npmmirror.com/binaries' }
},
forbiddenLicenses: null,
flatten: false,
proxy: undefined,
prune: false,
disableFallbackStore: false,
workspacesMap: Map(0) {},
enableWorkspace: false,
workspaceRoot: 'D:\\项目\\自己\\曹\\hitap-chat',
isWorkspaceRoot: true,
isWorkspacePackage: false,
offline: false,
strictSSL: false,
ignoreScripts: false,
foregroundScripts: false,
ignoreOptionalDependencies: false,
detail: false,
forceLinkLatest: false,
trace: false,
engineStrict: false,
registryOnly: false,
client: false,
autoFixVersion: [Function: autoFixVersion]
}

@ -23,7 +23,7 @@
"navigationBarTitleText": "门户中心", "navigationBarTitleText": "门户中心",
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "white"
} }
}, },
{ {
@ -57,6 +57,17 @@
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
}, },
{
"path": "pages/approve/index",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "审批",
//
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTextStyle": "white"
}
},
{ {
"path": "pages/investigation/task", "path": "pages/investigation/task",
"style": { "style": {
@ -76,7 +87,7 @@
// //
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "white"
} }
}, },
{ {
@ -150,6 +161,7 @@
} }
], ],
"tabBar": { "tabBar": {
// "custom": true,
"color": "#7A7E83", "color": "#7A7E83",
// tab // tab
"selectedColor": "#2294E6", "selectedColor": "#2294E6",
@ -161,32 +173,39 @@
"list": [ "list": [
{ {
// 25 tab // 25 tab
"pagePath": "pages/index/index", "pagePath": "pages/index/index"
// pages // // pages
"iconPath": "static/nav/index.png", // "iconPath": "static/nav/index.png",
// icon 40kb 81px * 81px // // icon 40kb 81px * 81px
"selectedIconPath": "static/nav/index_active.png", // "selectedIconPath": "static/nav/index_active.png",
// // //
"text": "首页" // "text": "首页"
// tab // tab
}, },
{ {
"pagePath": "pages/investigation/index", "pagePath": "pages/approve/index"
"iconPath": "static/nav/job.png", // "iconPath": "static/nav/jobfind.png",
"selectedIconPath": "static/nav/job_active.png", // "selectedIconPath": "static/nav/jobfind_active.png",
"text": "排查" // "text": "审批"
},
{
"pagePath": "pages/investigation/index"
// "iconPath": "static/nav/job.png",
// "selectedIconPath": "static/nav/job_active.png",
// "text": "排查"
}, },
{ {
"pagePath": "pages/governance/index", "pagePath": "pages/governance/index"
"iconPath": "static/nav/lean.png", // "iconPath": "static/nav/lean.png",
"selectedIconPath": "static/nav/lean_active.png", // "selectedIconPath": "static/nav/lean_active.png",
"text": "治理" // "text": "治理"
}, },
{ {
"pagePath": "pages/mine/index", "pagePath": "pages/mine/index"
"iconPath": "static/nav/mine.png", // "iconPath": "static/nav/mine.png",
"selectedIconPath": "static/nav/mine_active.png", // "selectedIconPath": "static/nav/mine_active.png",
"text": "我的" // "text": "我的"
} }
] ]
}, },

@ -0,0 +1,314 @@
<template>
<view id="page">
<view class="Width100 Box BorderBox">
<view class="Content BorderBox Width100">
<top-title :is-show-left="false" :title="'审批'" :rightWidth='120' class="custom_bg">
<!-- <template slot="right">
<image :src="$.imgSrc + '/mine/search.png'" @click="$.open('/pages/mine/setting')" mode="aspectFit" class="InlineBlock imgIcon"></image>
<image :src="$.imgSrc + '/mine/plus.png'" mode="aspectFit" @click="$.open('/pages/mine/notice')" class="InlineBlock imgIcon"></image>
</template> -->
</top-title>
</view>
<view class="tab">
<view class="tab-item" :class="tab === 1 ? 'active' : ''" @click='tab = 1'>
<text>待办</text>
<text class="number">200</text>
</view>
<view class="tab-item" :class="tab === 2 ? 'active' : ''" @click='tab = 2'>
<text>正在办理</text>
<text class="number">480</text>
</view>
<view class="tab-item" :class="tab === 3 ? 'active' : ''" @click='tab = 3'>
<text>已完成</text>
<text class="number">182</text>
</view>
</view>
<view class="Content MarginAuto BorderBox">
<no-data v-if="isEmpty" />
<view v-else class="List Width100 BorderBox">
<view class="Unit FontBold BorderBox Width100 MarginT_30rpx BG_FFFFFF"
v-for="item in list" :key='item.id' @click='handleClick(item)'>
<image class="imgleft" :src="item.imgurl" mode="widthFix"></image>
<view class="right">
<view class="title">{{ item.title }}</view>
<view class="type">
<text>排查</text>
<text>超期2天</text>
</view>
</view>
<view class="trapezoidal">
超期
</view>
</view>
</view>
</view>
</view>
<Tabbar name="审批" v-if="tabbarShow"></Tabbar>
</view>
</template>
<script>
import Tabbar from "../../components/tabbar.vue";
import NoData from "../../components/no-data.vue";
import TopTitle from "../../components/top-title";
import tabFun from '@/libs/function/tabbar.js'
export default {
//
components: {
NoData,TopTitle,Tabbar
},
data() {
return {
// js
bgUrl1: '', //
list: [
{
id: 1,
title: 'G228火炬路与S503岙东路路',
roadCode: 123,
roadName: 'G228火炬路与S503岙东路',
imgurl: '/static/logo.png',
createTime: '2024-10-05',
deptName: '支队级',
sessionId: 12121212
},
{
id: 2,
title: 'G228火炬路与S503岙东路路',
roadCode: 123,
roadName: 'G228火炬路与S503岙东路',
imgurl: '/static/logo.png',
createTime: '2024-10-05',
deptName: '支队级',
sessionId: 12121212
},
{
id: 3,
title: 'G228火炬路与S503岙东路路',
roadCode: 123,
roadName: 'G228火炬路与S503岙东路',
imgurl: '/static/logo.png',
createTime: '2024-10-05',
deptName: '支队级',
sessionId: 12121212
},
{
id: 4,
title: 'G228火炬路与S503岙东路路',
roadCode: 123,
roadName: 'G228火炬路与S503岙东路',
imgurl: '/static/logo.png',
createTime: '2024-10-05',
deptName: '支队级',
sessionId: 12121212
},
{
id: 5,
title: 'G228火炬路与S503岙东路路',
roadCode: 123,
roadName: 'G228火炬路与S503岙东路',
imgurl: '/static/logo.png',
createTime: '2024-10-05',
deptName: '支队级',
sessionId: 12121212
},
],
isEmpty: false,
isMore: true,
page: 1,
tab: 1,
tabbarShow:true
}
},
//
onLoad(e) {
this.getList()
},
onShow(){
uni.hideTabBar()//tabBar
// tabFun.tabbar()
// this.tabbarShow=false
// this.$nextTick(()=>{
// this.tabbarShow=true
// })
},
//
computed: {},
//
methods: {
getList() {
let datas = {
limit: 10,
page: 1,
}
// this.$request.globalRequest('/xxxxxxxx', datas, 'GET').then(res => {
// if (res.code == 0) {
// if (res.data.total === 0) {
// this.isEmpty = true;
// return false
// }
// this.list.push(...res.data.list)
// if (this.list.length >= res.data.total) {
// this.isMore = false
// }
// } else {
// this.$.toast(res.msg)
// }
// })
},
handleClick(row) {
console.log(row)
},
//
skipPage(even) {
// this.$.open(even)
},
},
onReady() {},
//
onUnload() {
},
//
onPullDownRefresh() {
//
setTimeout(() => {
uni.stopPullDownRefresh();
}, 1500);
},
//
onReachBottom() {
if (this.isMore) {
this.page++
this.getList()
}
},
}
</script>
<style>
</style>
<style lang="scss" scoped>
page {
background: #F6F8FA;
}
.imgIcon {
width: 40rpx;
height: 100%;
}
.imgIcon:nth-of-type(2) {
margin-left: 40rpx;
}
.img {
width: 40rpx;
height: 40rpx;
margin-left: 30rpx;
}
.trapezoidal {
position: relative;
display: inline-block;
min-width: 2em;
text-align: center;
padding: 3rpx 20rpx 3rpx 18rpx;
}
.trapezoidal::before,
.trapezoidal::after {
content: '';
position: absolute;
top: 0;
left: 0%;
width: 100%;
height: 100%;
border-radius: 0rpx 0 0 0;
background: #FF1111;
z-index: -1;
transform-origin: bottom;
transform: skew(18deg);
border: 0rpx solid #333;
box-sizing: border-box;
}
.trapezoidal::after {
left: auto;
right: 0;
transform: skew(-0deg);
border-radius: 0 0rpx 0 0;
background-color: #FF1111;
border-left: 0 none;
}
.tab {
display: flex;
align-items: center;
justify-content: space-around;
font-size: 16px;
height: 44px;
background: #ffffff;
box-shadow: 3px 0px 10px #ccc;
color: #666666;
position: relative;
.tab-item {
position: relative;
height: 41px;
line-height: 41px;
padding: 0 30rpx 0 30rpx;
border-bottom: 3px solid #fff;
display: flex;
align-items: center;
&.active {
color: rgb(60, 109, 195);
border-color: rgb(60, 109, 195);
}
.number {
font-weight: bold;
font-size: 18px;
margin-left: 10rpx;
}
}
}
.Box {
padding-top:var(--status-bar-height);
.Content {
width: calc(100% - 48rpx);
padding-bottom: 88rpx;
}
.Unit {
padding: 24rpx;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
box-shadow: 1px 1px 3px #ccc;
.trapezoidal {
position: absolute;
top: 0px;
right: 0px;
color: #ffffff;
font-size: 14px;
font-weight: normal;
z-index: 1;
}
image {
width: 140rpx;
}
.right {
flex: 1;
padding-left: 30rpx;
.title {
font-size: 16px;
}
.type {
font-size: 14px;
color: #666;
font-weight: normal;
text {
margin-right: 20rpx;
}
}
}
}
}
</style>

@ -26,8 +26,8 @@
<view class="Content MarginAuto BorderBox"> <view class="Content MarginAuto BorderBox">
<no-data v-if="isEmpty" /> <no-data v-if="isEmpty" />
<view v-else class="List Width100 BorderBox"> <view v-else class="List Width100 BorderBox">
<view class="Unit FontBold BorderBox Width100 MarginT_30rpx BG_FFFFFF" <view class="Unit FontBold BorderBox Width100 MarginT_30rpx BG_FFFFFF" v-for="item in list"
v-for="item in list" :key='item.id' @click='handleClick(item)'> :key='item.id' @click='handleClick(item)'>
<image class="imgleft" :src="item.imgurl" mode="widthFix"></image> <image class="imgleft" :src="item.imgurl" mode="widthFix"></image>
<view class="right"> <view class="right">
<view class="title">{{ item.title }}</view> <view class="title">{{ item.title }}</view>
@ -43,23 +43,27 @@
</view> </view>
</view> </view>
</view> </view>
<Tabbar name="治理" v-if="tabbarShow"></Tabbar>
</view> </view>
</template> </template>
<script> <script>
import NoData from "../../components/no-data.vue"; import NoData from "../../components/no-data.vue";
import TopTitle from "../../components/top-title"; import TopTitle from "../../components/top-title";
import tabFun from '@/libs/function/tabbar.js'
import Tabbar from "../../components/tabbar.vue";
export default { export default {
// //
components: { components: {
NoData,TopTitle NoData,
TopTitle,
Tabbar
}, },
data() { data() {
return { return {
// js // js
bgUrl1: '', // bgUrl1: '', //
list: [ list: [{
{
id: 1, id: 1,
title: 'G228火炬路与S503岙东路路', title: 'G228火炬路与S503岙东路路',
roadCode: 123, roadCode: 123,
@ -113,12 +117,22 @@ export default {
isEmpty: false, isEmpty: false,
isMore: true, isMore: true,
page: 1, page: 1,
tab: 1 tab: 1,
tabbarShow: true
} }
}, },
// //
onLoad(e) { onLoad(e) {
this.getList() this.getList()
},
onShow() {
uni.hideTabBar()//tabBar
// tabFun.tabbar()
// this.tabbarShow = false
// this.$nextTick(() => {
// this.tabbarShow = true
// })
}, },
// //
computed: {}, computed: {},
@ -180,18 +194,22 @@ export default {
page { page {
background: #F6F8FA; background: #F6F8FA;
} }
.imgIcon { .imgIcon {
width: 40rpx; width: 40rpx;
height: 100%; height: 100%;
} }
.imgIcon:nth-of-type(2) { .imgIcon:nth-of-type(2) {
margin-left: 40rpx; margin-left: 40rpx;
} }
.img { .img {
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
margin-left: 30rpx; margin-left: 30rpx;
} }
.trapezoidal { .trapezoidal {
position: relative; position: relative;
display: inline-block; display: inline-block;
@ -236,6 +254,7 @@ page {
box-shadow: 3px 0px 10px #ccc; box-shadow: 3px 0px 10px #ccc;
color: #666666; color: #666666;
position: relative; position: relative;
.tab-item { .tab-item {
position: relative; position: relative;
height: 41px; height: 41px;
@ -244,10 +263,12 @@ page {
border-bottom: 3px solid #fff; border-bottom: 3px solid #fff;
display: flex; display: flex;
align-items: center; align-items: center;
&.active { &.active {
color: rgb(60, 109, 195); color: rgb(60, 109, 195);
border-color: rgb(60, 109, 195); border-color: rgb(60, 109, 195);
} }
.number { .number {
font-weight: bold; font-weight: bold;
font-size: 18px; font-size: 18px;
@ -258,6 +279,7 @@ page {
.Box { .Box {
padding-top: var(--status-bar-height); padding-top: var(--status-bar-height);
.Content { .Content {
width: calc(100% - 48rpx); width: calc(100% - 48rpx);
padding-bottom: 88rpx; padding-bottom: 88rpx;
@ -270,6 +292,7 @@ page {
align-items: center; align-items: center;
position: relative; position: relative;
box-shadow: 1px 1px 3px #ccc; box-shadow: 1px 1px 3px #ccc;
.trapezoidal { .trapezoidal {
position: absolute; position: absolute;
top: 0px; top: 0px;
@ -279,19 +302,24 @@ page {
font-weight: normal; font-weight: normal;
z-index: 1; z-index: 1;
} }
image { image {
width: 140rpx; width: 140rpx;
} }
.right { .right {
flex: 1; flex: 1;
padding-left: 30rpx; padding-left: 30rpx;
.title { .title {
font-size: 16px; font-size: 16px;
} }
.type { .type {
font-size: 14px; font-size: 14px;
color: #666; color: #666;
font-weight: normal; font-weight: normal;
text { text {
margin-right: 20rpx; margin-right: 20rpx;
} }

@ -79,15 +79,19 @@
<u-loadmore :status="loadmorestatus" v-show="!isEmpty" /> <u-loadmore :status="loadmorestatus" v-show="!isEmpty" />
</view> </view>
</view> </view>
<Tabbar name="首页" v-if="tabbarShow"></Tabbar>
</view> </view>
</template> </template>
<script> <script>
import tabFun from '@/libs/function/tabbar.js'
import NoData from "../../components/no-data.vue"; import NoData from "../../components/no-data.vue";
import Tabbar from "../../components/tabbar.vue";
export default { export default {
// //
components: { components: {
NoData NoData,
Tabbar
}, },
data() { data() {
return { return {
@ -108,6 +112,7 @@
Delay: 0, Delay: 0,
}, },
loadmorestatus: 'loading', loadmorestatus: 'loading',
tabbarShow: true
} }
}, },
// //
@ -116,11 +121,17 @@
// this.getList() // this.getList()
}, },
onShow(e) { onShow(e) {
uni.hideTabBar() //tabBar
this.getData() this.getData()
this.isMore = true this.isMore = true
this.list = [] this.list = []
this.page = 1 this.page = 1
this.getList() this.getList()
// tabFun.tabbar()
// this.tabbarShow = false
// this.$nextTick(() => {
// this.tabbarShow = true
// })
}, },
// //
computed: {}, computed: {},
@ -171,7 +182,9 @@
if (row.pcType == 2) { if (row.pcType == 2) {
this.$.open("/pages/investigation/task" + "?id=" + row.businessId); this.$.open("/pages/investigation/task" + "?id=" + row.businessId);
} else { } else {
this.$.open('/pages/map/index?businessId=' + row.businessId + '&sectionId='+ row.sectionCode + '&operator=' + row.operator +'&deptId=' + row.handleDept + '&taskName=' + row.name + '&pcType' + row.pcType) this.$.open('/pages/map/index?businessId=' + row.businessId + '&sectionId=' + row.sectionCode +
'&operator=' + row.operator + '&deptId=' + row.handleDept + '&taskName=' + row.name +
'&pcType' + row.pcType)
} }
}, },
konw() { konw() {
@ -192,7 +205,12 @@
this.$.openTab('/pages/investigation/index') this.$.openTab('/pages/investigation/index')
} }
}, },
onReady() { }, onReady() {
// this.$tabFun.tabbar()
},
mounted() {
},
// //
onUnload() { onUnload() {

@ -59,18 +59,22 @@
<u-loadmore :status="loadmorestatus" v-show="!isEmpty" /> <u-loadmore :status="loadmorestatus" v-show="!isEmpty" />
</view> </view>
</view> </view>
<Tabbar name="排查" v-if="tabbarShow"></Tabbar>
</view> </view>
</template> </template>
<script> <script>
import Tabbar from "../../components/tabbar.vue";
import NoData from "../../components/no-data.vue"; import NoData from "../../components/no-data.vue";
import TopTitle from "../../components/top-title"; import TopTitle from "../../components/top-title";
import $ from "../../common/globalJs/globalJs"; import $ from "../../common/globalJs/globalJs";
import tabFun from '@/libs/function/tabbar.js'
export default { export default {
// //
components: { components: {
NoData, NoData,
TopTitle TopTitle,
Tabbar
}, },
data() { data() {
return { return {
@ -90,7 +94,8 @@
Unconfirmed: 0, Unconfirmed: 0,
}, },
status: '10', status: '10',
search: '' search: '',
tabbarShow: true
} }
}, },
@ -100,6 +105,7 @@
}, },
onShow() { onShow() {
// tabFun.tabbar()
this.getData() this.getData()
let pageStatus = this.$.getData('pageStatus') let pageStatus = this.$.getData('pageStatus')
if (pageStatus == 1) { if (pageStatus == 1) {
@ -111,6 +117,11 @@
} else { } else {
this.handleTabClick(1) this.handleTabClick(1)
} }
uni.hideTabBar() //tabBar
// this.tabbarShow = false
// this.$nextTick(() => {
// this.tabbarShow = true
// })
}, },
// //
computed: { computed: {
@ -166,7 +177,8 @@
} }
this.loadmorestatus = 'loading' this.loadmorestatus = 'loading'
this.$request.globalRequest( this.$request.globalRequest(
`/hiddenDanger/highDanger/getHigDangerDealt?pageNum=${this.page}&pageSize=${10}&search=${this.search}`, datas, 'POST') `/hiddenDanger/highDanger/getHigDangerDealt?pageNum=${this.page}&pageSize=${10}&search=${this.search}`,
datas, 'POST')
.then(res => { .then(res => {
this.loadmorestatus = 'loadmore' this.loadmorestatus = 'loadmore'
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
@ -204,7 +216,8 @@
} }
} else { } else {
this.$.open('/pages/investigation/task?id=' + row.businessId + '&type=' + (this.tab == 1 ? 'edit' : 'view')) this.$.open('/pages/investigation/task?id=' + row.businessId + '&type=' + (this.tab == 1 ? 'edit' :
'view'))
} }
}, },

@ -1323,6 +1323,7 @@
// "hdPic": "", // "hdPic": "",
// "hdInfo": "" // "hdInfo": ""
// }], // }],
lastModeUser:this.$.getData('userInfo').username
}, },
"POST" "POST"
) )

@ -42,7 +42,7 @@
<view class="ClearB"></view> <view class="ClearB"></view>
</view> </view>
</view> </view>
<view class="Agree Width100 MarginT_60rpx" @click="chooseAgree"> <!-- <view class="Agree Width100 MarginT_60rpx" @click="chooseAgree">
<view class="Point FloatL" v-if="isAgree"> <view class="Point FloatL" v-if="isAgree">
<image :src="$.imgSrc + '/scimg/choose_y1.png'" mode="aspectFit" class="Block Width100 Height100"></image> <image :src="$.imgSrc + '/scimg/choose_y1.png'" mode="aspectFit" class="Block Width100 Height100"></image>
</view> </view>
@ -52,7 +52,7 @@
<text class="Block FloatL Color_605F72 FontS_26rpx"></text> <text class="Block FloatL Color_605F72 FontS_26rpx"></text>
<text class="Block FloatL Color_0064FF FontS_26rpx" @click.stop="checkAgree(3)">隐私协议</text> <text class="Block FloatL Color_0064FF FontS_26rpx" @click.stop="checkAgree(3)">隐私协议</text>
<view class="ClearB"></view> <view class="ClearB"></view>
</view> </view> -->
<button type="button" :disabled="isDisabled" class="Btn Block Width100 Color_FFFFFF FontS_36rpx FontBold" @click="confirmSub">{{ currNav == 1 ? '注册':'登录' }}</button> <button type="button" :disabled="isDisabled" class="Btn Block Width100 Color_FFFFFF FontS_36rpx FontBold" @click="confirmSub">{{ currNav == 1 ? '注册':'登录' }}</button>
<text @click="findPsw" class="Block MarginT_40rpx TextCenter FontS_26rpx Color_0064FF" v-if="currNav == 2">找回密码</text> <text @click="findPsw" class="Block MarginT_40rpx TextCenter FontS_26rpx Color_0064FF" v-if="currNav == 2">找回密码</text>
</view> </view>
@ -154,10 +154,10 @@ export default {
this.$.toast('请填写密码') this.$.toast('请填写密码')
return return
} }
if(!this.isAgree){ // if(!this.isAgree){
this.$.toast('请勾选用户协议和隐私协议') // this.$.toast('')
return // return
} // }
let datas = { let datas = {
nuserid: this.logInData.phone, nuserid: this.logInData.phone,
cuserpwd: this.logInData.password, cuserpwd: this.logInData.password,
@ -168,8 +168,8 @@ export default {
this.$request.globalRequest(url, datas, 'POST').then(res => { this.$request.globalRequest(url, datas, 'POST').then(res => {
if(res.code === 200){ if(res.code === 200){
this.$.toast('登录成功') this.$.toast('登录成功')
this.$.setData('token',res.result) this.$.setData('token',res.result.nuserid)
this.$.setData('userInfo', { username: res.result }) this.$.setData('userInfo', { username: res.result.nuserid,role:res.result.role })
setTimeout(() => { setTimeout(() => {
this.$.hideLoading('登录中...') this.$.hideLoading('登录中...')
this.isDisabled = false this.isDisabled = false

@ -53,17 +53,21 @@
<view class="logout" @click="showModal">退出登录</view> <view class="logout" @click="showModal">退出登录</view>
<u-modal :show="show" @confirm="confirm" ref="uModal" :asyncClose="true" title="是否要继续退出登录?" <u-modal :show="show" @confirm="confirm" ref="uModal" :asyncClose="true" title="是否要继续退出登录?"
:showCancelButton="true" @cancel="show=false"></u-modal> :showCancelButton="true" @cancel="show=false"></u-modal>
<Tabbar name='我的' v-if="tabbarShow"></Tabbar>
</view> </view>
</template> </template>
<script> <script>
import tabFun from '@/libs/function/tabbar.js'
const base64Avatar = const base64Avatar =
"data:image/jpg;base64,/9j/4QAYRXh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q74I6RWs5ckB6GxYtWLat21SK731sDsAAAAAAAAAAAAAAAASt021NO/YjrxuQXT1oCOAAAAAAABzGLlJRSq26JAelwsWONYjbXxcZvmwO8AAAAAAAAAAAAAAAAAAef3TEWPkVivx3NY9T6UBiAAAAAABo2+VmGXblddIJ8eivRUD0oAAAAAAAAAAAAAAAAAAAYt4tKeFKVNYNSXfRgefAAAAAAAAr7VuSSWPedKaW5v1MCsAAAAAAAAAAAAAAAAAAIe6bj96Ts2n+JPzSXzP3ATgAAAAAAAAFbbt1UUrOQ9FpC4/UwK6aaqtU+DAAAAAAAAAAAAAAA4lKMIuUmoxWrb4ARNx3R3q2rLpa4Sl0y/YCcAAAAAAAAAAANmFud7G8r89r6X0dgFvGzLGRGtuWvTF6NAdwAAAAAAAAAAAy5W442PVN+K59EePp5ARMvOv5MvO6QXCC4AZwAAAAAAAAAAAAAcxlKLUotprg1owN+PvORborq+7Hnwl3gUbO74VzRydt8pKn68ANcJwmqwkpLmnUDkAAAAfNy9atqtyagut0AxXt5xIV8Fbj6lRd7Am5G65V6qUvtwfyx94GMAAAAAAAAAAAAAAAAAAAOU2nVOj5gdsc3LiqRvTpyqwOxbnnrhdfpSfrQB7pnv/AGvuS9gHXPMy5/Fem1yq0v0A6W29XqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf//Z";
import TopTitle from "../../components/top-title"; import TopTitle from "../../components/top-title";
import Tabbar from "../../components/tabbar.vue";
export default { export default {
components: { components: {
TopTitle TopTitle,
Tabbar
}, },
data() { data() {
return { return {
@ -75,6 +79,7 @@
timer: null, timer: null,
num: 0, num: 0,
dataInfo: {}, dataInfo: {},
tabbarShow: true
// funcList: [ // funcList: [
// { id:1,name:'',url:'/pages/logIn/userInfo',icon:'/mine/userinfo.png' }, // { id:1,name:'',url:'/pages/logIn/userInfo',icon:'/mine/userinfo.png' },
// { id:2,name:'',url:'/pages/mine/insurance',icon:'/mine/insurance.png' }, // { id:2,name:'',url:'/pages/mine/insurance',icon:'/mine/insurance.png' },
@ -97,6 +102,7 @@
}, },
onShow() { onShow() {
// tabFun.tabbar()
let token = this.$.getData('token') let token = this.$.getData('token')
const userInfo = this.$.getData('userInfo') const userInfo = this.$.getData('userInfo')
if (userInfo) { if (userInfo) {
@ -115,6 +121,11 @@
// this.getReviewNum() // this.getReviewNum()
// },10 * 1000) // },10 * 1000)
// } // }
uni.hideTabBar() //tabBar
// this.tabbarShow = false
// this.$nextTick(() => {
// this.tabbarShow = true
// })
}, },
onHide() { onHide() {
// this.timer && clearInterval(this.timer) // this.timer && clearInterval(this.timer)
@ -127,8 +138,7 @@
getInfo() { getInfo() {
this.$request this.$request
.globalRequest( .globalRequest(
"/hiddenDanger/auth/getOperatorInformation", "/hiddenDanger/auth/getOperatorInformation", {
{
nuserid: this.userInfo.username, nuserid: this.userInfo.username,
}, },
"GET" "GET"
@ -191,6 +201,7 @@
height: 100%; height: 100%;
background-image: url('../../static/mine/background.png'); background-image: url('../../static/mine/background.png');
background-size: 100% 100%; background-size: 100% 100%;
.info-box { .info-box {
padding-top: calc(var(--status-bar-height) + 80rpx); padding-top: calc(var(--status-bar-height) + 80rpx);
width: 750rpx; width: 750rpx;

Loading…
Cancel
Save