├── LICENSE ├── README.md ├── docker └── Dockerfile ├── php └── console │ ├── controllers │ ├── .gitkeep │ └── IndexController.php │ ├── models │ ├── .gitkeep │ ├── slowquery_slowlog.php │ └── slowquery_slowrecord.php │ ├── runtime │ └── .gitignore │ ├── services │ ├── Base.php │ ├── PassportService.php │ ├── SeeapiService.php │ └── SlowlogService.php │ └── template │ ├── 2018-07-yw_employee_grade_bonus.csv │ ├── 2018-08-test.csv │ ├── 2018-08-yw_employee_grade_bonus.csv │ ├── 20181024_accounting_class.xls │ ├── auth │ ├── b_1013_20181012_backend │ │ ├── BaiShaoJie.php │ │ ├── ChenChengzhuang.php │ │ ├── LiYang.php │ │ ├── ZhangPengFei.php │ │ ├── baobiao_bsj.php │ │ ├── dir_config.php │ │ ├── pengqiucheng.php │ │ └── xuchengliang.php │ ├── b_1031_20181017_backend │ │ ├── baijian.php │ │ ├── dir_config.php │ │ ├── haoshehao.php │ │ └── zhangpanlong.php │ ├── b_1076_20181026_backend │ │ ├── ChenChengzhuang.php │ │ └── dir_config.php │ ├── b_1127_20181108_backend │ │ ├── dir_config.php │ │ └── jwb.php │ ├── b_1141_20181112_backend │ │ ├── LiYang.php │ │ └── ZhouJianyu.php │ ├── b_1145_20181114_backend │ │ └── zhangpanlong.php │ ├── b_1148_20181114_frontend │ │ └── limingming.php │ ├── b_1162_20181120_backend │ │ ├── cww.php │ │ ├── dir_config.php │ │ ├── jwb.php │ │ └── lj.php │ ├── b_1209_20181129_backend │ │ └── ZhouJianyu.php │ ├── b_1217_20181130_backend │ │ └── lj.php │ ├── b_719_20180628_backend │ │ └── pqc.php │ ├── b_805_20180807_backend │ │ └── b_805_20180807_backend.php │ ├── b_855_20180823_backend │ │ ├── baishaojie.php │ │ ├── chenchengzhuang.php │ │ ├── pengqiucheng.php │ │ └── xuchengliang.php │ ├── b_869_20180829_backend │ │ ├── baijian.php │ │ ├── dir_config.php │ │ ├── haoshehao.php │ │ ├── pengqiucheng.php │ │ ├── zhangpanlong.php │ │ └── zhangran.php │ ├── b_914_20180910_backend │ │ ├── ChenChengzhuang.php │ │ └── xuchengliang.php │ └── common │ │ ├── HrCommon.php │ │ ├── Select2Common.php │ │ └── kankan.php │ ├── bd_partner_relation.xlsx │ ├── cj_building_info_1.xlsx │ ├── cj_case_field_1.xlsx │ ├── cj_case_field_10.xlsx │ ├── cj_case_field_11.xlsx │ ├── cj_case_field_12.xlsx │ ├── cj_case_field_2.xlsx │ ├── cj_case_field_3.xlsx │ ├── cj_case_field_4.xlsx │ ├── cj_case_field_5.xlsx │ ├── cj_case_field_6.xlsx │ ├── cj_case_field_7.xlsx │ ├── cj_case_field_8.xlsx │ ├── cj_case_field_9.xlsx │ ├── cj_license.xlsx │ ├── employee_bei_phone.xlsx │ ├── employee_cancel_tag_20181130.csv │ ├── ex_contract_partner.xlsx │ ├── hr_school_info.xlsx │ ├── menu │ ├── b_1013_20181012_backend │ │ ├── BaiShaoJie.php │ │ ├── ChenChengzhuang.php │ │ ├── Liyang.php │ │ ├── ZhangPengFei.php │ │ ├── baobiao_bsj.php │ │ └── dir_config.php │ ├── b_1031_20181017_backend │ │ └── baijian.php │ ├── b_1076_20181026_backend │ │ └── ChenChengzhuang.php │ ├── b_1081_20181029_backend │ │ └── lh.php │ ├── b_1127_20181108_backend │ │ └── jwb.php │ ├── b_1148_20181114_frontend │ │ └── limingming.php │ ├── b_1162_20181120_backend │ │ ├── jwb.php │ │ └── lj.php │ ├── b_719_20180628_backend │ │ └── pqc.php │ ├── b_869_20180829_backend │ │ ├── baijian.php │ │ ├── dir_config.php │ │ ├── haoshehao.php │ │ ├── pengqiucheng.php │ │ ├── zhangpanlong.php │ │ └── zhangran.php │ ├── b_914_20180910_backend │ │ └── ChenChengzhuang.php │ └── common │ │ ├── HrCommon.php │ │ └── kankan.php │ ├── offjob.xlsx │ ├── partner_employee.xlsx │ ├── partner_info.xlsx │ ├── project-house-onsale.xlsx │ ├── sign.xlsx │ ├── update_order_follow_service.xlsx │ ├── year_holiday_history.bak.xlsx │ └── year_holiday_history.xlsx ├── script └── importDbTableCount.py ├── sql ├── old │ └── update.sql ├── sqlmng_dbtablecount.sql └── sqlweb.sql └── sqldata ├── inception └── inc.cnf ├── nginx └── www.conf └── www ├── backend ├── .gitignore ├── README.md ├── account │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── admin.cpython-36.pyc │ │ ├── models.cpython-36.pyc │ │ ├── serializers.cpython-36.pyc │ │ ├── urls.cpython-36.pyc │ │ └── views.cpython-36.pyc │ ├── admin.py │ ├── apps.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_auto_20181224_1030.py │ │ ├── 0003_user_phone.py │ │ ├── 0004_user_mail_list_extend.py │ │ ├── __init__.py │ │ └── __pycache__ │ │ │ ├── 0001_initial.cpython-36.pyc │ │ │ ├── 0002_auto_20181224_1030.cpython-36.pyc │ │ │ ├── 0003_user_phone.cpython-36.pyc │ │ │ ├── 0004_user_mail_list_extend.cpython-36.pyc │ │ │ └── __init__.cpython-36.pyc │ ├── models.py │ ├── serializers.py │ ├── tests.py │ ├── urls.py │ └── views.py ├── dashboard │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── urls.cpython-36.pyc │ │ └── views.cpython-36.pyc │ ├── admin.py │ ├── apps.py │ ├── migrations │ │ └── __init__.py │ ├── models.py │ ├── serializers.py │ ├── tests.py │ ├── urls.py │ └── views.py ├── inc.log ├── logs │ └── see.test.log ├── manage.py ├── media │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── mixins.cpython-36.pyc │ │ ├── urls.cpython-36.pyc │ │ └── views.cpython-36.pyc │ ├── admin.py │ ├── apps.py │ ├── migrations │ │ └── __init__.py │ ├── mixins.py │ ├── models.py │ ├── tests.py │ ├── urls.py │ └── views.py ├── nohup.out ├── requirements.txt ├── slowquery │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_auto_20190102_1150.py │ │ ├── 0003_auto_20190102_1437.py │ │ └── __init__.py │ ├── models.py │ ├── serializers.py │ ├── tests.py │ ├── urls.py │ └── views.py ├── sqlmng │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── admin.cpython-36.pyc │ │ ├── data.cpython-36.pyc │ │ ├── management.cpython-36.pyc │ │ ├── mixins.cpython-36.pyc │ │ ├── models.cpython-36.pyc │ │ ├── permissions.cpython-36.pyc │ │ ├── serializers.cpython-36.pyc │ │ ├── tasks.cpython-36.pyc │ │ └── urls.cpython-36.pyc │ ├── admin.py │ ├── apps.py │ ├── data.py │ ├── management.py │ ├── middleware.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_auto_20181224_1030.py │ │ ├── __init__.py │ │ └── __pycache__ │ │ │ ├── 0001_initial.cpython-36.pyc │ │ │ ├── 0002_auto_20181224_1030.cpython-36.pyc │ │ │ └── __init__.cpython-36.pyc │ ├── mixins.py │ ├── models.py │ ├── permissions.py │ ├── serializers.py │ ├── tasks.py │ ├── tests.py │ ├── urls.py │ └── views │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── auth_rules.cpython-36.pyc │ │ ├── db_cluster.cpython-36.pyc │ │ ├── dbtablecount.cpython-36.pyc │ │ ├── inception_check.cpython-36.pyc │ │ ├── select_data.cpython-36.pyc │ │ ├── settings.cpython-36.pyc │ │ ├── suggestion.cpython-36.pyc │ │ ├── target_db.cpython-36.pyc │ │ └── workorder_main.cpython-36.pyc │ │ ├── auth_rules.py │ │ ├── db_cluster.py │ │ ├── dbtablecount.py │ │ ├── inception_check.py │ │ ├── select_data.py │ │ ├── settings.py │ │ ├── step.py │ │ ├── suggestion.py │ │ ├── target_db.py │ │ └── workorder_main.py ├── sqlweb │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── settings.cpython-36.pyc │ │ ├── urls.cpython-36.pyc │ │ └── wsgi.cpython-36.pyc │ ├── gunicorn_config.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── utils │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-36.pyc │ │ ├── basecomponent.cpython-36.pyc │ │ ├── basemixins.cpython-36.pyc │ │ ├── basemodels.cpython-36.pyc │ │ ├── baseviews.cpython-36.pyc │ │ ├── dbcrypt.cpython-36.pyc │ │ ├── ding.cpython-36.pyc │ │ ├── exceptions.cpython-36.pyc │ │ ├── lock.cpython-36.pyc │ │ ├── mail.cpython-36.pyc │ │ ├── permissions.cpython-36.pyc │ │ ├── sqltools.cpython-36.pyc │ │ ├── tasks.cpython-36.pyc │ │ ├── unitaryauth.cpython-36.pyc │ │ └── wrappers.cpython-36.pyc │ ├── auto_dict.py │ ├── basecomponent.py │ ├── basemixins.py │ ├── basemodels.py │ ├── baseviews.py │ ├── dbcrypt.py │ ├── ding.py │ ├── exceptions.py │ ├── inception_test.py │ ├── lock.py │ ├── logger.log │ ├── mail.py │ ├── mail_test.py │ ├── nohup.out │ ├── permissions.py │ ├── sqltools.py │ ├── tasks.py │ ├── unitaryauth.py │ └── wrappers.py └── workflow │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-36.pyc │ ├── admin.cpython-36.pyc │ ├── models.cpython-36.pyc │ └── serializers.cpython-36.pyc │ ├── admin.py │ ├── apps.py │ ├── migrations │ ├── 0001_initial.py │ ├── __init__.py │ └── __pycache__ │ │ ├── 0001_initial.cpython-36.pyc │ │ └── __init__.cpython-36.pyc │ ├── models.py │ ├── serializers.py │ ├── tests.py │ └── views.py └── frontend ├── .babelrc ├── .editorconfig ├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── .postcssrc.js ├── .travis.yml ├── LICENSE ├── README.md ├── build ├── config.js ├── webpack.base.config.js ├── webpack.dev.config.js └── webpack.prod.config.js ├── dist ├── dist │ ├── 0.0307c6c95c8f4ad81aef.chunk.js │ ├── 0.19e15173d369eec4286a.chunk.js │ ├── 0.1d7eccca8f68ce84653b.chunk.js │ ├── 0.206b17b6d43d972e8f46.chunk.js │ ├── 0.284f97e3fb5d4952eb24.chunk.js │ ├── 0.6113284294e9cf69d010.chunk.js │ ├── 0.967e1d92af29b07d7577.chunk.js │ ├── 0.c8343fc6fe1ec09e0174.chunk.js │ ├── 0.chunk.js │ ├── 0.d17f95e59c785373d635.chunk.js │ ├── 05acfdb568b3df49ad31355b19495d4a.woff │ ├── 1.0307c6c95c8f4ad81aef.chunk.js │ ├── 1.19e15173d369eec4286a.chunk.js │ ├── 1.1d7eccca8f68ce84653b.chunk.js │ ├── 1.206b17b6d43d972e8f46.chunk.js │ ├── 1.284f97e3fb5d4952eb24.chunk.js │ ├── 1.6113284294e9cf69d010.chunk.js │ ├── 1.967e1d92af29b07d7577.chunk.js │ ├── 1.c8343fc6fe1ec09e0174.chunk.js │ ├── 1.chunk.js │ ├── 1.d17f95e59c785373d635.chunk.js │ ├── 10.0307c6c95c8f4ad81aef.chunk.js │ ├── 10.19e15173d369eec4286a.chunk.js │ ├── 10.1d7eccca8f68ce84653b.chunk.js │ ├── 10.206b17b6d43d972e8f46.chunk.js │ ├── 10.284f97e3fb5d4952eb24.chunk.js │ ├── 10.6113284294e9cf69d010.chunk.js │ ├── 10.967e1d92af29b07d7577.chunk.js │ ├── 10.c8343fc6fe1ec09e0174.chunk.js │ ├── 10.chunk.js │ ├── 10.d17f95e59c785373d635.chunk.js │ ├── 11.0307c6c95c8f4ad81aef.chunk.js │ ├── 11.19e15173d369eec4286a.chunk.js │ ├── 11.1d7eccca8f68ce84653b.chunk.js │ ├── 11.206b17b6d43d972e8f46.chunk.js │ ├── 11.284f97e3fb5d4952eb24.chunk.js │ ├── 11.6113284294e9cf69d010.chunk.js │ ├── 11.967e1d92af29b07d7577.chunk.js │ ├── 11.c8343fc6fe1ec09e0174.chunk.js │ ├── 11.chunk.js │ ├── 11.d17f95e59c785373d635.chunk.js │ ├── 12.0307c6c95c8f4ad81aef.chunk.js │ ├── 12.19e15173d369eec4286a.chunk.js │ ├── 12.1d7eccca8f68ce84653b.chunk.js │ ├── 12.206b17b6d43d972e8f46.chunk.js │ ├── 12.284f97e3fb5d4952eb24.chunk.js │ ├── 12.6113284294e9cf69d010.chunk.js │ ├── 12.967e1d92af29b07d7577.chunk.js │ ├── 12.c8343fc6fe1ec09e0174.chunk.js │ ├── 12.chunk.js │ ├── 12.d17f95e59c785373d635.chunk.js │ ├── 13.0307c6c95c8f4ad81aef.chunk.js │ ├── 13.19e15173d369eec4286a.chunk.js │ ├── 13.1d7eccca8f68ce84653b.chunk.js │ ├── 13.206b17b6d43d972e8f46.chunk.js │ ├── 13.284f97e3fb5d4952eb24.chunk.js │ ├── 13.6113284294e9cf69d010.chunk.js │ ├── 13.967e1d92af29b07d7577.chunk.js │ ├── 13.c8343fc6fe1ec09e0174.chunk.js │ ├── 13.chunk.js │ ├── 13.d17f95e59c785373d635.chunk.js │ ├── 14.0307c6c95c8f4ad81aef.chunk.js │ ├── 14.19e15173d369eec4286a.chunk.js │ ├── 14.1d7eccca8f68ce84653b.chunk.js │ ├── 14.206b17b6d43d972e8f46.chunk.js │ ├── 14.284f97e3fb5d4952eb24.chunk.js │ ├── 14.6113284294e9cf69d010.chunk.js │ ├── 14.967e1d92af29b07d7577.chunk.js │ ├── 14.c8343fc6fe1ec09e0174.chunk.js │ ├── 14.chunk.js │ ├── 14.d17f95e59c785373d635.chunk.js │ ├── 15.19e15173d369eec4286a.chunk.js │ ├── 15.1d7eccca8f68ce84653b.chunk.js │ ├── 15.206b17b6d43d972e8f46.chunk.js │ ├── 15.6113284294e9cf69d010.chunk.js │ ├── 15.chunk.js │ ├── 15.d17f95e59c785373d635.chunk.js │ ├── 16.19e15173d369eec4286a.chunk.js │ ├── 16.1d7eccca8f68ce84653b.chunk.js │ ├── 16.206b17b6d43d972e8f46.chunk.js │ ├── 16.6113284294e9cf69d010.chunk.js │ ├── 16.chunk.js │ ├── 16.d17f95e59c785373d635.chunk.js │ ├── 17.0307c6c95c8f4ad81aef.chunk.js │ ├── 17.284f97e3fb5d4952eb24.chunk.js │ ├── 17.967e1d92af29b07d7577.chunk.js │ ├── 17.c8343fc6fe1ec09e0174.chunk.js │ ├── 17.chunk.js │ ├── 17.d17f95e59c785373d635.chunk.js │ ├── 18.chunk.js │ ├── 18.d17f95e59c785373d635.chunk.js │ ├── 19.19e15173d369eec4286a.chunk.js │ ├── 19.1d7eccca8f68ce84653b.chunk.js │ ├── 19.206b17b6d43d972e8f46.chunk.js │ ├── 19.6113284294e9cf69d010.chunk.js │ ├── 19.chunk.js │ ├── 19.d17f95e59c785373d635.chunk.js │ ├── 2.0307c6c95c8f4ad81aef.chunk.js │ ├── 2.19e15173d369eec4286a.chunk.js │ ├── 2.1d7eccca8f68ce84653b.chunk.js │ ├── 2.206b17b6d43d972e8f46.chunk.js │ ├── 2.284f97e3fb5d4952eb24.chunk.js │ ├── 2.6113284294e9cf69d010.chunk.js │ ├── 2.967e1d92af29b07d7577.chunk.js │ ├── 2.c8343fc6fe1ec09e0174.chunk.js │ ├── 2.chunk.js │ ├── 2.d17f95e59c785373d635.chunk.js │ ├── 20.d17f95e59c785373d635.chunk.js │ ├── 22.chunk.js │ ├── 23.d17f95e59c785373d635.chunk.js │ ├── 24712f6c47821394fba7942fbb52c3b2.ttf │ ├── 2c2ae068be3b089e0a5b59abb1831550.eot │ ├── 3.0307c6c95c8f4ad81aef.chunk.js │ ├── 3.19e15173d369eec4286a.chunk.js │ ├── 3.1d7eccca8f68ce84653b.chunk.js │ ├── 3.206b17b6d43d972e8f46.chunk.js │ ├── 3.284f97e3fb5d4952eb24.chunk.js │ ├── 3.6113284294e9cf69d010.chunk.js │ ├── 3.967e1d92af29b07d7577.chunk.js │ ├── 3.c8343fc6fe1ec09e0174.chunk.js │ ├── 3.chunk.js │ ├── 3.d17f95e59c785373d635.chunk.js │ ├── 4.0307c6c95c8f4ad81aef.chunk.js │ ├── 4.19e15173d369eec4286a.chunk.js │ ├── 4.1d7eccca8f68ce84653b.chunk.js │ ├── 4.206b17b6d43d972e8f46.chunk.js │ ├── 4.284f97e3fb5d4952eb24.chunk.js │ ├── 4.6113284294e9cf69d010.chunk.js │ ├── 4.967e1d92af29b07d7577.chunk.js │ ├── 4.c8343fc6fe1ec09e0174.chunk.js │ ├── 4.chunk.js │ ├── 4.d17f95e59c785373d635.chunk.js │ ├── 5.0307c6c95c8f4ad81aef.chunk.js │ ├── 5.19e15173d369eec4286a.chunk.js │ ├── 5.1d7eccca8f68ce84653b.chunk.js │ ├── 5.206b17b6d43d972e8f46.chunk.js │ ├── 5.284f97e3fb5d4952eb24.chunk.js │ ├── 5.6113284294e9cf69d010.chunk.js │ ├── 5.967e1d92af29b07d7577.chunk.js │ ├── 5.c8343fc6fe1ec09e0174.chunk.js │ ├── 5.chunk.js │ ├── 5.d17f95e59c785373d635.chunk.js │ ├── 6.0307c6c95c8f4ad81aef.chunk.js │ ├── 6.19e15173d369eec4286a.chunk.js │ ├── 6.1d7eccca8f68ce84653b.chunk.js │ ├── 6.206b17b6d43d972e8f46.chunk.js │ ├── 6.284f97e3fb5d4952eb24.chunk.js │ ├── 6.6113284294e9cf69d010.chunk.js │ ├── 6.967e1d92af29b07d7577.chunk.js │ ├── 6.c8343fc6fe1ec09e0174.chunk.js │ ├── 6.chunk.js │ ├── 6.d17f95e59c785373d635.chunk.js │ ├── 621bd386841f74e0053cb8e67f8a0604.svg │ ├── 7.0307c6c95c8f4ad81aef.chunk.js │ ├── 7.19e15173d369eec4286a.chunk.js │ ├── 7.1d7eccca8f68ce84653b.chunk.js │ ├── 7.206b17b6d43d972e8f46.chunk.js │ ├── 7.284f97e3fb5d4952eb24.chunk.js │ ├── 7.6113284294e9cf69d010.chunk.js │ ├── 7.967e1d92af29b07d7577.chunk.js │ ├── 7.c8343fc6fe1ec09e0174.chunk.js │ ├── 7.chunk.js │ ├── 7.d17f95e59c785373d635.chunk.js │ ├── 8.0307c6c95c8f4ad81aef.chunk.js │ ├── 8.19e15173d369eec4286a.chunk.js │ ├── 8.1d7eccca8f68ce84653b.chunk.js │ ├── 8.206b17b6d43d972e8f46.chunk.js │ ├── 8.284f97e3fb5d4952eb24.chunk.js │ ├── 8.6113284294e9cf69d010.chunk.js │ ├── 8.967e1d92af29b07d7577.chunk.js │ ├── 8.c8343fc6fe1ec09e0174.chunk.js │ ├── 8.chunk.js │ ├── 8.d17f95e59c785373d635.chunk.js │ ├── 9.0307c6c95c8f4ad81aef.chunk.js │ ├── 9.19e15173d369eec4286a.chunk.js │ ├── 9.1d7eccca8f68ce84653b.chunk.js │ ├── 9.206b17b6d43d972e8f46.chunk.js │ ├── 9.284f97e3fb5d4952eb24.chunk.js │ ├── 9.6113284294e9cf69d010.chunk.js │ ├── 9.967e1d92af29b07d7577.chunk.js │ ├── 9.c8343fc6fe1ec09e0174.chunk.js │ ├── 9.chunk.js │ ├── 9.d17f95e59c785373d635.chunk.js │ ├── c2a57202c856f8b4b12a79029911f8e2.jpg │ ├── cce1a3aa586ce757cc2cbfce7ebdfde5.png │ ├── fonts │ │ ├── ionicons.eot │ │ ├── ionicons.svg │ │ ├── ionicons.ttf │ │ └── ionicons.woff │ ├── g.css │ ├── langs │ │ ├── en_GB.js │ │ └── zh_CN.GB2312.js │ ├── main.0307c6c95c8f4ad81aef.css │ ├── main.0307c6c95c8f4ad81aef.js │ ├── main.19e15173d369eec4286a.css │ ├── main.19e15173d369eec4286a.js │ ├── main.1d7eccca8f68ce84653b.css │ ├── main.1d7eccca8f68ce84653b.js │ ├── main.206b17b6d43d972e8f46.css │ ├── main.206b17b6d43d972e8f46.js │ ├── main.284f97e3fb5d4952eb24.css │ ├── main.284f97e3fb5d4952eb24.js │ ├── main.6113284294e9cf69d010.css │ ├── main.6113284294e9cf69d010.js │ ├── main.967e1d92af29b07d7577.css │ ├── main.967e1d92af29b07d7577.js │ ├── main.c8343fc6fe1ec09e0174.css │ ├── main.c8343fc6fe1ec09e0174.js │ ├── main.css │ ├── main.d17f95e59c785373d635.css │ ├── main.d17f95e59c785373d635.js │ ├── main.js │ ├── plugins │ │ ├── advlist │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── anchor │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── autolink │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── autoresize │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── autosave │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── bbcode │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── charmap │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── code │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── codesample │ │ │ ├── css │ │ │ │ └── prism.css │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── colorpicker │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── contextmenu │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── directionality │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── emoticons │ │ │ ├── img │ │ │ │ ├── smiley-cool.gif │ │ │ │ ├── smiley-cry.gif │ │ │ │ ├── smiley-embarassed.gif │ │ │ │ ├── smiley-foot-in-mouth.gif │ │ │ │ ├── smiley-frown.gif │ │ │ │ ├── smiley-innocent.gif │ │ │ │ ├── smiley-kiss.gif │ │ │ │ ├── smiley-laughing.gif │ │ │ │ ├── smiley-money-mouth.gif │ │ │ │ ├── smiley-sealed.gif │ │ │ │ ├── smiley-smile.gif │ │ │ │ ├── smiley-surprised.gif │ │ │ │ ├── smiley-tongue-out.gif │ │ │ │ ├── smiley-undecided.gif │ │ │ │ ├── smiley-wink.gif │ │ │ │ └── smiley-yell.gif │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── fullpage │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── fullscreen │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── help │ │ │ ├── img │ │ │ │ └── logo.png │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── hr │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── image │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── imagetools │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── importcss │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── insertdatetime │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── legacyoutput │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── link │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── lists │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── media │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── nonbreaking │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── noneditable │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── pagebreak │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── paste │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── preview │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── print │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── save │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── searchreplace │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── spellchecker │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── tabfocus │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── table │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── template │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── textcolor │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── textpattern │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── toc │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── visualblocks │ │ │ ├── css │ │ │ │ └── visualblocks.css │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── visualchars │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ └── wordcount │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ ├── r.css │ ├── skins │ │ └── lightgray │ │ │ ├── content.inline.min.css │ │ │ ├── content.min.css │ │ │ ├── content.mobile.min.css │ │ │ ├── fonts │ │ │ ├── tinymce-mobile.woff │ │ │ ├── tinymce-small.eot │ │ │ ├── tinymce-small.svg │ │ │ ├── tinymce-small.ttf │ │ │ ├── tinymce-small.woff │ │ │ ├── tinymce.eot │ │ │ ├── tinymce.svg │ │ │ ├── tinymce.ttf │ │ │ └── tinymce.woff │ │ │ ├── img │ │ │ ├── anchor.gif │ │ │ ├── loader.gif │ │ │ ├── object.gif │ │ │ └── trans.gif │ │ │ ├── skin.min.css │ │ │ └── skin.mobile.min.css │ ├── table.png │ ├── td_icon.ico │ ├── themes │ │ ├── inlite │ │ │ ├── index.js │ │ │ ├── theme.js │ │ │ └── theme.min.js │ │ └── modern │ │ │ ├── index.js │ │ │ ├── theme.js │ │ │ └── theme.min.js │ ├── vender-base.0307c6c95c8f4ad81aef.js │ ├── vender-base.19e15173d369eec4286a.js │ ├── vender-base.1d7eccca8f68ce84653b.js │ ├── vender-base.206b17b6d43d972e8f46.js │ ├── vender-base.284f97e3fb5d4952eb24.js │ ├── vender-base.6113284294e9cf69d010.js │ ├── vender-base.967e1d92af29b07d7577.js │ ├── vender-base.c8343fc6fe1ec09e0174.js │ ├── vender-base.d17f95e59c785373d635.js │ ├── vender-base.js │ ├── vender-exten.0307c6c95c8f4ad81aef.js │ ├── vender-exten.19e15173d369eec4286a.js │ ├── vender-exten.1d7eccca8f68ce84653b.js │ ├── vender-exten.206b17b6d43d972e8f46.js │ ├── vender-exten.284f97e3fb5d4952eb24.js │ ├── vender-exten.6113284294e9cf69d010.js │ ├── vender-exten.967e1d92af29b07d7577.js │ ├── vender-exten.c8343fc6fe1ec09e0174.js │ ├── vender-exten.d17f95e59c785373d635.js │ ├── vender-exten.js │ └── y.css └── index.html ├── github-gif ├── access.gif ├── article-publish.gif ├── code.png ├── count-to.gif ├── dragable-list.gif ├── dragable-table.gif ├── editable-table.gif ├── error-page.gif ├── exportable-table.gif ├── home.gif ├── image-editor.gif ├── locking.gif ├── message.gif ├── page-tags.gif ├── sidebarmenu.gif ├── split-pane.gif ├── table2image.gif ├── theme.gif ├── upload.gif └── workflow.gif ├── index.html ├── package-lock.json ├── package.json ├── src ├── api │ ├── account │ │ └── account.js │ ├── dashboard │ │ └── chart.js │ ├── login.js │ └── sql │ │ ├── authRules.js │ │ ├── check.js │ │ ├── cluster.js │ │ ├── dbs.js │ │ ├── forbiddenwords.js │ │ ├── inception.js │ │ ├── inceptionSettings.js │ │ ├── mailactions.js │ │ ├── slowcomment.js │ │ ├── slowmyorder.js │ │ ├── sloworder.js │ │ ├── slowquery.js │ │ ├── slowqueryrecord.js │ │ ├── sqlquery.js │ │ ├── strategy.js │ │ └── suggestion.js ├── app.vue ├── files │ ├── install.md │ └── soar ├── images │ ├── cropper-test.png │ ├── github │ │ ├── api.jpg │ │ ├── api.png │ │ ├── check.png │ │ ├── dashboard.png │ │ ├── detail1.png │ │ ├── detail2.png │ │ ├── detail3.png │ │ ├── list.png │ │ ├── platsettings.png │ │ ├── query.png │ │ ├── settings.png │ │ ├── user.jpg │ │ └── user.png │ ├── logo-min.jpg │ ├── logo.jpg │ └── mysql.png ├── libs │ ├── http.js │ ├── table2excel.js │ └── util.js ├── locale │ ├── index.js │ └── locale.js ├── main.js ├── router │ ├── index.js │ └── router.js ├── static │ └── base.css ├── store │ ├── index.js │ └── modules │ │ ├── app.js │ │ ├── mystore.js │ │ └── user.js ├── styles │ ├── common.less │ ├── fonts │ │ ├── ionicons.eot │ │ ├── ionicons.svg │ │ ├── ionicons.ttf │ │ └── ionicons.woff │ ├── loading.less │ └── login_bg.jpg ├── template │ └── index.ejs ├── utils │ ├── account │ │ └── account.js │ ├── base │ │ ├── contains.js │ │ └── date.js │ └── sql │ │ ├── data.js │ │ ├── formatData.js │ │ └── inception.js ├── vendors │ ├── vendors.base.js │ └── vendors.exten.js └── views │ ├── Main.vue │ ├── access │ ├── access-test.vue │ ├── access.less │ └── access.vue │ ├── account │ ├── group.vue │ └── user.vue │ ├── home │ ├── components │ │ ├── countUp.vue │ │ ├── dataSourcePie.vue │ │ ├── inforCard.vue │ │ ├── map.vue │ │ ├── mapDataTable.vue │ │ ├── serviceRequests.vue │ │ ├── styles │ │ │ ├── infor-card.less │ │ │ └── to-do-list-item.less │ │ ├── toDoListItem.vue │ │ ├── userFlow.vue │ │ └── visiteVolume.vue │ ├── home.less │ ├── home.vue │ └── map-data │ │ ├── china.json │ │ ├── get-city-value.js │ │ ├── get-geography-value.js │ │ └── get-style-json.js │ ├── login.less │ ├── login.vue │ ├── main-components │ ├── breadcrumb-nav.vue │ ├── fullscreen.vue │ ├── lockscreen │ │ ├── components │ │ │ ├── locking-page.vue │ │ │ └── unlock.vue │ │ ├── lockscreen.vue │ │ └── styles │ │ │ └── unlock.less │ ├── message-tip.vue │ ├── shrinkable-menu │ │ ├── components │ │ │ ├── sidebarMenu.vue │ │ │ └── sidebarMenuShrink.vue │ │ ├── shrinkable-menu.vue │ │ └── styles │ │ │ └── menu.less │ ├── tags-page-opened.vue │ └── theme-switch │ │ ├── theme-switch.vue │ │ └── theme │ │ ├── g.css │ │ ├── r.css │ │ └── y.css │ ├── main.less │ ├── my-components │ ├── area-linkage │ │ ├── area-linkage.less │ │ ├── area-linkage.vue │ │ ├── components │ │ │ ├── al-cascader.vue │ │ │ └── al-selector.vue │ │ └── util │ │ │ └── index.js │ ├── count-to │ │ ├── CountTo.vue │ │ ├── count-to.less │ │ └── count-to.vue │ ├── draggable-list │ │ ├── draggable-list.less │ │ └── draggable-list.vue │ ├── file-upload │ │ ├── file-upload.vue │ │ └── upload.less │ ├── image-editor │ │ ├── cropper.min.css │ │ ├── image-editor.less │ │ └── image-editor.vue │ ├── markdown-editor │ │ ├── markdown-editor.less │ │ ├── markdown-editor.vue │ │ └── simplemde.min.css │ ├── public │ │ └── copyright.vue │ ├── split-pane │ │ ├── split-pane-page.vue │ │ └── split-pane │ │ │ ├── index.js │ │ │ ├── split-pane.less │ │ │ └── split-pane.vue │ ├── sql │ │ └── editor.vue │ └── text-editor │ │ ├── text-editor.vue │ │ └── tinymce │ │ ├── langs │ │ ├── en_GB.js │ │ └── zh_CN.GB2312.js │ │ ├── plugins │ │ ├── advlist │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── anchor │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── autolink │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── autoresize │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── autosave │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── bbcode │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── charmap │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── code │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── codesample │ │ │ ├── css │ │ │ │ └── prism.css │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── colorpicker │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── contextmenu │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── directionality │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── emoticons │ │ │ ├── img │ │ │ │ ├── smiley-cool.gif │ │ │ │ ├── smiley-cry.gif │ │ │ │ ├── smiley-embarassed.gif │ │ │ │ ├── smiley-foot-in-mouth.gif │ │ │ │ ├── smiley-frown.gif │ │ │ │ ├── smiley-innocent.gif │ │ │ │ ├── smiley-kiss.gif │ │ │ │ ├── smiley-laughing.gif │ │ │ │ ├── smiley-money-mouth.gif │ │ │ │ ├── smiley-sealed.gif │ │ │ │ ├── smiley-smile.gif │ │ │ │ ├── smiley-surprised.gif │ │ │ │ ├── smiley-tongue-out.gif │ │ │ │ ├── smiley-undecided.gif │ │ │ │ ├── smiley-wink.gif │ │ │ │ └── smiley-yell.gif │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── fullpage │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── fullscreen │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── help │ │ │ ├── img │ │ │ │ └── logo.png │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── hr │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── image │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── imagetools │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── importcss │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── insertdatetime │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── legacyoutput │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── link │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── lists │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── media │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── nonbreaking │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── noneditable │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── pagebreak │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── paste │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── preview │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── print │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── save │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── searchreplace │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── spellchecker │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── tabfocus │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── table │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── template │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── textcolor │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── textpattern │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── toc │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── visualblocks │ │ │ ├── css │ │ │ │ └── visualblocks.css │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── visualchars │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ └── wordcount │ │ │ ├── index.js │ │ │ ├── plugin.js │ │ │ └── plugin.min.js │ │ ├── skins │ │ └── lightgray │ │ │ ├── content.inline.min.css │ │ │ ├── content.min.css │ │ │ ├── content.mobile.min.css │ │ │ ├── fonts │ │ │ ├── tinymce-mobile.woff │ │ │ ├── tinymce-small.eot │ │ │ ├── tinymce-small.svg │ │ │ ├── tinymce-small.ttf │ │ │ ├── tinymce-small.woff │ │ │ ├── tinymce.eot │ │ │ ├── tinymce.svg │ │ │ ├── tinymce.ttf │ │ │ └── tinymce.woff │ │ │ ├── img │ │ │ ├── anchor.gif │ │ │ ├── loader.gif │ │ │ ├── object.gif │ │ │ └── trans.gif │ │ │ ├── skin.min.css │ │ │ └── skin.mobile.min.css │ │ └── themes │ │ ├── inlite │ │ ├── index.js │ │ ├── theme.js │ │ └── theme.min.js │ │ └── modern │ │ ├── index.js │ │ ├── theme.js │ │ └── theme.min.js │ ├── own-space │ ├── own-space.less │ └── own-space.vue │ ├── pandect │ ├── components │ │ ├── countUp.vue │ │ ├── dataSourcePie.vue │ │ ├── inforCard.vue │ │ ├── serviceRequests.vue │ │ ├── styles │ │ │ ├── infor-card.less │ │ │ └── to-do-list-item.less │ │ ├── toDoListItem.vue │ │ ├── userFlow.vue │ │ └── visiteVolume.vue │ ├── dashboard.vue │ ├── home.less │ └── map-data │ │ ├── china.json │ │ ├── get-city-value.js │ │ ├── get-geography-value.js │ │ └── get-style-json.js │ └── sql │ ├── authRules.vue │ ├── check.vue │ ├── components │ ├── baseInfo.vue │ ├── handleResult.vue │ ├── inceptionInfo.vue │ ├── sqlContentInfo.vue │ └── suggestionInfo.vue │ ├── dbCountList.vue │ ├── dbList.vue │ ├── dbcluster.vue │ ├── inceptionDetail.vue │ ├── inceptionList.vue │ ├── inceptionSettings.vue │ ├── optimize.vue │ ├── personalSettings.vue │ ├── platformSettings.vue │ ├── slowList.vue │ ├── slowlogDetail.vue │ ├── slowmyorderList.vue │ ├── sloworderList.vue │ └── slowrecordList.vue └── td_icon.ico /docker/Dockerfile: -------------------------------------------------------------------------------- 1 | #see 2 | # Version 0.1 3 | 4 | FROM qieangel2013d/see:latest 5 | 6 | MAINTAINER 904208360@qq.com 7 | 8 | CMD ["/etc/rc.local", "-D", "FOREGROUND"] -------------------------------------------------------------------------------- /php/console/controllers/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/controllers/.gitkeep -------------------------------------------------------------------------------- /php/console/models/.gitkeep: -------------------------------------------------------------------------------- 1 | * 2 | -------------------------------------------------------------------------------- /php/console/runtime/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /php/console/services/Base.php: -------------------------------------------------------------------------------- 1 | '驻场项目管理', 17 | 'auth_url' => 'cj-project-resident', 18 | 'parent_url'=> 'expand', 19 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 20 | 'role' => [], 21 | 'creator' => '张鹏飞', 22 | ], 23 | ]; -------------------------------------------------------------------------------- /php/console/template/auth/b_1076_20181026_backend/dir_config.php: -------------------------------------------------------------------------------- 1 | 6 | * @date: 2018/8/29 7 | * [ 8 | 'auth_name'=>'', //权限名称 9 | 'auth_url'=>'', //权限路由 10 | 'parent_url'=>'', //父级权限路由 11 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖 12 | 'role'=>[], //角色数组 all表示所有角色 13 | 'creator'=>'', //创建人姓名 14 | ] 15 | */ 16 | 17 | use common\constants\CommonConstant; 18 | use common\constants\RbacConstant; 19 | 20 | return [ 21 | [ 22 | 'auth_name' => '售卖许可证管理', 23 | 'auth_url' => 'cj-license', 24 | 'parent_url' => 'yw-projects/all', 25 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 26 | 'role' => CommonConstant::ADD_ROLE_ALL, 27 | 'creator' => 'chenchengzhuang', 28 | ] 29 | 30 | ]; 31 | -------------------------------------------------------------------------------- /php/console/template/auth/b_1127_20181108_backend/dir_config.php: -------------------------------------------------------------------------------- 1 | '', //权限名称 11 | 'auth_url'=>'', //权限路由 12 | 'parent_url'=>'', //父级权限路由 13 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖 14 | 'role'=>[], //角色数组 all表示所有角色 15 | 'creator'=>'', //创建人姓名 16 | ] 17 | */ 18 | 19 | 20 | return [ 21 | [ 22 | 'auth_name' => '家财险统计页', 23 | 'auth_url' => 'yw-insure', 24 | 'parent_url' => 'service-manger', 25 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 26 | 'role' => [], 27 | 'creator' => 'jiaweibin', 28 | ] 29 | 30 | ]; -------------------------------------------------------------------------------- /php/console/template/auth/b_1127_20181108_backend/jwb.php: -------------------------------------------------------------------------------- 1 | '', //权限名称 9 | 'auth_url'=>'', //权限路由 10 | 'parent_url'=>'', //父级权限路由 11 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖 12 | 'role'=>[], //角色数组 all表示所有角色 13 | 'creator'=>'', //创建人姓名 14 | ] 15 | */ 16 | 17 | use common\constants\CommonConstant; 18 | use common\constants\RbacConstant; 19 | 20 | return [ 21 | [ 22 | 'auth_name' => '家财险统计页-列表', 23 | 'auth_url' => 'yw-insure/index', 24 | 'parent_url' => 'yw-insure', 25 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 26 | 'role' => [ 27 | RbacConstant::$role_admin, 28 | RbacConstant::$role_data_operation_specialist, 29 | RbacConstant::$role_finance, 30 | ], 31 | 'creator' => 'jiaweibin', 32 | ], 33 | 34 | 35 | ]; 36 | -------------------------------------------------------------------------------- /php/console/template/auth/b_1162_20181120_backend/lj.php: -------------------------------------------------------------------------------- 1 | '', //权限名称 8 | 'auth_url'=>'', //权限路由 9 | 'parent_url'=>'', //父级权限路由 10 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖 11 | 'role'=>[], //角色数组 all表示所有角色 12 | 'creator'=>'', //创建人姓名 13 | ] 14 | */ 15 | 16 | use common\constants\CommonConstant; 17 | use common\constants\RbacConstant; 18 | 19 | return [ 20 | [ 21 | 'auth_name' => '咨询师打车质检页-列表', 22 | 'auth_url' => 'yw-taxi-quality/index', 23 | 'parent_url' => 'yw-taxi-quality', 24 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 25 | 'role' => [ 26 | RbacConstant::$role_admin, 27 | RbacConstant::$role_service_manager 28 | ], 29 | 'creator' => 'lj', 30 | ], 31 | 32 | 33 | ]; -------------------------------------------------------------------------------- /php/console/template/auth/b_1209_20181129_backend/ZhouJianyu.php: -------------------------------------------------------------------------------- 1 | 8 | * 9 | * [ 10 | 'auth_name'=>'', //权限名称 11 | 'auth_url'=>'', //权限路由 12 | 'parent_url'=>'', //父级权限路由 13 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖 14 | 'role'=>[], //角色数组 all表示所有角色 15 | 'creator'=>'', //创建人姓名 16 | ] 17 | */ 18 | 19 | use common\constants\CommonConstant; 20 | use common\constants\RbacConstant; 21 | 22 | return [ 23 | [ 24 | 'auth_name' => '案场日期查询功能', 25 | 'auth_url' => 'cj-case-field/get-case-field', 26 | 'parent_url'=> 'cj-case-field', 27 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 28 | 'role' => ArrayHelper::merge(RbacConstant::getChannelRole(),[ 29 | RbacConstant::$role_admin, 30 | RbacConstant::$role_data_operation_specialist, 31 | RbacConstant::$role_operation_interns, 32 | RbacConstant::$role_operation_manager, 33 | ]), 34 | 'creator' => '周建宇', 35 | ] 36 | ]; -------------------------------------------------------------------------------- /php/console/template/auth/b_1217_20181130_backend/lj.php: -------------------------------------------------------------------------------- 1 | '', //权限名称 8 | 'auth_url'=>'', //权限路由 9 | 'parent_url'=>'', //父级权限路由 10 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖 11 | 'role'=>[], //角色数组 all表示所有角色 12 | 'creator'=>'', //创建人姓名 13 | ] 14 | */ 15 | 16 | use common\constants\CommonConstant; 17 | use common\constants\RbacConstant; 18 | 19 | return [ 20 | [ 21 | 'auth_name' => '用户评论列表-替换图片', 22 | 'auth_url' => 'yw-order-comment/upload-img', 23 | 'parent_url' => 'yw-order-comment', 24 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 25 | 'role' => [ 26 | RbacConstant::$role_admin, 27 | RbacConstant::$role_operation_manager 28 | ], 29 | 'creator' => 'lj', 30 | ], 31 | 32 | ]; -------------------------------------------------------------------------------- /php/console/template/auth/b_855_20180823_backend/pengqiucheng.php: -------------------------------------------------------------------------------- 1 | 6 | * @date: 2018/8/29 7 | * [ 8 | 'auth_name'=>'', //权限名称 9 | 'auth_url'=>'', //权限路由 10 | 'parent_url'=>'', //父级权限路由 11 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖 12 | 'role'=>[], //角色数组 all表示所有角色 13 | 'creator'=>'', //创建人姓名 14 | ] 15 | */ 16 | 17 | use common\constants\CommonConstant; 18 | use common\constants\RbacConstant; 19 | 20 | return [ 21 | [ 22 | 'auth_name' => '人力系统公共权限', 23 | 'auth_url' => 'hr-common', 24 | 'parent_url'=> 'hr-manage', 25 | 'role_type' => CommonConstant::ROLE_TYPE_RECOVER, 26 | 'role' => CommonConstant::ADD_ROLE_ALL, 27 | 'creator' => '彭求诚', 28 | ], 29 | [ 30 | 'auth_name' => '发送短信', 31 | 'auth_url' => 'hr-upload/send-sms', 32 | 'parent_url'=> 'hr-common', 33 | 'role_type' => CommonConstant::ROLE_TYPE_RECOVER, 34 | 'role' => CommonConstant::ADD_ROLE_ALL, 35 | 'creator' => '彭求诚', 36 | ], 37 | ]; 38 | ?> -------------------------------------------------------------------------------- /php/console/template/bd_partner_relation.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/bd_partner_relation.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_building_info_1.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_building_info_1.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_case_field_1.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_case_field_1.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_case_field_10.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_case_field_10.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_case_field_11.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_case_field_11.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_case_field_12.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_case_field_12.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_case_field_2.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_case_field_2.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_case_field_3.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_case_field_3.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_case_field_4.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_case_field_4.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_case_field_5.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_case_field_5.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_case_field_6.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_case_field_6.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_case_field_7.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_case_field_7.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_case_field_8.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_case_field_8.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_case_field_9.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_case_field_9.xlsx -------------------------------------------------------------------------------- /php/console/template/cj_license.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/cj_license.xlsx -------------------------------------------------------------------------------- /php/console/template/employee_bei_phone.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/employee_bei_phone.xlsx -------------------------------------------------------------------------------- /php/console/template/ex_contract_partner.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/ex_contract_partner.xlsx -------------------------------------------------------------------------------- /php/console/template/hr_school_info.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/hr_school_info.xlsx -------------------------------------------------------------------------------- /php/console/template/menu/b_1013_20181012_backend/ChenChengzhuang.php: -------------------------------------------------------------------------------- 1 | 7 | * @date: 2018/7/31 18:10 8 | * [ 9 | 'menu_name'=>'', //菜单名称 10 | 'menu_url'=>'', //菜单路由 11 | 'menu_type'=>'', //菜单类型 1普通类 2视图类(如果是普通类,可不配置此字段) 12 | 'parent_url'=>'', //父级菜单路由 13 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖角色 14 | 'role'=>[], //角色数组 all所有角色 15 | 'creator'=>'', //创建人姓名 16 | 'sort'=>'', //排序 17 | ] 18 | */ 19 | 20 | 21 | use common\constants\CommonConstant; 22 | use common\constants\RbacConstant; 23 | 24 | return [ 25 | [ 26 | 'menu_name' => '地块列表', 27 | 'menu_url' => 'ex-lots/index', 28 | 'menu_type' => '1', 29 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 30 | 'role' => [ 31 | RbacConstant::$role_data_operation_specialist, //数据运营专员 32 | RbacConstant::$role_operation_interns, //运营实习生 33 | RbacConstant::$role_operation_manager, //运营主管 34 | ], 35 | 'creator' => '陈成壮', 36 | ], 37 | 38 | 39 | ]; 40 | -------------------------------------------------------------------------------- /php/console/template/menu/b_1013_20181012_backend/dir_config.php: -------------------------------------------------------------------------------- 1 | 7 | * @date: 2018/10/23 18:10 8 | * [ 9 | 'menu_name'=>'', //菜单名称 10 | 'menu_url'=>'', //菜单路由 11 | 'menu_type'=>'', //菜单类型 1普通类 2视图类(如果是普通类,可不配置此字段) 12 | 'parent_url'=>'', //父级菜单路由 13 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖角色 14 | 'role'=>[], //角色数组 all所有角色 15 | 'creator'=>'', //创建人姓名 16 | 'sort'=>'', //排序 17 | ] 18 | */ 19 | 20 | 21 | use common\constants\CommonConstant; 22 | use common\constants\RbacConstant; 23 | 24 | return [ 25 | [ 26 | 'menu_name' => '资金账务管理', 27 | 'menu_url' => 'cw-accounting-manage/index', 28 | 'parent_url'=> 'hr-manage', 29 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 30 | 'role' => [ 31 | RbacConstant::$role_finance, 32 | ], 33 | 'sort' =>'0', //排序 34 | 'creator' => '白健', 35 | 36 | ], 37 | ]; 38 | -------------------------------------------------------------------------------- /php/console/template/menu/b_1076_20181026_backend/ChenChengzhuang.php: -------------------------------------------------------------------------------- 1 | '售卖许可证', 10 | 'menu_url' => 'cj-license/index', 11 | 'parent_url' => 'yw-projects', 12 | 'menu_type'=>'1', 13 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 14 | 'role' => CommonConstant::ADD_ROLE_ALL, 15 | 'creator' => 'ChenChengzhuang', 16 | ] 17 | ]; -------------------------------------------------------------------------------- /php/console/template/menu/b_1081_20181029_backend/lh.php: -------------------------------------------------------------------------------- 1 | '草签核算详情', 14 | 'menu_url' => '/chart_table.html?table=view_adjust_sign_grass_employee_detail', 15 | 'parent_url' => 'consult-order-adjust-detail', 16 | 'menu_type'=>2, 17 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 18 | 'role' => [ 19 | RbacConstant::$role_admin, 20 | RbacConstant::$role_hr_senior_manager, 21 | RbacConstant::$role_admin_sop, 22 | 'super_admin', 23 | 'financial_director' 24 | ] 25 | ] 26 | ]; -------------------------------------------------------------------------------- /php/console/template/menu/b_1127_20181108_backend/jwb.php: -------------------------------------------------------------------------------- 1 | '家财险统计页', 14 | 'menu_url' => 'yw-insure/index', 15 | 'parent_url' => 'yw-service-admin', 16 | 'menu_type'=>'1', 17 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 18 | 'role' => [ 19 | RbacConstant::$role_admin, 20 | RbacConstant::$role_data_operation_specialist, 21 | RbacConstant::$role_finance, 22 | ], 23 | 'creator' => 'jiaweibin', 24 | ] 25 | ]; -------------------------------------------------------------------------------- /php/console/template/menu/b_1148_20181114_frontend/limingming.php: -------------------------------------------------------------------------------- 1 | '', //菜单名称 9 | 'menu_url'=>'', //菜单路由 10 | 'menu_type'=>'', //菜单类型 1普通类 2视图类(如果是普通类,可不配置此字段) 11 | 'parent_url'=>'', //父级菜单路由 12 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖角色 13 | 'role'=>[], //角色数组 all所有角色 14 | 'creator'=>'', //创建人姓名 15 | 'sort'=>'', //排序 16 | ] 17 | */ 18 | 19 | 20 | use common\constants\CommonConstant; 21 | use common\constants\RbacConstant; 22 | 23 | return [ 24 | [ 25 | 'menu_name' => '楼市头条文章', 26 | 'menu_url' => 'cms-cj-project-headline/index', 27 | 'parent_url'=> 'cms-neirongguanli', 28 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 29 | 'role' => [ 30 | RbacConstant::$role_admin, 31 | RbacConstant::$role_super_admin, 32 | ], 33 | 'creator' => '李明明', 34 | ], 35 | ]; -------------------------------------------------------------------------------- /php/console/template/menu/b_1162_20181120_backend/jwb.php: -------------------------------------------------------------------------------- 1 | '首电质检样本数据表', 13 | 'menu_url' => 'yw-quality-order-first-contact/index', 14 | 'parent_url' => 'yw-service-admin', 15 | 'menu_type'=>1, 16 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 17 | 'role' => [ 18 | RbacConstant::$role_service_manager, 19 | ] 20 | ] 21 | ]; -------------------------------------------------------------------------------- /php/console/template/menu/b_1162_20181120_backend/lj.php: -------------------------------------------------------------------------------- 1 | '咨询师打车质检页', 14 | 'menu_url' => 'yw-taxi-quality/index', 15 | 'parent_url' => 'yw-service-admin', 16 | 'menu_type'=>1, 17 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 18 | 'role' => [ 19 | RbacConstant::$role_admin, 20 | RbacConstant::$role_service_manager 21 | ], 22 | 'creator' => 'lj', 23 | ] 24 | ]; -------------------------------------------------------------------------------- /php/console/template/menu/b_869_20180829_backend/baijian.php: -------------------------------------------------------------------------------- 1 | 9 | * @date: 2018/7/31 18:10 10 | * [ 11 | * 'menu_name'=>'', //菜单名称 12 | * 'menu_url'=>'', //菜单路由 13 | * 'menu_type'=>'', //菜单类型 1普通类 2视图类(如果是普通类,可不配置此字段) 14 | * 'parent_url'=>'', //父级菜单路由 15 | * 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖角色 16 | * 'role'=>[], //角色数组 all所有角色 17 | * 'creator'=>'', //创建人姓名 18 | * 'sort'=>'', //排序 19 | * ] 20 | */ 21 | 22 | 23 | return [ 24 | 25 | ]; 26 | 27 | 28 | 29 | 30 | 31 | ?> -------------------------------------------------------------------------------- /php/console/template/menu/b_869_20180829_backend/haoshehao.php: -------------------------------------------------------------------------------- 1 | 6 | * @date: 2018/10/11 7 | */ 8 | 9 | /** 10 | * 869分支上线菜单配置数组 11 | * @author: haoshehao 12 | * @date: 2018/10/11 13 | * [ 14 | 'menu_name'=>'', //菜单名称 15 | 'menu_url'=>'', //菜单路由 16 | 'menu_type'=>'', //菜单类型 1普通类 2视图类(如果是普通类,可不配置此字段) 17 | 'parent_url'=>'', //父级菜单路由 18 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖角色 19 | 'role'=>[], //角色数组 all所有角色 20 | 'creator'=>'', //创建人姓名 21 | 'sort'=>'', //排序 22 | ] 23 | */ 24 | 25 | use common\constants\CommonConstant; 26 | use common\constants\RbacConstant; 27 | 28 | return 29 | [ 30 | [ 31 | 'menu_name' =>'批量转移候选人', //菜单名称 32 | 'menu_url' =>'zp-orderlist-moving/index', //菜单路由 33 | 'parent_url' =>'zp-manage', //父级菜单路由 34 | 'role_type' =>CommonConstant::ROLE_TYPE_RECOVER, //角色类型 add新增角色 reduce减少角色 recover覆盖角色 35 | 'role' =>[ 36 | RbacConstant::$role_zp_admin 37 | ], 38 | 'sort'=>80, 39 | ] 40 | ]; -------------------------------------------------------------------------------- /php/console/template/menu/b_869_20180829_backend/zhangran.php: -------------------------------------------------------------------------------- 1 | 6 | * @date: 2018/9/3 18:51 7 | */ 8 | 9 | /** 10 | * 869分支上线菜单配置数组 11 | * @author: pengqiucheng 12 | * @date: 2018/7/31 18:10 13 | * [ 14 | 'menu_name'=>'', //菜单名称 15 | 'menu_url'=>'', //菜单路由 16 | 'menu_type'=>'', //菜单类型 1普通类 2视图类(如果是普通类,可不配置此字段) 17 | 'parent_url'=>'', //父级菜单路由 18 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖角色 19 | 'role'=>[], //角色数组 all所有角色 20 | 'creator'=>'', //创建人姓名 21 | 'sort'=>'', //排序 22 | ] 23 | */ 24 | 25 | use common\constants\CommonConstant; 26 | use common\constants\RbacConstant; 27 | 28 | return [ 29 | [ 30 | 'menu_name' =>'个人工作台', 31 | 'menu_url' =>'zp-group/screen-resume', 32 | 'parent_url' =>'zp-manage', 33 | 'role_type' =>CommonConstant::ROLE_TYPE_RECOVER, 34 | 'role' =>[ 35 | RbacConstant::$role_zp_hr, 36 | ], 37 | 'sort'=>100, 38 | ] 39 | ]; 40 | 41 | 42 | -------------------------------------------------------------------------------- /php/console/template/menu/common/kankan.php: -------------------------------------------------------------------------------- 1 | '', //菜单名称 5 | 'menu_url'=>'', //菜单路由 6 | 'menu_type'=>'', //菜单类型 1普通类 2视图类(如果是普通类,可不配置此字段) 7 | 'parent_url'=>'', //父级菜单路由 8 | 'role_type'=>'', //角色类型 add新增角色 reduce减少角色 recover覆盖角色 9 | 'role'=>[], //角色数组 all所有角色 10 | 'creator'=>'', //创建人姓名 11 | 'sort'=>'', //排序 12 | ] 13 | */ 14 | 15 | namespace console\template\menu\common; 16 | 17 | use common\constants\CommonConstant; 18 | use common\constants\RbacConstant; 19 | 20 | return [ 21 | [ 22 | 'menu_name' => '侃侃而坛首页管理-列表页', 23 | 'menu_url' => 'bbs-forum/index', 24 | 'role_type' => CommonConstant::ROLE_TYPE_ADD, 25 | 'role' => [ 26 | RbacConstant::$role_operation_manager, 27 | RbacConstant::$role_operation_interns, 28 | ], 29 | 'creator' => '白少杰', 30 | ], 31 | 32 | ]; 33 | 34 | -------------------------------------------------------------------------------- /php/console/template/offjob.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/offjob.xlsx -------------------------------------------------------------------------------- /php/console/template/partner_employee.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/partner_employee.xlsx -------------------------------------------------------------------------------- /php/console/template/partner_info.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/partner_info.xlsx -------------------------------------------------------------------------------- /php/console/template/project-house-onsale.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/project-house-onsale.xlsx -------------------------------------------------------------------------------- /php/console/template/sign.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/sign.xlsx -------------------------------------------------------------------------------- /php/console/template/update_order_follow_service.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/update_order_follow_service.xlsx -------------------------------------------------------------------------------- /php/console/template/year_holiday_history.bak.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/year_holiday_history.bak.xlsx -------------------------------------------------------------------------------- /php/console/template/year_holiday_history.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/php/console/template/year_holiday_history.xlsx -------------------------------------------------------------------------------- /sqldata/inception/inc.cnf: -------------------------------------------------------------------------------- 1 | [inception] 2 | general_log=1 3 | general_log_file=inc.log 4 | port=6669 5 | socket=/tmp/inc.socket 6 | character-set-client-handshake=0 7 | character-set-server=utf8 8 | inception_remote_system_password=123456 9 | inception_remote_system_user=root 10 | inception_remote_backup_port=3306 11 | inception_remote_backup_host=127.0.0.1 12 | inception_support_charset=utf8 13 | inception_enable_nullable=0 14 | inception_check_primary_key=1 15 | inception_check_column_comment=1 16 | inception_check_table_comment=1 17 | inception_osc_min_table_size=1 18 | inception_osc_bin_dir=/usr/bin 19 | inception_osc_chunk_time=0.1 20 | inception_ddl_support=1 21 | inception_enable_blob_type=1 22 | inception_check_column_default_value=1 23 | -------------------------------------------------------------------------------- /sqldata/www/backend/.gitignore: -------------------------------------------------------------------------------- 1 | *.7z 2 | *.dmg 3 | *.gz 4 | *.iso 5 | *.jar 6 | *.rar 7 | *.tar 8 | *.zip 9 | *.sql 10 | -------------------------------------------------------------------------------- /sqldata/www/backend/README.md: -------------------------------------------------------------------------------- 1 | # backend 2 | 3 | > A Django project 4 | 5 | ## Build Setup 6 | 7 | ``` bash 8 | # install dependencies 9 | pip install --upgrade pip 10 | pip install -r requirements.txt --trusted-host mirrors.aliyun.com -i https://mirrors.aliyun.com/pypi/simple/ 11 | ``` 12 | 13 | ## Start Services 14 | Make sure that the service has been deployed successfully 15 | - Inception 16 | - Redis 17 | - Mysql 18 | - Celery 19 | - Django 20 | 21 | -------------------------------------------------------------------------------- /sqldata/www/backend/account/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/account/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/account/__pycache__/admin.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/__pycache__/admin.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/account/__pycache__/models.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/__pycache__/models.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/account/__pycache__/serializers.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/__pycache__/serializers.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/account/__pycache__/urls.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/__pycache__/urls.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/account/__pycache__/views.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/__pycache__/views.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/account/admin.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals 3 | from .models import User 4 | from django.contrib import admin 5 | 6 | # Register your models here. 7 | 8 | class UserAdmin(admin.ModelAdmin): 9 | list_display = ( 10 | 'username', 11 | 'email', 12 | 'role', 13 | 'remark', 14 | ) 15 | 16 | admin.site.register(User, UserAdmin) 17 | -------------------------------------------------------------------------------- /sqldata/www/backend/account/apps.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals 3 | 4 | from django.apps import AppConfig 5 | 6 | 7 | class AccountConfig(AppConfig): 8 | name = 'account' 9 | -------------------------------------------------------------------------------- /sqldata/www/backend/account/migrations/0002_auto_20181224_1030.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.0.7 on 2018-12-24 10:30 2 | 3 | from django.conf import settings 4 | from django.db import migrations, models 5 | import django.db.models.deletion 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('account', '0001_initial'), 12 | ] 13 | 14 | operations = [ 15 | migrations.AddField( 16 | model_name='user', 17 | name='admin_mail', 18 | field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='admin_devs', to=settings.AUTH_USER_MODEL), 19 | ), 20 | migrations.AlterField( 21 | model_name='user', 22 | name='leader', 23 | field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='leader_devs', to=settings.AUTH_USER_MODEL), 24 | ), 25 | ] 26 | -------------------------------------------------------------------------------- /sqldata/www/backend/account/migrations/0003_user_phone.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.0.7 on 2019-01-21 10:01 2 | 3 | from django.db import migrations, models 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('account', '0002_auto_20181224_1030'), 10 | ] 11 | 12 | operations = [ 13 | migrations.AddField( 14 | model_name='user', 15 | name='phone', 16 | field=models.CharField(default='', max_length=20), 17 | ), 18 | ] 19 | -------------------------------------------------------------------------------- /sqldata/www/backend/account/migrations/0004_user_mail_list_extend.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.0.7 on 2019-02-18 14:45 2 | 3 | from django.db import migrations, models 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('account', '0003_user_phone'), 10 | ] 11 | 12 | operations = [ 13 | migrations.AddField( 14 | model_name='user', 15 | name='mail_list_extend', 16 | field=models.TextField(blank=True, null=True), 17 | ), 18 | ] 19 | -------------------------------------------------------------------------------- /sqldata/www/backend/account/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/migrations/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/account/migrations/__pycache__/0001_initial.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/migrations/__pycache__/0001_initial.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/account/migrations/__pycache__/0002_auto_20181224_1030.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/migrations/__pycache__/0002_auto_20181224_1030.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/account/migrations/__pycache__/0003_user_phone.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/migrations/__pycache__/0003_user_phone.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/account/migrations/__pycache__/0004_user_mail_list_extend.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/migrations/__pycache__/0004_user_mail_list_extend.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/account/migrations/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/account/migrations/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/account/models.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from django.db import models 3 | from django.contrib.auth.models import AbstractUser 4 | 5 | class User(AbstractUser): 6 | 7 | ROLES = ( 8 | ('developer_supremo', u'总监'), 9 | ('developer_manager', u'经理'), 10 | ('developer', u'研发'), 11 | ) 12 | leader = models.ForeignKey('User', null=True, blank=True, on_delete=models.CASCADE, related_name='leader_devs') 13 | admin_mail = models.ForeignKey('User', null=True, blank=True, on_delete=models.CASCADE, related_name='admin_devs') 14 | role = models.CharField(max_length=32, default='developer', choices=ROLES) 15 | mail_list_extend = models.TextField(null=True, blank=True) 16 | remark = models.CharField(max_length=128, default='', blank=True) 17 | phone = models.CharField(max_length=20, default='') 18 | 19 | class Meta: 20 | verbose_name_plural = u'用户' 21 | 22 | def __unicode__(self): 23 | return self.username 24 | -------------------------------------------------------------------------------- /sqldata/www/backend/account/tests.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals 3 | 4 | from django.test import TestCase 5 | 6 | # Create your tests here. 7 | -------------------------------------------------------------------------------- /sqldata/www/backend/account/urls.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from django.conf.urls import include, url 3 | from rest_framework.routers import DefaultRouter 4 | from .views import * 5 | 6 | router = DefaultRouter() 7 | router.register(r'permissions', PermissionViewSet) 8 | router.register(r'groups', GroupViewSet) 9 | router.register(r'users', UserViewSet) 10 | router.register(r'personal', PersonalCenterViewSet, base_name='PersonalCenterViewSet') 11 | 12 | urlpatterns = [ 13 | url(r'^', include(router.urls)), 14 | url(r'^unitaryauth/$', UnitaryAuthView.as_view()) 15 | ] 16 | -------------------------------------------------------------------------------- /sqldata/www/backend/dashboard/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/dashboard/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/dashboard/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/dashboard/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/dashboard/__pycache__/urls.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/dashboard/__pycache__/urls.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/dashboard/__pycache__/views.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/dashboard/__pycache__/views.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/dashboard/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | # Register your models here. 4 | -------------------------------------------------------------------------------- /sqldata/www/backend/dashboard/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class DashboardConfig(AppConfig): 5 | name = 'dashboard' 6 | -------------------------------------------------------------------------------- /sqldata/www/backend/dashboard/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/dashboard/migrations/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/dashboard/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | 3 | # Create your models here. 4 | -------------------------------------------------------------------------------- /sqldata/www/backend/dashboard/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/dashboard/serializers.py -------------------------------------------------------------------------------- /sqldata/www/backend/dashboard/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /sqldata/www/backend/dashboard/urls.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from django.conf.urls import include, url 3 | from rest_framework.routers import DefaultRouter 4 | from .views import * 5 | 6 | router = DefaultRouter() 7 | router.register(r'chart', ChartViewSet) 8 | 9 | urlpatterns = [ 10 | url(r'^', include(router.urls)), 11 | ] 12 | -------------------------------------------------------------------------------- /sqldata/www/backend/inc.log: -------------------------------------------------------------------------------- 1 | /usr/local/inception/builddir/mysql/bin/Inception, Version: Inception2.1.50 (Source distribution). started with: 2 | Tcp port: 6669 Unix socket: /tmp/inc.socket 3 | Time Id Command Argument 4 | -------------------------------------------------------------------------------- /sqldata/www/backend/manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | if __name__ == "__main__": 6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sqlweb.settings") 7 | try: 8 | from django.core.management import execute_from_command_line 9 | except ImportError as exc: 10 | raise ImportError( 11 | "Couldn't import Django. Are you sure it's installed and " 12 | "available on your PYTHONPATH environment variable? Did you " 13 | "forget to activate a virtual environment?" 14 | ) from exc 15 | execute_from_command_line(sys.argv) 16 | -------------------------------------------------------------------------------- /sqldata/www/backend/media/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/media/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/media/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/media/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/media/__pycache__/mixins.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/media/__pycache__/mixins.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/media/__pycache__/urls.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/media/__pycache__/urls.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/media/__pycache__/views.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/media/__pycache__/views.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/media/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | # Register your models here. 4 | -------------------------------------------------------------------------------- /sqldata/www/backend/media/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class MediaConfig(AppConfig): 5 | name = 'media' 6 | -------------------------------------------------------------------------------- /sqldata/www/backend/media/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/media/migrations/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/media/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | 3 | # Create your models here. 4 | -------------------------------------------------------------------------------- /sqldata/www/backend/media/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /sqldata/www/backend/media/urls.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from django.conf.urls import url 3 | from.views import SqlFileView 4 | 5 | urlpatterns = [ 6 | url(r'^download/sqlhandle/(?P\d+).(?P\w+)$', SqlFileView.as_view()) 7 | ] -------------------------------------------------------------------------------- /sqldata/www/backend/media/views.py: -------------------------------------------------------------------------------- 1 | from sqlmng.models import Inceptsql 2 | from .mixins import DownloadBaseView 3 | 4 | # Create your views here. 5 | class SqlFileView(DownloadBaseView): 6 | 7 | model = Inceptsql 8 | 9 | def get_content(self): 10 | pk = self.kwargs.get('pk') 11 | data_type = self.request.GET.get('data_type') 12 | instance = self.model.objects.get(pk=pk) 13 | content = getattr(instance, data_type) 14 | return content 15 | -------------------------------------------------------------------------------- /sqldata/www/backend/requirements.txt: -------------------------------------------------------------------------------- 1 | django==2.0.7 2 | djangorestframework==3.8.2 3 | django-filter==2.0.0 4 | django-rest-swagger==2.1.1 5 | djangorestframework-jwt==1.11.0 6 | django-cors-headers==2.4.0 7 | cryptography==2.3 8 | redis==2.10.6 9 | pymysql==0.9.2 10 | celery==3.1.22 11 | django-celery==3.2.2 12 | celery-with-redis==3.0 13 | gunicorn==19.9.0 14 | -------------------------------------------------------------------------------- /sqldata/www/backend/slowquery/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/slowquery/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/slowquery/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | # Register your models here. 4 | -------------------------------------------------------------------------------- /sqldata/www/backend/slowquery/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class SlowqueryConfig(AppConfig): 5 | name = 'slowquery' 6 | -------------------------------------------------------------------------------- /sqldata/www/backend/slowquery/migrations/0002_auto_20190102_1150.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.0.7 on 2019-01-02 11:50 2 | 3 | from django.db import migrations, models 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('slowquery', '0001_initial'), 10 | ] 11 | 12 | operations = [ 13 | migrations.AlterField( 14 | model_name='slowlog', 15 | name='SQLText', 16 | field=models.TextField(), 17 | ), 18 | migrations.AlterField( 19 | model_name='slowlogorder', 20 | name='SQLText', 21 | field=models.TextField(), 22 | ), 23 | migrations.AlterField( 24 | model_name='slowlogorder', 25 | name='content', 26 | field=models.TextField(), 27 | ), 28 | migrations.AlterField( 29 | model_name='slowrecord', 30 | name='SQLText', 31 | field=models.TextField(), 32 | ), 33 | ] 34 | -------------------------------------------------------------------------------- /sqldata/www/backend/slowquery/migrations/0003_auto_20190102_1437.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.0.7 on 2019-01-02 14:37 2 | 3 | from django.db import migrations, models 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('slowquery', '0002_auto_20190102_1150'), 10 | ] 11 | 12 | operations = [ 13 | migrations.CreateModel( 14 | name='SlowLogComment', 15 | fields=[ 16 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 17 | ('slowid', models.IntegerField()), 18 | ('content', models.TextField()), 19 | ('commentor', models.CharField(default='', max_length=50)), 20 | ('createtime', models.DateTimeField()), 21 | ], 22 | ), 23 | migrations.AddField( 24 | model_name='slowlog', 25 | name='slow_status', 26 | field=models.IntegerField(default=0), 27 | ), 28 | ] 29 | -------------------------------------------------------------------------------- /sqldata/www/backend/slowquery/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/slowquery/migrations/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/slowquery/serializers.py: -------------------------------------------------------------------------------- 1 | # -*- coding:utf-8 -*- 2 | from django.contrib.auth.models import Group, Permission 3 | from collections import OrderedDict 4 | from django.forms.models import model_to_dict 5 | from rest_framework import serializers 6 | from .models import * 7 | 8 | class SlowLogSerializer(serializers.ModelSerializer): 9 | 10 | class Meta: 11 | model = SlowLog 12 | fields = '__all__' 13 | class SlowRecordSerializer(serializers.ModelSerializer): 14 | 15 | class Meta: 16 | model = SlowRecord 17 | fields = '__all__' 18 | class SlowLogOrderSerializer(serializers.ModelSerializer): 19 | 20 | class Meta: 21 | model = SlowLogOrder 22 | fields = '__all__' 23 | class SlowLogCommentSerializer(serializers.ModelSerializer): 24 | 25 | class Meta: 26 | model = SlowLogComment 27 | fields = '__all__' -------------------------------------------------------------------------------- /sqldata/www/backend/slowquery/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /sqldata/www/backend/slowquery/urls.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from django.conf.urls import include, url 3 | from rest_framework.routers import DefaultRouter 4 | 5 | from .views import * 6 | 7 | router = DefaultRouter() 8 | router.register(r'(sloworderlist|detail)', SlowLogOrderViewSet, base_name='SlowLogOrderViewSet') 9 | router.register(r'slowmyorderlist', SlowLogMyOrderViewSet, base_name='SlowLogMyOrderViewSet') 10 | router.register(r'slowcommentlist', SlowLogOrderCommentViewSet, base_name='SlowLogOrderCommentViewSet') 11 | router.register(r'slowloglist', SlowLogViewSet, base_name='SlowLogViewSet') 12 | 13 | urlpatterns = [ 14 | url(r'^', include(router.urls)), 15 | url(r'^slowrecordlist$', SlowRecordViewSet.list), 16 | url(r'^slowlog/update$', SlowLogOrderViewSet.update), 17 | url(r'^slowlog/users$', SlowLogViewSet.maxinfo), 18 | ] -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/__pycache__/admin.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/__pycache__/admin.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/__pycache__/data.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/__pycache__/data.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/__pycache__/management.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/__pycache__/management.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/__pycache__/mixins.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/__pycache__/mixins.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/__pycache__/models.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/__pycache__/models.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/__pycache__/permissions.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/__pycache__/permissions.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/__pycache__/serializers.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/__pycache__/serializers.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/__pycache__/tasks.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/__pycache__/tasks.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/__pycache__/urls.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/__pycache__/urls.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/admin.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals 3 | 4 | from django.contrib import admin 5 | 6 | # Register your models here. 7 | -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/apps.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals 3 | 4 | from django.apps import AppConfig 5 | 6 | 7 | class SqlmngConfig(AppConfig): 8 | name = 'sqlmng' 9 | -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/management.py: -------------------------------------------------------------------------------- 1 | from django.dispatch import receiver 2 | from django.db.models.signals import post_migrate 3 | from .models import * 4 | from .data import * 5 | 6 | class AppMap: 7 | 8 | @property 9 | def data_list(self): 10 | return ( 11 | (InceptionConnection, inception_conn), 12 | (SqlSettings, sql_settings) 13 | ) 14 | 15 | def handle_data(self, model, data): 16 | queryset = model.objects.all() 17 | if queryset.count() is not 1: 18 | queryset.delete() 19 | model.objects.create(**data[0]) 20 | 21 | def sqlmng(self): 22 | for item in self.data_list: 23 | self.handle_data(item[0], item[1]) 24 | 25 | @receiver(post_migrate) 26 | def callback(sender, **kwargs): 27 | sender_name = sender.name 28 | func = getattr(AppMap(), sender_name, None) 29 | if func: 30 | func() -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/middleware.py: -------------------------------------------------------------------------------- 1 | from django.shortcuts import render,HttpResponse,redirect,HttpResponseRedirect 2 | 3 | #try: 4 | 5 | from django.utils.deprecation import MiddlewareMixin # Django 1.10.x 6 | #except ImportError: 7 | # MiddlewareMixin = object # Django 1.4.x - Django 1.9.x 8 | 9 | class SimpleMiddleware(MiddlewareMixin): 10 | def process_request(self, request): 11 | 12 | #if request.path != '/login/' and request.path != '/Web/CheckCode/': 13 | # if request.session.get('user',None): 14 | # pass 15 | # else: 16 | return HttpResponseRedirect('http://www.baidu.com/') -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/migrations/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/migrations/__pycache__/0001_initial.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/migrations/__pycache__/0001_initial.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/migrations/__pycache__/0002_auto_20181224_1030.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/migrations/__pycache__/0002_auto_20181224_1030.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/migrations/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/migrations/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/tests.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals 3 | 4 | from django.test import TestCase 5 | 6 | # Create your tests here. 7 | -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/views/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/views/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/__pycache__/auth_rules.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/views/__pycache__/auth_rules.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/__pycache__/db_cluster.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/views/__pycache__/db_cluster.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/__pycache__/dbtablecount.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/views/__pycache__/dbtablecount.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/__pycache__/inception_check.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/views/__pycache__/inception_check.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/__pycache__/select_data.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/views/__pycache__/select_data.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/__pycache__/settings.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/views/__pycache__/settings.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/__pycache__/suggestion.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/views/__pycache__/suggestion.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/__pycache__/target_db.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/views/__pycache__/target_db.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/__pycache__/workorder_main.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlmng/views/__pycache__/workorder_main.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/auth_rules.py: -------------------------------------------------------------------------------- 1 | #coding=utf8 2 | from utils.baseviews import BaseView 3 | from sqlmng.serializers import * 4 | from sqlmng.data import auth_rules 5 | from sqlmng.mixins import FixedDataMixins 6 | 7 | class AuthRulesViewSet(FixedDataMixins, BaseView): 8 | ''' 9 | 平台权限 10 | ''' 11 | serializer_class = AuthRulesSerializer 12 | search_fields = ['env'] 13 | source_data = auth_rules -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/db_cluster.py: -------------------------------------------------------------------------------- 1 | #coding=utf8 2 | from rest_framework.response import Response 3 | from utils.baseviews import BaseView 4 | from utils.permissions import IsSuperUser 5 | from sqlmng.serializers import * 6 | from sqlmng.models import * 7 | 8 | class DbClusterViewSet(BaseView): 9 | ''' 10 | 数据库集群 11 | ''' 12 | queryset = Cluster.objects.all() 13 | serializer_class = DbClusterSerializer 14 | permission_classes = [IsSuperUser] 15 | search_fields = ['name','remark'] 16 | 17 | def update(self, request, *args, **kwargs): 18 | data = request.data 19 | instance = self.get_object() 20 | serializer = self.serializer_class(instance, data=data) 21 | serializer.is_valid(raise_exception=True) 22 | serializer.save() 23 | dbs = data.get('dbs') 24 | db_queryset = Dbconf.objects.filter(id__in=dbs) 25 | instance.dbconf_set.set(db_queryset) 26 | return Response(self.serializer_class(instance).data) -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/step.py: -------------------------------------------------------------------------------- 1 | #coding=utf8 2 | from utils.baseviews import BaseView 3 | from sqlmng.serializers import * 4 | from sqlmng.models import * 5 | 6 | class StepViewSet(BaseView): 7 | ''' 8 | 工单审批流 9 | ''' 10 | queryset = Step.objects.all() 11 | serializer_class = StepSerializer -------------------------------------------------------------------------------- /sqldata/www/backend/sqlmng/views/suggestion.py: -------------------------------------------------------------------------------- 1 | #coding=utf8 2 | from rest_framework.response import Response 3 | from rest_framework import status 4 | from utils.baseviews import BaseView 5 | from sqlmng.serializers import * 6 | from sqlmng.models import * 7 | 8 | class SuggestionViewSet(BaseView): 9 | ''' 10 | 工单意见评论 11 | ''' 12 | serializer_class = SuggestionSerializer 13 | 14 | def get_queryset(self): 15 | work_order_id = self.request.GET.get('work_order_id') 16 | return Suggestion.objects.filter(work_order_id = work_order_id) 17 | 18 | def create(self, request, *args, **kwargs): 19 | request_data = request.data 20 | request_data['user'] = request.user.id 21 | serializer = self.get_serializer(data=request.data) 22 | serializer.is_valid(raise_exception=True) 23 | self.perform_create(serializer) 24 | headers = self.get_success_headers(serializer.data) 25 | return Response(serializer.data, status=status.HTTP_201_CREATED, headers=headers) 26 | -------------------------------------------------------------------------------- /sqldata/www/backend/sqlweb/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlweb/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/sqlweb/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlweb/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlweb/__pycache__/settings.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlweb/__pycache__/settings.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlweb/__pycache__/urls.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlweb/__pycache__/urls.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlweb/__pycache__/wsgi.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/sqlweb/__pycache__/wsgi.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/sqlweb/gunicorn_config.py: -------------------------------------------------------------------------------- 1 | # 配置服务器的监听ip和端口 2 | bind = '127.0.0.1:8090' 3 | # 以守护进程方式运行 4 | daemon = True 5 | # worker数量 6 | workers = 2 7 | # 错误日志路径 8 | errorlog = '/tmp/gunicorn.error.log' 9 | # 访问日志路径 10 | accesslog = '/tmp/gunicorn.access.log' -------------------------------------------------------------------------------- /sqldata/www/backend/sqlweb/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for sqlweb project. 3 | 4 | It exposes the WSGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.wsgi import get_wsgi_application 13 | 14 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sqlweb.settings") 15 | 16 | application = get_wsgi_application() 17 | -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/basecomponent.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/basecomponent.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/basemixins.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/basemixins.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/basemodels.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/basemodels.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/baseviews.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/baseviews.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/dbcrypt.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/dbcrypt.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/ding.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/ding.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/exceptions.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/exceptions.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/lock.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/lock.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/mail.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/mail.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/permissions.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/permissions.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/sqltools.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/sqltools.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/tasks.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/tasks.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/unitaryauth.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/unitaryauth.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/__pycache__/wrappers.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/utils/__pycache__/wrappers.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/utils/auto_dict.py: -------------------------------------------------------------------------------- 1 | 2 | class AutoVivification(dict): 3 | """Implementation of perl's autovivification feature.""" 4 | 5 | def __getitem__(self, item): 6 | try: 7 | return dict.__getitem__(self, item) 8 | except KeyError: 9 | value = self[item] = type(self)() 10 | return value 11 | -------------------------------------------------------------------------------- /sqldata/www/backend/utils/basecomponent.py: -------------------------------------------------------------------------------- 1 | 2 | import json 3 | import datetime 4 | 5 | class DateEncoder(json.JSONEncoder): 6 | def default(self, obj): 7 | if isinstance(obj, datetime.datetime): 8 | return obj.strftime('%Y-%m-%d %H:%M:%S') 9 | elif isinstance(obj, datetime.date): 10 | return obj.strftime("%Y-%m-%d") 11 | else: 12 | return json.JSONEncoder.default(self, obj) 13 | -------------------------------------------------------------------------------- /sqldata/www/backend/utils/basemodels.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from django.db import models 3 | 4 | class Basemodel(models.Model): 5 | ''' 6 | 基础表(抽象类) 7 | ''' 8 | name = models.CharField(default='', null=True, blank=True, max_length=128, verbose_name='名字') 9 | createtime = models.DateTimeField(auto_now_add=True, verbose_name='创建时间') 10 | updatetime = models.DateTimeField(auto_now=True, verbose_name='修改时间') 11 | remark = models.TextField(default='', null=True, blank=True, verbose_name='备注') 12 | 13 | def __unicode__(self): 14 | return self.name 15 | 16 | class Meta: 17 | abstract = True 18 | ordering = ['-id'] 19 | -------------------------------------------------------------------------------- /sqldata/www/backend/utils/baseviews.py: -------------------------------------------------------------------------------- 1 | #coding=utf8 2 | from rest_framework import viewsets 3 | from rest_framework import filters 4 | from rest_framework.permissions import IsAuthenticated 5 | from rest_framework.pagination import PageNumberPagination 6 | 7 | class ReturnFormatMixin(object): 8 | 9 | @classmethod 10 | def get_ret(cls): 11 | return {'status': 0, 'msg': '', 'data': {}} 12 | 13 | class BasePagination(PageNumberPagination): 14 | page_size_query_param = 'pagesize' 15 | page_query_param = 'page' 16 | max_page_size = 1000 17 | 18 | class DefaultPagination(BasePagination): 19 | page_size = 10 20 | 21 | class MaxSizePagination(BasePagination): 22 | page_size = 1000 23 | 24 | class BaseView(viewsets.ModelViewSet): 25 | queryset = None 26 | serializer_class = None 27 | permission_classes = [] 28 | # 分页 29 | pagination_class = DefaultPagination 30 | # 搜索 31 | filter_backends = [filters.SearchFilter] 32 | search_fields = [] 33 | -------------------------------------------------------------------------------- /sqldata/www/backend/utils/dbcrypt.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | from cryptography.fernet import Fernet 3 | 4 | ## key = base64.urlsafe_b64encode(os.urandom(32)) 生成key 5 | 6 | class prpcrypt: 7 | 8 | key = 'P30cMRRBa9kF3YNYpeKNmlUquLsX6ssOuBdy4yZe8wU=' 9 | 10 | @classmethod 11 | def encrypt(cls, password): 12 | f = Fernet(cls.key) 13 | passwd_encode = password.encode() 14 | token = f.encrypt(passwd_encode) 15 | return token.decode() 16 | 17 | @classmethod 18 | def decrypt(cls, password): 19 | f = Fernet(cls.key) 20 | passwd_encode = password.encode() 21 | token = f.decrypt(passwd_encode) 22 | return token.decode() 23 | -------------------------------------------------------------------------------- /sqldata/www/backend/utils/exceptions.py: -------------------------------------------------------------------------------- 1 | from rest_framework import status 2 | from rest_framework.exceptions import APIException 3 | 4 | class NotValid(APIException): 5 | status_code = status.HTTP_402_PAYMENT_REQUIRED 6 | default_detail = 'commited sql were not valid.' 7 | default_code = 'invalid' 8 | -------------------------------------------------------------------------------- /sqldata/www/backend/utils/lock.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | 3 | import redis 4 | import time 5 | from django.conf import settings 6 | 7 | locals().update(settings.LOCK) 8 | 9 | class RedisLock(object): 10 | 11 | pool = redis.ConnectionPool(host=host, port=port, db=db) 12 | redis_client = redis.Redis(connection_pool=pool) 13 | timeout = timeout 14 | 15 | @classmethod 16 | def delete_lock(cls, key): 17 | cls.redis_client.delete(key) 18 | 19 | @classmethod 20 | def set_lock(cls, key, value): 21 | return cls.redis_client.setnx(key, value) 22 | 23 | @classmethod 24 | def locked(cls, key): 25 | now = int(time.time()) 26 | if cls.set_lock(key, now): # 加锁成功 27 | return True 28 | else: 29 | lock_time = cls.redis_client.get(key) 30 | if now > int(lock_time) + cls.timeout: # (比较当前时间和锁的时间)如果已过期,释放锁 31 | cls.delete_lock(key) 32 | return cls.set_lock(key, now) # 重新加锁 33 | return False -------------------------------------------------------------------------------- /sqldata/www/backend/utils/logger.log: -------------------------------------------------------------------------------- 1 | INFO:root:[] 2 | INFO:root:[] 3 | -------------------------------------------------------------------------------- /sqldata/www/backend/utils/nohup.out: -------------------------------------------------------------------------------- 1 | 2018-12-25 21:39:37 0 [Note] Welcome to use Inception2.1.50 2 | 2018-12-25 21:39:37 4204 [Note] Server hostname (bind-address): '*'; port: 6669 3 | 2018-12-25 21:39:37 4204 [Note] IPv6 is available. 4 | 2018-12-25 21:39:37 4204 [Note] - '::' resolves to '::'; 5 | 2018-12-25 21:39:37 4204 [Note] Server socket created on IP: '::'. 6 | -------------------------------------------------------------------------------- /sqldata/www/backend/utils/permissions.py: -------------------------------------------------------------------------------- 1 | from rest_framework import permissions 2 | 3 | SAFE_METHODS = ('GET', 'HEAD', 'OPTIONS') 4 | 5 | class IsSuperUser(permissions.BasePermission): 6 | """ 7 | Allows access only to super users. 8 | """ 9 | def has_permission(self, request, view): 10 | return request.method in SAFE_METHODS or request.user.is_superuser 11 | -------------------------------------------------------------------------------- /sqldata/www/backend/utils/tasks.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from celery import task 3 | from .mail import Mail 4 | 5 | @task 6 | def send_mail(to_list, personnel, sqlid, note, action_type, sqlcontent, dbname,atuser=[]): 7 | return Mail.send(to_list, personnel, sqlid, note, action_type, sqlcontent, dbname,atuser) -------------------------------------------------------------------------------- /sqldata/www/backend/utils/unitaryauth.py: -------------------------------------------------------------------------------- 1 | import requests 2 | 3 | class UnitaryAuth(object): 4 | 5 | @property 6 | def authenticate(self): 7 | ''' 8 | 1. 请求认证接口, 入参:需要根据接口的定义, 一般是 用户名(username), 密码(password) 9 | 2. 接口认证成功,本方法返回True, 失败返回False 10 | :return: True/False 11 | ''' 12 | data = self.request.data 13 | 14 | ''' 15 | 请求认证接口, 示例如下: 16 | ''' 17 | auth_data = { 18 | 'username':data.get('username'), 19 | 'password':data.get('password') 20 | } 21 | url ='http://127.0.0.1:8090/api/api-token-auth/' 22 | res = requests.post(url, json=auth_data) 23 | return True if res.ok else False 24 | -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/workflow/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/workflow/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/__pycache__/admin.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/workflow/__pycache__/admin.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/__pycache__/models.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/workflow/__pycache__/models.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/__pycache__/serializers.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/workflow/__pycache__/serializers.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | # Register your models here. 4 | -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class WorkflowConfig(AppConfig): 5 | name = 'workflow' 6 | -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/workflow/migrations/__init__.py -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/migrations/__pycache__/0001_initial.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/workflow/migrations/__pycache__/0001_initial.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/migrations/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/backend/workflow/migrations/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | from account.models import User 3 | from utils.basemodels import Basemodel 4 | 5 | # Create your models here. 6 | 7 | class Workorder(Basemodel): 8 | status = models.BooleanField(default=False, verbose_name='审批状态') 9 | 10 | class Step(Basemodel): 11 | STATUS = ( 12 | (-1, u'终止'), 13 | (0, u'待处理'), 14 | (1, u'通过'), 15 | (2, u'驳回'), 16 | (3, u'放弃') 17 | ) 18 | work_order = models.ForeignKey(Workorder, on_delete=models.CASCADE) 19 | user = models.ForeignKey(User, null=True, blank=True, on_delete=models.CASCADE) 20 | status = models.IntegerField(default=0, choices=STATUS) 21 | -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/serializers.py: -------------------------------------------------------------------------------- 1 | from rest_framework import serializers 2 | from .models import Workorder, Step 3 | 4 | class WorkorderSerializer(serializers.ModelSerializer): 5 | 6 | class Meta: 7 | model = Workorder 8 | fields = '__all__' 9 | 10 | class StepSerializer(serializers.ModelSerializer): 11 | 12 | class Meta: 13 | model = Step 14 | fields = '__all__' 15 | -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /sqldata/www/backend/workflow/views.py: -------------------------------------------------------------------------------- 1 | from django.shortcuts import render 2 | 3 | # Create your views here. 4 | -------------------------------------------------------------------------------- /sqldata/www/frontend/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["stage-3", "env"], 3 | "plugins": ["transform-runtime", "syntax-dynamic-import"], 4 | "comments": false 5 | } 6 | -------------------------------------------------------------------------------- /sqldata/www/frontend/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | charset = utf-8 4 | indent_style = space 5 | indent_size = 4 6 | end_of_line = lf 7 | insert_final_newline = true 8 | trim_trailing_whitespace = true 9 | -------------------------------------------------------------------------------- /sqldata/www/frontend/.eslintignore: -------------------------------------------------------------------------------- 1 | src/vendors 2 | src/libs/table2excel.js 3 | build 4 | router.js 5 | src/views/my-components/text-editor/tinymce -------------------------------------------------------------------------------- /sqldata/www/frontend/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "standard", 3 | "root": true, 4 | "parserOptions": { 5 | "ecmaVersion": 6, 6 | "sourceType": "module" 7 | }, 8 | "env": { 9 | "browser": true, 10 | "node": true 11 | }, 12 | "plugins": [ "html", "standard" ], 13 | "rules": { 14 | "indent": ["error", 4, { "SwitchCase": 1 }], 15 | "quotes": ["error", "single"], 16 | "semi": ["error", "always"], 17 | "no-console": ["error"], 18 | "no-empty": 2, 19 | "no-eq-null": 2, 20 | "no-new": 0, 21 | "no-fallthrough": 0, 22 | "no-unreachable": 0 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /sqldata/www/frontend/.gitignore: -------------------------------------------------------------------------------- 1 | npm-debug.log 2 | node_modules 3 | .project 4 | .vscode 5 | .history 6 | .DS_Store 7 | \.settings/ 8 | build/env.js 9 | *.gz 10 | *.zip 11 | -------------------------------------------------------------------------------- /sqldata/www/frontend/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | // to edit target browsers: use "browserslist" field in package.json 6 | "autoprefixer": {} 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /sqldata/www/frontend/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "6" 4 | script: 5 | - npm run test 6 | -------------------------------------------------------------------------------- /sqldata/www/frontend/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 iView 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /sqldata/www/frontend/README.md: -------------------------------------------------------------------------------- 1 | # frontend 2 | 3 | > A Vue.js project 4 | 5 | ## Build Setup 6 | 7 | ``` bash 8 | # install dependencies 9 | npm install 10 | 11 | # serve with hot reload at localhost:8080 12 | npm run dev 13 | 14 | # build for production with minification 15 | npm run build 16 | 17 | # build for production and view the bundle analyzer report 18 | npm run build --report 19 | ``` 20 | 21 | For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). 22 | -------------------------------------------------------------------------------- /sqldata/www/frontend/build/config.js: -------------------------------------------------------------------------------- 1 | import Env from './env'; 2 | 3 | let config = { 4 | env: Env 5 | }; 6 | export default config; 7 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/05acfdb568b3df49ad31355b19495d4a.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/05acfdb568b3df49ad31355b19495d4a.woff -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/24712f6c47821394fba7942fbb52c3b2.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/24712f6c47821394fba7942fbb52c3b2.ttf -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/2c2ae068be3b089e0a5b59abb1831550.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/2c2ae068be3b089e0a5b59abb1831550.eot -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/c2a57202c856f8b4b12a79029911f8e2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/c2a57202c856f8b4b12a79029911f8e2.jpg -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/cce1a3aa586ce757cc2cbfce7ebdfde5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/cce1a3aa586ce757cc2cbfce7ebdfde5.png -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/fonts/ionicons.eot -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/fonts/ionicons.ttf -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/fonts/ionicons.woff -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/advlist/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "advlist" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/advlist') 5 | // ES2015: 6 | // import 'tinymce/plugins/advlist' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/anchor/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "anchor" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/anchor') 5 | // ES2015: 6 | // import 'tinymce/plugins/anchor' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/autolink/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "autolink" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/autolink') 5 | // ES2015: 6 | // import 'tinymce/plugins/autolink' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/autoresize/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "autoresize" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/autoresize') 5 | // ES2015: 6 | // import 'tinymce/plugins/autoresize' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/autosave/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "autosave" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/autosave') 5 | // ES2015: 6 | // import 'tinymce/plugins/autosave' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/bbcode/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "bbcode" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/bbcode') 5 | // ES2015: 6 | // import 'tinymce/plugins/bbcode' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/charmap/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "charmap" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/charmap') 5 | // ES2015: 6 | // import 'tinymce/plugins/charmap' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/code/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "code" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/code') 5 | // ES2015: 6 | // import 'tinymce/plugins/code' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/codesample/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "codesample" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/codesample') 5 | // ES2015: 6 | // import 'tinymce/plugins/codesample' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/colorpicker/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "colorpicker" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/colorpicker') 5 | // ES2015: 6 | // import 'tinymce/plugins/colorpicker' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/contextmenu/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "contextmenu" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/contextmenu') 5 | // ES2015: 6 | // import 'tinymce/plugins/contextmenu' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/directionality/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "directionality" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/directionality') 5 | // ES2015: 6 | // import 'tinymce/plugins/directionality' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-cool.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-cool.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-cry.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-cry.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-embarassed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-embarassed.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-foot-in-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-foot-in-mouth.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-frown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-frown.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-innocent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-innocent.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-kiss.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-laughing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-laughing.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-money-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-money-mouth.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-sealed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-sealed.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-smile.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-surprised.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-surprised.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-tongue-out.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-tongue-out.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-undecided.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-undecided.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-wink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-wink.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-yell.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/emoticons/img/smiley-yell.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/emoticons/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "emoticons" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/emoticons') 5 | // ES2015: 6 | // import 'tinymce/plugins/emoticons' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/fullpage/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "fullpage" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/fullpage') 5 | // ES2015: 6 | // import 'tinymce/plugins/fullpage' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/fullscreen/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "fullscreen" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/fullscreen') 5 | // ES2015: 6 | // import 'tinymce/plugins/fullscreen' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/help/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/plugins/help/img/logo.png -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/help/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "help" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/help') 5 | // ES2015: 6 | // import 'tinymce/plugins/help' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/hr/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "hr" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/hr') 5 | // ES2015: 6 | // import 'tinymce/plugins/hr' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/image/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "image" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/image') 5 | // ES2015: 6 | // import 'tinymce/plugins/image' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/imagetools/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "imagetools" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/imagetools') 5 | // ES2015: 6 | // import 'tinymce/plugins/imagetools' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/importcss/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "importcss" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/importcss') 5 | // ES2015: 6 | // import 'tinymce/plugins/importcss' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/insertdatetime/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "insertdatetime" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/insertdatetime') 5 | // ES2015: 6 | // import 'tinymce/plugins/insertdatetime' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/legacyoutput/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "legacyoutput" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/legacyoutput') 5 | // ES2015: 6 | // import 'tinymce/plugins/legacyoutput' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/link/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "link" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/link') 5 | // ES2015: 6 | // import 'tinymce/plugins/link' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/lists/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "lists" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/lists') 5 | // ES2015: 6 | // import 'tinymce/plugins/lists' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/media/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "media" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/media') 5 | // ES2015: 6 | // import 'tinymce/plugins/media' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/nonbreaking/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "nonbreaking" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/nonbreaking') 5 | // ES2015: 6 | // import 'tinymce/plugins/nonbreaking' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/noneditable/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "noneditable" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/noneditable') 5 | // ES2015: 6 | // import 'tinymce/plugins/noneditable' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/pagebreak/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "pagebreak" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/pagebreak') 5 | // ES2015: 6 | // import 'tinymce/plugins/pagebreak' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/paste/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "paste" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/paste') 5 | // ES2015: 6 | // import 'tinymce/plugins/paste' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/preview/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "preview" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/preview') 5 | // ES2015: 6 | // import 'tinymce/plugins/preview' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/print/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "print" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/print') 5 | // ES2015: 6 | // import 'tinymce/plugins/print' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/save/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "save" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/save') 5 | // ES2015: 6 | // import 'tinymce/plugins/save' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/searchreplace/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "searchreplace" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/searchreplace') 5 | // ES2015: 6 | // import 'tinymce/plugins/searchreplace' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/spellchecker/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "spellchecker" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/spellchecker') 5 | // ES2015: 6 | // import 'tinymce/plugins/spellchecker' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/tabfocus/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "tabfocus" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/tabfocus') 5 | // ES2015: 6 | // import 'tinymce/plugins/tabfocus' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/table/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "table" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/table') 5 | // ES2015: 6 | // import 'tinymce/plugins/table' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/template/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "template" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/template') 5 | // ES2015: 6 | // import 'tinymce/plugins/template' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/textcolor/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "textcolor" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/textcolor') 5 | // ES2015: 6 | // import 'tinymce/plugins/textcolor' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/textpattern/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "textpattern" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/textpattern') 5 | // ES2015: 6 | // import 'tinymce/plugins/textpattern' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/toc/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "toc" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/toc') 5 | // ES2015: 6 | // import 'tinymce/plugins/toc' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/visualblocks/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "visualblocks" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/visualblocks') 5 | // ES2015: 6 | // import 'tinymce/plugins/visualblocks' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/visualchars/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "visualchars" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/visualchars') 5 | // ES2015: 6 | // import 'tinymce/plugins/visualchars' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/plugins/wordcount/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "wordcount" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/wordcount') 5 | // ES2015: 6 | // import 'tinymce/plugins/wordcount' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/skins/lightgray/content.mobile.min.css: -------------------------------------------------------------------------------- 1 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{position:absolute;display:inline-block;background-color:green;opacity:.5}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%} -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce-mobile.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce-mobile.woff -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce-small.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce-small.eot -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce-small.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce-small.ttf -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce-small.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce-small.woff -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce.eot -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce.ttf -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/skins/lightgray/fonts/tinymce.woff -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/skins/lightgray/img/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/skins/lightgray/img/anchor.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/skins/lightgray/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/skins/lightgray/img/loader.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/skins/lightgray/img/object.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/skins/lightgray/img/object.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/skins/lightgray/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/skins/lightgray/img/trans.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/table.png -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/td_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/dist/dist/td_icon.ico -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/themes/inlite/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "inlite" theme for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/themes/inlite') 5 | // ES2015: 6 | // import 'tinymce/themes/inlite' 7 | require('./theme.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/dist/themes/modern/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "modern" theme for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/themes/modern') 5 | // ES2015: 6 | // import 'tinymce/themes/modern' 7 | require('./theme.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/dist/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | iView admin v1.3.1 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/access.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/access.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/article-publish.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/article-publish.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/code.png -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/count-to.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/count-to.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/dragable-list.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/dragable-list.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/dragable-table.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/dragable-table.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/editable-table.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/editable-table.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/error-page.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/error-page.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/exportable-table.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/exportable-table.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/home.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/home.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/image-editor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/image-editor.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/locking.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/locking.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/message.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/message.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/page-tags.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/page-tags.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/sidebarmenu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/sidebarmenu.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/split-pane.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/split-pane.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/table2image.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/table2image.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/theme.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/theme.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/upload.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/upload.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/github-gif/workflow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/github-gif/workflow.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/dashboard/chart.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const chart = '/api/dashboard/chart/'; 4 | 5 | export function GetChartData(params) { 6 | return axios({ 7 | url: chart, 8 | method: 'get', 9 | params 10 | }); 11 | }; -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/login.js: -------------------------------------------------------------------------------- 1 | //import axios from '../libs/http'; 2 | import axios from 'axios' 3 | 4 | const authUrl = '/api/api-token-auth/'; 5 | const UnifiedAuthUrl = '/api/account/unitaryauth/' 6 | 7 | export function Login(data) { 8 | return axios({ 9 | url: authUrl, 10 | method: 'post', 11 | data: data 12 | }); 13 | }; 14 | 15 | export function UnifiedAuth(data) { 16 | return axios({ 17 | url: UnifiedAuthUrl, 18 | method: 'post', 19 | data: data 20 | }); 21 | }; -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/authRules.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const authRules = '/api/sqlmng/authrules/'; 4 | 5 | export function GetAuthRules(params) { 6 | return axios({ 7 | url: authRules, 8 | method: 'get', 9 | params 10 | }); 11 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/check.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http' 2 | 3 | const autoSelects = '/api/sqlmng/autoselects/' 4 | const inceptionCheck = '/api/sqlmng/inceptioncheck/' 5 | const personalSettings = '/api/sqlmng/personalsettings/' 6 | 7 | export function GetSelectData(data) { 8 | return axios({ 9 | url: autoSelects, 10 | method: 'post', 11 | data: data 12 | }) 13 | } 14 | 15 | export function CheckSql(data) { 16 | return axios({ 17 | url: inceptionCheck, 18 | method: 'post', 19 | data: data 20 | }) 21 | } 22 | 23 | export function GetPersonalSettings(params) { 24 | return axios({ 25 | url: personalSettings, 26 | method: 'get', 27 | params 28 | }) 29 | } 30 | 31 | export function CreatePersonalSettings(data) { 32 | return axios({ 33 | url: personalSettings, 34 | method: 'post', 35 | data: data 36 | }) 37 | } 38 | 39 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/cluster.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const dbCluster = '/api/sqlmng/dbcluster/'; 4 | 5 | const dbConfs = '/api/sqlmng/dbconfs/'; 6 | 7 | export function GetDbList (params) { 8 | return axios({ 9 | url: dbConfs, 10 | method: 'get', 11 | params 12 | }); 13 | } 14 | 15 | export function GetClusterList (params) { 16 | return axios({ 17 | url: dbCluster, 18 | method: 'get', 19 | params 20 | }); 21 | } 22 | 23 | export function UpdateCluster (id, data) { 24 | return axios({ 25 | url: dbCluster + id + '/', 26 | method: 'put', 27 | data: data 28 | }); 29 | } 30 | 31 | export function CreateCluster (data) { 32 | return axios({ 33 | url: dbCluster, 34 | method: 'post', 35 | data: data 36 | }); 37 | } 38 | 39 | export function DeleteCluster (id) { 40 | return axios({ 41 | url: dbCluster + id + '/', 42 | method: 'delete', 43 | }); 44 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/dbs.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const dbConfs = '/api/sqlmng/dbconfs/'; 4 | const checkConnUrl = '/api/sqlmng/inception/conncheck/' 5 | 6 | export function GetDbList(params) { 7 | return axios({ 8 | url: dbConfs, 9 | method: 'get', 10 | params 11 | }); 12 | } 13 | 14 | export function UpdateDb(id, data) { 15 | return axios({ 16 | url: dbConfs + id + '/', 17 | method: 'put', 18 | data: data 19 | }); 20 | } 21 | 22 | export function CreateDb(data) { 23 | return axios({ 24 | url: dbConfs, 25 | method: 'post', 26 | data: data 27 | }); 28 | } 29 | 30 | export function DeleteDb(id) { 31 | return axios({ 32 | url: dbConfs + id + '/', 33 | method: 'delete', 34 | }); 35 | } 36 | 37 | export function CheckConn(data) { 38 | return axios({ 39 | url: checkConnUrl, 40 | method: 'post', 41 | data: data 42 | }); 43 | } 44 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/forbiddenwords.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const forbiddenwords = '/api/sqlmng/forbiddenwords/'; 4 | 5 | export function GetFWList(params) { 6 | return axios({ 7 | url: forbiddenwords, 8 | method: 'get', 9 | params 10 | }); 11 | } 12 | 13 | export function UpdateFW(id, data) { 14 | return axios({ 15 | url: forbiddenwords + id + '/', 16 | method: 'put', 17 | data: data 18 | }); 19 | } 20 | 21 | export function CreateFW(data) { 22 | return axios({ 23 | url: forbiddenwords, 24 | method: 'post', 25 | data: data 26 | }); 27 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/inception.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const inceptions = '/api/sqlmng/inceptions/'; 4 | 5 | export function GetSqlList(params) { 6 | return axios({ 7 | url: inceptions, 8 | method: 'get', 9 | params 10 | }); 11 | } 12 | 13 | export function GetSqlDetail(id) { 14 | return axios.get(inceptions + id + '/'); 15 | } 16 | 17 | export function SqlAction(id, action) { 18 | return axios.get(inceptions + id + '/' + action + '/'); 19 | } 20 | 21 | export function SetCron (id, action, data) { 22 | return axios({ 23 | url: inceptions + id + '/' + action + '/', 24 | method: 'post', 25 | data: data 26 | }); 27 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/mailactions.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const mailactions = '/api/sqlmng/mailactions/'; 4 | 5 | export function GetMailActions(params) { 6 | return axios({ 7 | url: mailactions, 8 | method: 'get', 9 | params 10 | }); 11 | } 12 | 13 | export function SetMailActions(data) { 14 | return axios({ 15 | url: mailactions, 16 | method: 'post', 17 | data: data 18 | }); 19 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/slowcomment.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const sloworderlist = '/api/slowquery/slowcommentlist'; 4 | 5 | export function GetSlowList(params) { 6 | return axios({ 7 | url: sloworderlist, 8 | method: 'get', 9 | params 10 | }); 11 | } 12 | 13 | export function Putdata(data){ 14 | return axios({ 15 | url: sloworderlist + '/', 16 | method: 'post', 17 | data: data 18 | }); 19 | } 20 | 21 | export function GetSqlDetail(id) { 22 | return axios.get(slowlogget + id); 23 | } 24 | 25 | export function SqlAction(id, action) { 26 | return axios.get(inceptions + id + '/' + action); 27 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/slowmyorder.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const slowmyorderlist = '/api/slowquery/slowmyorderlist'; 4 | 5 | export function GetSqlList(params) { 6 | return axios({ 7 | url: slowmyorderlist, 8 | method: 'get', 9 | params 10 | }); 11 | } 12 | 13 | export function Putdata(data){ 14 | return axios({ 15 | url: slowmyorderlist + '/', 16 | method: 'post', 17 | data: data 18 | }); 19 | } 20 | 21 | export function GetSqlDetail(id) { 22 | return axios.get(slowlogget + id); 23 | } 24 | 25 | export function SqlAction(id, action) { 26 | return axios.get(inceptions + id + '/' + action); 27 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/sloworder.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const sloworderlist = '/api/slowquery/sloworderlist'; 4 | export function GetSqlList(params) { 5 | return axios({ 6 | url: sloworderlist, 7 | method: 'get', 8 | params 9 | }); 10 | } 11 | 12 | export function GetSqlDetail(id) { 13 | return axios.get(slowlogget + id); 14 | } 15 | 16 | export function SqlUpdateAction(data) { 17 | return axios({ 18 | url: '/api/slowquery/slowlog/update?id='+ data.id + '&status=' + data.status, 19 | method: 'get', 20 | data 21 | }); 22 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/slowquery.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const slowloglist = '/api/slowquery/slowloglist'; 4 | 5 | export function GetSqlList(params) { 6 | return axios({ 7 | url: slowloglist, 8 | method: 'get', 9 | params 10 | }); 11 | } 12 | 13 | export function GetSlowDetail(id) { 14 | return axios.get('/api/slowquery/detail/get?id=' + id); 15 | } 16 | 17 | export function GetUsers() { 18 | return axios.get('/api/slowquery/slowlog/users'); 19 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/slowqueryrecord.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const slowloglist = '/api/slowquery/slowrecordlist'; 4 | 5 | export function GetSqlList(params) { 6 | return axios({ 7 | url: slowloglist, 8 | method: 'get', 9 | params 10 | }); 11 | } 12 | 13 | export function GetSqlDetail(id) { 14 | return axios.get(slowlogget + id); 15 | } 16 | 17 | export function SqlAction(id, action) { 18 | return axios.get(inceptions + id + '/' + action); 19 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/sqlquery.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | const dbConfs = '/api/sqlmng/dbconfs/'; 3 | const dbtablecount = '/api/sqlmng/dbtablecount/'; 4 | 5 | export function GetTableList(id) { 6 | return axios.get(dbConfs + id + '/tables/'); 7 | } 8 | 9 | export function GetDbTableCount (params) { 10 | return axios({ 11 | url: dbtablecount, 12 | method: 'get', 13 | params 14 | }); 15 | } 16 | 17 | export function GetTableInfo(id, tableName) { 18 | return axios.get(dbConfs + id + '/table_info/?table_name=' + tableName); 19 | } 20 | 21 | export function GetSqlAdvisor (id, data) { 22 | return axios({ 23 | url: dbConfs + id + '/sql_advisor/', 24 | method: 'post', 25 | data: data 26 | }); 27 | } 28 | 29 | export function GetSqlSOAR (id, data) { 30 | return axios({ 31 | url: dbConfs + id + '/sql_soar/', 32 | method: 'post', 33 | data: data 34 | }); 35 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/strategy.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const strategy = '/api/sqlmng/strategy/'; 4 | 5 | export function GetStrategyList(params) { 6 | return axios({ 7 | url: strategy, 8 | method: 'get', 9 | params 10 | }); 11 | } 12 | 13 | export function UpdateStrategy(id, data) { 14 | return axios({ 15 | url: strategy + id + '/', 16 | method: 'put', 17 | data: data 18 | }); 19 | } 20 | 21 | export function CreateStrategy(data) { 22 | return axios({ 23 | url: strategy, 24 | method: 'post', 25 | data: data 26 | }); 27 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/api/sql/suggestion.js: -------------------------------------------------------------------------------- 1 | import axios from '../../libs/http'; 2 | 3 | const suggestion = '/api/sqlmng/suggestion/'; 4 | 5 | export function GetSuggestionList(params) { 6 | return axios({ 7 | url: suggestion, 8 | method: 'get', 9 | params 10 | }); 11 | } 12 | 13 | export function CreateSuggestion(data) { 14 | return axios({ 15 | url: suggestion, 16 | method: 'post', 17 | data: data 18 | }); 19 | } 20 | 21 | export function DeleteSuggestion(id) { 22 | return axios({ 23 | url: suggestion + id + '/', 24 | method: 'delete', 25 | }); 26 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/app.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 25 | 26 | 38 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/files/soar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/files/soar -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/cropper-test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/cropper-test.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/api.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/api.jpg -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/api.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/check.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/dashboard.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/detail1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/detail1.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/detail2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/detail2.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/detail3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/detail3.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/list.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/platsettings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/platsettings.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/query.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/query.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/settings.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/user.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/user.jpg -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/github/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/github/user.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/logo-min.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/logo-min.jpg -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/logo.jpg -------------------------------------------------------------------------------- /sqldata/www/frontend/src/images/mysql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/images/mysql.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/locale/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import Locales from './locale'; 3 | import zhLocale from 'iview/src/locale/lang/zh-CN'; 4 | import enLocale from 'iview/src/locale/lang/en-US'; 5 | import zhTLocale from 'iview/src/locale/lang/zh-TW'; 6 | 7 | // 自动设置语言 8 | const navLang = navigator.language; 9 | const localLang = (navLang === 'zh-CN' || navLang === 'en-US') ? navLang : false; 10 | const lang = window.localStorage.lang || localLang || 'zh-CN'; 11 | 12 | Vue.config.lang = lang; 13 | 14 | // 多语言配置 15 | const locales = Locales; 16 | const mergeZH = Object.assign(zhLocale, locales['zh-CN']); 17 | const mergeEN = Object.assign(enLocale, locales['en-US']); 18 | const mergeTW = Object.assign(zhTLocale, locales['zh-TW']); 19 | Vue.locale('zh-CN', mergeZH); 20 | Vue.locale('en-US', mergeEN); 21 | Vue.locale('zh-TW', mergeTW); 22 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/static/base.css: -------------------------------------------------------------------------------- 1 | 2 | .modalcontent { 3 | max-height:300px; 4 | overflow-y:auto 5 | } 6 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import Vuex from 'vuex'; 3 | 4 | import app from './modules/app'; 5 | import user from './modules/user'; 6 | import mystore from './modules/mystore'; 7 | 8 | Vue.use(Vuex); 9 | 10 | const store = new Vuex.Store({ 11 | state: { 12 | // 13 | }, 14 | mutations: { 15 | // 16 | }, 17 | actions: { 18 | 19 | }, 20 | modules: { 21 | app, 22 | user, 23 | mystore 24 | } 25 | }); 26 | 27 | export default store; -------------------------------------------------------------------------------- /sqldata/www/frontend/src/store/modules/mystore.js: -------------------------------------------------------------------------------- 1 | import Cookies from 'js-cookie'; 2 | 3 | const mystore = { 4 | state: { 5 | count: 6 6 | }, 7 | 8 | mutations: { 9 | add(state) { 10 | state.count += 1; 11 | }, 12 | reduce(state, payload) { 13 | state.count -= payload.num; 14 | }, 15 | }, 16 | getters: { 17 | gcount: function(state) { 18 | state.count += 200; 19 | return state.count; 20 | } 21 | }, 22 | 23 | actions: { 24 | addAsync({ commit }) { 25 | setTimeout(() => { 26 | commit('add'); 27 | }, 1000); 28 | } 29 | } 30 | } 31 | 32 | export default mystore -------------------------------------------------------------------------------- /sqldata/www/frontend/src/store/modules/user.js: -------------------------------------------------------------------------------- 1 | import Cookies from 'js-cookie' 2 | 3 | const user = { 4 | state: { 5 | token: '' 6 | }, 7 | mutations: { 8 | logout(state, vm) { 9 | Cookies.remove('user') 10 | Cookies.remove('password') 11 | Cookies.remove('token') 12 | 13 | // 恢复默认样式 14 | let themeLink = document.querySelector('link[name="theme"]') 15 | themeLink.setAttribute('href', '') 16 | // 清空打开的页面等数据,但是保存主题数据 17 | let theme = '' 18 | if (localStorage.theme) { 19 | theme = localStorage.theme 20 | } 21 | // localStorage.clear() 22 | if (theme) { 23 | localStorage.theme = theme 24 | } 25 | } 26 | } 27 | } 28 | 29 | export default user -------------------------------------------------------------------------------- /sqldata/www/frontend/src/styles/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/styles/fonts/ionicons.eot -------------------------------------------------------------------------------- /sqldata/www/frontend/src/styles/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/styles/fonts/ionicons.ttf -------------------------------------------------------------------------------- /sqldata/www/frontend/src/styles/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/styles/fonts/ionicons.woff -------------------------------------------------------------------------------- /sqldata/www/frontend/src/styles/loading.less: -------------------------------------------------------------------------------- 1 | .demo-spin-icon-load{ 2 | animation: ani-demo-spin 1s linear infinite; 3 | } 4 | @keyframes ani-demo-spin { 5 | from { transform: rotate(0deg);} 6 | 50% { transform: rotate(180deg);} 7 | to { transform: rotate(360deg);} 8 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/styles/login_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/styles/login_bg.jpg -------------------------------------------------------------------------------- /sqldata/www/frontend/src/template/index.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <%= htmlWebpackPlugin.options.title %> 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/utils/account/account.js: -------------------------------------------------------------------------------- 1 | 2 | export function contains (arr, obj) { 3 | var i = arr.length; 4 | while (i--) { 5 | if (arr[i].id === obj) { 6 | return true; 7 | } 8 | } 9 | return false; 10 | } 11 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/utils/base/contains.js: -------------------------------------------------------------------------------- 1 | export function ContainsIdList (arr, id) { 2 | var i = arr.length; 3 | while (i--) { 4 | if (arr[i] === id) { 5 | return true; 6 | } 7 | } 8 | return false; 9 | } 10 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/utils/base/date.js: -------------------------------------------------------------------------------- 1 | 2 | export function addDate(date,days) { 3 | var d=new Date(date); 4 | d.setDate(d.getDate()+days); 5 | var m=d.getMonth()+1; 6 | return d.getFullYear()+'-'+m+'-'+d.getDate(); 7 | } 8 | 9 | export function convertNumber (num) { 10 | if (num > 0 && num < 10) { 11 | num = '0' + num; 12 | } 13 | return num; 14 | } 15 | 16 | export function formatDate (date) { 17 | if (typeof (date) === 'string') { 18 | return date; 19 | } 20 | let year = date.getFullYear(); 21 | let month = date.getMonth() + 1; 22 | let day = date.getDate(); 23 | month = convertNumber(month); 24 | day = convertNumber(day); 25 | return year + '-' + month + '-' + day; 26 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/utils/sql/data.js: -------------------------------------------------------------------------------- 1 | 2 | export const dateOption = { 3 | shortcuts: [ 4 | { 5 | text: '1 周', 6 | value () { 7 | const end = new Date(); 8 | const start = new Date(); 9 | start.setTime(start.getTime() - 3600 * 1000 * 24 * 7); 10 | return [start, end]; 11 | } 12 | }, 13 | { 14 | text: '1 月', 15 | value () { 16 | const end = new Date(); 17 | const start = new Date(); 18 | start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); 19 | return [start, end]; 20 | } 21 | }, 22 | { 23 | text: '3 月', 24 | value () { 25 | const end = new Date(); 26 | const start = new Date(); 27 | start.setTime(start.getTime() - 3600 * 1000 * 24 * 90); 28 | return [start, end]; 29 | } 30 | } 31 | ] 32 | } 33 | 34 | 35 | const baseData = { 36 | dateOption: dateOption, 37 | 38 | }; 39 | 40 | export default baseData; 41 | 42 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/vendors/vendors.base.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import iView from 'iview'; 3 | import VueRouter from 'vue-router'; 4 | import Vuex from 'vuex'; 5 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/vendors/vendors.exten.js: -------------------------------------------------------------------------------- 1 | import axios from 'axios'; 2 | // import echarts from 'echarts'; 3 | import Cookies from 'js-cookie'; 4 | import clipboard from 'clipboard'; 5 | import html2canvas from 'html2canvas'; 6 | import rasterizehtml from 'rasterizehtml'; 7 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/access/access-test.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 14 | 15 | 18 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/access/access.less: -------------------------------------------------------------------------------- 1 | .access{ 2 | &-user-con{ 3 | height: 200px; 4 | } 5 | &-current-user-con{ 6 | text-align: center; 7 | padding-top: 10px; 8 | img{ 9 | display: block; 10 | width: 100px; 11 | height: 100px; 12 | border: 2px solid #dddde2; 13 | border-radius: 50%; 14 | margin: 0px auto 10px; 15 | } 16 | p{ 17 | display: block; 18 | padding: 20px 0 0; 19 | b{ 20 | margin: 0 10px; 21 | color: #2d8cf0; 22 | } 23 | } 24 | } 25 | &-change-access-con{ 26 | &-row{ 27 | height: 200px; 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/home/components/mapDataTable.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 32 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/home/components/styles/infor-card.less: -------------------------------------------------------------------------------- 1 | .infor-card-icon-con{ 2 | height: 100%; 3 | } 4 | .height-100{ 5 | height: 100%; 6 | } 7 | .infor-card-con{ 8 | height: 100px; 9 | } 10 | .infor-intro-text{ 11 | font-size:12px; 12 | font-weight:500; 13 | color:#C8C8C8; 14 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/home/components/styles/to-do-list-item.less: -------------------------------------------------------------------------------- 1 | .to-do-list-item-text{ 2 | word-break:keep-all; 3 | white-space:nowrap; 4 | overflow: hidden; 5 | text-overflow: ellipsis; 6 | font-weight: 500; 7 | cursor: pointer; 8 | height: 36px; 9 | 10 | .height-100{ 11 | height: 100%; 12 | } 13 | .infor-icon-row{ 14 | color: #c8c8c8; 15 | } 16 | } 17 | .hasDid{ 18 | text-decoration: line-through; 19 | color: gray; 20 | font-weight: 100; 21 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/home/components/toDoListItem.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 19 | 20 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/home/home.less: -------------------------------------------------------------------------------- 1 | .user-infor{ 2 | height: 135px; 3 | } 4 | .avator-img{ 5 | display: block; 6 | width: 80%; 7 | max-width: 100px; 8 | height: auto; 9 | } 10 | .card-user-infor-name{ 11 | font-size: 2em; 12 | color: #2d8cf0; 13 | } 14 | .card-title{ 15 | color: #abafbd; 16 | } 17 | .made-child-con-middle{ 18 | height: 100%; 19 | } 20 | .to-do-list-con{ 21 | height: 145px; 22 | overflow: auto; 23 | } 24 | .to-do-item{ 25 | padding: 2px; 26 | } 27 | .infor-card-con{ 28 | height: 100px; 29 | } 30 | .infor-card-icon-con{ 31 | height: 100%; 32 | color: white; 33 | border-radius: 3px 0 0 3px; 34 | } 35 | .map-con{ 36 | height: 305px; 37 | } 38 | .map-incon{ 39 | height: 100%; 40 | } 41 | .data-source-row{ 42 | height: 200px; 43 | } 44 | .line-chart-con{ 45 | height: 150px; 46 | } 47 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/home/map-data/get-city-value.js: -------------------------------------------------------------------------------- 1 | export default [ 2 | {name: '海门', value: 45}, 3 | {name: '鄂尔多斯', value: 34}, 4 | {name: '招远', value: 47}, 5 | {name: '舟山', value: 22}, 6 | {name: '齐齐哈尔', value: 74}, 7 | {name: '广州', value: 138}, 8 | {name: '盐城', value: 15}, 9 | {name: '北京', value: 250}, 10 | {name: '深圳', value: 141}, 11 | {name: '赤峰', value: 16}, 12 | {name: '青岛', value: 89}, 13 | {name: '乳山', value: 18}, 14 | {name: '金昌', value: 34}, 15 | {name: '泉州', value: 21}, 16 | {name: '莱西', value: 66}, 17 | {name: '日照', value: 45}, 18 | {name: '胶南', value: 23}, 19 | {name: '南通', value: 54}, 20 | {name: '拉萨', value: 22}, 21 | {name: '云浮', value: 78}, 22 | {name: '梅州', value: 23}, 23 | {name: '文登', value: 78}, 24 | {name: '上海', value: 218} 25 | ]; 26 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/home/map-data/get-geography-value.js: -------------------------------------------------------------------------------- 1 | export default { 2 | '海门': [121.15, 31.89], 3 | '鄂尔多斯': [109.781327, 39.608266], 4 | '招远': [120.38, 37.35], 5 | '舟山': [122.207216, 29.985295], 6 | '齐齐哈尔': [123.97, 47.33], 7 | '广州': [113.23, 23.16], 8 | '盐城': [120.13, 33.38], 9 | '赤峰': [118.87, 42.28], 10 | '深圳': [114.07, 22.62], 11 | '青岛': [120.33, 36.07], 12 | '北京': [116.46, 39.92], 13 | '乳山': [121.52, 36.89], 14 | '金昌': [102.188043, 38.520089], 15 | '泉州': [118.58, 24.93], 16 | '莱西': [120.53, 36.86], 17 | '日照': [119.46, 35.42], 18 | '胶南': [119.97, 35.88], 19 | '南通': [121.05, 32.08], 20 | '拉萨': [91.11, 29.97], 21 | '云浮': [112.02, 22.93], 22 | '梅州': [116.1, 24.55], 23 | '文登': [122.05, 37.2], 24 | '上海': [121.48, 31.22] 25 | }; 26 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/login.less: -------------------------------------------------------------------------------- 1 | .login{ 2 | width: 100%; 3 | height: 100%; 4 | //background-image: url('https://file.iviewui.com/iview-admin/login_bg.jpg'); 5 | background-image: url('../styles/login_bg.jpg'); 6 | background-size: cover; 7 | background-position: center; 8 | position: relative; 9 | &-con{ 10 | position: absolute; 11 | right: 160px; 12 | top: 50%; 13 | transform: translateY(-60%); 14 | width: 300px; 15 | &-header{ 16 | font-size: 16px; 17 | font-weight: 300; 18 | text-align: center; 19 | padding: 30px 0; 20 | } 21 | .form-con{ 22 | padding: 10px 0 0; 23 | } 24 | .login-tip{ 25 | font-size: 10px; 26 | text-align: center; 27 | color: #c3c3c3; 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/main-components/breadcrumb-nav.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 28 | 29 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/main-components/message-tip.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 31 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/main-components/shrinkable-menu/styles/menu.less: -------------------------------------------------------------------------------- 1 | .ivu-shrinkable-menu{ 2 | height: 100%; 3 | width: 100%; 4 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/area-linkage/area-linkage.less: -------------------------------------------------------------------------------- 1 | .area-linkage-page{ 2 | &-row1{ 3 | height: 366px !important; 4 | } 5 | &-row2{ 6 | height: 112px !important; 7 | } 8 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/area-linkage/util/index.js: -------------------------------------------------------------------------------- 1 | let util = {}; 2 | 3 | util.levelArr = [0, 1, 2, 3]; 4 | 5 | util.oneOf = (item, arr) => { 6 | return arr.some(i => { 7 | return i === item; 8 | }); 9 | }; 10 | util.getIndex = (list, name) => { 11 | for (const i in list) { 12 | if (list[i] === name) { 13 | return i; 14 | } 15 | } 16 | }; 17 | 18 | util.dataType = ['all', 'code', 'name']; 19 | 20 | util.checkLevel = val => { 21 | return util.oneOf(val, util.levelArr); 22 | }; 23 | 24 | export default util; 25 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/count-to/count-to.less: -------------------------------------------------------------------------------- 1 | .countto-page-row{ 2 | height: 200px; 3 | } 4 | .count-to-con{ 5 | display: block; 6 | width: 100%; 7 | text-align: center; 8 | } 9 | .pre-code-show-con p{ 10 | height: 30px; 11 | margin: 0; 12 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/draggable-list/draggable-list.less: -------------------------------------------------------------------------------- 1 | .iview-admin-draggable-list{ 2 | height: 100%; 3 | } 4 | .iview-admin-draggable-list li{ 5 | padding: 9px; 6 | border: 1px solid #e7ebee; 7 | border-radius: 3px; 8 | margin-bottom: 5px; 9 | cursor: pointer; 10 | position: relative; 11 | transition: all .2s; 12 | } 13 | .iview-admin-draggable-list li:hover{ 14 | color: #87b4ee; 15 | border-color: #87b4ee; 16 | transition: all .2s; 17 | } 18 | .iview-admin-draggable-delete{ 19 | height: 100%; 20 | position: absolute; 21 | right: -8px; 22 | top: 0px; 23 | display: none; 24 | } 25 | .iview-admin-draggable-list li:hover .iview-admin-draggable-delete{ 26 | display: block; 27 | } 28 | .placeholder-style{ 29 | display: block !important; 30 | color: transparent; 31 | border-style: dashed !important; 32 | } 33 | .delte-item-animation{ 34 | opacity: 0; 35 | transition: all .2s; 36 | } 37 | .iview-admin-draggable-list{ 38 | overflow: auto 39 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/file-upload/upload.less: -------------------------------------------------------------------------------- 1 | .admin-upload-list{ 2 | display: inline-block; 3 | width: 60px; 4 | height: 60px; 5 | text-align: center; 6 | line-height: 60px; 7 | border: 1px solid transparent; 8 | border-radius: 4px; 9 | overflow: hidden; 10 | background: #fff; 11 | position: relative; 12 | box-shadow: 0 1px 1px rgba(0,0,0,.2); 13 | margin-right: 4px; 14 | } 15 | .admin-upload-list img{ 16 | width: 100%; 17 | height: 100%; 18 | } 19 | .admin-upload-list-cover{ 20 | display: none; 21 | position: absolute; 22 | top: 0; 23 | bottom: 0; 24 | left: 0; 25 | right: 0; 26 | background: rgba(0,0,0,.6); 27 | } 28 | .admin-upload-list:hover .admin-upload-list-cover{ 29 | display: block; 30 | } 31 | .admin-upload-list-cover i{ 32 | color: #fff; 33 | font-size: 20px; 34 | cursor: pointer; 35 | margin: 0 2px; 36 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/markdown-editor/markdown-editor.less: -------------------------------------------------------------------------------- 1 | .CodeMirror, .CodeMirror-scroll { 2 | min-height: 600px !important; 3 | } 4 | .CodeMirror{ 5 | height: 400px; 6 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/public/copyright.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/split-pane/split-pane/index.js: -------------------------------------------------------------------------------- 1 | import splitPane from './split-pane.vue'; 2 | 3 | export default splitPane; 4 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/advlist/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "advlist" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/advlist') 5 | // ES2015: 6 | // import 'tinymce/plugins/advlist' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/anchor/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "anchor" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/anchor') 5 | // ES2015: 6 | // import 'tinymce/plugins/anchor' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/autolink/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "autolink" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/autolink') 5 | // ES2015: 6 | // import 'tinymce/plugins/autolink' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/autoresize/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "autoresize" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/autoresize') 5 | // ES2015: 6 | // import 'tinymce/plugins/autoresize' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/autosave/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "autosave" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/autosave') 5 | // ES2015: 6 | // import 'tinymce/plugins/autosave' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/bbcode/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "bbcode" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/bbcode') 5 | // ES2015: 6 | // import 'tinymce/plugins/bbcode' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/charmap/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "charmap" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/charmap') 5 | // ES2015: 6 | // import 'tinymce/plugins/charmap' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/code/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "code" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/code') 5 | // ES2015: 6 | // import 'tinymce/plugins/code' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/codesample/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "codesample" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/codesample') 5 | // ES2015: 6 | // import 'tinymce/plugins/codesample' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/colorpicker/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "colorpicker" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/colorpicker') 5 | // ES2015: 6 | // import 'tinymce/plugins/colorpicker' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/contextmenu/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "contextmenu" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/contextmenu') 5 | // ES2015: 6 | // import 'tinymce/plugins/contextmenu' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/directionality/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "directionality" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/directionality') 5 | // ES2015: 6 | // import 'tinymce/plugins/directionality' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-cool.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-cool.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-cry.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-cry.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-embarassed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-embarassed.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-frown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-frown.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-innocent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-innocent.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-kiss.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-laughing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-laughing.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-money-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-money-mouth.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-sealed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-sealed.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-smile.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-surprised.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-surprised.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-tongue-out.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-tongue-out.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-undecided.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-undecided.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-wink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-wink.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-yell.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/img/smiley-yell.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/emoticons/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "emoticons" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/emoticons') 5 | // ES2015: 6 | // import 'tinymce/plugins/emoticons' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/fullpage/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "fullpage" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/fullpage') 5 | // ES2015: 6 | // import 'tinymce/plugins/fullpage' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/fullscreen/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "fullscreen" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/fullscreen') 5 | // ES2015: 6 | // import 'tinymce/plugins/fullscreen' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/help/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/help/img/logo.png -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/help/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "help" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/help') 5 | // ES2015: 6 | // import 'tinymce/plugins/help' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/hr/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "hr" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/hr') 5 | // ES2015: 6 | // import 'tinymce/plugins/hr' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/image/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "image" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/image') 5 | // ES2015: 6 | // import 'tinymce/plugins/image' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/imagetools/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "imagetools" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/imagetools') 5 | // ES2015: 6 | // import 'tinymce/plugins/imagetools' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/importcss/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "importcss" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/importcss') 5 | // ES2015: 6 | // import 'tinymce/plugins/importcss' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/insertdatetime/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "insertdatetime" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/insertdatetime') 5 | // ES2015: 6 | // import 'tinymce/plugins/insertdatetime' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/legacyoutput/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "legacyoutput" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/legacyoutput') 5 | // ES2015: 6 | // import 'tinymce/plugins/legacyoutput' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/link/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "link" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/link') 5 | // ES2015: 6 | // import 'tinymce/plugins/link' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/lists/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "lists" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/lists') 5 | // ES2015: 6 | // import 'tinymce/plugins/lists' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/media/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "media" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/media') 5 | // ES2015: 6 | // import 'tinymce/plugins/media' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/nonbreaking/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "nonbreaking" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/nonbreaking') 5 | // ES2015: 6 | // import 'tinymce/plugins/nonbreaking' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/noneditable/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "noneditable" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/noneditable') 5 | // ES2015: 6 | // import 'tinymce/plugins/noneditable' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/pagebreak/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "pagebreak" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/pagebreak') 5 | // ES2015: 6 | // import 'tinymce/plugins/pagebreak' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/paste/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "paste" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/paste') 5 | // ES2015: 6 | // import 'tinymce/plugins/paste' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/preview/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "preview" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/preview') 5 | // ES2015: 6 | // import 'tinymce/plugins/preview' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/print/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "print" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/print') 5 | // ES2015: 6 | // import 'tinymce/plugins/print' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/save/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "save" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/save') 5 | // ES2015: 6 | // import 'tinymce/plugins/save' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/searchreplace/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "searchreplace" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/searchreplace') 5 | // ES2015: 6 | // import 'tinymce/plugins/searchreplace' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/spellchecker/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "spellchecker" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/spellchecker') 5 | // ES2015: 6 | // import 'tinymce/plugins/spellchecker' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/tabfocus/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "tabfocus" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/tabfocus') 5 | // ES2015: 6 | // import 'tinymce/plugins/tabfocus' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/table/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "table" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/table') 5 | // ES2015: 6 | // import 'tinymce/plugins/table' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/template/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "template" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/template') 5 | // ES2015: 6 | // import 'tinymce/plugins/template' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/textcolor/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "textcolor" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/textcolor') 5 | // ES2015: 6 | // import 'tinymce/plugins/textcolor' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/textpattern/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "textpattern" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/textpattern') 5 | // ES2015: 6 | // import 'tinymce/plugins/textpattern' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/toc/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "toc" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/toc') 5 | // ES2015: 6 | // import 'tinymce/plugins/toc' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/visualblocks/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "visualblocks" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/visualblocks') 5 | // ES2015: 6 | // import 'tinymce/plugins/visualblocks' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/visualchars/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "visualchars" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/visualchars') 5 | // ES2015: 6 | // import 'tinymce/plugins/visualchars' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/plugins/wordcount/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "wordcount" plugin for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/plugins/wordcount') 5 | // ES2015: 6 | // import 'tinymce/plugins/wordcount' 7 | require('./plugin.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/content.mobile.min.css: -------------------------------------------------------------------------------- 1 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{position:absolute;display:inline-block;background-color:green;opacity:.5}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%} -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce-mobile.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce-mobile.woff -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce-small.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce-small.eot -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce-small.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce-small.ttf -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce-small.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce-small.woff -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce.eot -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce.ttf -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/fonts/tinymce.woff -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/img/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/img/anchor.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/img/loader.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/img/object.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/img/object.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/src/views/my-components/text-editor/tinymce/skins/lightgray/img/trans.gif -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/themes/inlite/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "inlite" theme for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/themes/inlite') 5 | // ES2015: 6 | // import 'tinymce/themes/inlite' 7 | require('./theme.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/my-components/text-editor/tinymce/themes/modern/index.js: -------------------------------------------------------------------------------- 1 | // Exports the "modern" theme for usage with module loaders 2 | // Usage: 3 | // CommonJS: 4 | // require('tinymce/themes/modern') 5 | // ES2015: 6 | // import 'tinymce/themes/modern' 7 | require('./theme.js'); 8 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/own-space/own-space.less: -------------------------------------------------------------------------------- 1 | .own-space{ 2 | &-btn-box{ 3 | margin-bottom: 10px; 4 | button{ 5 | padding-left: 0; 6 | span{ 7 | color: #2D8CF0; 8 | transition: all .2s; 9 | } 10 | span:hover{ 11 | color: #0C25F1; 12 | transition: all .2s; 13 | } 14 | } 15 | } 16 | &-tra{ 17 | width:10px; 18 | height:10px; 19 | transform:rotate(45deg); 20 | position:absolute; 21 | top:50%; 22 | margin-top:-6px; 23 | left:-3px; 24 | box-shadow:0 0 2px 3px rgba(0,0,0,.1); 25 | background-color:white;z-index:100; 26 | } 27 | &-input-identifycode-con{ 28 | position:absolute; 29 | width:200px; 30 | height:100px; 31 | right:-220px; 32 | top:50%; 33 | margin-top:-50px; 34 | border-radius:4px; 35 | box-shadow:0 0 2px 3px rgba(0,0,0,.1); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/pandect/components/styles/infor-card.less: -------------------------------------------------------------------------------- 1 | .infor-card-icon-con{ 2 | height: 100%; 3 | } 4 | .height-100{ 5 | height: 100%; 6 | } 7 | .infor-card-con{ 8 | height: 100px; 9 | } 10 | .infor-intro-text{ 11 | font-size:12px; 12 | font-weight:500; 13 | color:#C8C8C8; 14 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/pandect/components/styles/to-do-list-item.less: -------------------------------------------------------------------------------- 1 | .to-do-list-item-text{ 2 | word-break:keep-all; 3 | white-space:nowrap; 4 | overflow: hidden; 5 | text-overflow: ellipsis; 6 | font-weight: 500; 7 | cursor: pointer; 8 | height: 36px; 9 | 10 | .height-100{ 11 | height: 100%; 12 | } 13 | .infor-icon-row{ 14 | color: #c8c8c8; 15 | } 16 | } 17 | .hasDid{ 18 | text-decoration: line-through; 19 | color: gray; 20 | font-weight: 100; 21 | } -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/pandect/components/toDoListItem.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 19 | 20 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/pandect/home.less: -------------------------------------------------------------------------------- 1 | .user-infor{ 2 | height: 65px; 3 | } 4 | .avator-img{ 5 | display: block; 6 | width: 80%; 7 | max-width: 100px; 8 | height: auto; 9 | } 10 | .card-user-infor-name{ 11 | font-size: 2em; 12 | color: #2d8cf0; 13 | } 14 | .card-title{ 15 | color: #abafbd; 16 | } 17 | .made-child-con-middle{ 18 | height: 100%; 19 | } 20 | .to-do-list-con{ 21 | height: 145px; 22 | overflow: auto; 23 | } 24 | .to-do-item{ 25 | padding: 2px; 26 | } 27 | .infor-card-con{ 28 | height: 100px; 29 | } 30 | .infor-card-icon-con{ 31 | height: 100%; 32 | color: white; 33 | border-radius: 3px 0 0 3px; 34 | } 35 | .map-con{ 36 | height: 305px; 37 | } 38 | .map-incon{ 39 | height: 100%; 40 | } 41 | .data-source-row{ 42 | height: 200px; 43 | } 44 | .line-chart-con{ 45 | height: 100px; 46 | } 47 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/pandect/map-data/get-city-value.js: -------------------------------------------------------------------------------- 1 | export default [ 2 | {name: '海门', value: 45}, 3 | {name: '鄂尔多斯', value: 34}, 4 | {name: '招远', value: 47}, 5 | {name: '舟山', value: 22}, 6 | {name: '齐齐哈尔', value: 74}, 7 | {name: '广州', value: 138}, 8 | {name: '盐城', value: 15}, 9 | {name: '北京', value: 250}, 10 | {name: '深圳', value: 141}, 11 | {name: '赤峰', value: 16}, 12 | {name: '青岛', value: 89}, 13 | {name: '乳山', value: 18}, 14 | {name: '金昌', value: 34}, 15 | {name: '泉州', value: 21}, 16 | {name: '莱西', value: 66}, 17 | {name: '日照', value: 45}, 18 | {name: '胶南', value: 23}, 19 | {name: '南通', value: 54}, 20 | {name: '拉萨', value: 22}, 21 | {name: '云浮', value: 78}, 22 | {name: '梅州', value: 23}, 23 | {name: '文登', value: 78}, 24 | {name: '上海', value: 218} 25 | ]; 26 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/pandect/map-data/get-geography-value.js: -------------------------------------------------------------------------------- 1 | export default { 2 | '海门': [121.15, 31.89], 3 | '鄂尔多斯': [109.781327, 39.608266], 4 | '招远': [120.38, 37.35], 5 | '舟山': [122.207216, 29.985295], 6 | '齐齐哈尔': [123.97, 47.33], 7 | '广州': [113.23, 23.16], 8 | '盐城': [120.13, 33.38], 9 | '赤峰': [118.87, 42.28], 10 | '深圳': [114.07, 22.62], 11 | '青岛': [120.33, 36.07], 12 | '北京': [116.46, 39.92], 13 | '乳山': [121.52, 36.89], 14 | '金昌': [102.188043, 38.520089], 15 | '泉州': [118.58, 24.93], 16 | '莱西': [120.53, 36.86], 17 | '日照': [119.46, 35.42], 18 | '胶南': [119.97, 35.88], 19 | '南通': [121.05, 32.08], 20 | '拉萨': [91.11, 29.97], 21 | '云浮': [112.02, 22.93], 22 | '梅州': [116.1, 24.55], 23 | '文登': [122.05, 37.2], 24 | '上海': [121.48, 31.22] 25 | }; 26 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/sql/components/inceptionInfo.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 20 | 21 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /sqldata/www/frontend/src/views/sql/components/sqlContentInfo.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 20 | 21 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /sqldata/www/frontend/td_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qieangel2013/see/8dbc6d8ecc498d0acabd8017297b5983634f2f3e/sqldata/www/frontend/td_icon.ico --------------------------------------------------------------------------------