From 8d0595085686450276bc2a4e1b5f8dd8bc8060c6 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Wed, 12 Feb 2025 15:22:04 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 +- public/static/config.js | 4 +- src/views/system/group/index.vue | 2 +- .../checkManage/checkPlan/index.vue | 1 + .../checkManage/paramSetting/index.vue | 74 +------------------ 5 files changed, 8 insertions(+), 77 deletions(-) diff --git a/.env.production b/.env.production index 1c7f8fc..42d6e24 100644 --- a/.env.production +++ b/.env.production @@ -3,8 +3,8 @@ ENV = 'production' # 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置 # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http -#VUE_APP_BASE_API = 'http://192.168.3.220:12010' -VUE_APP_BASE_API = 'http://192.168.99.86:12010' +VUE_APP_BASE_API = 'http://192.168.3.220:12010' +#VUE_APP_BASE_API = 'http://192.168.99.86:12010' # 如果接口是 http 形式, wss 需要改为 ws #VUE_APP_WS_API = 'ws://27.16.212.58:11100' #VUE_APP_CAMERA_API = '192.168.99.107:3000' diff --git a/public/static/config.js b/public/static/config.js index 0a18e3e..5918b5f 100644 --- a/public/static/config.js +++ b/public/static/config.js @@ -1,7 +1,7 @@ window.g = { AXIOS_TIMEOUT: 10000, - // ApiUrl: 'http://192.168.3.220:12010', // 配置服务器地址, - ApiUrl: 'http://192.168.99.86:12010', // 配置服务器地址, + ApiUrl: 'http://192.168.3.220:12010', // 江夏配置服务器地址, + // ApiUrl: 'http://192.168.99.86:12010', // 配置服务器地址, // ParentPage: { // 后续看需求配置 // CrossDomainProxyUrl: '/Home/CrossDomainProxy', // BtnsApi: '/api/services/app/Authorization/GetBtns', diff --git a/src/views/system/group/index.vue b/src/views/system/group/index.vue index d3aa085..f23e85c 100644 --- a/src/views/system/group/index.vue +++ b/src/views/system/group/index.vue @@ -104,7 +104,7 @@ import { exportFile } from '@/utils/index' import qs from 'qs' import { mapGetters } from 'vuex' -const defaultForm = { id: null, fondsName: null, fondsNameAbbr: null, fondsNo: null, fondsOrders: 999, fondsStatus: null, fondsRemarks: null } +const defaultForm = { id: null, fondsName: null, fondsNameAbbr: null, fondsNo: null, fondsOrders: 999, fondsStatus: 1, fondsRemarks: null } export default { name: 'Group', components: { pagination, crudOperation, rrOperation }, diff --git a/src/views/visualCheck/checkManage/checkPlan/index.vue b/src/views/visualCheck/checkManage/checkPlan/index.vue index aa722ed..69364c5 100644 --- a/src/views/visualCheck/checkManage/checkPlan/index.vue +++ b/src/views/visualCheck/checkManage/checkPlan/index.vue @@ -478,6 +478,7 @@ export default { }, // 新增与编辑前做的操作 [CRUD.HOOK.afterToCU](crud, form) { + this.tabIndex = 0 FetchRegionTree().then(res => { this.regionOptions = [this.transformData(res)] }).catch(() => { diff --git a/src/views/visualCheck/checkManage/paramSetting/index.vue b/src/views/visualCheck/checkManage/paramSetting/index.vue index 0948582..78f1d73 100644 --- a/src/views/visualCheck/checkManage/paramSetting/index.vue +++ b/src/views/visualCheck/checkManage/paramSetting/index.vue @@ -105,50 +105,6 @@ -
- - -
-
- 图书 -
- -
{{ isMobile ? '拍照上传':'上传文件' }}
-
- -
-
- - - - - - - 查看 - -
- @@ -158,13 +114,12 @@ import { encrypt } from '@/utils/rsaEncrypt' import { verifyMaintenance } from '@/api/system/param' import CRUD, { presenter, header, form, crud } from '@crud/crud' import { mapGetters } from 'vuex' -import CropperImage from '../mobileCheck/module/corpper.vue' const defaultForm = { ip: '', maxNum: null } export default { name: 'ParamSetting', - components: { CropperImage }, + components: { }, cruds() { return CRUD({ title: '参数设置', @@ -230,11 +185,7 @@ export default { mainImage: [ { required: true, message: '请上传照片', trigger: 'blur' } ] - }, - // 裁切图片参数 - cropperModel: false, - imgName: '', - imgVisible: false + } } }, computed: { @@ -254,27 +205,6 @@ export default { } }, methods: { - // 封面设置 - uploadPicture() { - this.cropperModel = true - }, - // 图片上传成功后 - handleUploadSuccess(data) { - console.log(data) - this.formValidate.mainImage = data.url - // switch (data.name) { - // case 'flagImg': - // this.formValidate.mainImage = 'http://ydfblog.cn/dfs/' + data.url - // console.log('最终输出' + data.name) - // break - // } - this.cropperModel = false - }, - // 查看大图 - showCoverPreview(imgSrc) { - this.imgVisible = true - this.imgName = imgSrc - }, initData() { crudStockTask.FetchInitSetting().then(res => { this.crud.form.ip = res.ip