Explorar o código

zzy 图片上传修改

zhiyuan-007 hai 8 meses
pai
achega
c357acf506

+ 4 - 4
src/view/other/c-views/data-handle/zsk/qualityTestingReport/settingPart/echartsPart.vue

@@ -189,10 +189,10 @@ export default {
         CHART_CONTENT_TEXT.value = val.CHART_CONTENT_TEXT;
       }
       if(val.CHART_CONTENT_TEXT.title){
-        chartsSettingForm.value.headerContent = val.CHART_CONTENT_TEXT.title.text!==undefined?val.CHART_CONTENT_TEXT.title.text:'';
-        chartsSettingForm.value.fontColor = val.CHART_CONTENT_TEXT.title.textStyle.color;
-        chartsSettingForm.value.fontSize = val.CHART_CONTENT_TEXT.title.textStyle.fontSize;
-        chartsSettingForm.value.fontStyleName = val.CHART_CONTENT_TEXT.title.textStyle.fontWeight;
+        chartsSettingForm.value.headerContent = val.CHART_CONTENT_TEXT.title?.text!==undefined?val.CHART_CONTENT_TEXT.title?.text:'';
+        chartsSettingForm.value.fontColor = val.CHART_CONTENT_TEXT.title?.textStyle?.color;
+        chartsSettingForm.value.fontSize = val.CHART_CONTENT_TEXT.title?.textStyle?.fontSize;
+        chartsSettingForm.value.fontStyleName = val.CHART_CONTENT_TEXT.title?.textStyle?.fontWeight;
         changeTitleUrl(val.CHART_CONTENT_TEXT.title.left)
       }else{
         chartsSettingForm.value.headerContent = '';

+ 6 - 2
src/view/other/c-views/system-manage/interface-manage/interface-manage/InterfaceManageDetail.vue

@@ -22,8 +22,12 @@
                :on-success="uploadSucccess"
                :action="baseUrl() + '/ptjkInterface/select_parameter_upload?appkey='+new UserInfo().GetUserKeyCode()"
                :data="{
-             TYPE:'1'
-             }"
+                 TYPE:'1'
+               }"
+               :headers="{
+                  'Systemtype': 'ebb42096345340359741dcb9c039f15c'
+                }"
+               with-credentials
                ref="upload"
                :show-file-list="true"
 

+ 6 - 2
src/view/other/c-views/system-manage/interface-manage/interface-order/InterfaceOrderDetail.vue

@@ -31,8 +31,12 @@
                 :on-success="uploadSucccess"
                 :action="baseUrl() +'/ptjkInterface/select_parameter_upload?appkey='+new UserInfo().GetUserKeyCode()"
                 :data="{
-             TYPE:'1'
-             }"
+                 TYPE:'1'
+                 }"
+                :headers="{
+                  'Systemtype': 'ebb42096345340359741dcb9c039f15c'
+                }"
+                with-credentials
                 ref="upload"
                 :show-file-list="true"