swagger.yml 109 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990
  1. swagger: "2.0"
  2. info:
  3. title: SCD检测工具API
  4. description: <a href='/static/pc/Demo.html' target='_self'>本地窗口功能集成说明文档</a><br><br><hr><br><br>SCD检测工具接口文档。本文档仅用于本项目的前端接口说明<br><span
  5. style='color:red;font-size:16px;'>*****实际使用接口时,均需要将用户登录token通过header进行提交*****</span>
  6. version: 1.0.0
  7. contact:
  8. email: 3116246@qq.com
  9. basePath: api
  10. paths:
  11. /admin/get/check_area:
  12. get:
  13. tags:
  14. - scd_check_tools/controllersBusAdminController
  15. summary: 查询指定电压等级及接线方式下的检测间隔分析结果
  16. description: 查询指定电压等级及接线方式下的检测间隔分析结果
  17. parameters:
  18. - in: formData
  19. name: scd_id
  20. description: SCD文件ID
  21. required: true
  22. type: integer
  23. format: int64
  24. - in: formData
  25. name: vol_id
  26. description: 电压等级ID
  27. type: integer
  28. format: int64
  29. - in: formData
  30. name: link_style_id
  31. description: 接线方式ID
  32. type: integer
  33. format: int64
  34. responses:
  35. "200":
  36. description: 成功
  37. schema:
  38. $ref: '#/definitions/ResultOK'
  39. "500":
  40. description: '{object} ResultError 失败'
  41. /admin/get/check_area/ied:
  42. get:
  43. tags:
  44. - scd_check_tools/controllersBusAdminController
  45. summary: 查询指定检测间隔下的IED装置列表
  46. description: 查询指定检测间隔下的IED装置列表
  47. parameters:
  48. - in: formData
  49. name: scd_id
  50. description: SCD文件ID
  51. required: true
  52. type: integer
  53. format: int64
  54. - in: formData
  55. name: area_id
  56. description: 检测间隔ID
  57. required: true
  58. type: integer
  59. format: int64
  60. responses:
  61. "200":
  62. description: 成功
  63. schema:
  64. $ref: '#/definitions/ResultOK'
  65. "500":
  66. description: '{object} ResultError 失败'
  67. /admin/linkstyle-model/delete:
  68. post:
  69. tags:
  70. - scd_check_tools/controllersBusAdminController
  71. summary: 删除指定接线方式下属的模型
  72. description: 删除指定接线方式下属的模型
  73. parameters:
  74. - in: formData
  75. name: id
  76. description: 接线方式ID
  77. required: true
  78. type: integer
  79. format: int64
  80. - in: formData
  81. name: model_id
  82. description: 模型ID
  83. required: true
  84. type: integer
  85. format: int64
  86. responses:
  87. "200":
  88. description: 成功
  89. schema:
  90. $ref: '#/definitions/ResultOK'
  91. "500":
  92. description: '{object} ResultError 失败'
  93. /admin/linkstyle-model/list:
  94. get:
  95. tags:
  96. - scd_check_tools/controllersBusAdminController
  97. summary: 查询接线方式下模型列表
  98. description: 查询接线方式下模型列表
  99. parameters:
  100. - in: query
  101. name: pageno
  102. description: 当前页码。默认为1
  103. required: true
  104. type: integer
  105. format: int64
  106. - in: query
  107. name: pagesize
  108. description: 每页显示数据数。默认为20
  109. required: true
  110. type: integer
  111. format: int64
  112. - in: query
  113. name: id
  114. description: ID
  115. type: integer
  116. format: int64
  117. - in: query
  118. name: linkstyle_id
  119. description: 接线方式ID
  120. type: integer
  121. format: int64
  122. responses:
  123. "200":
  124. description: 成功
  125. schema:
  126. $ref: '#/definitions/ResultOK'
  127. "500":
  128. description: '{object} ResultError 失败'
  129. /admin/linkstyle-model/save:
  130. post:
  131. tags:
  132. - scd_check_tools/controllersBusAdminController
  133. summary: 添加接线方式的模型
  134. description: 添加接线方式的模型
  135. parameters:
  136. - in: formData
  137. name: id
  138. description: 数据ID。指定id值大于0时为编辑操作;否则为新增操作
  139. type: integer
  140. format: int64
  141. - in: formData
  142. name: linkstyle_id
  143. description: 接线方式ID
  144. required: true
  145. type: integer
  146. format: int64
  147. - in: formData
  148. name: model_id
  149. description: 内置模型id
  150. required: true
  151. type: integer
  152. format: int64
  153. responses:
  154. "200":
  155. description: 成功
  156. schema:
  157. $ref: '#/definitions/ResultOK'
  158. "500":
  159. description: '{object} ResultError 失败'
  160. /admin/linkstyle/delete:
  161. post:
  162. tags:
  163. - scd_check_tools/controllersBusAdminController
  164. summary: 删除指定的接线方式
  165. description: 删除指定的接线方式
  166. parameters:
  167. - in: formData
  168. name: id
  169. description: 接线方式ID
  170. required: true
  171. type: integer
  172. format: int64
  173. responses:
  174. "200":
  175. description: 成功
  176. schema:
  177. $ref: '#/definitions/ResultOK'
  178. "500":
  179. description: '{object} ResultError 失败'
  180. /admin/linkstyle/list:
  181. get:
  182. tags:
  183. - scd_check_tools/controllersBusAdminController
  184. summary: 查询接线方式
  185. description: 查询接线方式。支持名称、电压等级等过滤条件
  186. parameters:
  187. - in: query
  188. name: pageno
  189. description: 当前页码。默认为1
  190. required: true
  191. type: integer
  192. format: int64
  193. - in: query
  194. name: pagesize
  195. description: 每页显示数据数。默认为20
  196. required: true
  197. type: integer
  198. format: int64
  199. - in: query
  200. name: id
  201. description: ID
  202. type: integer
  203. format: int64
  204. - in: query
  205. name: vol_id
  206. description: 电压ID
  207. type: integer
  208. format: int64
  209. - in: query
  210. name: name
  211. description: 名称
  212. type: string
  213. responses:
  214. "200":
  215. description: 成功
  216. schema:
  217. $ref: '#/definitions/ResultOK'
  218. "500":
  219. description: '{object} ResultError 失败'
  220. /admin/linkstyle/save:
  221. post:
  222. tags:
  223. - scd_check_tools/controllersBusAdminController
  224. summary: 创建新的接线方式
  225. description: 创建新的接线方式
  226. parameters:
  227. - in: formData
  228. name: id
  229. description: 数据ID。指定id值大于0时为编辑操作;否则为新增操作
  230. type: integer
  231. format: int64
  232. - in: formData
  233. name: name
  234. description: 任务名称
  235. required: true
  236. type: string
  237. - in: formData
  238. name: vol_id
  239. description: 电压等级ID
  240. required: true
  241. type: integer
  242. format: int64
  243. - in: formData
  244. name: pic
  245. description: 接线图地址
  246. type: string
  247. responses:
  248. "200":
  249. description: 成功
  250. schema:
  251. $ref: '#/definitions/ResultOK'
  252. "500":
  253. description: '{object} ResultError 失败'
  254. /admin/parse/check_area:
  255. post:
  256. tags:
  257. - scd_check_tools/controllersBusAdminController
  258. summary: 重新分析指定的SCD检测模型间隔
  259. description: 重新分析指定的SCD检测模型间隔
  260. parameters:
  261. - in: formData
  262. name: scd_id
  263. description: SCD文件ID
  264. required: true
  265. type: integer
  266. format: int64
  267. responses:
  268. "200":
  269. description: 成功
  270. schema:
  271. $ref: '#/definitions/ResultOK'
  272. "500":
  273. description: '{object} ResultError 失败'
  274. /admin/sysmodel/delete:
  275. post:
  276. tags:
  277. - scd_check_tools/controllersBusAdminController
  278. summary: 删除指定的检测模型
  279. description: 删除指定的检测模型
  280. parameters:
  281. - in: formData
  282. name: id
  283. description: 模型ID
  284. required: true
  285. type: integer
  286. format: int64
  287. responses:
  288. "200":
  289. description: 成功
  290. schema:
  291. $ref: '#/definitions/ResultOK'
  292. "500":
  293. description: '{object} ResultError 失败'
  294. /admin/sysmodel/list:
  295. get:
  296. tags:
  297. - scd_check_tools/controllersBusAdminController
  298. summary: 查询检测模型列表
  299. description: 查询检测模型列表。支持名称、电压等级等过滤条件
  300. parameters:
  301. - in: query
  302. name: pageno
  303. description: 当前页码。默认为1
  304. required: true
  305. type: integer
  306. format: int64
  307. - in: query
  308. name: pagesize
  309. description: 每页显示数据数。默认为20
  310. required: true
  311. type: integer
  312. format: int64
  313. - in: query
  314. name: id
  315. description: ID
  316. type: integer
  317. format: int64
  318. - in: query
  319. name: vol_id
  320. description: 电压等级ID
  321. type: integer
  322. format: int64
  323. - in: query
  324. name: model_name
  325. description: 名称
  326. type: string
  327. - in: query
  328. name: line_link_style
  329. description: 接线方式
  330. type: integer
  331. format: int64
  332. - in: query
  333. name: area_type
  334. description: 间隔类型
  335. type: integer
  336. format: int64
  337. - in: query
  338. name: is_sys
  339. description: 模型类型。1 内置模型 2 自定义模型
  340. type: integer
  341. format: int64
  342. responses:
  343. "200":
  344. description: 成功
  345. schema:
  346. $ref: '#/definitions/ResultOK'
  347. "500":
  348. description: '{object} ResultError 失败'
  349. /admin/sysmodel/save:
  350. post:
  351. tags:
  352. - scd_check_tools/controllersBusAdminController
  353. summary: 创建或编辑新的内置模型
  354. description: 创建新的内置模型
  355. parameters:
  356. - in: formData
  357. name: id
  358. description: 数据ID。指定id值大于0时为编辑操作;否则为新增操作
  359. type: integer
  360. format: int64
  361. - in: formData
  362. name: model_name
  363. description: 模型名称
  364. required: true
  365. type: string
  366. - in: formData
  367. name: vol_id
  368. description: 电压等级ID
  369. required: true
  370. type: integer
  371. format: int64
  372. - in: formData
  373. name: line_link_style
  374. description: 接线方式ID
  375. required: true
  376. type: integer
  377. format: int64
  378. - in: formData
  379. name: ied_types
  380. description: 包含的装置类型,关联代码:ied_type。多个类型之间使用逗号分隔。
  381. type: string
  382. - in: formData
  383. name: relation_json
  384. description: 模型定义内容。svg源代码(xml格式)。
  385. type: string
  386. - in: formData
  387. name: area_type
  388. description: 间隔类型。关联代码:area_type
  389. type: string
  390. responses:
  391. "200":
  392. description: 成功
  393. schema:
  394. $ref: '#/definitions/ResultOK'
  395. "500":
  396. description: '{object} ResultError 失败'
  397. /admin/sysmodel/saveas:
  398. post:
  399. tags:
  400. - scd_check_tools/controllersBusAdminController
  401. summary: 复制并保存指定的内置检测模型为自定义模型
  402. description: 复制并保存指定的内置检测模型为自定义模型
  403. parameters:
  404. - in: formData
  405. name: id
  406. description: 模型ID
  407. required: true
  408. type: integer
  409. format: int64
  410. - in: formData
  411. name: newname
  412. description: 新模型名称
  413. required: true
  414. type: string
  415. responses:
  416. "200":
  417. description: 成功
  418. schema:
  419. $ref: '#/definitions/ResultOK'
  420. "500":
  421. description: '{object} ResultError 失败'
  422. /admin/update/check_area/ied:
  423. post:
  424. tags:
  425. - scd_check_tools/controllersBusAdminController
  426. summary: 修改并保存指定检测间隔下的IED装置列表
  427. description: 修改并保存指定检测间隔下的IED装置列表
  428. parameters:
  429. - in: formData
  430. name: scd_id
  431. description: SCD文件ID
  432. required: true
  433. type: integer
  434. format: int64
  435. - in: formData
  436. name: area_id
  437. description: 检测间隔ID
  438. required: true
  439. type: integer
  440. format: int64
  441. - in: formData
  442. name: ied_ids
  443. description: IED装置name列表,多个ied采用逗号分隔。如:PT1001,PL1001,...
  444. required: true
  445. type: string
  446. responses:
  447. "200":
  448. description: 成功
  449. schema:
  450. $ref: '#/definitions/ResultOK'
  451. "500":
  452. description: '{object} ResultError 失败'
  453. /area/children/list:
  454. get:
  455. tags:
  456. - scd_check_tools/controllersApiController
  457. summary: 获取指定获取的下级区域列表
  458. description: 获取指定获取的下级区域列表
  459. parameters:
  460. - in: query
  461. name: id
  462. description: 查询条件:区域ID
  463. required: true
  464. type: string
  465. - in: query
  466. name: all
  467. description: 查询条件:是否获取全部子区域。1表示是,反之表示否。默认为0
  468. type: integer
  469. format: int64
  470. responses:
  471. "200":
  472. description: 成功
  473. schema:
  474. $ref: '#/definitions/ResultOK'
  475. "500":
  476. description: '{object} ResultError 失败'
  477. /area/tree:
  478. get:
  479. tags:
  480. - scd_check_tools/controllersApiController
  481. summary: 获取区域列表
  482. description: 获取区域列表。以tree结构形式返回。
  483. responses:
  484. "200":
  485. description: 成功
  486. schema:
  487. $ref: '#/definitions/ResultOK'
  488. "500":
  489. description: '{object} ResultError 失败'
  490. /attachment/cfg/delete:
  491. post:
  492. tags:
  493. - scd_check_tools/controllersAttachmentController
  494. summary: 删除指定的数据及附件自动清理配置
  495. description: 删除指定的数据及附件自动清理配置
  496. parameters:
  497. - in: formData
  498. name: id
  499. description: 配置记录id
  500. required: true
  501. type: integer
  502. format: int64
  503. responses:
  504. "200":
  505. description: 成功
  506. schema:
  507. $ref: '#/definitions/ResultOK'
  508. "500":
  509. description: '{object} ResultError 失败'
  510. /attachment/cfg/list:
  511. get:
  512. tags:
  513. - scd_check_tools/controllersAttachmentController
  514. summary: 获取数据及附件自动清理配置列表
  515. description: 获取数据及附件自动清理配置列表
  516. responses:
  517. "200":
  518. description: 成功
  519. schema:
  520. $ref: '#/definitions/ResultOK'
  521. "500":
  522. description: '{object} ResultError 失败'
  523. /attachment/cfg/one:
  524. get:
  525. tags:
  526. - scd_check_tools/controllersAttachmentController
  527. summary: 获取指定的数据及附件自动清理配置
  528. description: 获取指定的数据及附件自动清理配置
  529. parameters:
  530. - in: query
  531. name: id
  532. description: 配置记录id。
  533. required: true
  534. type: integer
  535. format: int64
  536. responses:
  537. "200":
  538. description: 成功
  539. schema:
  540. $ref: '#/definitions/ResultOK'
  541. "500":
  542. description: '{object} ResultError 失败'
  543. /attachment/cfg/save:
  544. post:
  545. tags:
  546. - scd_check_tools/controllersAttachmentController
  547. summary: 保存数据及附件自动清理配置
  548. description: 保存数据及附件自动清理配置
  549. parameters:
  550. - in: formData
  551. name: id
  552. description: 配置记录id。不为0时表示编辑保存
  553. required: true
  554. type: integer
  555. format: int64
  556. - in: formData
  557. name: name
  558. description: 配置名称
  559. required: true
  560. type: string
  561. - in: formData
  562. name: skeepday
  563. description: 数据及附件保留的天数
  564. required: true
  565. type: integer
  566. format: int64
  567. - in: formData
  568. name: tablename
  569. description: 数据模型名称
  570. required: true
  571. type: string
  572. - in: formData
  573. name: colname
  574. description: 数据模型中的记录创建日期列名
  575. required: true
  576. type: string
  577. - in: formData
  578. name: filterwhere
  579. description: 数据过滤条件。支持SQL语法
  580. type: string
  581. - in: formData
  582. name: memo
  583. description: 配置说明
  584. type: string
  585. responses:
  586. "200":
  587. description: 成功
  588. schema:
  589. $ref: '#/definitions/ResultOK'
  590. "500":
  591. description: '{object} ResultError 失败'
  592. /attachment/delete:
  593. post:
  594. tags:
  595. - scd_check_tools/controllersAttachmentController
  596. summary: 删除附件
  597. description: 删除指定的附件
  598. parameters:
  599. - in: formData
  600. name: id
  601. description: 需要删除的附件id。
  602. required: true
  603. type: integer
  604. format: int64
  605. - in: formData
  606. name: ids
  607. description: 需要删除的附件id。多个附件id使用逗号分隔。
  608. required: true
  609. type: string
  610. - in: formData
  611. name: scd_id
  612. description: SCD文件ID。不为空时表示删除该SCD关联的文件
  613. type: integer
  614. format: int64
  615. - in: formData
  616. name: check_flag
  617. description: 是否是管控文件。1表示是,否则表示为否
  618. type: integer
  619. format: int64
  620. responses:
  621. "200":
  622. description: 成功
  623. schema:
  624. $ref: '#/definitions/ResultOK'
  625. "500":
  626. description: '{object} ResultError 失败'
  627. /attachment/download:
  628. post:
  629. tags:
  630. - scd_check_tools/controllersAttachmentController
  631. summary: 下载附件
  632. description: 查询附件列表
  633. parameters:
  634. - in: formData
  635. name: ids
  636. description: 需要下载的附件id。多个附件id使用逗号分隔。
  637. required: true
  638. type: string
  639. responses:
  640. "200":
  641. description: 成功
  642. schema:
  643. $ref: '#/definitions/ResultOK'
  644. "500":
  645. description: '{object} ResultError 失败'
  646. /attachment/download/rec:
  647. post:
  648. tags:
  649. - scd_check_tools/controllersAttachmentController
  650. summary: 查询指定附件下载历史记录
  651. description: 查询指定附件下载历史记录。(预留)
  652. parameters:
  653. - in: query
  654. name: id
  655. description: 附件id。
  656. required: true
  657. type: integer
  658. format: int64
  659. responses:
  660. "200":
  661. description: 成功
  662. schema:
  663. $ref: '#/definitions/ResultOK'
  664. "500":
  665. description: '{object} ResultError 失败'
  666. /attachment/list:
  667. get:
  668. tags:
  669. - scd_check_tools/controllersAttachmentController
  670. summary: 查询附件列表
  671. description: 查询附件列表
  672. parameters:
  673. - in: query
  674. name: pageindex
  675. description: 当前查询的分页页码,默认为1
  676. required: true
  677. type: integer
  678. format: int64
  679. - in: query
  680. name: pagesize
  681. description: 每页显示的数据条数,默认为20
  682. required: true
  683. type: integer
  684. format: int64
  685. - in: query
  686. name: station_id
  687. description: 变电站ID
  688. required: true
  689. type: integer
  690. format: int64
  691. - in: query
  692. name: scd_id
  693. description: SCD文件ID
  694. type: integer
  695. format: int64
  696. - in: query
  697. name: is_checkin
  698. description: 是否管控文档。0 其他文件 1 管控文件 2 裁剪文件
  699. type: integer
  700. format: int64
  701. - in: query
  702. name: name
  703. description: 附件名称
  704. type: string
  705. - in: query
  706. name: ied_name
  707. description: 装置名称
  708. type: string
  709. - in: query
  710. name: type
  711. description: 文件类别ID
  712. type: integer
  713. format: int64
  714. responses:
  715. "200":
  716. description: 成功
  717. schema:
  718. $ref: '#/definitions/ResultOK'
  719. "500":
  720. description: '{object} ResultError 失败'
  721. /attachment/one:
  722. get:
  723. tags:
  724. - scd_check_tools/controllersAttachmentController
  725. summary: 根据id获取附件信息
  726. description: 根据id获取附件信息
  727. parameters:
  728. - in: query
  729. name: id
  730. description: 附件ID
  731. required: true
  732. type: integer
  733. format: int64
  734. responses:
  735. "200":
  736. description: 成功
  737. schema:
  738. $ref: '#/definitions/ResultOK'
  739. "500":
  740. description: '{object} ResultError 失败'
  741. /attachment/scdparse/start:
  742. post:
  743. tags:
  744. - scd_check_tools/controllersAttachmentController
  745. summary: 重新解析指定的SCD文件
  746. description: 重新解析指定的SCD文件
  747. parameters:
  748. - in: formData
  749. name: station_id
  750. description: 变电站ID
  751. required: true
  752. type: integer
  753. format: int64
  754. - in: formData
  755. name: scd_name
  756. description: SCD文件名称
  757. required: true
  758. type: string
  759. - in: formData
  760. name: scd_path
  761. description: SCD附件路径
  762. required: true
  763. type: string
  764. responses:
  765. "200":
  766. description: 成功
  767. schema:
  768. $ref: '#/definitions/ResultOK'
  769. "500":
  770. description: '{object} ResultError 失败'
  771. /attachment/stat:
  772. get:
  773. tags:
  774. - scd_check_tools/controllersStatController
  775. summary: SCD文档分类统计
  776. description: SCD文档分类统计
  777. parameters:
  778. - in: query
  779. name: station_id
  780. description: 变电站ID
  781. type: integer
  782. format: int64
  783. responses:
  784. "200":
  785. description: 错误
  786. schema:
  787. $ref: '#/definitions/ResultError'
  788. "500":
  789. description: status 失败
  790. /basic_area/del:
  791. post:
  792. tags:
  793. - scd_check_tools/controllersApiController
  794. summary: 删除指定区域信息
  795. description: 删除指定区域信息
  796. parameters:
  797. - in: query
  798. name: id
  799. description: 区域ID。
  800. required: true
  801. type: integer
  802. format: int64
  803. - in: query
  804. name: isall
  805. description: 是否同时删除所有下级区域。1为是,反之为否。默认为否
  806. type: integer
  807. format: int64
  808. responses:
  809. "200":
  810. description: 成功
  811. schema:
  812. $ref: '#/definitions/ResultOK'
  813. "500":
  814. description: '{object} ResultError 失败'
  815. /basic_area/getchildrencount:
  816. get:
  817. tags:
  818. - scd_check_tools/controllersApiController
  819. summary: 查询指定区域的下级区域数量
  820. description: 查询指定区域的下级区域数量
  821. parameters:
  822. - in: query
  823. name: pid
  824. description: 查询条件:父级区域ID
  825. required: true
  826. type: integer
  827. format: int64
  828. responses:
  829. "200":
  830. description: 成功
  831. schema:
  832. $ref: '#/definitions/ResultOK'
  833. "500":
  834. description: '{object} ResultError 失败'
  835. /basic_area/list:
  836. get:
  837. tags:
  838. - scd_check_tools/controllersApiController
  839. summary: 根据查询条件搜索区域(变电站)列表
  840. description: 根据查询条件搜索区域(变电站)列表
  841. parameters:
  842. - in: query
  843. name: pageindex
  844. description: 当前查询的分页页码,默认为1
  845. type: integer
  846. format: int64
  847. - in: query
  848. name: pagesize
  849. description: 每页显示的数据条数,默认为20
  850. type: integer
  851. format: int64
  852. - in: query
  853. name: name
  854. description: 查询条件:区域名称。模糊匹配
  855. type: string
  856. - in: query
  857. name: id
  858. description: 查询条件:区域ID
  859. type: integer
  860. format: int64
  861. - in: query
  862. name: pid
  863. description: 查询条件:父级区域ID
  864. type: integer
  865. format: int64
  866. responses:
  867. "200":
  868. description: 成功
  869. schema:
  870. $ref: '#/definitions/ResultOK'
  871. "500":
  872. description: '{object} ResultError 失败'
  873. /basic_area/save:
  874. post:
  875. tags:
  876. - scd_check_tools/controllersApiController
  877. summary: 保存区域信息
  878. description: 保存区域信息
  879. parameters:
  880. - in: query
  881. name: id
  882. description: 区域ID。编辑时必填。
  883. required: true
  884. type: integer
  885. format: int64
  886. - in: query
  887. name: pid
  888. description: 父级区域ID
  889. required: true
  890. type: integer
  891. format: int64
  892. - in: query
  893. name: area_type
  894. description: 区域类型
  895. required: true
  896. type: integer
  897. format: int64
  898. - in: query
  899. name: area_name
  900. description: 区域名称
  901. required: true
  902. type: string
  903. - in: query
  904. name: area_addr
  905. description: 区域地址
  906. type: string
  907. responses:
  908. "200":
  909. description: 成功
  910. schema:
  911. $ref: '#/definitions/ResultOK'
  912. "500":
  913. description: '{object} ResultError 失败'
  914. /code/tree:
  915. get:
  916. tags:
  917. - scd_check_tools/controllersApiController
  918. /createuser:
  919. post:
  920. tags:
  921. - scd_check_tools/controllersApiController
  922. summary: 创建用户
  923. description: 查询用户信息
  924. parameters:
  925. - in: query
  926. name: userid
  927. description: 用户ID
  928. required: true
  929. type: integer
  930. format: int64
  931. - in: query
  932. name: role
  933. description: 角色ID
  934. required: true
  935. type: integer
  936. format: int64
  937. - in: query
  938. name: username
  939. description: 姓名
  940. required: true
  941. type: string
  942. - in: query
  943. name: account
  944. description: 登录帐号
  945. required: true
  946. type: string
  947. - in: query
  948. name: password
  949. description: 登录密码
  950. required: true
  951. type: string
  952. - in: query
  953. name: mobilephone
  954. description: 手机号
  955. type: string
  956. - in: query
  957. name: pwd_expire
  958. description: 密码过期日期
  959. type: string
  960. - in: query
  961. name: bind_ips
  962. description: 允许登录的IP
  963. type: string
  964. - in: query
  965. name: datelimit_start
  966. description: 帐号有效期开始日期
  967. type: string
  968. - in: query
  969. name: datelimit_end
  970. description: 帐号有效期结束日期
  971. type: string
  972. - in: query
  973. name: memo
  974. description: 其他说明
  975. type: string
  976. responses:
  977. "200":
  978. description: 成功
  979. schema:
  980. $ref: '#/definitions/WarpOK'
  981. "500":
  982. description: '{object} WarpError 失败'
  983. /db/backup/del:
  984. post:
  985. tags:
  986. - scd_check_tools/controllersApiController
  987. summary: 删除指定的数据备份
  988. description: 删除指定的数据备份
  989. parameters:
  990. - in: query
  991. name: id
  992. description: 备份记录ID
  993. type: integer
  994. format: int64
  995. responses:
  996. "200":
  997. description: 成功
  998. schema:
  999. $ref: '#/definitions/ResultOK'
  1000. "500":
  1001. description: '{object} ResultError 失败'
  1002. /db/backup/list:
  1003. get:
  1004. tags:
  1005. - scd_check_tools/controllersApiController
  1006. summary: 获取数据备份列表
  1007. description: 获取数据备份列表
  1008. parameters:
  1009. - in: query
  1010. name: pageindex
  1011. description: 当前查询的分页页码,默认为1
  1012. type: integer
  1013. format: int64
  1014. - in: query
  1015. name: pagesize
  1016. description: 每页显示的数据条数,默认为20
  1017. type: integer
  1018. format: int64
  1019. - in: query
  1020. name: enddate
  1021. description: 备份结束日期
  1022. type: string
  1023. - in: query
  1024. name: startdate
  1025. description: 备份开始日期
  1026. type: string
  1027. responses:
  1028. "200":
  1029. description: 成功
  1030. schema:
  1031. $ref: '#/definitions/ResultOK'
  1032. "500":
  1033. description: '{object} ResultError 失败'
  1034. /db/backup/new:
  1035. post:
  1036. tags:
  1037. - scd_check_tools/controllersApiController
  1038. summary: 创建新数据备份
  1039. description: 创建新数据备份
  1040. responses:
  1041. "200":
  1042. description: 成功
  1043. schema:
  1044. $ref: '#/definitions/ResultOK'
  1045. "500":
  1046. description: '{object} ResultError 失败'
  1047. /db/backup/recover:
  1048. post:
  1049. tags:
  1050. - scd_check_tools/controllersApiController
  1051. summary: 数据还原
  1052. description: 还原指定的数据备份
  1053. parameters:
  1054. - in: query
  1055. name: id
  1056. description: 备份记录ID
  1057. required: true
  1058. type: integer
  1059. format: int64
  1060. responses:
  1061. "200":
  1062. description: 成功
  1063. schema:
  1064. $ref: '#/definitions/ResultOK'
  1065. "500":
  1066. description: '{object} ResultError 失败'
  1067. /deleteGlobalcode:
  1068. post:
  1069. tags:
  1070. - scd_check_tools/controllersApiController
  1071. summary: 删除指定系统字典定义
  1072. description: 根据字典编码或ID删除指定系统字典定义
  1073. parameters:
  1074. - in: query
  1075. name: code
  1076. description: 系统字典编码
  1077. type: string
  1078. - in: query
  1079. name: id
  1080. description: 系统字典ID
  1081. type: string
  1082. responses:
  1083. "200":
  1084. description: 成功
  1085. schema:
  1086. $ref: '#/definitions/WarpOK'
  1087. "500":
  1088. description: '{object} WarpError 失败'
  1089. /doc/stat/1:
  1090. get:
  1091. tags:
  1092. - scd_check_tools/controllersStatController
  1093. summary: 资料完整度统计
  1094. description: 资料完整度统计
  1095. parameters:
  1096. - in: query
  1097. name: id
  1098. description: 区域ID
  1099. type: integer
  1100. format: int64
  1101. responses:
  1102. "200":
  1103. description: 错误
  1104. schema:
  1105. $ref: '#/definitions/ResultError'
  1106. "500":
  1107. description: status 失败
  1108. /flow/cnf/deleteuser:
  1109. post:
  1110. tags:
  1111. - scd_check_tools/controllersFlowController
  1112. summary: 删除指定流程的节点人员配置信息
  1113. description: 删除指定流程的节点人员配置信息
  1114. parameters:
  1115. - in: formData
  1116. name: user_id
  1117. description: 节点已分配的人员ID
  1118. required: true
  1119. type: string
  1120. - in: formData
  1121. name: node_inst_id
  1122. description: 节点与人员的分配记录ID
  1123. required: true
  1124. type: string
  1125. responses:
  1126. "200":
  1127. description: 成功
  1128. schema:
  1129. $ref: '#/definitions/ResultOK'
  1130. "500":
  1131. description: '{object} ResultError 失败'
  1132. /flow/cnf/getinfo:
  1133. get:
  1134. tags:
  1135. - scd_check_tools/controllersFlowController
  1136. summary: 获取流程配置信息
  1137. description: 获取流程配置信息
  1138. parameters:
  1139. - in: query
  1140. name: station_id
  1141. description: 变电站ID
  1142. required: true
  1143. type: string
  1144. - in: query
  1145. name: flow_type
  1146. description: 流程类型。值为:3(SCD签入)、4(SCD签出)之一
  1147. type: string
  1148. - in: query
  1149. name: userfilter
  1150. description: 是否需要根据当前登录人员进行节点过滤,为1表示需要,主要用于流转时获取节点列表;否则为获取全节点,主要用于后台配置
  1151. type: string
  1152. responses:
  1153. "200":
  1154. description: 成功
  1155. schema:
  1156. $ref: '#/definitions/ResultOK'
  1157. "500":
  1158. description: '{object} ResultError 失败'
  1159. /flow/getlastoutworkbook:
  1160. get:
  1161. tags:
  1162. - scd_check_tools/controllersFlowController
  1163. summary: 获取指定站最新签出流程详细信息
  1164. description: 获取指定站最新签出流程详细信息
  1165. parameters:
  1166. - in: query
  1167. name: station_id
  1168. description: 变电站ID
  1169. required: true
  1170. type: string
  1171. responses:
  1172. "200":
  1173. description: 成功
  1174. schema:
  1175. $ref: '#/definitions/ResultOK'
  1176. "500":
  1177. description: '{object} ResultError 失败'
  1178. /flow/lock/list:
  1179. get:
  1180. tags:
  1181. - scd_check_tools/controllersFlowController
  1182. summary: 获取指定站的锁定流程记录列表
  1183. description: 获取指定站的锁定流程记录列表
  1184. parameters:
  1185. - in: query
  1186. name: station_id
  1187. description: 变电站ID
  1188. required: true
  1189. type: string
  1190. responses:
  1191. "200":
  1192. description: 成功
  1193. schema:
  1194. $ref: '#/definitions/ResultOK'
  1195. "500":
  1196. description: '{object} ResultError 失败'
  1197. /flow/node/getdata:
  1198. get:
  1199. tags:
  1200. - scd_check_tools/controllersFlowController
  1201. summary: 获取指节点的详细数据
  1202. description: 获取指节点的详细数据
  1203. parameters:
  1204. - in: query
  1205. name: station_id
  1206. description: 变电站ID
  1207. required: true
  1208. type: string
  1209. - in: query
  1210. name: node_code
  1211. description: 节点编号。值为:checkinstart 编制,checkincheck 校验,checkinaudit 审核,checkinend
  1212. 发布,checkoutstart 签出,checkoutcheck 校核,checkoutend 审核之一
  1213. required: true
  1214. type: string
  1215. - in: query
  1216. name: flow_run_id
  1217. description: 流程ID
  1218. required: true
  1219. type: integer
  1220. format: int64
  1221. - in: query
  1222. name: flow_type
  1223. description: 流程类型,值为:3(SCD签入)、4(SCD签出)之一
  1224. type: string
  1225. responses:
  1226. "200":
  1227. description: 成功
  1228. schema:
  1229. $ref: '#/definitions/ResultOK'
  1230. "500":
  1231. description: '{object} ResultError 失败'
  1232. /flow/node/refuser:
  1233. post:
  1234. tags:
  1235. - scd_check_tools/controllersFlowController
  1236. summary: 保存流程配置信息
  1237. description: 保存流程配置信息
  1238. parameters:
  1239. - in: formData
  1240. name: station_id
  1241. description: 变电站ID
  1242. required: true
  1243. type: string
  1244. - in: formData
  1245. name: node_id
  1246. description: 节点编号ID
  1247. required: true
  1248. type: string
  1249. - in: formData
  1250. name: user_ids
  1251. description: 有该节点权限的人员ID列表,多个ID之间用逗号分隔
  1252. required: true
  1253. type: string
  1254. - in: formData
  1255. name: node_inst_id
  1256. description: 节点与人员的分配记录ID
  1257. type: string
  1258. responses:
  1259. "200":
  1260. description: 成功
  1261. schema:
  1262. $ref: '#/definitions/ResultOK'
  1263. "500":
  1264. description: '{object} ResultError 失败'
  1265. /flow/run/list:
  1266. get:
  1267. tags:
  1268. - scd_check_tools/controllersFlowController
  1269. summary: 获取指定站的签入签出流程记录列表
  1270. description: 获取指定站的签入签出流程记录列表
  1271. parameters:
  1272. - in: query
  1273. name: station_id
  1274. description: 变电站ID
  1275. required: true
  1276. type: string
  1277. - in: query
  1278. name: pageno
  1279. description: 当前页码,默认为1
  1280. required: true
  1281. type: integer
  1282. format: int64
  1283. - in: query
  1284. name: pagesize
  1285. description: 每页记录条数,默认为20
  1286. required: true
  1287. type: integer
  1288. format: int64
  1289. - in: query
  1290. name: dt1
  1291. description: 查询条件:开始日期
  1292. type: string
  1293. - in: query
  1294. name: dt2
  1295. description: 查询条件:结束日期
  1296. type: string
  1297. - in: query
  1298. name: name
  1299. description: 查询条件:SCD名称。模糊匹配
  1300. type: string
  1301. - in: query
  1302. name: flowtype
  1303. description: 查询条件:流程类型,值为:3(SCD签入)、4(SCD签出)之一
  1304. type: string
  1305. - in: query
  1306. name: flowstate
  1307. description: 查询条件:流程状态,值为:0 处理中 1 结束 2 驳回之一
  1308. type: string
  1309. responses:
  1310. "200":
  1311. description: 成功
  1312. schema:
  1313. $ref: '#/definitions/ResultOK'
  1314. "500":
  1315. description: '{object} ResultError 失败'
  1316. /flow/run/nodedeal/save:
  1317. post:
  1318. tags:
  1319. - scd_check_tools/controllersFlowController
  1320. summary: 保存指定站的签入签出节点信息
  1321. description: 保存指定站的签入签出节点信息
  1322. parameters:
  1323. - in: formData
  1324. name: station_id
  1325. description: 变电站ID
  1326. required: true
  1327. type: string
  1328. - in: formData
  1329. name: node_code
  1330. description: 节点编号。值为:checkinstart 编制,checkincheck 校验,checkinaudit 审核,checkinend
  1331. 发布,checkoutstart 签出,checkoutcheck 校核,checkoutend 审核之一
  1332. required: true
  1333. type: string
  1334. - in: formData
  1335. name: content
  1336. description: 节点填录的所有信息,为JSON对象序列化后的字符串。
  1337. required: true
  1338. type: string
  1339. - in: formData
  1340. name: flow_run_id
  1341. description: 流程ID
  1342. required: true
  1343. type: integer
  1344. format: int64
  1345. - in: formData
  1346. name: opt
  1347. description: 操作类型。1 通过 0 驳回
  1348. type: string
  1349. - in: formData
  1350. name: flow_type
  1351. description: 流程类型,值为:3(SCD签入)、4(SCD签出)之一
  1352. type: string
  1353. responses:
  1354. "200":
  1355. description: 成功
  1356. schema:
  1357. $ref: '#/definitions/ResultOK'
  1358. "500":
  1359. description: '{object} ResultError 失败'
  1360. /flow/stat/list:
  1361. get:
  1362. tags:
  1363. - scd_check_tools/controllersStatController
  1364. summary: SCD签入签出统计
  1365. description: SCD签入签出统计
  1366. parameters:
  1367. - in: query
  1368. name: station_id
  1369. description: 变电站ID
  1370. type: integer
  1371. format: int64
  1372. responses:
  1373. "200":
  1374. description: 错误
  1375. schema:
  1376. $ref: '#/definitions/ResultError'
  1377. "500":
  1378. description: status 失败
  1379. /get_menu_tree:
  1380. get:
  1381. tags:
  1382. - scd_check_tools/controllersApiController
  1383. summary: 获取角色的已分配资源ID列表
  1384. description: 获取角色的已分配资源ID列表
  1385. parameters:
  1386. - in: query
  1387. name: roleid
  1388. description: 角色ID
  1389. required: true
  1390. type: string
  1391. responses:
  1392. "200":
  1393. description: 成功
  1394. schema:
  1395. $ref: '#/definitions/ResultOK'
  1396. "500":
  1397. description: '{object} ResultError 失败'
  1398. /getGlobalChildrenCode:
  1399. get:
  1400. tags:
  1401. - scd_check_tools/controllersApiController
  1402. summary: 获取指定系统字典的下级字典码定义
  1403. description: 获取指定系统字典的下级字典码定义
  1404. parameters:
  1405. - in: query
  1406. name: code
  1407. description: 未指定code时,将返回根字典下的子字典定义列表。
  1408. type: string
  1409. responses:
  1410. "200":
  1411. description: 成功
  1412. schema:
  1413. $ref: '#/definitions/ResultOK'
  1414. "500":
  1415. description: '{object} ResultError 失败'
  1416. /getGlobalCode:
  1417. get:
  1418. tags:
  1419. - scd_check_tools/controllersApiController
  1420. summary: 查询系统字典列表
  1421. description: 查询系统字典列表
  1422. parameters:
  1423. - in: query
  1424. name: pageindex
  1425. description: 当前查询的页码。默认为1
  1426. type: integer
  1427. format: int64
  1428. - in: query
  1429. name: pagesize
  1430. description: 每页显示的数据记录数,默认为20
  1431. type: integer
  1432. format: int64
  1433. - in: query
  1434. name: pcode
  1435. description: 查询条件:指定的父级字典码
  1436. type: string
  1437. - in: query
  1438. name: code
  1439. description: 查询条件:指定的字典码
  1440. type: string
  1441. responses:
  1442. "200":
  1443. description: 成功
  1444. schema:
  1445. $ref: '#/definitions/ResultOK'
  1446. "500":
  1447. description: '{object} ResultError 失败'
  1448. /getGlobalCode/byid:
  1449. get:
  1450. tags:
  1451. - scd_check_tools/controllersApiController
  1452. summary: 根据id获取字典定义
  1453. description: 根据id获取字典定义
  1454. parameters:
  1455. - in: query
  1456. name: id
  1457. description: 系统字典码ID
  1458. type: string
  1459. responses:
  1460. "200":
  1461. description: 成功
  1462. schema:
  1463. $ref: '#/definitions/ResultOK'
  1464. "500":
  1465. description: '{object} ResultError 失败'
  1466. /getRoleFuncList:
  1467. get:
  1468. tags:
  1469. - scd_check_tools/controllersApiController
  1470. summary: 获取指定角色的功能点列表
  1471. description: 获取指定角色的功能点列表
  1472. parameters:
  1473. - in: query
  1474. name: roleid
  1475. description: 角色ID
  1476. required: true
  1477. type: integer
  1478. format: int64
  1479. responses:
  1480. "200":
  1481. description: 成功
  1482. schema:
  1483. $ref: '#/definitions/WarpOK'
  1484. "500":
  1485. description: '{object} WarpError 失败'
  1486. /getSysParamList:
  1487. get:
  1488. tags:
  1489. - scd_check_tools/controllersApiController
  1490. summary: 获取全部或者指定的系统参数列表
  1491. description: 获取全部或者指定的系统参数列表
  1492. parameters:
  1493. - in: query
  1494. name: param_name
  1495. description: 参数名
  1496. type: string
  1497. responses:
  1498. "200":
  1499. description: 成功
  1500. schema:
  1501. $ref: '#/definitions/ResultOK'
  1502. "500":
  1503. description: '{object} ResultError 失败'
  1504. /getSyslogList:
  1505. get:
  1506. tags:
  1507. - scd_check_tools/controllersApiController
  1508. summary: 查询操作日志列表
  1509. description: 查询操作日志列表
  1510. parameters:
  1511. - in: query
  1512. name: pageindex
  1513. description: 当前查询页码。默认为1
  1514. required: true
  1515. type: integer
  1516. format: int64
  1517. - in: query
  1518. name: pagesize
  1519. description: 每页显示数据条数。默认20
  1520. required: true
  1521. type: integer
  1522. format: int64
  1523. - in: query
  1524. name: enddate
  1525. description: 查询条件:结束日期
  1526. type: string
  1527. - in: query
  1528. name: startdate
  1529. description: 查询条件:开始日期
  1530. type: string
  1531. - in: query
  1532. name: description
  1533. description: 查询条件:日志内容。模糊匹配
  1534. type: string
  1535. - in: query
  1536. name: staff
  1537. description: 查询条件:操作人姓名。模糊匹配
  1538. type: string
  1539. - in: query
  1540. name: ip
  1541. description: 查询条件:操作IP地址。模糊匹配
  1542. type: string
  1543. - in: query
  1544. name: success
  1545. description: '查询条件:操作结果。关联系统字典log_optresult。0: 失败 1:成功'
  1546. type: integer
  1547. format: int64
  1548. - in: query
  1549. name: opttype
  1550. description: 查询条件:操作类型。关联系统字典log_opttype。
  1551. type: integer
  1552. format: int64
  1553. - in: query
  1554. name: audittype
  1555. description: 查询条件:审计类型。关联系统字典log_audittype。
  1556. type: integer
  1557. format: int64
  1558. - in: query
  1559. name: eventtype
  1560. description: 查询条件:事件类型。关联系统字典log_eventtype。
  1561. type: integer
  1562. format: int64
  1563. - in: query
  1564. name: eventlevel
  1565. description: 查询条件:事件等级。关联系统字典log_eventlevel。
  1566. type: integer
  1567. format: int64
  1568. responses:
  1569. "200":
  1570. description: 成功
  1571. schema:
  1572. $ref: '#/definitions/ResultOK'
  1573. "500":
  1574. description: '{object} ResultError 失败'
  1575. /getUser:
  1576. get:
  1577. tags:
  1578. - scd_check_tools/controllersApiController
  1579. summary: 查询指定用户的详细信息
  1580. description: 查询用户信息
  1581. parameters:
  1582. - in: query
  1583. name: id
  1584. description: 用户ID
  1585. required: true
  1586. type: integer
  1587. format: int64
  1588. responses:
  1589. "200":
  1590. description: 成功
  1591. schema:
  1592. $ref: '#/definitions/WarpOK'
  1593. "500":
  1594. description: '{object} WarpError 失败'
  1595. /getUserAreaList:
  1596. get:
  1597. tags:
  1598. - scd_check_tools/controllersApiController
  1599. summary: 获取指定用户所管理的区域列表
  1600. description: 获取指定用户所管理的区域列表
  1601. parameters:
  1602. - in: query
  1603. name: userid
  1604. description: 用户ID
  1605. required: true
  1606. type: integer
  1607. format: int64
  1608. responses:
  1609. "200":
  1610. description: 成功
  1611. schema:
  1612. $ref: '#/definitions/ResultOK'
  1613. "500":
  1614. description: '{object} ResultError 失败'
  1615. /getUserPrivList:
  1616. get:
  1617. tags:
  1618. - scd_check_tools/controllersApiController
  1619. summary: 指定用户的功能列表
  1620. description: 指定用户的功能列表。非RBAC模式下有效
  1621. parameters:
  1622. - in: query
  1623. name: id
  1624. description: 用户ID
  1625. required: true
  1626. type: integer
  1627. format: int64
  1628. responses:
  1629. "200":
  1630. description: 成功
  1631. schema:
  1632. $ref: '#/definitions/WarpOK'
  1633. "500":
  1634. description: '{object} WarpError 失败'
  1635. /getVersion:
  1636. get:
  1637. tags:
  1638. - scd_check_tools/controllersApiController
  1639. summary: 获取当前程序版本
  1640. description: 获取当前程序版本
  1641. responses:
  1642. "200":
  1643. description: 成功
  1644. schema:
  1645. $ref: '#/definitions/WarpOK'
  1646. "500":
  1647. description: '{object} WarpError 失败'
  1648. /ied/stat:
  1649. get:
  1650. tags:
  1651. - scd_check_tools/controllersStatController
  1652. summary: SCD装置分类统计
  1653. description: SCD装置分类统计
  1654. parameters:
  1655. - in: query
  1656. name: station_id
  1657. description: 变电站ID
  1658. type: integer
  1659. format: int64
  1660. responses:
  1661. "200":
  1662. description: 错误
  1663. schema:
  1664. $ref: '#/definitions/ResultError'
  1665. "500":
  1666. description: status 失败
  1667. /keep-alive:
  1668. get:
  1669. tags:
  1670. - scd_check_tools/controllersApiController
  1671. summary: 客户端心跳
  1672. description: 客户端心跳保持,由浏览器或客户端发起请求,以表示其还处于使用中
  1673. responses:
  1674. "200":
  1675. description: status 成功
  1676. "500":
  1677. description: status 失败
  1678. /log/backup:
  1679. post:
  1680. tags:
  1681. - scd_check_tools/controllersApiController
  1682. summary: 操作日志备份
  1683. description: 操作日志备份
  1684. parameters:
  1685. - in: query
  1686. name: enddate
  1687. description: 备份结束日期
  1688. type: string
  1689. - in: query
  1690. name: startdate
  1691. description: 备份开始日期
  1692. type: string
  1693. responses:
  1694. "200":
  1695. description: 成功
  1696. schema:
  1697. $ref: '#/definitions/ResultOK'
  1698. "500":
  1699. description: '{object} ResultError 失败'
  1700. /log/backup/del:
  1701. post:
  1702. tags:
  1703. - scd_check_tools/controllersApiController
  1704. summary: 操作日志备份删除
  1705. description: 操作日志备份删除
  1706. parameters:
  1707. - in: query
  1708. name: id
  1709. description: 备份记录ID
  1710. required: true
  1711. type: integer
  1712. format: int64
  1713. responses:
  1714. "200":
  1715. description: 成功
  1716. schema:
  1717. $ref: '#/definitions/ResultOK'
  1718. "500":
  1719. description: '{object} ResultError 失败'
  1720. /log/backup/list:
  1721. get:
  1722. tags:
  1723. - scd_check_tools/controllersApiController
  1724. summary: 获取操作日志备份列表
  1725. description: 获取操作日志备份列表
  1726. parameters:
  1727. - in: query
  1728. name: pageindex
  1729. description: 当前查询的分页页码,默认为1
  1730. type: integer
  1731. format: int64
  1732. - in: query
  1733. name: pagesize
  1734. description: 每页显示的数据条数,默认为20
  1735. type: integer
  1736. format: int64
  1737. - in: query
  1738. name: enddate
  1739. description: 备份结束日期
  1740. type: string
  1741. - in: query
  1742. name: startdate
  1743. description: 备份开始日期
  1744. type: string
  1745. responses:
  1746. "200":
  1747. description: 成功
  1748. schema:
  1749. $ref: '#/definitions/ResultOK'
  1750. "500":
  1751. description: '{object} ResultError 失败'
  1752. /log/chartstat:
  1753. get:
  1754. tags:
  1755. - scd_check_tools/controllersApiController
  1756. summary: 操作日志分类(图形)统计
  1757. description: 操作日志分类(图形)统计
  1758. parameters:
  1759. - in: query
  1760. name: enddate
  1761. description: 统计条件:结束日期
  1762. type: string
  1763. - in: query
  1764. name: startdate
  1765. description: 统计条件:开始日期
  1766. type: string
  1767. - in: query
  1768. name: description
  1769. description: 统计条件:日志内容。模糊匹配
  1770. type: string
  1771. - in: query
  1772. name: staff
  1773. description: 统计条件:操作人姓名。模糊匹配
  1774. type: string
  1775. - in: query
  1776. name: ip
  1777. description: 统计条件:操作IP地址。模糊匹配
  1778. type: string
  1779. - in: query
  1780. name: success
  1781. description: '统计条件:操作结果。关联系统字典log_optresult。0: 失败 1:成功'
  1782. type: integer
  1783. format: int64
  1784. - in: query
  1785. name: opttype
  1786. description: 统计条件:操作类型。关联系统字典log_opttype。
  1787. type: integer
  1788. format: int64
  1789. - in: query
  1790. name: audittype
  1791. description: 统计条件:审计类型。关联系统字典log_audittype。
  1792. type: integer
  1793. format: int64
  1794. - in: query
  1795. name: eventtype
  1796. description: 统计条件:事件类型。关联系统字典log_eventtype。
  1797. type: integer
  1798. format: int64
  1799. - in: query
  1800. name: eventlevel
  1801. description: 统计条件:事件等级。关联系统字典log_eventlevel。
  1802. type: integer
  1803. format: int64
  1804. - in: query
  1805. name: cycletype
  1806. description: 统计周期。值列表为:year,month,day,hour,week,默认为hour。
  1807. type: integer
  1808. format: int64
  1809. responses:
  1810. "200":
  1811. description: 成功
  1812. schema:
  1813. $ref: '#/definitions/ResultOK'
  1814. "500":
  1815. description: '{object} ResultError 失败'
  1816. /log/datastat:
  1817. get:
  1818. tags:
  1819. - scd_check_tools/controllersApiController
  1820. summary: 操作日志分类(数据列表)统计
  1821. description: 操作日志分类(数据列表)统计
  1822. parameters:
  1823. - in: query
  1824. name: enddate
  1825. description: 统计条件:结束日期
  1826. type: integer
  1827. format: int64
  1828. - in: query
  1829. name: startdate
  1830. description: 统计条件:开始日期
  1831. type: integer
  1832. format: int64
  1833. - in: query
  1834. name: description
  1835. description: 统计条件:日志内容。模糊匹配
  1836. type: integer
  1837. format: int64
  1838. - in: query
  1839. name: staff
  1840. description: 统计条件:操作人姓名。模糊匹配
  1841. type: string
  1842. - in: query
  1843. name: ip
  1844. description: 统计条件:操作IP地址。模糊匹配
  1845. type: string
  1846. - in: query
  1847. name: success
  1848. description: '统计条件:操作结果。关联系统字典log_optresult。0: 失败 1:成功'
  1849. type: integer
  1850. format: int64
  1851. - in: query
  1852. name: opttype
  1853. description: 统计条件:操作类型。关联系统字典log_opttype。
  1854. type: integer
  1855. format: int64
  1856. - in: query
  1857. name: audittype
  1858. description: 统计条件:审计类型。关联系统字典log_audittype。
  1859. type: integer
  1860. format: int64
  1861. - in: query
  1862. name: eventtype
  1863. description: 统计条件:事件类型。关联系统字典log_eventtype。
  1864. type: integer
  1865. format: int64
  1866. - in: query
  1867. name: eventlevel
  1868. description: 统计条件:事件等级。关联系统字典log_eventlevel。
  1869. type: integer
  1870. format: int64
  1871. - in: query
  1872. name: stattype
  1873. description: 统计类型。值为:logtype或者空。
  1874. type: integer
  1875. format: int64
  1876. responses:
  1877. "200":
  1878. description: 成功
  1879. schema:
  1880. $ref: '#/definitions/ResultOK'
  1881. "500":
  1882. description: '{object} ResultError 失败'
  1883. /log/runtime_log:
  1884. get:
  1885. tags:
  1886. - scd_check_tools/controllersApiController
  1887. summary: 获取当前的服务器运行日志
  1888. description: 获取当前的服务器运行日志。每次获取10Kb的日志内容,第一次获取时默认为0,继续获取时需要将上次的最大位置传给offset参数。
  1889. parameters:
  1890. - in: query
  1891. name: offset
  1892. description: 获取的日志起始字节位置。
  1893. required: true
  1894. type: integer
  1895. format: int64
  1896. responses:
  1897. "200":
  1898. description: 成功
  1899. schema:
  1900. $ref: '#/definitions/ResultOK'
  1901. "500":
  1902. description: '{object} ResultError 失败'
  1903. /login:
  1904. post:
  1905. tags:
  1906. - scd_check_tools/controllersApiController
  1907. summary: 登录
  1908. description: 登录系统。系统会返回当前用户的相关信息,如基本信息、token等
  1909. parameters:
  1910. - in: query
  1911. name: login_account
  1912. description: 用户帐号
  1913. required: true
  1914. type: string
  1915. - in: query
  1916. name: pwd
  1917. description: 用户密码
  1918. required: true
  1919. type: string
  1920. responses:
  1921. "200":
  1922. description: 成功
  1923. schema:
  1924. $ref: '#/definitions/WarpOK'
  1925. "500":
  1926. description: '{object} WarpError 失败'
  1927. /logout:
  1928. post:
  1929. tags:
  1930. - scd_check_tools/controllersApiController
  1931. summary: 登出
  1932. description: 登出系统。系统会自动清理当前用户的相关信息,如缓存、token等
  1933. parameters:
  1934. - in: query
  1935. name: sessionid
  1936. description: 用户token码
  1937. required: true
  1938. type: string
  1939. responses:
  1940. "200":
  1941. description: 成功
  1942. schema:
  1943. $ref: '#/definitions/WarpOK'
  1944. "500":
  1945. description: '{object} WarpError 失败'
  1946. /net/video/play:
  1947. post:
  1948. tags:
  1949. - scd_check_tools/controllersApiController
  1950. summary: 视频播放
  1951. /notice/info:
  1952. get:
  1953. tags:
  1954. - scd_check_tools/controllersNoticeController
  1955. summary: 获取指定通知提醒详细信息
  1956. description: 获取指定通知提醒详细信息
  1957. parameters:
  1958. - in: query
  1959. name: id
  1960. description: 通知提醒记录ID
  1961. required: true
  1962. type: integer
  1963. format: int64
  1964. responses:
  1965. "200":
  1966. description: 成功
  1967. schema:
  1968. $ref: '#/definitions/ResultOK'
  1969. "500":
  1970. description: '{object} ResultError 失败'
  1971. /notice/list:
  1972. get:
  1973. tags:
  1974. - scd_check_tools/controllersNoticeController
  1975. summary: 获取指定站的通知提醒列表
  1976. description: 获取指定站的通知提醒列表
  1977. parameters:
  1978. - in: query
  1979. name: station_id
  1980. description: 变电站ID
  1981. required: true
  1982. type: string
  1983. - in: query
  1984. name: pageno
  1985. description: 当前页码。默认为1
  1986. type: integer
  1987. format: int64
  1988. - in: query
  1989. name: pagesize
  1990. description: 每页显示记录数。默认为20
  1991. type: integer
  1992. format: int64
  1993. - in: query
  1994. name: isread
  1995. description: 是否已读。0 未读或1 已读
  1996. type: integer
  1997. format: int64
  1998. responses:
  1999. "200":
  2000. description: 成功
  2001. schema:
  2002. $ref: '#/definitions/ResultOK'
  2003. "500":
  2004. description: '{object} ResultError 失败'
  2005. /notice/read:
  2006. post:
  2007. tags:
  2008. - scd_check_tools/controllersNoticeController
  2009. summary: 设置指定通知提醒为已读
  2010. description: 设置指定通知提醒为已读
  2011. parameters:
  2012. - in: formData
  2013. name: id
  2014. description: 通知提醒记录ID
  2015. required: true
  2016. type: integer
  2017. format: int64
  2018. responses:
  2019. "200":
  2020. description: 成功
  2021. schema:
  2022. $ref: '#/definitions/ResultOK'
  2023. "500":
  2024. description: '{object} ResultError 失败'
  2025. /playWav:
  2026. post:
  2027. tags:
  2028. - scd_check_tools/controllersApiController
  2029. summary: 语音播放
  2030. description: 语音播放
  2031. operationId: ApiController.语音播放
  2032. parameters:
  2033. - in: query
  2034. name: filename
  2035. description: 文件名称
  2036. type: string
  2037. responses:
  2038. "200":
  2039. description: status 成功
  2040. "500":
  2041. description: status 失败
  2042. /record/delete:
  2043. post:
  2044. tags:
  2045. - scd_check_tools/controllersApiController
  2046. summary: 删除指定模型的某条数据记录
  2047. description: 删除指定模型的某条数据记录
  2048. parameters:
  2049. - in: query
  2050. name: tablename
  2051. description: 数据模型名称
  2052. required: true
  2053. type: string
  2054. - in: query
  2055. name: id
  2056. description: 数据记录ID
  2057. required: true
  2058. type: string
  2059. - in: query
  2060. name: primaryfield
  2061. description: 数据记录ID列名。默认为id
  2062. type: string
  2063. responses:
  2064. "200":
  2065. description: 成功
  2066. schema:
  2067. $ref: '#/definitions/WarpOK'
  2068. "500":
  2069. description: '{object} WarpError 失败'
  2070. /record/get:
  2071. get:
  2072. tags:
  2073. - scd_check_tools/controllersApiController
  2074. summary: 获取指定模型的某条数据记录
  2075. description: 获取指定模型的某条数据记录
  2076. parameters:
  2077. - in: query
  2078. name: tablename
  2079. description: 数据模型名称
  2080. required: true
  2081. type: string
  2082. - in: query
  2083. name: id
  2084. description: 数据记录ID
  2085. required: true
  2086. type: string
  2087. - in: query
  2088. name: primaryfield
  2089. description: 数据记录ID列名。默认为id
  2090. type: string
  2091. responses:
  2092. "200":
  2093. description: 成功
  2094. schema:
  2095. $ref: '#/definitions/WarpOK'
  2096. "500":
  2097. description: '{object} WarpError 失败'
  2098. /report/tpl/delete:
  2099. post:
  2100. tags:
  2101. - scd_check_tools/controllersReportController
  2102. summary: 删除指定的检测报告模板
  2103. description: 删除指定的检测报告模板
  2104. parameters:
  2105. - in: formData
  2106. name: id
  2107. description: 检测报告ID
  2108. required: true
  2109. type: integer
  2110. format: int64
  2111. responses:
  2112. "200":
  2113. description: 成功
  2114. schema:
  2115. $ref: '#/definitions/ResultOK'
  2116. "500":
  2117. description: '{object} ResultError 失败'
  2118. /report/tpl/list:
  2119. get:
  2120. tags:
  2121. - scd_check_tools/controllersReportController
  2122. summary: 查询检测报告模板
  2123. description: 查询检测报告模板。支持报告模板名称、状态等过滤条件
  2124. parameters:
  2125. - in: query
  2126. name: pageno
  2127. description: 当前页码。默认为1
  2128. required: true
  2129. type: integer
  2130. format: int64
  2131. - in: query
  2132. name: pagesize
  2133. description: 每页显示数据数。默认为20
  2134. required: true
  2135. type: integer
  2136. format: int64
  2137. - in: query
  2138. name: id
  2139. description: 报告模板ID
  2140. type: integer
  2141. format: int64
  2142. - in: query
  2143. name: name
  2144. description: 名称
  2145. type: string
  2146. - in: query
  2147. name: state
  2148. description: 状态。空:全部 1:启用 2:禁用
  2149. type: integer
  2150. format: int64
  2151. responses:
  2152. "200":
  2153. description: 成功
  2154. schema:
  2155. $ref: '#/definitions/ResultOK'
  2156. "500":
  2157. description: '{object} ResultError 失败'
  2158. /report/tpl/save:
  2159. post:
  2160. tags:
  2161. - scd_check_tools/controllersReportController
  2162. summary: 创建新的检测报告模板
  2163. description: 创建新的检测报告模板
  2164. parameters:
  2165. - in: formData
  2166. name: id
  2167. description: 报告模板ID。指定id值大于0时为编辑操作;否则为新增操作
  2168. type: integer
  2169. format: int64
  2170. - in: formData
  2171. name: name
  2172. description: 报告模板名称
  2173. required: true
  2174. type: string
  2175. - in: formData
  2176. name: doc_id
  2177. description: 报告模板附件ID
  2178. required: true
  2179. type: integer
  2180. format: int64
  2181. - in: formData
  2182. name: memo
  2183. description: 报告模板说明
  2184. type: string
  2185. - in: formData
  2186. name: state
  2187. description: 启用状态。1 启用 2 禁用。默认为1
  2188. required: true
  2189. type: integer
  2190. format: int64
  2191. responses:
  2192. "200":
  2193. description: 成功
  2194. schema:
  2195. $ref: '#/definitions/ResultOK'
  2196. "500":
  2197. description: '{object} ResultError 失败'
  2198. /resetUserPwd:
  2199. post:
  2200. tags:
  2201. - scd_check_tools/controllersApiController
  2202. summary: 修改自己密码
  2203. description: 修改密码。只能修改自己的密码
  2204. parameters:
  2205. - in: query
  2206. name: newpwd
  2207. description: 原密码
  2208. required: true
  2209. type: integer
  2210. format: int64
  2211. - in: query
  2212. name: oldpwd
  2213. description: 新密码
  2214. required: true
  2215. type: integer
  2216. format: int64
  2217. responses:
  2218. "200":
  2219. description: 成功
  2220. schema:
  2221. $ref: '#/definitions/WarpOK'
  2222. "500":
  2223. description: '{object} WarpError 失败'
  2224. /saveGlobalcode:
  2225. post:
  2226. tags:
  2227. - scd_check_tools/controllersApiController
  2228. summary: 保存系统字典
  2229. description: 保存系统字典
  2230. parameters:
  2231. - in: query
  2232. name: name
  2233. description: 系统字典名称
  2234. required: true
  2235. type: string
  2236. - in: query
  2237. name: parentcode
  2238. description: 上级系统字典编码
  2239. required: true
  2240. type: string
  2241. - in: query
  2242. name: code
  2243. description: 系统字典编码
  2244. required: true
  2245. type: string
  2246. - in: query
  2247. name: id
  2248. description: 系统字典ID
  2249. type: string
  2250. responses:
  2251. "200":
  2252. description: 成功
  2253. schema:
  2254. $ref: '#/definitions/WarpOK'
  2255. "500":
  2256. description: '{object} WarpError 失败'
  2257. /saveRoleFunc:
  2258. post:
  2259. tags:
  2260. - scd_check_tools/controllersApiController
  2261. summary: 保存指定角色的功能点列表
  2262. description: 保存指定角色的功能点列表
  2263. parameters:
  2264. - in: query
  2265. name: roleid
  2266. description: 角色ID
  2267. required: true
  2268. type: integer
  2269. format: int64
  2270. - in: query
  2271. name: areaid
  2272. description: 区域列表。JSON串,格式如:[{id:区域ID,allchecked:all|空}]
  2273. required: true
  2274. type: string
  2275. responses:
  2276. "200":
  2277. description: 成功
  2278. schema:
  2279. $ref: '#/definitions/WarpOK'
  2280. "500":
  2281. description: '{object} WarpError 失败'
  2282. /saveSysParam:
  2283. post:
  2284. tags:
  2285. - scd_check_tools/controllersApiController
  2286. summary: 保存系统参数
  2287. description: 保存系统参数
  2288. parameters:
  2289. - in: query
  2290. name: param_name
  2291. description: 参数缟编码
  2292. type: string
  2293. - in: query
  2294. name: param_value
  2295. description: 参数值
  2296. type: string
  2297. - in: query
  2298. name: param_memo
  2299. description: 参数描述
  2300. type: string
  2301. responses:
  2302. "200":
  2303. description: 错误
  2304. schema:
  2305. $ref: '#/definitions/ResultError'
  2306. "500":
  2307. description: status 失败
  2308. /saveUser:
  2309. post:
  2310. tags:
  2311. - scd_check_tools/controllersApiController
  2312. summary: 保存用户信息(已废弃)
  2313. /saveUserAreaList:
  2314. post:
  2315. tags:
  2316. - scd_check_tools/controllersApiController
  2317. summary: 保存指定用户所管理的区域列表
  2318. description: 保存指定用户所管理的区域列表
  2319. parameters:
  2320. - in: query
  2321. name: userid
  2322. description: 用户ID
  2323. required: true
  2324. type: integer
  2325. format: int64
  2326. - in: query
  2327. name: areaid
  2328. description: 区域列表。JSON串,格式如:[{id:区域ID,allchecked:all|空}]
  2329. required: true
  2330. type: string
  2331. responses:
  2332. "200":
  2333. description: 成功
  2334. schema:
  2335. $ref: '#/definitions/ResultOK'
  2336. "500":
  2337. description: '{object} ResultError 失败'
  2338. /saveUserPrivList:
  2339. post:
  2340. tags:
  2341. - scd_check_tools/controllersApiController
  2342. summary: 保存指定用户的功能列表
  2343. description: 保存指定用户的功能列表。非RBAC模式下有效
  2344. parameters:
  2345. - in: query
  2346. name: id
  2347. description: 用户ID
  2348. required: true
  2349. type: integer
  2350. format: int64
  2351. - in: query
  2352. name: privids
  2353. description: 功能ID列表,使用逗号分隔
  2354. required: true
  2355. type: string
  2356. responses:
  2357. "200":
  2358. description: 成功
  2359. schema:
  2360. $ref: '#/definitions/WarpOK'
  2361. "500":
  2362. description: '{object} WarpError 失败'
  2363. /scd/area/edit_voltage_level:
  2364. post:
  2365. tags:
  2366. - scd_check_tools/controllersScreenController
  2367. summary: 修改指定间隔的所属电压等级
  2368. description: 修改指定间隔的所属电压等级
  2369. parameters:
  2370. - in: query
  2371. name: voltagelevel
  2372. description: 电压等级ID
  2373. required: true
  2374. type: integer
  2375. format: int64
  2376. - in: query
  2377. name: area_id
  2378. description: 间隔ID
  2379. required: true
  2380. type: integer
  2381. format: int64
  2382. /scd/area/editname:
  2383. post:
  2384. tags:
  2385. - scd_check_tools/controllersScreenController
  2386. summary: 修改指定间隔的名称信息
  2387. description: 修改指定间隔的名称信息
  2388. parameters:
  2389. - in: query
  2390. name: scd_id
  2391. description: SCD文件ID
  2392. required: true
  2393. type: integer
  2394. format: int64
  2395. - in: query
  2396. name: area_id
  2397. description: 间隔ID
  2398. required: true
  2399. type: integer
  2400. format: int64
  2401. - in: query
  2402. name: name
  2403. description: 间隔名称
  2404. required: true
  2405. type: string
  2406. /scd/area/ied/list:
  2407. get:
  2408. tags:
  2409. - scd_check_tools/controllersScreenController
  2410. summary: 获取指定间隔下的IED信息
  2411. description: 获取指定间隔下的IED信息
  2412. parameters:
  2413. - in: query
  2414. name: scd_id
  2415. description: SCD文件ID
  2416. required: true
  2417. type: integer
  2418. format: int64
  2419. - in: query
  2420. name: voltage_level_id
  2421. description: 电压等级ID
  2422. type: integer
  2423. format: int64
  2424. - in: query
  2425. name: area_id
  2426. description: 间隔ID
  2427. type: integer
  2428. format: int64
  2429. - in: query
  2430. name: device_type_id
  2431. description: 装置类型ID。关联系统字典:device_type
  2432. type: string
  2433. /scd/area/list:
  2434. get:
  2435. tags:
  2436. - scd_check_tools/controllersScreenController
  2437. summary: 获取指定scd下的间隔信息
  2438. description: 获取指定scd下的间隔信息
  2439. parameters:
  2440. - in: query
  2441. name: scd_id
  2442. description: SCD文件ID
  2443. required: true
  2444. type: integer
  2445. format: int64
  2446. - in: query
  2447. name: voltage_level_id
  2448. description: 电压等级ID
  2449. type: integer
  2450. format: int64
  2451. /scd/check/resultlist:
  2452. get:
  2453. tags:
  2454. - scd_check_tools/controllersScreenController
  2455. summary: 获取指定SCD的校验结果
  2456. description: 获取指定SCD的校验结果
  2457. parameters:
  2458. - in: query
  2459. name: scd_id
  2460. description: SCD文件ID
  2461. required: true
  2462. type: integer
  2463. format: int64
  2464. - in: query
  2465. name: pageno
  2466. description: 当前页码。默认为1
  2467. required: true
  2468. type: integer
  2469. format: int64
  2470. - in: query
  2471. name: pagesize
  2472. description: 每页数据记录条数。默认为20
  2473. required: true
  2474. type: integer
  2475. format: int64
  2476. - in: query
  2477. name: scd_name
  2478. description: SCD文件名称
  2479. type: string
  2480. - in: query
  2481. name: scd_path
  2482. description: SCD文件名称
  2483. type: string
  2484. - in: query
  2485. name: level
  2486. description: 校验错误级别
  2487. type: string
  2488. - in: query
  2489. name: ied_name
  2490. description: IED装置名称
  2491. type: string
  2492. - in: query
  2493. name: node_name
  2494. description: 节点名称
  2495. type: string
  2496. - in: query
  2497. name: node_id
  2498. description: 节点ID
  2499. type: string
  2500. /scd/check/stat/level:
  2501. get:
  2502. tags:
  2503. - scd_check_tools/controllersScreenController
  2504. summary: 按校验错误等级统计校验结果
  2505. description: 按校验错误等级统计校验结果
  2506. parameters:
  2507. - in: query
  2508. name: scd_id
  2509. description: SCD文件ID
  2510. required: true
  2511. type: integer
  2512. format: int64
  2513. - in: query
  2514. name: scd_name
  2515. description: SCD文件名称
  2516. type: string
  2517. - in: query
  2518. name: scd_path
  2519. description: SCD文件名称
  2520. type: string
  2521. - in: query
  2522. name: ied_name
  2523. description: IED装置名称
  2524. type: string
  2525. - in: query
  2526. name: node_name
  2527. description: 节点名称
  2528. type: string
  2529. - in: query
  2530. name: node_id
  2531. description: 节点ID
  2532. type: string
  2533. /scd/check/sum/result:
  2534. get:
  2535. tags:
  2536. - scd_check_tools/controllersScreenController
  2537. summary: 获取指定SCD的汇总统计结果
  2538. description: 获取指定SCD的汇总统计结果
  2539. parameters:
  2540. - in: query
  2541. name: scd_id
  2542. description: SCD文件ID
  2543. required: true
  2544. type: integer
  2545. format: int64
  2546. /scd/ied/editarea:
  2547. post:
  2548. tags:
  2549. - scd_check_tools/controllersScreenController
  2550. summary: 修改指定装置的所属间隔
  2551. description: 修改指定装置的所属间隔
  2552. parameters:
  2553. - in: query
  2554. name: scd_id
  2555. description: SCD文件ID
  2556. required: true
  2557. type: integer
  2558. format: int64
  2559. - in: query
  2560. name: ied_name
  2561. description: 装置名称
  2562. required: true
  2563. type: string
  2564. - in: query
  2565. name: area_id
  2566. description: 间隔ID
  2567. required: true
  2568. type: integer
  2569. format: int64
  2570. /scd/ied/typelist:
  2571. get:
  2572. tags:
  2573. - scd_check_tools/controllersScreenController
  2574. summary: 获取指定SCD下的IED类型信息
  2575. description: 获取指定SCD下的IED类型信息
  2576. parameters:
  2577. - in: query
  2578. name: scd_id
  2579. description: SCD文件ID
  2580. required: true
  2581. type: integer
  2582. format: int64
  2583. /scd_check_tools/checkin/detail:
  2584. get:
  2585. tags:
  2586. - scd_check_tools/controllersFlowController
  2587. summary: 获取指定站的指定scd的签入详情
  2588. description: 获取指定站的指定scd的签入详情
  2589. parameters:
  2590. - in: query
  2591. name: station_id
  2592. description: 变电站ID
  2593. required: true
  2594. type: string
  2595. - in: query
  2596. name: scd_name
  2597. description: SCD名称
  2598. type: string
  2599. - in: query
  2600. name: scd_path
  2601. description: SCD文件路径
  2602. type: string
  2603. - in: query
  2604. name: scd_id
  2605. description: SCD文件ID。为空时scd_name和scd_path必填
  2606. type: string
  2607. responses:
  2608. "200":
  2609. description: 成功
  2610. schema:
  2611. $ref: '#/definitions/ResultOK'
  2612. "500":
  2613. description: '{object} ResultError 失败'
  2614. /scd_check_tools/comp/iedstat/type:
  2615. get:
  2616. tags:
  2617. - scd_check_tools/controllersScdCompController
  2618. summary: 指定装置差异对比结果分类统计
  2619. description: 指定装置差异对比结果分类统计
  2620. parameters:
  2621. - in: query
  2622. name: comp_id
  2623. description: 差异比对记录ID
  2624. required: true
  2625. type: integer
  2626. format: int64
  2627. - in: query
  2628. name: ied_name
  2629. description: 装置名称
  2630. type: string
  2631. - in: query
  2632. name: comptype
  2633. description: 差异类别。值为:i|d|u之一
  2634. type: string
  2635. responses:
  2636. "200":
  2637. description: 成功
  2638. schema:
  2639. $ref: '#/definitions/ResultOK'
  2640. "500":
  2641. description: status 失败
  2642. /scd_check_tools/comp/list:
  2643. get:
  2644. tags:
  2645. - scd_check_tools/controllersScdCompController
  2646. summary: 获取指定变电站的差异对比记录列表
  2647. description: 获取指定变电站的差异对比记录列表
  2648. parameters:
  2649. - in: query
  2650. name: station_id
  2651. description: 变电站ID
  2652. required: true
  2653. type: integer
  2654. format: int64
  2655. responses:
  2656. "200":
  2657. description: 成功
  2658. schema:
  2659. $ref: '#/definitions/ResultOK'
  2660. "500":
  2661. description: status 失败
  2662. /scd_check_tools/comp/result:
  2663. get:
  2664. tags:
  2665. - scd_check_tools/controllersScdCompController
  2666. summary: 获取指定差异对比的详细结果列表
  2667. description: 获取指定差异对比的详细结果列表
  2668. parameters:
  2669. - in: query
  2670. name: comp_id
  2671. description: 差异比对记录ID
  2672. required: true
  2673. type: integer
  2674. format: int64
  2675. - in: query
  2676. name: ied_name
  2677. description: 装置名称
  2678. type: string
  2679. - in: query
  2680. name: itemcode
  2681. description: 差异对象类型代码
  2682. type: string
  2683. responses:
  2684. "200":
  2685. description: 成功
  2686. schema:
  2687. $ref: '#/definitions/ResultOK'
  2688. "500":
  2689. description: status 失败
  2690. /scd_check_tools/comp/start:
  2691. post:
  2692. tags:
  2693. - scd_check_tools/controllersScdCompController
  2694. summary: 开始scd差异对比
  2695. description: 开始scd差异对比
  2696. parameters:
  2697. - in: query
  2698. name: type
  2699. description: 对比的文件类型。值为scd\ccd\cid\ccd_cid_scd\icd_scd之一。
  2700. required: true
  2701. type: string
  2702. - in: query
  2703. name: comp_id
  2704. description: 差异比对记录ID。不为空或0时表示重新比对差异
  2705. type: integer
  2706. format: int64
  2707. - in: query
  2708. name: station_id
  2709. description: 变电站ID
  2710. required: true
  2711. type: integer
  2712. format: int64
  2713. - in: query
  2714. name: source_scd_id
  2715. description: 对比的基准SCD文件ID。type为scd时必填。
  2716. type: integer
  2717. format: int64
  2718. - in: query
  2719. name: target_scd_id
  2720. description: 对比的参照SCD文件ID。type为scd时必填。
  2721. type: integer
  2722. format: int64
  2723. - in: query
  2724. name: ids
  2725. description: 如果是2个非SCD对比文件时,需要对比的文件ID列表,使用逗号分隔。仅当type为ccd\cid\ccd_cid_scd\icd_scd时有效
  2726. type: string
  2727. responses:
  2728. "200":
  2729. description: 成功
  2730. schema:
  2731. $ref: '#/definitions/ResultOK'
  2732. "500":
  2733. description: status 失败
  2734. /scd_check_tools/comp/stat/result:
  2735. get:
  2736. tags:
  2737. - scd_check_tools/controllersScdCompController
  2738. summary: 获取scd差异对比结果概览统计
  2739. description: 获取scd差异对比结果概览统计
  2740. parameters:
  2741. - in: query
  2742. name: comp_id
  2743. description: 差异比对记录ID
  2744. required: true
  2745. type: integer
  2746. format: int64
  2747. responses:
  2748. "200":
  2749. description: 成功
  2750. schema:
  2751. $ref: '#/definitions/ResultOK'
  2752. "500":
  2753. description: status 失败
  2754. /scd_check_tools/comp/tree:
  2755. get:
  2756. tags:
  2757. - scd_check_tools/controllersScdCompController
  2758. summary: 获取SCD校验对象树
  2759. description: 获取SCD校验对象树
  2760. parameters:
  2761. - in: query
  2762. name: scd_id
  2763. description: SCD文件ID
  2764. required: true
  2765. type: integer
  2766. format: int64
  2767. - in: query
  2768. name: id
  2769. description: 对象ID
  2770. type: integer
  2771. format: int64
  2772. - in: query
  2773. name: pid
  2774. description: 上级对象ID
  2775. type: integer
  2776. format: int64
  2777. responses:
  2778. "200":
  2779. description: 成功
  2780. schema:
  2781. $ref: '#/definitions/ResultOK'
  2782. "500":
  2783. description: status 失败
  2784. /scd_check_tools/rule/list:
  2785. get:
  2786. tags:
  2787. - scd_check_tools/controllersRuleController
  2788. summary: 获取校验规则列表
  2789. description: 获取校验规则列表
  2790. parameters:
  2791. - in: query
  2792. name: pageindex
  2793. description: 当前页码。默认为1
  2794. type: integer
  2795. format: int64
  2796. - in: query
  2797. name: pagesize
  2798. description: 每页显示记录数。默认为20
  2799. type: integer
  2800. format: int64
  2801. - in: query
  2802. name: id
  2803. description: 规则ID
  2804. type: integer
  2805. format: int64
  2806. - in: query
  2807. name: enable
  2808. description: 是否启用。默认为全部
  2809. type: integer
  2810. format: int64
  2811. - in: query
  2812. name: object_name
  2813. description: 规则的对象名称
  2814. type: string
  2815. - in: query
  2816. name: object_type
  2817. description: 规则的对象分类
  2818. type: integer
  2819. format: int64
  2820. - in: query
  2821. name: alert_level
  2822. description: 规则的告警级别。值为error\alert\hint之一。
  2823. type: string
  2824. - in: query
  2825. name: apply_standard
  2826. description: 规则标准
  2827. type: string
  2828. responses:
  2829. "200":
  2830. description: 成功
  2831. schema:
  2832. $ref: '#/definitions/ResultOK'
  2833. "500":
  2834. description: status 失败
  2835. /scd_check_tools/rule/remove:
  2836. post:
  2837. tags:
  2838. - scd_check_tools/controllersRuleController
  2839. summary: 删除校验规则
  2840. description: 删除校验规则
  2841. parameters:
  2842. - in: formData
  2843. name: id
  2844. description: 规则ID
  2845. required: true
  2846. type: integer
  2847. format: int64
  2848. responses:
  2849. "200":
  2850. description: 成功
  2851. schema:
  2852. $ref: '#/definitions/ResultOK'
  2853. "500":
  2854. description: status 失败
  2855. /scd_check_tools/rule/reset:
  2856. post:
  2857. tags:
  2858. - scd_check_tools/controllersRuleController
  2859. summary: 重新校验指定scd
  2860. description: 重新校验指定scd
  2861. parameters:
  2862. - in: formData
  2863. name: scd_id
  2864. description: SCD文件ID
  2865. required: true
  2866. type: integer
  2867. format: int64
  2868. responses:
  2869. "200":
  2870. description: 成功
  2871. schema:
  2872. $ref: '#/definitions/ResultOK'
  2873. "500":
  2874. description: status 失败
  2875. /scd_check_tools/rule/save:
  2876. post:
  2877. tags:
  2878. - scd_check_tools/controllersRuleController
  2879. summary: 保存校验规则
  2880. description: 保存校验规则
  2881. parameters:
  2882. - in: formData
  2883. name: id
  2884. description: 规则ID。不为0时表示编辑
  2885. type: integer
  2886. format: int64
  2887. - in: formData
  2888. name: enable
  2889. description: 是否启用。默认为全部
  2890. type: integer
  2891. format: int64
  2892. - in: formData
  2893. name: object_name
  2894. description: 规则的对象名称
  2895. type: string
  2896. - in: formData
  2897. name: object_type
  2898. description: 规则的对象分类
  2899. type: integer
  2900. format: int64
  2901. - in: formData
  2902. name: alert_level
  2903. description: 规则的告警级别。值为error\alert\hint之一。
  2904. type: string
  2905. - in: formData
  2906. name: apply_standard
  2907. description: 规则标准
  2908. type: string
  2909. responses:
  2910. "200":
  2911. description: 成功
  2912. schema:
  2913. $ref: '#/definitions/ResultOK'
  2914. "500":
  2915. description: status 失败
  2916. /scd_check_tools/stat/right:
  2917. get:
  2918. tags:
  2919. - scd_check_tools/controllersStatController
  2920. summary: scd正确性分析
  2921. description: scd正确性分析
  2922. parameters:
  2923. - in: query
  2924. name: station_id
  2925. description: 变电站ID
  2926. required: true
  2927. type: integer
  2928. format: int64
  2929. responses:
  2930. "200":
  2931. description: 错误
  2932. schema:
  2933. $ref: '#/definitions/ResultError'
  2934. "500":
  2935. description: status 失败
  2936. /screen/scd/agin_parse:
  2937. post:
  2938. tags:
  2939. - scd_check_tools/controllersScreenController
  2940. summary: 重新解析指定scd
  2941. description: 重新解析指定scd
  2942. parameters:
  2943. - in: formData
  2944. name: scd_id
  2945. description: SCD ID
  2946. required: true
  2947. type: integer
  2948. format: int64
  2949. responses:
  2950. "200":
  2951. description: 成功
  2952. schema:
  2953. $ref: '#/definitions/ResultOK'
  2954. "500":
  2955. description: '{object} ResultError 失败'
  2956. /screen/scd/checktools/tree:
  2957. get:
  2958. tags:
  2959. - scd_check_tools/controllersScreenController
  2960. summary: 获取指定scd校验类型树
  2961. description: 获取指定scd校验类型树
  2962. parameters:
  2963. - in: query
  2964. name: scd_id
  2965. description: SCD文件ID
  2966. required: true
  2967. type: integer
  2968. format: int64
  2969. - in: query
  2970. name: id
  2971. description: 节点ID
  2972. required: true
  2973. type: integer
  2974. format: int64
  2975. - in: query
  2976. name: pid
  2977. description: 父节点ID
  2978. required: true
  2979. type: integer
  2980. format: int64
  2981. - in: query
  2982. name: datatype
  2983. description: 节点类型
  2984. required: true
  2985. type: string
  2986. responses:
  2987. "200":
  2988. description: 成功
  2989. schema:
  2990. $ref: '#/definitions/ResultOK'
  2991. "500":
  2992. description: '{object} ResultError 失败'
  2993. /screen/scd/crc:
  2994. get:
  2995. tags:
  2996. - scd_check_tools/controllersScreenController
  2997. summary: 获取指定scd的crc校验结果
  2998. description: 获取指定scd的crc校验结果
  2999. parameters:
  3000. - in: query
  3001. name: scd_id
  3002. description: SCD文件ID
  3003. required: true
  3004. type: integer
  3005. format: int64
  3006. /screen/scd/delete:
  3007. post:
  3008. tags:
  3009. - scd_check_tools/controllersScreenController
  3010. summary: 删除指定scd数据
  3011. description: 删除指定scd数据
  3012. parameters:
  3013. - in: formData
  3014. name: id
  3015. description: SCD文件ID
  3016. required: true
  3017. type: integer
  3018. format: int64
  3019. responses:
  3020. "200":
  3021. description: 成功
  3022. schema:
  3023. $ref: '#/definitions/ResultOK'
  3024. "500":
  3025. description: '{object} ResultError 失败'
  3026. /screen/scd/ied/ctrlblock:
  3027. get:
  3028. tags:
  3029. - scd_check_tools/controllersScreenController
  3030. summary: 获取指定IED的控制块信息
  3031. description: 获取指定IED的控制块信息
  3032. parameters:
  3033. - in: query
  3034. name: scd_id
  3035. description: SCD文件ID
  3036. required: true
  3037. type: integer
  3038. format: int64
  3039. - in: query
  3040. name: ied_name
  3041. description: 装置名称
  3042. required: true
  3043. type: string
  3044. /screen/scd/ied/dingzhi:
  3045. get:
  3046. tags:
  3047. - scd_check_tools/controllersScreenController
  3048. summary: 获取指定IED的定值条目
  3049. description: 获取指定IED的定值条目
  3050. parameters:
  3051. - in: query
  3052. name: scd_id
  3053. description: SCD文件ID
  3054. required: true
  3055. type: integer
  3056. format: int64
  3057. - in: query
  3058. name: ied_name
  3059. description: IED装置名称
  3060. required: true
  3061. type: string
  3062. /screen/scd/ied/goose_ctrlblock/receive:
  3063. get:
  3064. tags:
  3065. - scd_check_tools/controllersScreenController
  3066. summary: 获取指定IED的接收GOOSE控制块端子列表
  3067. description: 获取指定IED的接收GOOSE控制块端子列表
  3068. parameters:
  3069. - in: query
  3070. name: scd_id
  3071. description: SCD文件ID
  3072. required: true
  3073. type: integer
  3074. format: int64
  3075. - in: query
  3076. name: ied_name
  3077. description: 装置名称
  3078. required: true
  3079. type: string
  3080. /screen/scd/ied/goose_ctrlblock/sendfcdalist:
  3081. get:
  3082. tags:
  3083. - scd_check_tools/controllersScreenController
  3084. summary: 获取指定IED的指定GOOSE控制块端子列表
  3085. description: 获取指定IED的指定GOOSE控制块端子列表
  3086. parameters:
  3087. - in: query
  3088. name: scd_id
  3089. description: SCD文件ID
  3090. required: true
  3091. type: integer
  3092. format: int64
  3093. - in: query
  3094. name: ied_name
  3095. description: 装置名称
  3096. required: true
  3097. type: string
  3098. - in: query
  3099. name: ctrlid
  3100. description: GOOSE控制块ID
  3101. required: true
  3102. type: integer
  3103. format: int64
  3104. /screen/scd/ied/inputs:
  3105. get:
  3106. tags:
  3107. - scd_check_tools/controllersScreenController
  3108. summary: 获取IED的虚端子关系
  3109. description: 获取IED的虚端子关系
  3110. parameters:
  3111. - in: query
  3112. name: scd_id
  3113. description: SCD文件ID
  3114. required: true
  3115. type: integer
  3116. format: int64
  3117. - in: query
  3118. name: ied_name
  3119. description: 主装置名称
  3120. required: true
  3121. type: string
  3122. - in: query
  3123. name: m_ied_name
  3124. description: 输出IED装置名称
  3125. required: true
  3126. type: string
  3127. - in: query
  3128. name: s_ied_name
  3129. description: 输入IED装置名称
  3130. required: true
  3131. type: string
  3132. - in: query
  3133. name: m_ctrlid
  3134. description: 输出控制块ID
  3135. required: true
  3136. type: string
  3137. - in: query
  3138. name: s_ctrlid
  3139. description: 输入控制块ID
  3140. required: true
  3141. type: string
  3142. /screen/scd/ied/netaddr:
  3143. get:
  3144. tags:
  3145. - scd_check_tools/controllersScreenController
  3146. summary: 获取SCD中配置的所有设备网络地址
  3147. description: 获取SCD中配置的所有设备网络地址
  3148. parameters:
  3149. - in: query
  3150. name: scd_id
  3151. description: SCD文件ID
  3152. required: true
  3153. type: integer
  3154. format: int64
  3155. /screen/scd/ied/network/info:
  3156. get:
  3157. tags:
  3158. - scd_check_tools/controllersScreenController
  3159. summary: 获取IED网络配置信息
  3160. description: 获取IED网络配置信息
  3161. parameters:
  3162. - in: query
  3163. name: scd_id
  3164. description: SCD文件ID
  3165. required: true
  3166. type: integer
  3167. format: int64
  3168. - in: query
  3169. name: ied_name
  3170. description: 装置名称
  3171. required: true
  3172. type: string
  3173. /screen/scd/ied/pointtable:
  3174. get:
  3175. tags:
  3176. - scd_check_tools/controllersScreenController
  3177. summary: 获取指定IED的信息点表
  3178. description: 获取指定IED的定值条目
  3179. parameters:
  3180. - in: query
  3181. name: scd_id
  3182. description: SCD文件ID
  3183. required: true
  3184. type: integer
  3185. format: int64
  3186. - in: query
  3187. name: ied_name
  3188. description: IED装置名称
  3189. required: true
  3190. type: string
  3191. /screen/scd/ied/ref/ctrlblock:
  3192. get:
  3193. tags:
  3194. - scd_check_tools/controllersScreenController
  3195. summary: 获取指定IED的关联IED控制块信息
  3196. description: 获取指定IED的关联IED控制块信息
  3197. parameters:
  3198. - in: query
  3199. name: scd_id
  3200. description: SCD文件ID
  3201. required: true
  3202. type: integer
  3203. format: int64
  3204. - in: query
  3205. name: ied_name
  3206. description: 装置名称
  3207. required: true
  3208. type: string
  3209. /screen/scd/ied/relation:
  3210. get:
  3211. tags:
  3212. - scd_check_tools/controllersScreenController
  3213. summary: 获取IED关联关系
  3214. description: 获取IED关联关系
  3215. parameters:
  3216. - in: query
  3217. name: scd_id
  3218. description: SCD文件ID
  3219. required: true
  3220. type: integer
  3221. format: int64
  3222. - in: query
  3223. name: ied_name
  3224. description: 装置名称
  3225. required: true
  3226. type: string
  3227. /screen/scd/ied/smv_ctrlblock/receive:
  3228. get:
  3229. tags:
  3230. - scd_check_tools/controllersScreenController
  3231. summary: 获取指定IED的接收SMV控制块端子列表
  3232. description: 获取指定IED的接收SMV控制块端子列表
  3233. parameters:
  3234. - in: query
  3235. name: scd_id
  3236. description: SCD文件ID
  3237. required: true
  3238. type: integer
  3239. format: int64
  3240. - in: query
  3241. name: ied_name
  3242. description: 装置名称
  3243. required: true
  3244. type: string
  3245. /screen/scd/ied/smv_ctrlblock/sendfcdalist:
  3246. get:
  3247. tags:
  3248. - scd_check_tools/controllersScreenController
  3249. summary: 获取指定IED的指定SMV控制块端子列表
  3250. description: 获取指定IED的指定SMV控制块端子列表
  3251. parameters:
  3252. - in: query
  3253. name: scd_id
  3254. description: SCD文件ID
  3255. required: true
  3256. type: integer
  3257. format: int64
  3258. - in: query
  3259. name: ied_name
  3260. description: 装置名称
  3261. required: true
  3262. type: string
  3263. - in: query
  3264. name: ctrlid
  3265. description: SMV控制块ID
  3266. required: true
  3267. type: integer
  3268. format: int64
  3269. /screen/scd/ied/sourcexml:
  3270. get:
  3271. tags:
  3272. - scd_check_tools/controllersScreenController
  3273. summary: 获取指定IED的源XML
  3274. description: 获取指定IED的源XML
  3275. parameters:
  3276. - in: query
  3277. name: scd_id
  3278. description: SCD文件ID
  3279. required: true
  3280. type: integer
  3281. format: int64
  3282. - in: query
  3283. name: ied_name
  3284. description: IED装置名称
  3285. required: true
  3286. type: string
  3287. /screen/scd/info:
  3288. get:
  3289. tags:
  3290. - scd_check_tools/controllersScreenController
  3291. summary: 获取scd详细信息
  3292. description: 获取scd详细信息
  3293. parameters:
  3294. - in: query
  3295. name: scd_id
  3296. description: SCD文件ID
  3297. required: true
  3298. type: integer
  3299. format: int64
  3300. - in: query
  3301. name: scdname
  3302. description: SCD名称
  3303. type: string
  3304. - in: query
  3305. name: scdpath
  3306. description: SCD路径
  3307. type: string
  3308. responses:
  3309. "200":
  3310. description: 成功
  3311. schema:
  3312. $ref: '#/definitions/ResultOK'
  3313. "500":
  3314. description: '{object} ResultError 失败'
  3315. /screen/scd/ldevice/list:
  3316. get:
  3317. tags:
  3318. - scd_check_tools/controllersScreenController
  3319. summary: 获取指定accessPoint下的Ldevice节点列表
  3320. description: 获取指定accessPoint下的Ldevice节点列表
  3321. parameters:
  3322. - in: query
  3323. name: scd_id
  3324. description: SCD文件ID
  3325. required: true
  3326. type: integer
  3327. format: int64
  3328. - in: query
  3329. name: accessPointId
  3330. description: 访问点ID
  3331. required: true
  3332. type: integer
  3333. format: int64
  3334. /screen/scd/line/sourcexml:
  3335. get:
  3336. tags:
  3337. - scd_check_tools/controllersScreenController
  3338. summary: 获取指定行号的源XML
  3339. description: 获取指定行号的源XML,每次获取指定行的前后各100行源数据
  3340. parameters:
  3341. - in: query
  3342. name: scd_id
  3343. description: SCD文件ID
  3344. required: true
  3345. type: integer
  3346. format: int64
  3347. - in: query
  3348. name: lineno
  3349. description: 行号
  3350. required: true
  3351. type: integer
  3352. format: int64
  3353. /screen/scd/list:
  3354. get:
  3355. tags:
  3356. - scd_check_tools/controllersScreenController
  3357. summary: 获取scd列表
  3358. description: 获取scd列表
  3359. parameters:
  3360. - in: query
  3361. name: stationid
  3362. description: 变电站ID
  3363. required: true
  3364. type: integer
  3365. format: int64
  3366. - in: query
  3367. name: pageno
  3368. description: 当前页码。默认为1
  3369. required: true
  3370. type: integer
  3371. format: int64
  3372. - in: query
  3373. name: pagesize
  3374. description: 每页显示数据数。默认为50
  3375. required: true
  3376. type: integer
  3377. format: int64
  3378. - in: query
  3379. name: name
  3380. description: SCD名称
  3381. type: string
  3382. - in: query
  3383. name: enable
  3384. description: 是否在运版SCD
  3385. type: integer
  3386. format: int64
  3387. - in: query
  3388. name: ischeckinscd
  3389. description: 是否管控scd
  3390. type: integer
  3391. format: int64
  3392. responses:
  3393. "200":
  3394. description: 成功
  3395. schema:
  3396. $ref: '#/definitions/ResultOK'
  3397. "500":
  3398. description: '{object} ResultError 失败'
  3399. /screen/scd/node/attrs:
  3400. get:
  3401. tags:
  3402. - scd_check_tools/controllersScreenController
  3403. summary: 获取scd节点属性
  3404. description: 获取scd节点属性
  3405. parameters:
  3406. - in: query
  3407. name: scd_id
  3408. description: SCD文件ID
  3409. required: true
  3410. type: integer
  3411. format: int64
  3412. - in: query
  3413. name: node_id
  3414. description: SCD节点ID
  3415. required: true
  3416. type: integer
  3417. format: int64
  3418. - in: query
  3419. name: ied_name
  3420. description: SCD装置名称
  3421. type: string
  3422. /screen/scd/node/children/stat:
  3423. get:
  3424. tags:
  3425. - scd_check_tools/controllersScreenController
  3426. summary: 统计指定节点的下级节点类型及数量
  3427. description: 统计指定节点的下级节点类型及数量
  3428. parameters:
  3429. - in: query
  3430. name: scd_id
  3431. description: SCD文件ID
  3432. required: true
  3433. type: integer
  3434. format: int64
  3435. - in: query
  3436. name: node_id
  3437. description: SCD节点ID
  3438. required: true
  3439. type: integer
  3440. format: int64
  3441. /screen/scd/node/list:
  3442. get:
  3443. tags:
  3444. - scd_check_tools/controllersScreenController
  3445. summary: 获取scd节点列表
  3446. description: 获取scd节点列表
  3447. parameters:
  3448. - in: query
  3449. name: scd_id
  3450. description: SCD文件ID
  3451. required: true
  3452. type: integer
  3453. format: int64
  3454. - in: query
  3455. name: pageno
  3456. description: 当前页码。默认为1
  3457. required: true
  3458. type: integer
  3459. format: int64
  3460. - in: query
  3461. name: pagesize
  3462. description: 每页的数据条数。默认为20
  3463. required: true
  3464. type: integer
  3465. format: int64
  3466. - in: query
  3467. name: parent_node_id
  3468. description: 父节点ID
  3469. type: integer
  3470. format: int64
  3471. - in: query
  3472. name: name
  3473. description: 节点Name
  3474. type: string
  3475. - in: query
  3476. name: ied_name
  3477. description: 装置Name
  3478. type: string
  3479. /screen/scd/parse/step1:
  3480. post:
  3481. tags:
  3482. - scd_check_tools/controllersScreenController
  3483. summary: 解析指定scd的间隔及装置
  3484. description: 解析指定scd的间隔及装置,该接口不会进行校验及其他分析
  3485. parameters:
  3486. - in: formData
  3487. name: station_id
  3488. description: 变电站ID
  3489. required: true
  3490. type: integer
  3491. format: int64
  3492. - in: formData
  3493. name: scd_path
  3494. description: SCD文件路径
  3495. required: true
  3496. type: string
  3497. - in: formData
  3498. name: scd_name
  3499. description: SCD文件名称
  3500. required: true
  3501. type: string
  3502. responses:
  3503. "200":
  3504. description: 成功
  3505. schema:
  3506. $ref: '#/definitions/ResultOK'
  3507. "500":
  3508. description: '{object} ResultError 失败'
  3509. /screen/scd/parse/step2:
  3510. post:
  3511. tags:
  3512. - scd_check_tools/controllersScreenController
  3513. summary: 对指定scd进行校验及分析
  3514. description: 对指定scd进行校验及分析
  3515. parameters:
  3516. - in: formData
  3517. name: scd_id
  3518. description: SCD ID
  3519. required: true
  3520. type: integer
  3521. format: int64
  3522. responses:
  3523. "200":
  3524. description: 成功
  3525. schema:
  3526. $ref: '#/definitions/ResultOK'
  3527. "500":
  3528. description: '{object} ResultError 失败'
  3529. /screen/scd/tmp_parse:
  3530. post:
  3531. tags:
  3532. - scd_check_tools/controllersScreenController
  3533. summary: 临时scd解析
  3534. description: 临时scd解析
  3535. parameters:
  3536. - in: formData
  3537. name: station_id
  3538. description: 变电站ID
  3539. required: true
  3540. type: integer
  3541. format: int64
  3542. - in: formData
  3543. name: scdname
  3544. description: SCD名称
  3545. type: string
  3546. - in: formData
  3547. name: scdpath
  3548. description: SCD路径
  3549. type: string
  3550. responses:
  3551. "200":
  3552. description: 成功
  3553. schema:
  3554. $ref: '#/definitions/ResultOK'
  3555. "500":
  3556. description: '{object} ResultError 失败'
  3557. /screen/scd/unlock:
  3558. post:
  3559. tags:
  3560. - scd_check_tools/controllersScreenController
  3561. summary: 强制解除scd文件锁定状态
  3562. description: 强制解除scd文件锁定状态
  3563. parameters:
  3564. - in: formData
  3565. name: scd_id
  3566. description: SCD文件ID
  3567. required: true
  3568. type: integer
  3569. format: int64
  3570. - in: formData
  3571. name: flow_run_id
  3572. description: 签入流程ID
  3573. required: true
  3574. type: integer
  3575. format: int64
  3576. responses:
  3577. "200":
  3578. description: 成功
  3579. schema:
  3580. $ref: '#/definitions/ResultOK'
  3581. "500":
  3582. description: '{object} ResultError 失败'
  3583. /searchUserInfo:
  3584. get:
  3585. tags:
  3586. - scd_check_tools/controllersApiController
  3587. summary: 搜索查询用户
  3588. description: 查询用户
  3589. parameters:
  3590. - in: query
  3591. name: name
  3592. description: 姓名
  3593. type: integer
  3594. format: int64
  3595. - in: query
  3596. name: pageindex
  3597. description: 分页页码,默认为1
  3598. type: integer
  3599. format: int64
  3600. - in: query
  3601. name: pagesize
  3602. description: 每页最大记录数,默认为20
  3603. type: integer
  3604. format: int64
  3605. - in: query
  3606. name: area_id
  3607. description: 区域ID
  3608. type: integer
  3609. format: int64
  3610. - in: query
  3611. name: role_id
  3612. description: 角色ID
  3613. type: integer
  3614. format: int64
  3615. responses:
  3616. "200":
  3617. description: 成功
  3618. schema:
  3619. $ref: '#/definitions/WarpOK'
  3620. "500":
  3621. description: '{object} WarpError 失败'
  3622. /sys/alarm/list:
  3623. get:
  3624. tags:
  3625. - scd_check_tools/controllersApiController
  3626. summary: 获取系统告警列表
  3627. description: 获取系统告警列表
  3628. parameters:
  3629. - in: query
  3630. name: pageindex
  3631. description: 当前查询的分页页码,默认为1
  3632. type: integer
  3633. format: int64
  3634. - in: query
  3635. name: pagesize
  3636. description: 每页显示的数据条数,默认为20
  3637. type: integer
  3638. format: int64
  3639. - in: query
  3640. name: enddate
  3641. description: 查询条件:结束日期
  3642. type: string
  3643. - in: query
  3644. name: startdate
  3645. description: 查询条件:开始日期
  3646. type: string
  3647. - in: query
  3648. name: eventtype
  3649. description: 查询条件:事件类型。关联系统字典代码log_eventtype。
  3650. type: integer
  3651. format: int64
  3652. - in: query
  3653. name: alarmtype
  3654. description: 查询条件:告警类型。值为disk|cpu|mem之一。
  3655. type: string
  3656. - in: query
  3657. name: description
  3658. description: 查询条件:告警内容。模糊查询
  3659. type: string
  3660. responses:
  3661. "200":
  3662. description: 成功
  3663. schema:
  3664. $ref: '#/definitions/ResultOK'
  3665. "500":
  3666. description: '{object} ResultError 失败'
  3667. /sys/init:
  3668. post:
  3669. tags:
  3670. - scd_check_tools/controllersApiController
  3671. summary: 初始化系统数据
  3672. /task/delete:
  3673. post:
  3674. tags:
  3675. - scd_check_tools/controllersTaskController
  3676. summary: 删除指定的检测任务
  3677. description: 删除指定的检测任务
  3678. parameters:
  3679. - in: formData
  3680. name: id
  3681. description: 检测任务ID
  3682. required: true
  3683. type: integer
  3684. format: int64
  3685. responses:
  3686. "200":
  3687. description: 成功
  3688. schema:
  3689. $ref: '#/definitions/ResultOK'
  3690. "500":
  3691. description: '{object} ResultError 失败'
  3692. /task/info:
  3693. get:
  3694. tags:
  3695. - scd_check_tools/controllersTaskController
  3696. summary: 获取指定检测任务的详细信息
  3697. description: 获取指定检测任务的详细信息
  3698. parameters:
  3699. - in: query
  3700. name: id
  3701. description: 任务ID
  3702. required: true
  3703. type: integer
  3704. format: int64
  3705. responses:
  3706. "200":
  3707. description: 成功
  3708. schema:
  3709. $ref: '#/definitions/ResultOK'
  3710. "500":
  3711. description: '{object} ResultError 失败'
  3712. /task/list:
  3713. get:
  3714. tags:
  3715. - scd_check_tools/controllersTaskController
  3716. summary: 查询检测任务
  3717. description: 查询检测任务。支持任务名称、检测状态等过滤条件
  3718. parameters:
  3719. - in: query
  3720. name: pageno
  3721. description: 当前页码。默认为1
  3722. required: true
  3723. type: integer
  3724. format: int64
  3725. - in: query
  3726. name: pagesize
  3727. description: 每页显示数据数。默认为20
  3728. required: true
  3729. type: integer
  3730. format: int64
  3731. - in: query
  3732. name: id
  3733. description: 任务ID
  3734. type: integer
  3735. format: int64
  3736. - in: query
  3737. name: station_id
  3738. description: 变电站ID
  3739. type: integer
  3740. format: int64
  3741. - in: query
  3742. name: name
  3743. description: 名称
  3744. type: string
  3745. - in: query
  3746. name: start_time
  3747. description: 检测开始日期。格式:yyyy-mm-dd
  3748. type: string
  3749. - in: query
  3750. name: end_time
  3751. description: 检测结束日期。格式:yyyy-mm-dd
  3752. type: string
  3753. - in: query
  3754. name: state
  3755. description: 检测状态。空:全部 0:未检查 1:检测中 2:检测结束 3:异常中断
  3756. type: integer
  3757. format: int64
  3758. responses:
  3759. "200":
  3760. description: 成功
  3761. schema:
  3762. $ref: '#/definitions/ResultOK'
  3763. "500":
  3764. description: '{object} ResultError 失败'
  3765. /task/save:
  3766. post:
  3767. tags:
  3768. - scd_check_tools/controllersTaskController
  3769. summary: 创建新的检测任务
  3770. description: 创建新的检测任务
  3771. parameters:
  3772. - in: formData
  3773. name: id
  3774. description: 任务ID。指定id值大于0时为编辑操作;否则为新增操作
  3775. type: integer
  3776. format: int64
  3777. - in: formData
  3778. name: name
  3779. description: 任务名称
  3780. required: true
  3781. type: string
  3782. - in: formData
  3783. name: station_id
  3784. description: 变电站ID
  3785. required: true
  3786. type: integer
  3787. format: int64
  3788. - in: formData
  3789. name: memo
  3790. description: 任务说明
  3791. type: string
  3792. - in: formData
  3793. name: report_id
  3794. description: 报告模板ID
  3795. required: true
  3796. type: integer
  3797. format: int64
  3798. - in: formData
  3799. name: scd_id
  3800. description: SCD文件ID
  3801. required: true
  3802. type: integer
  3803. format: int64
  3804. - in: formData
  3805. name: modelids
  3806. description: 模型ID。多个模型ID之间逗号分隔
  3807. required: true
  3808. type: string
  3809. responses:
  3810. "200":
  3811. description: 成功
  3812. schema:
  3813. $ref: '#/definitions/ResultOK'
  3814. "500":
  3815. description: '{object} ResultError 失败'
  3816. /task/start:
  3817. post:
  3818. tags:
  3819. - scd_check_tools/controllersTaskController
  3820. summary: 开始进行检测
  3821. description: 开始进行检测
  3822. parameters:
  3823. - in: formData
  3824. name: id
  3825. description: 检测任务ID
  3826. required: true
  3827. type: integer
  3828. format: int64
  3829. responses:
  3830. "200":
  3831. description: 成功
  3832. schema:
  3833. $ref: '#/definitions/ResultOK'
  3834. "500":
  3835. description: '{object} ResultError 失败'
  3836. /task/stop:
  3837. post:
  3838. tags:
  3839. - scd_check_tools/controllersTaskController
  3840. summary: 取消或者终止检测
  3841. description: 取消或者终止检测
  3842. parameters:
  3843. - in: formData
  3844. name: id
  3845. description: 检测任务ID
  3846. required: true
  3847. type: integer
  3848. format: int64
  3849. responses:
  3850. "200":
  3851. description: 成功
  3852. schema:
  3853. $ref: '#/definitions/ResultOK'
  3854. "500":
  3855. description: '{object} ResultError 失败'
  3856. /test:
  3857. get:
  3858. tags:
  3859. - scd_check_tools/controllersTestController
  3860. summary: 这是一个测试接口
  3861. description: 这是一个测试接口
  3862. /uploadfile:
  3863. post:
  3864. tags:
  3865. - scd_check_tools/controllersAttachmentController
  3866. summary: 上传文件
  3867. description: 上传文件
  3868. parameters:
  3869. - in: formData
  3870. name: file
  3871. description: 文件流
  3872. required: true
  3873. type: file
  3874. - in: formData
  3875. name: station_id
  3876. description: 变电站ID
  3877. required: true
  3878. type: integer
  3879. format: int64
  3880. - in: formData
  3881. name: is_checkin
  3882. description: 是否是管控文档
  3883. type: integer
  3884. format: int64
  3885. - in: formData
  3886. name: data_type
  3887. description: 业务类型。值为:a_scd|ccd|icd|cid|空。
  3888. type: string
  3889. - in: formData
  3890. name: attachment_type
  3891. description: 文件类别。值关联系统字典file_types或者为空。
  3892. type: string
  3893. responses:
  3894. "200":
  3895. description: 成功
  3896. schema:
  3897. $ref: '#/definitions/ResultOK'
  3898. "500":
  3899. description: '{object} ResultError 失败'
  3900. /version/check_client:
  3901. get:
  3902. tags:
  3903. - scd_check_tools/upgradeVersionController
  3904. summary: 获取最新客户端版本下载地址
  3905. /version/isnew:
  3906. get:
  3907. tags:
  3908. - scd_check_tools/upgradeVersionController
  3909. summary: 检查是否有新的客户端版本
  3910. expTableData:
  3911. post:
  3912. tags:
  3913. - scd_check_tools/controllersApiController
  3914. summary: Excel数据导出
  3915. description: Excel数据导出。导出成功时将返回导出文件的下载地址。
  3916. parameters:
  3917. - in: query
  3918. name: code
  3919. description: 业务类型。值为:scd-comp-result(差异对比结果)\scl-check-result(SCL校验结果)之一
  3920. required: true
  3921. type: string
  3922. - in: query
  3923. name: caption
  3924. description: 数据标题
  3925. type: string
  3926. - in: query
  3927. name: expcols
  3928. description: 导出的数据列,与expcolnames一一对应。从个数据列之间使用逗号分隔。未设置时将导出业务对应的所有列
  3929. type: string
  3930. - in: query
  3931. name: expcolnames
  3932. description: 导出的数据列对应的名称,与expcols一一一对应。从个数据列名之间使用逗号分隔。未设置时将导出业务对应的所有列
  3933. type: string
  3934. responses:
  3935. "200":
  3936. description: 成功
  3937. schema:
  3938. $ref: '#/definitions/ResultOK'
  3939. "500":
  3940. description: '{object} ResultError 失败'
  3941. definitions:
  3942. ResultError:
  3943. title: ResultError
  3944. type: object
  3945. ResultOK:
  3946. title: ResultOK
  3947. type: object
  3948. WarpOK:
  3949. title: WarpOK
  3950. type: object
  3951. tags:
  3952. - name: scd_check_tools/controllersApiController
  3953. description: |
  3954. 基础功能服务
  3955. - name: scd_check_tools/controllersTestController
  3956. description: |
  3957. 测试
  3958. - name: scd_check_tools/controllersExcelController
  3959. description: |
  3960. 文件/附件服务
  3961. - name: scd_check_tools/controllersScreenController
  3962. description: |
  3963. SCD服务
  3964. - name: scd_check_tools/controllersFlowController
  3965. description: |
  3966. 签入签出流程服务
  3967. - name: scd_check_tools/controllersAttachmentController
  3968. description: |
  3969. 文件/附件服务
  3970. - name: scd_check_tools/controllersRuleController
  3971. description: |
  3972. 校验规则管理服务
  3973. - name: scd_check_tools/controllersStatController
  3974. description: |
  3975. 统计分析服务
  3976. - name: scd_check_tools/controllersScdCompController
  3977. description: |
  3978. 一致性校验服务
  3979. - name: scd_check_tools/controllersNoticeController
  3980. description: |
  3981. 通知提醒服务
  3982. - name: scd_check_tools/controllersTaskController
  3983. description: |
  3984. 检测任务服务
  3985. - name: scd_check_tools/controllersBusAdminController
  3986. description: |
  3987. 业务管理服务
  3988. - name: scd_check_tools/controllersReportController
  3989. description: |
  3990. 检测报告服务