保安服务单位许可和备案申请系统
tangzy
2021-08-04 5e9e1298a703291f78f559a57e5d2a87381c9f5c
许可备案系统
13 files modified
1 files added
45 ■■■■ changed files
src/api/permit/permit.js 7 ●●●●● patch | view | raw | blame | history
src/api/record/record.js 4 ●●●● patch | view | raw | blame | history
src/api/recordk/recordk.js 4 ●●●● patch | view | raw | blame | history
src/api/resource/attach.js 6 ●●●● patch | view | raw | blame | history
src/api/revoke/revoke.js 4 ●●●● patch | view | raw | blame | history
src/api/urls.js 2 ●●●●● patch | view | raw | blame | history
src/config/website.js 2 ●●● patch | view | raw | blame | history
src/lang/zh.js 2 ●●● patch | view | raw | blame | history
src/mock/menu.js 2 ●●● patch | view | raw | blame | history
src/page/index/top/top-menu.vue 2 ●●● patch | view | raw | blame | history
src/router/axios.js 2 ●●● patch | view | raw | blame | history
src/router/page/index.js 2 ●●● patch | view | raw | blame | history
src/router/views/index.js 2 ●●● patch | view | raw | blame | history
vue.config.js 4 ●●●● patch | view | raw | blame | history
src/api/permit/permit.js
@@ -1,8 +1,9 @@
import request from '@/router/axios';
import {urls} from '@/api/urls';
export const getList = (current, size, params) => {
  return request({
    url: '/api/permit/list',
    url: urls+'/permit/list',
    method: 'get',
    params: {
      ...params,
@@ -14,7 +15,7 @@
export const getDetail = (id) => {
  return request({
    url: '/api/permit/detail',
    url: urls+'/permit/detail',
    method: 'get',
    params: {
      id
@@ -42,7 +43,7 @@
export const addnw = (row) => {
  return request({
    url: 'http://192.168.0.104:80/permit/save',
    url: urls+'/permit/save',
    method: 'post',
    data: row
  })
src/api/record/record.js
@@ -1,5 +1,5 @@
import request from '@/router/axios';
import {urls} from '@/api/urls';
export const getList = (current, size, params) => {
  return request({
    url: '/api/record/list',
@@ -42,7 +42,7 @@
export const addnw = (row) => {
  return request({
    url: 'http://192.168.0.104:80/record/save',
    url: urls+'/record/save',
    method: 'post',
    data: row
  })
src/api/recordk/recordk.js
@@ -1,5 +1,5 @@
import request from '@/router/axios';
import {urls} from '@/api/urls';
export const getList = (current, size, params) => {
  return request({
    url: '/api/recordk/list',
@@ -42,7 +42,7 @@
export const addnw = (row) => {
  return request({
    url: 'http://192.168.0.104:80/recordk/save',
    url: urls+'/recordk/save',
    method: 'post',
    data: row
  })
src/api/resource/attach.js
@@ -35,7 +35,7 @@
}
export const removenws = (ids) => {
  return request({
    url: 'http:192.168.0.104:80/blade-resource/attach/remove',
    url: 'http:192.168.0.109:80/blade-resource/attach/remove',
    method: 'post',
    params: {
      ids,
@@ -45,7 +45,7 @@
export const removenw = (ids) => {
  return request({
    url: 'http://192.168.0.104:80/blade-resource/attach/remove',
    url: 'http://192.168.0.109:80/blade-resource/attach/remove',
    method: 'post',
    params: {
      ids,
@@ -63,7 +63,7 @@
export const addnw = (row) => {
  return request({
    url: 'http://192.168.0.104:80/blade-resource/attach/submit',
    url: 'http://192.168.0.109:80/blade-resource/attach/submit',
    method: 'post',
    data: row
  })
src/api/revoke/revoke.js
@@ -1,5 +1,5 @@
import request from '@/router/axios';
import {urls} from '@/api/urls';
export const getList = (current, size, params) => {
  return request({
    url: '/api/revoke/list',
@@ -41,7 +41,7 @@
}
export const addnw = (row) => {
  return request({
    url: 'http://192.168.0.104:80/revoke/save',
    url: urls+'/revoke/save',
    method: 'post',
    data: row
  })
src/api/urls.js
New file
@@ -0,0 +1,2 @@
export const urls = 'http://47.49.21.216:80'
src/config/website.js
@@ -5,7 +5,7 @@
  title: "saber",
  logo: "S",
  key: 'saber',//配置主键,目前用于存储
  indexTitle: '保安服务企业管理',
  indexTitle: '单位许可和备案系统',
  clientId: 'saber', // 客户端id
  clientSecret: 'saber_secret', // 客户端密钥
  tenantMode: true, // 是否开启租户模式
src/lang/zh.js
@@ -87,7 +87,7 @@
  navbar: {
    logOut: '退出登录',
    userinfo: '个人信息',
    dashboard: '首页',
    dashboard: '申办许可申请',
    lock: '锁屏',
    bug: '没有错误日志',
    bugs: '条错误日志',
src/mock/menu.js
@@ -2,7 +2,7 @@
const top = [{
  label: "审办许可申请",
  path: "/permit/permit",
  path: "/wel",
  icon: 'el-icon-menu',
  meta: {
    i18n: 'dashboard',
src/page/index/top/top-menu.vue
@@ -29,7 +29,7 @@
    data() {
      return {
        itemHome: {
          name: '首页',
          name: '申办许可申请',
          source: 'el-icon-menu',
        },
        activeIndex: "0",
src/router/axios.js
@@ -15,7 +15,7 @@
import {Base64} from 'js-base64';
import NProgress from 'nprogress';
import 'nprogress/nprogress.css';
import url from "url";
//默认超时时间
axios.defaults.timeout = 10000;
//返回其他状态码
src/router/page/index.js
@@ -58,7 +58,7 @@
  },
  {
    path: '/',
    name: '主页',
    name: '申办许可申请',
    redirect: '/wel'
  },
  {
src/router/views/index.js
@@ -6,7 +6,7 @@
  redirect: '/wel/index',
  children: [{
    path: 'index',
    name: '首页',
    name: '申办许可申请',
    meta: {
      i18n: 'dashboard'
    },
vue.config.js
@@ -1,6 +1,6 @@
module.exports = {
  //路径前缀
  publicPath: "/",
  publicPath: "/application/",
  lintOnSave: true,
  productionSourceMap: false,
  chainWebpack: (config) => {
@@ -26,7 +26,7 @@
    proxy: {
      '/api': {
        //本地服务接口地址
        target: 'http://localhost:81',
        target: 'http://localhost:82',
        //远程演示服务地址,可用于直接启动项目
        //target: 'https://saber.bladex.vip/api',
        ws: true,