psj 2 gadi atpakaļ
vecāks
revīzija
c655676d1f

+ 20 - 20
src/service/interfaceKoolkit.js

@@ -1,6 +1,6 @@
 import {requestInstance} from "@/service/index";
 
-export function selectInterfaceKoolkitMainPageList(RESOURCE_NAME,RESOURCE_TYPE,INTERFACE_STATE,pageSize,pageIndex,appkey){
+export function selectInterfaceKoolkitMainPageList(RESOURCE_NAME,RESOURCE_TYPE,INTERFACE_STATE,pageSize,pageIndex){
     return requestInstance({
         url:'/ptjkInterface/selectInterfaceKoolkitMainPageList',
         data:{
@@ -9,32 +9,32 @@ export function selectInterfaceKoolkitMainPageList(RESOURCE_NAME,RESOURCE_TYPE,I
             'INTERFACE_STATE':INTERFACE_STATE,
             'pageSize':pageSize,
             'pageIndex':pageIndex,
-            "appkey":appkey
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     });
 }
 
-export function selectInterfaceKoolkitMain(UUID,appkey){
+export function selectInterfaceKoolkitMain(UUID){
     return requestInstance({
         url:'/ptjkInterface/selectInterfaceKoolkitMain',
         data:{
             'UUID':UUID,
-            "appkey":appkey
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     });
 }
-export function selectInterfaceKoolkitParameter(UUID,appkey){
+export function selectInterfaceKoolkitParameter(UUID){
     return requestInstance({
         url:'/ptjkInterface/selectInterfaceKoolkitParameter',
         data:{
             'INTERFACE_UUID':UUID,
-            "appkey":appkey
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     });
 }
 
 
-export function addInterfaceKoolkitApply(INTERFACE_UUID,SHARED_FREQUENCY, SHARED_STARTTIME, SHARED_ENDTIME, USE_TERM, IP_ADDRESS, CONCURRENCY, DAY_LIMIT, APPLY_USER, APPLY_UNIT, APPLY_TIME, APPYL_REASON,appkey
+export function addInterfaceKoolkitApply(INTERFACE_UUID,SHARED_FREQUENCY, SHARED_STARTTIME, SHARED_ENDTIME, USE_TERM, IP_ADDRESS, CONCURRENCY, DAY_LIMIT, APPLY_USER, APPLY_UNIT, APPLY_TIME, APPYL_REASON
 ){
     return requestInstance({
         url:'/ptjkInterface/addInterfaceKoolkitApply',
@@ -51,12 +51,12 @@ export function addInterfaceKoolkitApply(INTERFACE_UUID,SHARED_FREQUENCY, SHARED
             "APPLY_UNIT":APPLY_UNIT,
             "APPLY_TIME":APPLY_TIME,
             "APPYL_REASON":APPYL_REASON,
-            "appkey":appkey
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     });
 }
 
-export function selectInterfaceKoolkitApplyPageList(RESOURCE_NAME,RESOURCE_TYPE,APPLY_USER,pageSize,pageIndex,appkey){
+export function selectInterfaceKoolkitApplyPageList(RESOURCE_NAME,RESOURCE_TYPE,APPLY_USER,pageSize,pageIndex){
     return requestInstance({
         url:'/ptjkInterface/selectInterfaceKoolkitApplyPageList',
         data:{
@@ -65,61 +65,61 @@ export function selectInterfaceKoolkitApplyPageList(RESOURCE_NAME,RESOURCE_TYPE,
             'APPLY_USER':APPLY_USER,
             'pageSize':pageSize,
             'pageIndex':pageIndex,
-            "appkey":appkey
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     });
 }
 
 
-export function selectInterfaceKoolkitApplyByUuid(UUID,appkey){
+export function selectInterfaceKoolkitApplyByUuid(UUID){
     return requestInstance({
         url:'/ptjkInterface/selectInterfaceKoolkitApplyByUuid',
         data:{
             'UUID':UUID,
-            "appkey":appkey
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     });
 }
 
 
-export function selectInterfaceKoolkitWarrant(CID,APPLY_UUID,appkey){
+export function selectInterfaceKoolkitWarrant(CID,APPLY_UUID){
     return requestInstance({
         url:'/ptjkInterface/selectInterfaceKoolkitWarrant',
         data:{
             'CID':CID,
             'APPLY_UUID':APPLY_UUID,
-            "appkey":appkey
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     });
 }
 
 
-export function selectDirectiorById(code,appkey){
+export function selectDirectiorById(code){
     return requestInstance({
         url:'/gxyw/selectDirectiorById',
         data:{
             'CODE':code,
-            "appkey":appkey
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     });
 }
 
-export function selectMetadataId(a_id,appkey){
+export function selectMetadataId(a_id){
     return requestInstance({
         url:'/gxyw/selectMetadataId',
         data:{
             'a_id':a_id,
-            "appkey":appkey
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     });
 }
 
-export function selectServiceDetail(a_code,appkey){
+export function selectServiceDetail(a_code){
     return requestInstance({
         url:'/gxyw/selectServiceDetail',
         data:{
             'a_code':a_code,
-            "appkey":appkey
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     });
 }

+ 3 - 3
src/view/interfaceKoolkit/interfaceBrowseController.vue

@@ -124,7 +124,7 @@
                     this.formData.type,
                     '2',
                     this.pageSize,
-                    this.currentPage,"").then(response => {
+                    this.currentPage).then(response => {
                         this.loading=false;
                         this.loadInterfaceKoolkitMainPageList(response);
                     });
@@ -186,7 +186,7 @@
                     this.formData.type,
                     '2',
                     this.pageSize,
-                    this.currentPage,"").then(response => {
+                    this.currentPage).then(response => {
                     this.loading=false;
                     this.loadInterfaceKoolkitMainPageList(response);
                 });
@@ -199,7 +199,7 @@
                     '2',
                     this.pageSize,
                     this.currentPage
-                    ,"").then(response => {
+                    ).then(response => {
                     this.loading=false;
                     this.loadInterfaceKoolkitMainPageList(response);
                 });

+ 5 - 5
src/view/interfaceKoolkit/interfaceBrowseDetails.vue

@@ -556,7 +556,7 @@
 
 
                 selectInterfaceKoolkitMain(
-                    this.uuid,"").then(response => {
+                    this.uuid).then(response => {
                     this.loading=false;
                     let dataArr = response.msg[0].Rows
                     this.totalCount =response.msg[0].TotalRowCount;
@@ -621,7 +621,7 @@
                 this.put_tableData=[];
                 this.out_tableData=[];
                 selectInterfaceKoolkitParameter(
-                    this.uuid,"").then(response => {
+                    this.uuid).then(response => {
                     let dataArr = response.msg[0].Rows;
                     this.totalCount =response.msg[0].TotalRowCount;
                     if(dataArr.length > 0){
@@ -789,7 +789,7 @@
                     this.applyData.APPLY_USER,
                     this.applyData.APPLY_UNIT,
                     this.applyData.APPLY_TIME,
-                    this.applyData.APPYL_REASON,"").then(response => {
+                    this.applyData.APPYL_REASON).then(response => {
                     var date = response.msg;
                     if (date[0]["success"] == "true") {
                         MessageBox('提交成功', '提示', {
@@ -835,7 +835,7 @@
                     return;
                 }
                 selectInterfaceKoolkitApplyByUuid(
-                    this.apply_uuid,"").then(response => {
+                    this.apply_uuid).then(response => {
                     let dataArr = response.msg[0].Rows;
                     if(dataArr.length > 0){
                         this.applyData.INTERFACE_UUID=dataArr[0]["INTERFACE_UUID"];
@@ -900,7 +900,7 @@
                 this.warrantData.TOKEN='';
                 this.warrantData.STATE='';
                 selectInterfaceKoolkitWarrant(this.uuid,
-                    this.apply_uuid,"").then(response => {
+                    this.apply_uuid).then(response => {
                     let dataArr = response.msg[0].Rows;
                     if(dataArr.length > 0){
                         this.warrantData.UUID=dataArr[0]["UUID"];

+ 1 - 1
src/view/interfaceKoolkit/myInterfaceController.vue

@@ -166,7 +166,7 @@
                     this.formData.type,
                     localStorage.getItem("zhfx_usercode"),
                     this.pageSize,
-                    this.currentPage,"").then(response => {
+                    this.currentPage).then(response => {
                     this.loading=false;
                     this.loadInterfaceKoolkitMainPageList(response);
                 });