diff --git a/src/api/model/srm.js b/src/api/model/srm.js index a393189c..288f9d37 100644 --- a/src/api/model/srm.js +++ b/src/api/model/srm.js @@ -162,4 +162,84 @@ patentinfo: { } }, }, + platform: { + list: { + url: `${config.API_URL}/srm/pf/`, + name: "平台台账列表", + req: async function(data){ + return await http.get(this.url, data); + } + }, + item: { + name: "论文台账详情", + req: async function(id){ + return await http.get( `${config.API_URL}/srm/pf/${id}/`); + } + }, + create: { + url: `${config.API_URL}/srm/pf/`, + name: "论文台账创建", + req: async function(data){ + return await http.post(this.url, data); + } + }, + update: { + name: "论文台账更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/srm/pf/${id}/`, + data + ); + } + }, + delete: { + name: "删除论文台账", + req: async function(id){ + return await http.delete(`${config.API_URL}/srm/pf/${id}/`); + } + }, + }, + platstand: { + list: { + url: `${config.API_URL}/srm/ps/`, + name: "平台台账列表", + req: async function(data){ + return await http.get(this.url, data); + } + }, + item: { + name: "平台台账详情", + req: async function(id){ + return await http.get( `${config.API_URL}/srm/ps/${id}/`); + } + }, + create: { + url: `${config.API_URL}/srm/ps/`, + name: "平台台账创建", + req: async function(data){ + return await http.post(this.url, data); + } + }, + update: { + name: "平台台账更新", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/srm/ps/${id}/`, + data + ); + } + }, + delete: { + name: "删除平台台账", + req: async function(id){ + return await http.delete(`${config.API_URL}/srm/ps/${id}/`); + } + }, + get_name: { + name: "获取平台列表", + req: async function(search=''){ + return await http.get(`${config.API_URL}/srm/ps/paper_name/`,{params: { search }}); + } + }, + }, } diff --git a/src/views/home/ly_run_rate.vue b/src/views/home/ly_run_rate.vue index 26cb9161..6ce26f29 100644 --- a/src/views/home/ly_run_rate.vue +++ b/src/views/home/ly_run_rate.vue @@ -7,8 +7,9 @@ + + +
+ + + + + + + 搜索 + + +
+
+
+ + +
+ + + + + + + 搜索 + + +
+
+
@@ -83,50 +128,6 @@ - - -
- - - - - - - 搜索 - - -
-
-
- - -
- - - - - - - 搜索 - - -
-
-
diff --git a/src/views/ofm/borrowfile_form.vue b/src/views/ofm/borrowfile_form.vue index d22d32d6..66ff6e02 100644 --- a/src/views/ofm/borrowfile_form.vue +++ b/src/views/ofm/borrowfile_form.vue @@ -53,7 +53,6 @@ - diff --git a/src/views/ofm/seal.vue b/src/views/ofm/seal.vue index 10cac5a1..18ddc32c 100644 --- a/src/views/ofm/seal.vue +++ b/src/views/ofm/seal.vue @@ -78,7 +78,7 @@ +