123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071 |
- 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)
- },
- /**
- * 设置图表对应版本信息
- * @param {*} params
- * ChartInfoId ChartName
- * @returns
- */
- setChartLangInfo: params => {
- return http.post('/correlation/chart_info/base/edit',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)
- },
- /**
- * 设置图表对应版本信息
- * @param {*} params
- * ChartInfoId ChartName
- * @returns
- */
- setChartLangInfo: params => {
- return http.post('/line_equation/chart_info/base/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)
- },
-
- /**
- * 设置图表对应版本信息
- * @param {*} params
- * ChartInfoId ChartName
- * @returns
- */
- setChartLangInfo: params => {
- return http.post('/line_feature/chart_info/base/edit',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)
- },
- /**
- * 保存图表上下限
- * @param {*} params
- * @returns
- */
- saveChart: params => {
- return http.post('/cross_variety/chart_info/save',params)
- },
- /**
- * 设置图表对应版本信息
- * @param {*} params
- * ChartInfoId ChartName TagList VarietyList
- * @returns
- */
- setChartLangInfo: params => {
- return http.post('/cross_variety/chart_info/base/edit',params)
- },
- }
|