12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022 |
- import http from "@/api/http.js"
- export default{
- /**
- * 获取分类
- * @returns
- */
- classifyList: params =>{
- return http.get('/correlation/chart_classify/list',params)
- },
- /**
- * 新增分类
- * @param {*} params "ChartClassifyName": "分类1-2"
- * @returns
- */
- classifyAdd: params =>{
- return http.post('/correlation/chart_classify/add',params)
- },
- /**
- * 编辑分类
- * @param {*} params ChartClassifyName ChartClassifyId
- * @returns
- */
- classifyEdit: params =>{
- return http.post('/correlation/chart_classify/edit',params)
- },
- /**
- * 删除分类检测
- * @param {*} params ChartClassifyId
- * @returns
- */
- classifyDelCheck: params =>{
- return http.post('/correlation/chart_classify/delete/check',params)
- },
- /**
- * 删除分类
- * @param {*} params ChartClassifyId
- * @returns
- */
- classifyDel: params =>{
- return http.post('/correlation/chart_classify/delete',params)
- },
- /**
- * 移动分类
- * @param {*} params ClassifyId "PrevClassifyId":1, "NextClassifyId":2,
- * @returns
- */
- classifyMove: params => {
- return http.post('/correlation/chart_classify/move',params)
- },
- /**
- * 移动图表
- * @param {*} params
- * @returns
- */
- chartMove: params => {
- return http.post('/correlation/chart_info/move',params)
- },
- /**
- * 图表分类option
- * @param {*} params
- * @returns
- */
- classifyOne: params => {
- return http.get('/correlation/chart_classify/items',params)
- },
- /**
- * 相关性图表列表
- * @param {*} params CurrentIndex PageSize ChartClassifyId Keyword IsShowMe
- * @returns
- */
- getChartList: params => {
- return http.get('/correlation/chart_info/list',params)
- },
- /**
- * 相关性图表详情
- * @param {ChartInfoId} params
- * @returns
- */
- chartDetail: params => {
- return http.get('/correlation/chart_info/detail',params)
- },
- /**
- * 预览相关性图
- */
- previewRelevanceChart:params=>{
- return http.post('/correlation/chart_info/preview',params)
- },
- /**
- * 保存相关性图
- */
- saveRelevanceChart:params=>{
- return http.post('/correlation/chart_info/add',params)
- },
- /**
- * 编辑
- * @param {*} params
- * @returns
- */
- editRelevanceChart:params=>{
- return http.post('/correlation/chart_info/edit',params)
- },
- /**
- * 刷新图表
- * @param {*} params ChartInfoId
- * @returns
- */
- refreshChart: params => {
- return http.get('/correlation/chart_info/refresh',params)
- },
- /**
- * 另存为
- * @param {*} params ChartInfoId ChartClassifyId ChartName
- * @returns
- */
- saveOtherChart: params => {
- return http.post('/correlation/chart_info/copy',params)
- },
- /**
- * 编辑英文信息
- * @param {*} params ChartInfoId ChartNameEn UnitEn
- * @returns
- */
- editChartEn: params => {
- return http.post('/correlation/chart_info/en/edit',params)
- },
- /**
- * 搜索图表
- * @param {*} params Keyword IsShowMe
- * @returns
- */
- searchChart: params => {
- return http.get('/correlation/chart_info/search_by_es',params)
- },
- /* =============================================== */
- /* 改动版 */
- /**
- * 关联性图表配置
- * @param {*} params
- * {
- "MultipleGraphConfigId": 1,
- "EdbInfoIdA": 102651,
- "EdbInfoIdB": 102646,
- "Curve": {
- "DateType": 1,
- "StartDate": "2021-01-01",
- "EndDate": "2023-01-01",
- "LeftMin": 0,
- "LeftMax": 100,
- "RightMin": -10,
- "RightMax": 300,
- "IsOrder": false,
- "EdbInfoType": true,
- "LeadValue": 1,
- "LeadUnit": "周"
- },
- "Correlation": {
- "LeadValue": 6,
- "LeadUnit": "周",
- "CalculateValue": 10,
- "CalculateUnit": "周度"
- },
- "RollingCorrelation": [
- {
- "LeadValue": 6,
- "LeadUnit": "周",
- "CalculateValue": 10,
- "CalculateUnit": "周度"
- }
- ]
- }
- * @returns
- */
- chartOptionsSet: params => {
- return http.post('/datamanage/multiple_graph/config/save',params)
- },
- /**
- * 预览数据
- * @param {*} params 同配置参数
- * @returns
- */
- previewChartBatch: params => {
- return http.post('/datamanage/multiple_graph/preview',params)
- },
- /**
- * 保存图表
- * @param {*} params
- * "MultipleGraphConfigId": 1, //配置ID,为0时,代表新增,大于0:代表编辑
- "Source": 1, //来源,1:曲线图,2:相关性图;3:滚动相关性图1;4:滚动相关性图2;
- "ChartName": "多图配置的曲线图", //图表名称
- "ClassifyId": 243, //分类id
- "EdbInfoIdA": 102563, //指标A的id
- "EdbInfoIdB": 102561, //指标B的id
- IsSaveAs
- * @returns
- */
- saveChart: params => {
- return http.post('/datamanage/multiple_graph/chart/save',params)
- },
- /***
- * 指标保存 另存
- * "MultipleGraphConfigId": 1, //配置ID,为0时,代表新增,大于0:代表编辑
- "Source": 3, //来源,1:曲线图,2:相关性图;3:滚动相关性图1;4:滚动相关性图2;
- "EdbName": "多图配置的相关性指标",
- "Frequency": "日度",
- "Unit": "吨",
- "ClassifyId": 373, //分类id
- "EdbInfoIdA": 102563, //指标A的id
- "EdbInfoIdB": 102561, //指标B的id
- "IsSaveAs": false, //是否另存为,默认false
- */
- saveEdb: params => {
- return http.post('/datamanage/multiple_graph/edb/save',params)
- },
- /**
- * 获取配置详情
- * @param {*UniqueCode} params
- * @returns
- */
- getOptionByCode: params => {
- return http.get('/datamanage/multiple_graph/config/detail',params)
- },
-
- /**
- * 预览曲线图
- * @param {*} params 同配置参数
- * @returns
- */
- previewSplineChart: params => {
- return http.post('/datamanage/multiple_graph/preview_cure',params)
- },
- }
- /* 拟合方程曲线 */
- export const fittingEquationInterface = {
- /**
- * 分类列表
- * @param {*} params
- * @returns
- */
- classifyList: params => {
- return http.get('/line_equation/chart_classify/list',params)
- },
- /**
- * 分类添加
- * @param {*} params ChartClassifyName
- * @returns
- */
- classifyAdd: params => {
- return http.post('/line_equation/chart_classify/add',params)
- },
- /**
- * 分类编辑
- * @param {*} params ChartClassifyName ChartClassifyId
- * @returns
- */
- classifyEdit: params => {
- return http.post('/line_equation/chart_classify/edit',params)
- },
- /**
- * 删除监测
- * @param {*} params ChartClassifyId
- * @returns
- */
- classifyDelCheck: params => {
- return http.post('/line_equation/chart_classify/delete/check',params)
- },
- /**
- * 删除
- * @param {*} params ChartClassifyId
- * @returns
- */
- classifyDel: params => {
- return http.post('/line_equation/chart_classify/delete',params)
- },
- /**
- * 分类移动
- * @param {*} params
- * "ClassifyId": 269,
- "PrevClassifyId": 0,
- "NextClassifyId": 227,
- * @returns
- */
- classifyMove: params => {
- return http.post('/line_equation/chart_classify/move',params)
- },
- /**
- * 纯分类
- * @param {*} params
- * @returns
- */
- classifyOne: params => {
- return http.get('/line_equation/chart_classify/items',params)
- },
- /**预览
- * "DateType": 2,
- "StartDate": "2022-01-31",
- "EndDate": "2023-02-14",
- "XEdbInfoIdList":[102563,102565],
- "YEdbInfoIdList":[102566,102568],
- * @param {*} params
- * @returns
- */
- previewData: params => {
- return http.post('/line_equation/chart_info/preview',params)
- },
- /**
- * 新增/编辑图表
- * @param {*} params
- * {
- "MultipleGraphConfigId":241,
- "BatchAddChart":[
- {
- "Source":5,//5:斜率图;6:截距图;7:相关性图
- "ChartClassifyId":270,
- "ChartName":"斜率图3",
- },{
- "Source":6,//5:斜率图;6:截距图;7:相关性图
- "ChartClassifyId":270,
- "ChartName":"截距图3",
- },{
- "Source":7,//5:斜率图;6:截距图;7:相关性图
- "ChartClassifyId":270,
- "ChartName":"相关性图3",
- }
- ],
- "ExtraConfig": {
- "DateType": 2,
- "StartDate": "2022-01-01",
- "EndDate": "2023-04-14",
- "XEdbInfoIdList": [],
- "YEdbInfoIdList": [],
- }
- }
- * @returns
- */
- chartEdit: params => {
- return http.post('/line_equation/chart_info/save',params)
- },
-
- /**
- * 获取图表配置 UniqueCode
- * @param {*} params
- * @returns
- */
- getConfigSetting: params => {
- return http.get('/line_equation/multiple_graph/config/detail',params)
- },
- /**
- * 图表拖动
- * @param {*} params
- * "ChartInfoId": 844,
- "PrevChartInfoId": 0,
- "NextChartInfoId": 839,
- "ChartClassifyId": 270
- * @returns
- */
- chartMove: params => {
- return http.post('/line_equation/chart_info/move',params)
- },
- /**
- * 获取图表列表
- * @param {*} params
- * CurrentIndex PageSize ChartClassifyId Keyword IsShowMe
- * @returns
- */
- getChartList: params => {
- return http.get('/line_equation/chart_info/list',params)
- },
- /**
- * 编辑页图表详情
- * @param {*} params ChartInfoId
- * @returns
- */
- chartDetail: params => {
- return http.get('/line_equation/chart_info/detail',params)
- },
- /**
- * 图表另存为
- * @param {*} params
- * "ChartInfoId": 843,
- "ChartClassifyId": 270,
- "ChartName": "截距图3(复制出来的)"
- * @returns
- */
- saveOtherChart: params => {
- return http.post('/line_equation/chart_info/copy',params)
- },
- enInfoEdit: params => {
- return http.post('')
- },
- /**
- * 图表搜索
- * @param {*} params Keyword IsShowMe CurrentIndex
- * @returns
- */
- searchChart: params => {
- return http.get('/line_equation/chart_info/search_by_es',params)
- },
- /**
- * 刷新图表
- * @param {*} params ChartInfoId
- * @returns
- */
- refreshChart: params => {
- return http.get('/line_equation/chart_info/refresh',params)
- },
- /**
- * 设置英文
- * @param {*} params ChartInfoId ChartNameEn
- * @returns
- */
- editChartEn: params => {
- return http.post('/line_equation/chart_info/en/edit',params)
- }
- }
- /* 统计特征曲线 */
- export const statisticFeatureInterface = {
- /**
- * 分类列表
- * @param {*} params
- * @returns
- */
- classifyList: params => {
- return http.get('/line_feature/chart_classify/list',params)
- },
- /**
- * 分类添加
- * @param {*} params ChartClassifyName
- * @returns
- */
- classifyAdd: params => {
- return http.post('/line_feature/chart_classify/add',params)
- },
- /**
- * 分类编辑
- * @param {*} params ChartClassifyName ChartClassifyId
- * @returns
- */
- classifyEdit: params => {
- return http.post('/line_feature/chart_classify/edit',params)
- },
- /**
- * 删除监测
- * @param {*} params ChartClassifyId
- * @returns
- */
- classifyDelCheck: params => {
- return http.post('/line_feature/chart_classify/delete/check',params)
- },
- /**
- * 删除
- * @param {*} params ChartClassifyId
- * @returns
- */
- classifyDel: params => {
- return http.post('/line_feature/chart_classify/delete',params)
- },
- /**
- * 分类移动
- * @param {*} params
- * "ClassifyId": 269,
- "PrevClassifyId": 0,
- "NextClassifyId": 227,
- * @returns
- */
- classifyMove: params => {
- return http.post('/line_feature/chart_classify/move',params)
- },
- /**
- * 纯分类
- * @param {*} params
- * @returns
- */
- classifyOne: params => {
- return http.get('/line_feature/chart_classify/items',params)
- },
- /**
- * 图表拖动
- * @param {*} params
- * "ChartInfoId": 844,
- "PrevChartInfoId": 0,
- "NextChartInfoId": 839,
- "ChartClassifyId": 270
- * @returns
- */
- chartMove: params => {
- return http.post('/line_feature/chart_info/move',params)
- },
-
- /**
- * 获取图表列表
- * @param {*} params
- * CurrentIndex PageSize ChartClassifyId Keyword IsShowMe
- * @returns
- */
- getChartList: params => {
- return http.get('/line_feature/chart_info/list',params)
- },
-
- /**
- * 图表详情
- * @param {*} params ChartInfoId
- * @returns
- */
- chartDetail: params => {
- return http.get('/line_feature/chart_info/detail',params)
- },
- /**预览
- * {
- "EdbInfoId": 102563,
- "Curve": {
- "DateType": 6,
- "StartDate": "2023-11-01",
- "EndDate": "2023-05-01",
- "LeftMin": 0,
- "LeftMax": 100,
- },
- "StandardDeviation": {
- "CalculateValue": 30
- },
- "Percentile": {
- "CalculateValue": 30,
- "CalculateUnit":"天"
- },
- "FrequencyDistribution":{
- "DateType": 6,
- "StartDate": "2023-11-01",
- "EndDate": "2023-05-01",
- "FrequencyValue": 10,
- }
- }
- * @param {*} params
- * @returns
- */
- previewChartBatch: params => {
- return http.post('/line_feature/preview',params)
- },
- /**
- * 保存配置
- * @param {*} params 参数同预览
- * @returns
- */
- chartOptionsSet: params => {
- return http.post('/line_feature/config/save',params)
- },
-
- /**
- * 获取图表配置 UniqueCode
- * @param {*} params
- * @returns
- */
- getOptionByCode: params => {
- return http.get('/line_feature/config/detail',params)
- },
- /**
- * 图表另存为
- * @param {*} params
- * "ChartInfoId": 843,
- "ChartClassifyId": 270,
- "ChartName": "截距图3(复制出来的)"
- * @returns
- */
- saveOtherChart: params => {
- return http.post('/line_feature/chart_info/copy',params)
- },
- /**
- * 图表搜索
- * @param {*} params Keyword IsShowMe CurrentIndex
- * @returns
- */
- searchChart: params => {
- return http.get('/line_feature/chart_info/search_by_es',params)
- },
- /**
- * 刷新图表
- * @param {*} params ChartInfoId
- * @returns
- */
- refreshChart: params => {
- return http.get('/line_feature/chart_info/refresh',params)
- },
- /**
- * 设置英文
- * @param {*} params ChartInfoId ChartNameEn
- * "TagList": [
- {
- "ChartTagId": 1,
- "TagNameEn": "宏观en"
- }
- ],
- "VarietyList": [
- {
- "ChartVarietyId": 2,
- "VarietyNameEn": "甲醇en"
- }
- ]
- * @returns
- */
- editChartEn: params => {
- return http.post('/line_feature/chart_info/en/edit',params)
- },
- /**
- * 保存图表
- * @param {*} params
- * "MultipleGraphConfigId": 1, //配置ID,为0时,代表新增,大于0:代表编辑
- "Source": 1, //来源,1:曲线图,8:标准差;9:百分位图;10:频率分布图;
- "ChartName": "多图配置的曲线图", //图表名称
- "ClassifyId": 243, //分类id
- "EdbInfoIdA": 102563, //指标A的id
- "EdbInfoIdB": 102561, //指标B的id
- IsSaveAs
- * @returns
- */
- saveChart: params => {
- return http.post('/line_feature/chart/save',params)
- },
-
- /***
- * 指标保存 另存
- * "MultipleGraphConfigId": 1, //配置ID,为0时,代表新增,大于0:代表编辑
- "Source": 3, //来源,1:曲线图,8:标准差;9:百分位图;10:频率分布图;
- "EdbName": "多图配置的相关性指标",
- "Frequency": "日度",
- "Unit": "吨",
- "ClassifyId": 373, //分类id
- "EdbInfoIdA": 102563, //指标A的id
- "EdbInfoIdB": 102561, //指标B的id
- "IsSaveAs": false, //是否另存为,默认false
- */
- saveEdb: params => {
- return http.post('/line_feature/edb/save',params)
- },
- /**
- * 只获取曲线图数据
- * @param {*} params
- * @returns
- */
- previewSpline: params => {
- return http.post('/line_feature/preview_cure',params)
- }
- }
- /* 跨品种分析 */
- export const crossVarietyInterface = {
- /**
- * 分类列表
- * @param {*} params
- * @returns
- */
- classifyList: params => {
- return http.get('/cross_variety/classify/list',params)
- },
- /**
- * 分类添加
- * @param {*} params ChartClassifyName
- * @returns
- */
- classifyAdd: params => {
- return http.post('/cross_variety/classify/add',params)
- },
- /**
- * 分类编辑
- * @param {*} params ChartClassifyName ChartClassifyId
- * @returns
- */
- classifyEdit: params => {
- return http.post('/cross_variety/classify/edit',params)
- },
- /**
- * 分类移动
- * @param {*} params
- * "ClassifyId": 269,
- "PrevClassifyId": 0,
- "NextClassifyId": 227,
- * @returns
- */
- classifyMove: params => {
- return http.post('/cross_variety/classify/move',params)
- },
- /**
- * 图表拖动
- * @param {*} params
- * "ChartInfoId": 844,
- "PrevChartInfoId": 0,
- "NextChartInfoId": 839,
- "ChartClassifyId": 270
- * @returns
- */
- chartMove: params => {
- return http.post('/cross_variety/chart_info/move',params)
- },
-
- /**
- * 获取图表列表
- * @param {*} params
- * CurrentIndex PageSize ChartClassifyId Keyword IsShowMe
- * @returns
- */
- getChartList: params => {
- return http.get('/cross_variety/chart_info/list',params)
- },
-
- /**
- * 图表详情
- * @param {*} params ChartInfoId
- * @returns
- */
- chartDetail: params => {
- return http.get('/cross_variety/chart_info/detail',params)
- },
- /**
- * 添加图表
- * @param {*} params
- * "ChartName": "跨品种分析图标名称",
- "TagX": 1,
- "TagY": 2,
- "CalculateValue": 6,
- "CalculateUnit": "月",
- "DateConfigList": [
- {
- "DateType": 2,
- "Num": 60
- }
- ],
- "VarietyList": [2,5]
- * @returns
- */
- chartAdd: params => {
- return http.post('/cross_variety/chart_info/add',params)
- },
- /**
- * 编辑图表
- * @param {*} params
- * ChartInfoId
- * "ChartName": "跨品种分析图标名称",
- "TagX": 1,
- "TagY": 2,
- "CalculateValue": 6,
- "CalculateUnit": "月",
- "DateConfigList": [
- {
- "DateType": 2,
- "Num": 60
- }
- ],
- "VarietyList": [2,5]
- * @returns
- */
- chartEdit: params => {
- return http.post('/cross_variety/chart_info/edit',params)
- },
- /**
- * 删除图表
- * @param {*} params ChartInfoId
- * @returns
- */
- chartDel: params => {
- return http.post('/cross_variety/chart_info/delete',params)
- },
- /**
- * 预览图表
- * @param {*} params
- * "TagX": 1,
- "TagY": 2,
- "CalculateValue": 6,
- "CalculateUnit": "月",
- "DateConfigList": [
- {
- "DateType": 1,
- "Num": 0
- }
- ],
- "VarietyList": [2,5]
- * @returns
- */
- chartPreview: params => {
- return http.post('/cross_variety/chart_info/preview',params)
- },
- /**
- * 设置英文
- * @param {*} params ChartInfoId ChartNameEn
- * "TagList": [
- {
- "ChartTagId": 1,
- "TagNameEn": "宏观en"
- }
- ],
- "VarietyList": [
- {
- "ChartVarietyId": 2,
- "VarietyNameEn": "甲醇en"
- }
- ]
- */
- editChartEn: params => {
- return http.post('/cross_variety/chart_info/en/edit',params)
- },
- /**
- * 图表搜索
- * @param {*} params Keyword
- * @returns
- */
- searchChart: params => {
- return http.get('/cross_variety/chart_info/search_by_es',params)
- },
- /**
- * 刷新图表
- * @param {*} params ChartInfoId
- * @returns
- */
- refreshChart: params => {
- return http.get('/cross_variety/chart_info/refresh',params)
- },
- /**
- * 图表另存为
- * @param {*} params ChartInfoId ChartName
- * @returns
- */
- saveOtherChart: params => {
- return http.post('/cross_variety/chart_info/copy',params)
- },
-
- /**
- * 编辑英文名称
- * @param {*} params
- * @returns
- */
- editChartEn: params => {
- return http.post('/cross_variety/chart_info/en/edit',params)
- },
- /**
- * 图表设置语言配置信息
- * @param {*} params ChartInfoId
- * @returns
- */
- chartLangOption: params => {
- return http.get('/cross_variety/chart_info/relation',params)
- },
-
- /**
- * 品种列表
- * @param {*} params
- */
- getVarietyList: params => {
- return http.get('/cross_variety/variety/list',params)
- },
- /**
- * 添加品种
- * @param {VarietyName} params
- * @returns
- */
- varietyAdd: params => {
- return http.post('/cross_variety/variety/add',params)
- },
-
- /**
- * 编辑品种
- * @param {VarietyName ChartVarietyId} params
- * @returns
- */
- varietyEdit: params => {
- return http.post('/cross_variety/variety/edit',params)
- },
-
- /**
- * 删除品种检测
- * @param {ChartVarietyId} params
- * @returns
- */
- varietyDelCheck: params => {
- return http.post('/cross_variety/variety/delete/check',params)
- },
-
- /**
- * 删除品种
- * @param {ChartVarietyId} params
- * @returns
- */
- varietyDel: params => {
- return http.post('/cross_variety/variety/delete',params)
- },
- /**
- * 标签列表
- * @param {*} params
- */
- getTagList: params => {
- return http.get('/cross_variety/tag/list',params)
- },
- /**
- * 添加标签
- * @param {TagName} params
- * @returns
- */
- tagAdd: params => {
- return http.post('/cross_variety/tag/add',params)
- },
- /**
- * 编辑标签
- * @param {TagName ChartTagId} params
- * @returns
- */
- tagEdit: params => {
- return http.post('/cross_variety/tag/edit',params)
- },
- /**
- * 删除标签检测
- * @param {ChartTagId} params
- * @returns
- */
- tagDelCheck: params => {
- return http.post('/cross_variety/tag/delete/check',params)
- },
- /**
- * 添加标签
- * @param {ChartTagId} params
- * @returns
- */
- tagDel: params => {
- return http.post('/cross_variety/tag/delete',params)
- },
- /**
- * 设置标签关联品种对应信息
- * @param {
- "ChartTagId": 1,
- "VarietyEdb": [
- {
- "ChartVarietyId": 2,
- "EdbInfoId": 103407
- },
- ]
- * } params
- * @returns
- */
- setTagRelationVariety: params => {
- return http.post('/cross_variety/tag/variety_edb/save',params)
- },
- /**
- * 获取标签关联的品种信息
- * @param {ChartTagId} params
- */
- getTagRelation: params => {
- return http.get('/cross_variety/tag/variety_edb/list',params)
- }
- }
|