|
@@ -1263,12 +1263,12 @@ export {
|
|
|
coalDataInterface,
|
|
|
steelInterface,
|
|
|
steoInterface,
|
|
|
- sciDataInterface,
|
|
|
- baiinfoInterface,
|
|
|
- nationalInterface,
|
|
|
- databankInterface,
|
|
|
- yongyiInterface,
|
|
|
- fwmtInterface,
|
|
|
+ sciDataInterface,
|
|
|
+ baiinfoInterface,
|
|
|
+ nationalInterface,
|
|
|
+ databankInterface,
|
|
|
+ yongyiInterface,
|
|
|
+ fwmtInterface,
|
|
|
guangqiInterface,
|
|
|
icpiInterface,
|
|
|
zczxInterface,
|
|
@@ -1277,4 +1277,195 @@ export {
|
|
|
ccfDataInterface,
|
|
|
windInterface,
|
|
|
highFrequencyDataInterface
|
|
|
-}
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/* 卓创红期数据 */
|
|
|
+export const zhuochuangRedStageInterface = {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 分类列表
|
|
|
+ * @param {*} params
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ classifyList: params => {
|
|
|
+ return http.get('/datamanage/sci_hq/classify')
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 添加分类
|
|
|
+ * @param {*ParentId ClassifyName} params
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ classifyAdd: params => {
|
|
|
+ return http.post('/datamanage/sci_hq/classify/add',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 编辑分类
|
|
|
+ * @param {* ClassifyName ClassifyId} params
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ classifyEdit: params => {
|
|
|
+ return http.post('/datamanage/sci_hq/classify/edit',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 删除分类
|
|
|
+ * @param {*} params ClassifyId
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ classifyDel: params => {
|
|
|
+ return http.post('/datamanage/sci_hq/classify/del',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 移动分类
|
|
|
+ * @param {*} params
|
|
|
+ * ClassifyId PrevClassifyId NextClassifyId
|
|
|
+ ParentId
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ classifyMove: params => {
|
|
|
+ return http.post('/datamanage/sci_hq/classify/move',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 指标懒加载
|
|
|
+ * @param {*ClassifyId} params
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ edbListForClassify:params=>{
|
|
|
+ return http.get('/datamanage/sci_hq/index/list',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取指标列表
|
|
|
+ * @param {*} params PageSize CurrentIndex IsListAll
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ getEdbList: params => {
|
|
|
+ return http.get('/datamanage/sci_hq/index/page/list',params)
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数据接口
|
|
|
+ * @param {*} params IndexCode
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ getEdbData: params => {
|
|
|
+ return http.get('/datamanage/sci_hq/single_data',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 编辑指标
|
|
|
+ * @param {*} params
|
|
|
+ * BaseFromSciHqIndexId
|
|
|
+ * ClassifyId
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ edbEdit: params => {
|
|
|
+ return http.post('/datamanage/sci_hq/edit',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 指标移动
|
|
|
+ * @param {*} params
|
|
|
+ * BaseFromSciHqIndexId
|
|
|
+ * ClassifyId
|
|
|
+ * PrevBaseFromSciHqIndexId
|
|
|
+ * NextBaseFromSciHqIndexId
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ edbMove: params => {
|
|
|
+ return http.post('/datamanage/sci_hq/move',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 清除指标分类
|
|
|
+ * @param {* BaseFromSciHqIndexId} params
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ clearEdbClassify: params => {
|
|
|
+ return http.post('/datamanage/sci_hq/reset',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 指标删除
|
|
|
+ * @param {*} params BaseFromSciHqIndexId
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ edbDel: params => {
|
|
|
+ return http.post('/datamanage/sci_hq/del',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 搜索指标
|
|
|
+ * @param {*} params Keyword
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ searchEdb: params => {
|
|
|
+ return http.get('/datamanage/sci_hq/search_list',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 批量搜索指标
|
|
|
+ * @param {Object} params
|
|
|
+ * @param {String} ClassifyIds 目录列表 用,隔开
|
|
|
+ * @param {String} Keyword
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ searchEdbBatch:params=>{
|
|
|
+ return http.get('/sci_hq/index/list',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 重名检测
|
|
|
+ * @param {[]} params
|
|
|
+ * @param {String} EdbCode
|
|
|
+ * @param {String} EdbName
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ batchCheckEdbName:params=>{
|
|
|
+ return http.post('/datamanage/sci_hq/edb_info/name_check',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 添加检测
|
|
|
+ * @param {} params
|
|
|
+ * @param {[]} IndexCodes 指标IDs
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ batchAddEdbCheck:params=>{
|
|
|
+ return http.post('/datamanage/sci_hq/edb_info/add_check',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 批量添加到指标库
|
|
|
+ * @param {[]} params
|
|
|
+ * @param {String} params[].EdbCode
|
|
|
+ * @param {String} params[].EdbName
|
|
|
+ * @param {String} params[].Unit
|
|
|
+ * @param {Number} params[].ClassifyId 指标库的id
|
|
|
+ * @param {String} params[].Frequency
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ batchAddToLib:params=>{
|
|
|
+ return http.post('/datamanage/sci_hq/edb_info/batch_add',params)
|
|
|
+ },
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 单个添加到指标库
|
|
|
+ * @param {Object} params
|
|
|
+ * @param {String} params.EdbCode
|
|
|
+ * @param {String} params.EdbName
|
|
|
+ * @param {String} params.Unit
|
|
|
+ * @param {String} params.Frequency
|
|
|
+ * @param {Number} params.ClassifyId
|
|
|
+ * @returns
|
|
|
+ */
|
|
|
+ AddToLib:params=>{
|
|
|
+ return http.post('/datamanage/sci_hq/edb_info/add',params)
|
|
|
+ }
|
|
|
+}
|