From 0e3d61e064c068e6235dcb01a973bbe8039caba5 Mon Sep 17 00:00:00 2001 From: gongdi <410827992@qq.com> Date: Thu, 24 Nov 2022 16:29:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=8B=E6=B5=A6=E5=AD=A6=E6=A0=A1=E5=85=AB?= =?UTF-8?q?=E5=A4=A7=E4=B8=AD=E5=BF=83=20=E5=BE=B7=E8=82=B2=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=89=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/uploader/Upload.vue | 1 + src/global-llibs/axios-config.js | 4 ++-- src/global-llibs/staticParams.js | 6 +----- src/views/screenAdaptation/common/centerCommonInfo.vue | 4 ++++ .../servicePlatform/teachingAdmin/shoolBaseCourseInfo.vue | 1 + src/views/screenAdaptation/pages/partyCenter/teamHelp.vue | 5 ++++- 6 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/components/common/uploader/Upload.vue b/src/components/common/uploader/Upload.vue index 2b3b375..d0dcff8 100644 --- a/src/components/common/uploader/Upload.vue +++ b/src/components/common/uploader/Upload.vue @@ -230,6 +230,7 @@ }, // eslint-disable-next-line no-unused-vars onFilesAdded: function (uploader, files, success) { + console.log("filessss:",files) this.alertShow = false; this.isLoading = true; files.forEach((file) => { diff --git a/src/global-llibs/axios-config.js b/src/global-llibs/axios-config.js index 946edd7..f3793f1 100644 --- a/src/global-llibs/axios-config.js +++ b/src/global-llibs/axios-config.js @@ -10,8 +10,8 @@ function getContextHtmlPath (){//获取桶名信息 } return result; } -axios.defaults.baseURL = getContextHtmlPath(); -//axios.defaults.baseURL = '/dsideal_yy/' +//axios.defaults.baseURL = getContextHtmlPath(); +axios.defaults.baseURL = '/dsideal_yy/' axios.defaults.timeout = 800000 axios.defaults.withCredentials = false // axios.defaults.headers['Content-Type'] = 'application/json;charset=UTF-8'; diff --git a/src/global-llibs/staticParams.js b/src/global-llibs/staticParams.js index 6c11181..1f96d61 100644 --- a/src/global-llibs/staticParams.js +++ b/src/global-llibs/staticParams.js @@ -683,16 +683,12 @@ StaticParams.closePopModal = (com) => { * insert:是否调插入资源表接口 默认true * */ StaticParams.uploadFile = (file, callback = null,insert = true) => { - console.log("file:",file) - console.log("callback:",callback) - console.log("insert:",insert) let split = file.name.split('.'); let guid = GUID_UUID.guid(); let key = BaseConfig.url_path_suffix + guid.substring(0, 2) + "/" + guid + "." + split[1] let fd = new FormData(); fd.append('name', file.name) fd.append('key', key) - if (BaseConfig.pt_type === "1") { InterfaceConfig.callInterface([{ url: "uploadres/getSignatureInfo", method: "get", params: {}, isTestLogin: true }], (result) => { if (result[0].success || result[0].status === 200) { @@ -717,10 +713,10 @@ StaticParams.uploadFile = (file, callback = null,insert = true) => { }, }).then((rsp) => { //rsp云上传这里传的值和局上传不一样 - console.log("insert111:",insert) if(insert === true){ StaticParams.insertResource(rsp, file, guid, split[0], split[1], callback) }else { + rsp.data = {url:key} callback({ success: true, data: rsp }) } }).catch((error) => { diff --git a/src/views/screenAdaptation/common/centerCommonInfo.vue b/src/views/screenAdaptation/common/centerCommonInfo.vue index 1dc021e..b4c46f8 100644 --- a/src/views/screenAdaptation/common/centerCommonInfo.vue +++ b/src/views/screenAdaptation/common/centerCommonInfo.vue @@ -234,6 +234,10 @@ } span { line-height: 30px !important; + background-color:transparent !important; + } + strong{ + background-color:transparent !important; } } } diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/shoolBaseCourseInfo.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/shoolBaseCourseInfo.vue index 1f1ea4b..3dc20a1 100644 --- a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/shoolBaseCourseInfo.vue +++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/shoolBaseCourseInfo.vue @@ -198,6 +198,7 @@ } }, attachmentFile: function (file) { + console.log("file:",file) this.attachmentJson = file; }, onChange(value, dateString) { diff --git a/src/views/screenAdaptation/pages/partyCenter/teamHelp.vue b/src/views/screenAdaptation/pages/partyCenter/teamHelp.vue index 3283b70..2480a26 100644 --- a/src/views/screenAdaptation/pages/partyCenter/teamHelp.vue +++ b/src/views/screenAdaptation/pages/partyCenter/teamHelp.vue @@ -96,7 +96,8 @@ "query": { "query_id": "query_dangjian_tuandui", "query_param": [ - this.BaseConfig.person_info_my.bureau_id + "" + //this.BaseConfig.person_info_my.bureau_id + "" + "900008135" ] }, "query_cache": 0, @@ -134,6 +135,7 @@ }) }, showInfo: function (item) { + let param = { "access_token": "system_01##20200102030405##a6ce11eab94df48a6ce11eab", "query": { @@ -155,6 +157,7 @@ let dataInfo = JSON.parse(result[0].data.result); if(dataInfo && dataInfo.length > 0){ let info = dataInfo[0]; + console.log("info:",info) let infoObj = { title:info.info_title, infoArr:[