Browse Source

url错误

Luolei 6 years atrás
parent
commit
b505321533
2 changed files with 3 additions and 3 deletions
  1. 1 1
      src/store/async-actions/assistCheck.js
  2. 2 2
      src/store/async-actions/inspect.js

+ 1 - 1
src/store/async-actions/assistCheck.js

@@ -27,7 +27,7 @@ export const getSearchList = (val) => {
 
 export const getInstroduce = (id,name)=>{    //获取辅检的提示信息
   return (dispatch, getState) =>{
-      axios.json('/api/icss/introduceInfo/getByQuestionId', {
+      axios.json('/introduceInfo/getByQuestionId', {
         questionId: id?id:'',
         type: 6,
         tagName:name?name:'',

+ 2 - 2
src/store/async-actions/inspect.js

@@ -53,14 +53,14 @@ export const getSublableList = (id,idx) => {
 export const getInstroduce = (id,name,type)=>{    //获取化验的提示信息
   let url = '',param={};
   if(type == 'excel'){
-    url = '/api/icss/introduceInfo/getByQuestionName'
+    url = '/introduceInfo/getByQuestionName'
     param = {
       type: 5,
       tagName:name?name:'',
       position: 1
     }
   }else{
-    url = '/api/icss/introduceInfo/getByQuestionId'
+    url = '/introduceInfo/getByQuestionId'
     param = {
       questionId: id?id:'',
       type: 5,