RainMan 3f3a241cea Merge branch 'master' of http://211.38.140.247:3000/sgc/sgc-portal 2 years ago
..
docs c324a9a63e 협력업체 메인 차트 수정 2 years ago
public 4d0b577b8f mobile depoly 2 years ago
scripts 4d0b577b8f mobile depoly 2 years ago
src 721b7b7a68 모바일 메인 이미지 변경 / css 변경 2 years ago
tests b687286ed8 add mobile vue project 2 years ago
.browserslistrc b687286ed8 add mobile vue project 2 years ago
.editorconfig 6c1aefbc0e 모바일 - 하자작업지시,하자조회,회의실예약,회의실예약 승인 2 years ago
.env b4e27ab74a 모바일 - 기본 페이지 , 토스트, 모달 2 years ago
.env.development 721b7b7a68 모바일 메인 이미지 변경 / css 변경 2 years ago
.env.production 63d35c1fe6 협력업체 수정 요청 사항 반영 2 years ago
.env.test b4e27ab74a 모바일 - 기본 페이지 , 토스트, 모달 2 years ago
.eslintrc.js b687286ed8 add mobile vue project 2 years ago
.gitignore b687286ed8 add mobile vue project 2 years ago
.npmrc 09d2bff1c9 mobile depoly 2 years ago
.prettierrc 6c1aefbc0e 모바일 - 하자작업지시,하자조회,회의실예약,회의실예약 승인 2 years ago
README.md 09d2bff1c9 mobile depoly 2 years ago
babel.config.js b687286ed8 add mobile vue project 2 years ago
capacitor.config.ts 60273fa6e9 del 2 years ago
cypress.json b687286ed8 add mobile vue project 2 years ago
ionic.config.json 60273fa6e9 del 2 years ago
jest.config.js b687286ed8 add mobile vue project 2 years ago
package-lock.json 09d2bff1c9 mobile depoly 2 years ago
package.json 8be679562b mobile deploy 2 years ago
tsconfig.json b2ca4123e1 mobile api 추가 2 years ago
vue.config.js c3a024bd8c mobile deploy 2 years ago

README.md

Mobile Vue

Install

npm uninstall -g ionic # uninstall if ionic is installed
npm install -g @ionic/cli@latest # install
npm install --save-dev node-sass sass-loader # Scss Loader
npm install -g @vue/cli # Vue Cli
npm install -g http-server # http server
npm install --save-dev colors # for deploy command
npm install --save-dev iconv-lite # for deploy command

Project Run & Build

ionic serve # run server
ionic serve -lab # run server for ios and android
ionic build --prod # Build the application for production
ionic build --aot # Perform ahead-of-time compilation for this build
ionic build --minifyjs # Minify JS for this build
ionic build --minifycss # Minify CSS for this build
ionic build --optimizejs # Perform JS optimizations for this build
# change package.json version 
# change vue.config.js version, manifest_version
npm install # if need when change the package
ionic build --prod --minifyjs --minifycss --optimizejs # default origial command
npm run compile # comple source to dist (ts to javascript) 
npm run deploy # copy dist folder to src/main/webapp/mobile. need  npm install -g colors , npm install -g iconv-lite

Push Test

in Dev Tool -> Application -> Service Workers

{"notification" : {"title":"제목", "body" : "내용이 옵니다.", "image" : "http://localhost:8100/test/img/icons/icon-messages-81x60.png"}}

VSCode Extension

Menu Struct

모바일(임직원)

  • 로그인
  • 메인
  • 하자관리
  • 하자작업지시 (MO03010001U)
  • 하자조회 (MO03020001U)
  • 회의실관리
  • 회의실예약 (MO01010001U)
  • 회의실예약승인 (MO01020001)

    모바일(협력업체)

  • 로그인

  • 메인

  • 하자관리

  • 하자처리 (MO02010001U)

  • 하자완료조회 (MO02020001U)