site.js 24KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353
  1. import request from '@/utils/request'
  2. export function AddRotationChart(data){
  3. return request({
  4. url:"/api/site/addrotationchart",
  5. method:"Post",
  6. data:data,
  7. })
  8. }
  9. export function addRotationUpload(data){
  10. return request({
  11. url:"/api/site/addrotationupload",
  12. method:"Post",
  13. data:data,
  14. })
  15. }
  16. export function saveHispital(data){
  17. return request({
  18. url:"/api/site/savehispital",
  19. method:"Post",
  20. data:data,
  21. })
  22. }
  23. export function addOffices(data){
  24. return request({
  25. url:"/api/site/addoffices",
  26. method:"Post",
  27. data:data,
  28. })
  29. }
  30. export function AddDoctor(data){
  31. return request({
  32. url:"/api/site/adddoctor",
  33. method:"Post",
  34. data:data,
  35. })
  36. }
  37. export function AddDoctorInfo(data){
  38. return request({
  39. url:"/api/site/adddoctorinfo",
  40. method:"Post",
  41. data:data,
  42. })
  43. }
  44. export function AddOfficeEnvironment(data){
  45. return request({
  46. url:"/api/site/keenvironment",
  47. method:"Post",
  48. data:data,
  49. })
  50. }
  51. export function GetRationImages(params){
  52. return request({
  53. url:"/api/site/getrationimages",
  54. method:'Get',
  55. params:params,
  56. })
  57. }
  58. export function GetHospitalInfo(params){
  59. return request({
  60. url:"/api/site/gethospitalinfo",
  61. method:'Get',
  62. params:params,
  63. })
  64. }
  65. export function GetOfficeInfo(params){
  66. return request({
  67. url:"/api/site/getofficeinfo",
  68. method:'Get',
  69. params:params,
  70. })
  71. }
  72. export function editDoctor(id,data){
  73. return request({
  74. url:"/api/site/editdoctor?id="+id,
  75. method:'Get',
  76. data:data,
  77. })
  78. }
  79. export function getQueryDocInfo(params){
  80. return request({
  81. url:"/api/site/getquerydocinfo",
  82. method:"Post",
  83. params:params,
  84. })
  85. }
  86. export function getQueryDoCHead(params){
  87. return request({
  88. url:"/api/site/getquerydochead",
  89. method:"Post",
  90. params:params,
  91. })
  92. }
  93. export function GetOffEnvironment(params){
  94. return request({
  95. url:"/api/site/getOffEnvironment",
  96. method:'Get',
  97. params:params,
  98. })
  99. }
  100. export function addconnection(data){
  101. return request({
  102. url:"/api/site/addconnection",
  103. method:"Post",
  104. data:data,
  105. })
  106. }
  107. export function addWorkTime(data){
  108. return request({
  109. url:"/api/site/addworktime",
  110. method:"Post",
  111. data:data,
  112. })
  113. }
  114. export function addRideWay(data){
  115. return request({
  116. url:"/api/site/addrideway",
  117. method:"Post",
  118. data:data,
  119. })
  120. }
  121. export function queryConnetion(params){
  122. return request({
  123. url:"/api/site/queryconnetion",
  124. method:"Get",
  125. params:params,
  126. })
  127. }
  128. export function deleteConnecWay(id,data){
  129. return request({
  130. url:"/api/site/delete?id="+id,
  131. method:"Get",
  132. data:data,
  133. })
  134. }
  135. export function editConnecWay(id,data){
  136. return request({
  137. url:"/api/site/editconnecway?id="+id,
  138. method:"Get",
  139. data:data,
  140. })
  141. }
  142. export function saveConnecform(id,data){
  143. return request({
  144. url:"/api/site/saveconnection?id="+id,
  145. method:"Post",
  146. data:data,
  147. })
  148. }
  149. export function addContract(data){
  150. return request({
  151. url:"/api/site/addcontract",
  152. method:"Post",
  153. data:data,
  154. })
  155. }
  156. export function GetUserdModel(params) {
  157. console.log("params是什么",params)
  158. return request({
  159. url:"/api/site/getuserdmodel",
  160. method:"Post",
  161. params:params,
  162. })
  163. }
  164. export function eidtmodel(id,data){
  165. return request({
  166. url:"/api/site/eidtmodel?id="+id,
  167. method:"Get",
  168. data:data,
  169. })
  170. }
  171. export function editRideWay(id,data){
  172. return request({
  173. url:"/api/site/editrideway?id="+id,
  174. method:"Get",
  175. data:data,
  176. })
  177. }
  178. export function SaveWorkTime(id,data){
  179. return request({
  180. url:"/api/site/saveworktime?id="+id,
  181. method:"Post",
  182. data:data,
  183. })
  184. }
  185. export function saverideway(id,data){
  186. return request({
  187. url:"/api/site/saverideway?id="+id,
  188. method:"Post",
  189. data:data,
  190. })
  191. }
  192. export function getQueryNewModel(params){
  193. return request({
  194. url:"/api/site/getquerynewmodel",
  195. method:"Get",
  196. params:params,
  197. })
  198. }
  199. export function change(id,data){
  200. // console.log("编辑医生返回数据",id)
  201. return request({
  202. url:"/api/site/change?id="+id,
  203. method:"Get",
  204. data:data,
  205. })
  206. }
  207. export function saveDocInfo(id,data){
  208. return request({
  209. url:"/api/site/savedocinfo?id="+id,
  210. method:"Post",
  211. data:data,
  212. })
  213. }
  214. export function deleteDoctor(id,data){
  215. return request({
  216. url:"/api/site/deletedoctor?id="+id,
  217. method:"Get",
  218. data:data,
  219. })
  220. }
  221. export function editHospital(id,data){
  222. return request({
  223. url:"/api/site/edithospital?id="+id,
  224. method:"Get",
  225. data:data,
  226. })
  227. }
  228. export function SaveHospital(id,data){
  229. return request({
  230. url:"/api/site/savehostpital?id="+id,
  231. method:"Post",
  232. data:data,
  233. })
  234. }
  235. export function editOffice(id,data){
  236. return request({
  237. url:"/api/site/editoffice?id="+id,
  238. method:"Get",
  239. data:data,
  240. })
  241. }
  242. export function deleteModleById(id,data){
  243. return request({
  244. url:"/api/site/deletemodlebyid?id="+id,
  245. method:"Get",
  246. data:data,
  247. })
  248. }
  249. export function SaveOffice(id,data){
  250. console.log("data是什么",data)
  251. return request({
  252. url:"/api/site/saveoffice?id="+id,
  253. method:"Post",
  254. data:data,
  255. })
  256. }
  257. export function getHospital(params){
  258. return request({
  259. url:"/api/site/gethospital",
  260. method:"Post",
  261. params:params,
  262. })
  263. }
  264. export function getHospitaldata(params){
  265. console.log("params是什么",params)
  266. return request({
  267. url:"/api/site/getdata",
  268. method:"Get",
  269. params:params,
  270. })
  271. }
  272. export function editDoc(id,data){
  273. return request({
  274. url:"/api/site/editdoc?id="+id,
  275. method:"Get",
  276. data:data,
  277. })
  278. }
  279. export function editImages(id,data){
  280. return request({
  281. url:"/api/site/editImages?id="+id,
  282. method:"Get",
  283. data,data,
  284. })
  285. }
  286. export function SaveDocdata(id,data){
  287. return request({
  288. url:"/api/site/savedocdata?id="+id,
  289. method:"Post",
  290. data:data,
  291. })
  292. }
  293. export function editOfficeEnviroment(id,data){
  294. console.log("科室环境id",id)
  295. return request({
  296. url:"/api/site/editofficeenviroment?id="+id,
  297. method:"Get",
  298. data:data,
  299. })
  300. }
  301. export function AddImages(data){
  302. return request({
  303. url:"/api/site/addimages",
  304. method:"Post",
  305. data:data,
  306. })
  307. }
  308. export function getEnImages(params){
  309. return request({
  310. url:"/api/site/getenimages",
  311. method:"Post",
  312. params:params,
  313. })
  314. }
  315. export function getEnImagesTwo(params){
  316. return request({
  317. url:"/api/site/getenimagestwo",
  318. method:"Get",
  319. params:params,
  320. })
  321. }
  322. export function EditEnvirImages(id,data){
  323. return request({
  324. url:"/api/site/editenvirimages?id="+id,
  325. method:"Get",
  326. data:data,
  327. })
  328. }
  329. export function AddtwoImages(id,data){
  330. return request({
  331. url:"/api/site/addtwoimages?id="+id,
  332. method:"Post",
  333. data:data,
  334. })
  335. }
  336. export function SaveOfficeEnvironment(id,data){
  337. return request({
  338. url:"/api/site/saveofficeenvironment?id="+id,
  339. method:"Post",
  340. data:data,
  341. })
  342. }
  343. export function hispitalmore(id,data){
  344. return request({
  345. url:"/api/site/hispitalmore?id="+id,
  346. method:"Get",
  347. data:data,
  348. })
  349. }
  350. export function officemore(id,data){
  351. return request({
  352. url:"/api/site/officemore?id="+id,
  353. method:"Get",
  354. data:data,
  355. })
  356. }
  357. export function docmore(id,data){
  358. return request({
  359. url:"/api/site/docmore?id="+id,
  360. method:"Get",
  361. data:data,
  362. })
  363. }
  364. export function kemore(id,data){
  365. console.log('香港回归',id)
  366. return request({
  367. url:"/api/site/kemore?id="+id,
  368. method:'Get',
  369. data:data,
  370. })
  371. }
  372. export function articlemore(id,data){
  373. return request({
  374. url:"/api/site/articlemore?id="+id,
  375. method:"Get",
  376. data:data,
  377. })
  378. }
  379. export function Activitiesmore(id,data){
  380. return request({
  381. url:"/api/site/activitiesmore?id="+id,
  382. method:"Get",
  383. data:data,
  384. })
  385. }
  386. export function addNavigation(data){
  387. console.log("data是什么ha",data)
  388. return request({
  389. url:"/api/site/addnavigation",
  390. method:"Post",
  391. data:data,
  392. })
  393. }
  394. export function getNavigationList(params){
  395. return request({
  396. url:"/api/site/getnavigationlist",
  397. method:"Post",
  398. params:params,
  399. })
  400. }
  401. export function AddShareInfo(data){
  402. return request({
  403. url:"/api/site/addshareinfo",
  404. method:"Post",
  405. data:data,
  406. })
  407. }
  408. export function getShareInfo(params){
  409. return request({
  410. url:"/api/site/getshareinfo",
  411. method:"Post",
  412. params:params,
  413. })
  414. }
  415. export function deleteNavigation(id,data){
  416. console.log("id是什么呢 ",id)
  417. return request({
  418. url:"/api/site/deletenavition?id="+id,
  419. method:"Get",
  420. data:data,
  421. })
  422. }
  423. export function deletemodle(id,data){
  424. return request({
  425. url:"/api/site/deletemodle?id="+id,
  426. method:"Get",
  427. data:data,
  428. })
  429. }
  430. export function getOrderModel(params){
  431. return request({
  432. url:"/api/site/getordermodel",
  433. method:"Post",
  434. params:params,
  435. })
  436. }
  437. export function addrotationpic(data){
  438. return request({
  439. url:"/api/site/addrotationpic",
  440. method:"Post",
  441. data:data,
  442. })
  443. }
  444. export function GetRotationImages(params){
  445. return request({
  446. url:"/api/site/getrotationimages",
  447. method:"Post",
  448. params:params
  449. })
  450. }
  451. export function addrotationImage(data){
  452. return request({
  453. url:"/api/site/addrotationimage",
  454. method:"Post",
  455. data:data,
  456. })
  457. }
  458. export function AddImageslink(id,data){
  459. return request({
  460. url:"/api/site/addimageslink?id="+id,
  461. method:"Post",
  462. data:data,
  463. })
  464. }
  465. export function getEditImages(params){
  466. return request({
  467. url:"/api/site/geteditimages",
  468. method:"Post",
  469. params:params
  470. })
  471. }
  472. export function AddMagicNavi(data){
  473. return request({
  474. url:"/api/site/addmagicnavi",
  475. method:"Post",
  476. data:data,
  477. })
  478. }
  479. export function getMagicImages(params){
  480. return request({
  481. url:"/api/site/getmagicimages",
  482. method:"Post",
  483. params:params,
  484. })
  485. }
  486. export function AddMarginChart(data){
  487. return request({
  488. url:"/api/site/addmarginchart",
  489. method:"Post",
  490. data:data,
  491. })
  492. }
  493. export function deleteRotations(id,data){
  494. console.log("id",id)
  495. return request({
  496. url:"/api/site/deleteRotations?id="+id,
  497. method:"Post",
  498. data:data,
  499. })
  500. }
  501. export function editRotationImages (id,data){
  502. return request({
  503. url:"/api/site/editRotationImages?id="+id,
  504. method:"Post",
  505. data:data,
  506. })
  507. }
  508. export function updateRotionImages (id,data){
  509. return request({
  510. url:"/api/site/updaterotaionimages?id="+id,
  511. method:"Post",
  512. data:data,
  513. })
  514. }
  515. export function editNavigation (id,data){
  516. return request({
  517. url:"/api/site/editnavigation?id="+id,
  518. method:"Post",
  519. data: data,
  520. })
  521. }
  522. export function SaveNavigation (id,data) {
  523. console.log("id是什么呢",id)
  524. console.log("data是什么",data)
  525. return request({
  526. url:"/api/site/savenavigation?id="+id,
  527. method:"Post",
  528. data:data,
  529. })
  530. }
  531. export function deleteImages(id,data){
  532. return request({
  533. url:"/api/site/deletimages?id="+id,
  534. method:"Post",
  535. data:data,
  536. })
  537. }
  538. export function deleteSingleImages(id,modeid){
  539. const params = {
  540. id:id,
  541. modeid:modeid,
  542. }
  543. return request({
  544. url:"/api/site/deletesingleimages",
  545. method:"Post",
  546. params:params,
  547. })
  548. }
  549. export function addHospital(data){
  550. return request({
  551. url:"/api/site/addhospital",
  552. method:"Post",
  553. data:data,
  554. })
  555. }
  556. export function addActiveform(data){
  557. return request({
  558. url:"/api/site/addactive",
  559. method:"Post",
  560. data:data,
  561. })
  562. }
  563. export function getactivity(id,data){
  564. return request({
  565. url:"/api/site/getactivity?id="+id,
  566. method:"Get",
  567. data:data,
  568. })
  569. }
  570. export function getMacImages(id,data){
  571. console.log("id",id)
  572. return request({
  573. url:"/api/site/getMacImages?id="+id,
  574. method:"Get",
  575. data:data,
  576. })
  577. }
  578. export function SaveActivit(id,data){
  579. console.log("我和我的祖国",data)
  580. return request({
  581. url:"/api/site/saveactivit?id="+id,
  582. method:"Post",
  583. data:data,
  584. })
  585. }
  586. export function deleteMargin(id,data){
  587. return request({
  588. url:"/api/site/deleMargin?id="+id,
  589. method:"Post",
  590. data:data,
  591. })
  592. }
  593. export function getRotationImages(id,data){
  594. return request({
  595. url:"/api/site/editRotationImages?id="+id,
  596. method:"Get",
  597. data:data,
  598. })
  599. }
  600. export function getRotationDetail(id,data){
  601. return request({
  602. url:"/api/site/getrotationdetail?id="+id,
  603. method:"Get",
  604. data:data,
  605. })
  606. }
  607. export function editVisibleByid(id,data){
  608. return request({
  609. url:"/api/site/editvisiblebyid?id="+id,
  610. method:"Get",
  611. data:data,
  612. })
  613. }
  614. export function SaveEditPic(id,data){
  615. return request({
  616. url:"/api/site/saveditpic?id="+id,
  617. method:"Post",
  618. data:data,
  619. })
  620. }
  621. export function addeditpic(id,data){
  622. return request({
  623. url:"/api/site/addeditpic?id="+id,
  624. method:"Post",
  625. data:data,
  626. })
  627. }
  628. export function AddedialogVisible(id,data){
  629. return request({
  630. url:"/api/site/addedialogvisible?id="+id,
  631. method:"Post",
  632. data:data,
  633. })
  634. }
  635. export function geteditRotationImages(id,data){
  636. return request({
  637. url:"/api/site/geteditrotationimages?id="+id,
  638. method:"Get",
  639. data:data,
  640. })
  641. }
  642. export function editSingleVisible(id,data){
  643. return request({
  644. url:"/api/site/editsinglevisible?id="+id,
  645. method:"Get",
  646. data:data,
  647. })
  648. }
  649. export function UpdateSingleForm(id,data){
  650. return request({
  651. url:"/api/site/updatesingleform?id="+id,
  652. method:"Post",
  653. data:data,
  654. })
  655. }
  656. export function addEditPicForm(id,data){
  657. return request({
  658. url:"/api/site/addeditpicform?id="+id,
  659. method:"Post",
  660. data:data,
  661. })
  662. }
  663. export function AddRotationVisible(id,data){
  664. // console.log('这个滚data',data)
  665. return request({
  666. url:"/api/site/addrotationvisible?id="+id,
  667. method:"Post",
  668. data:data,
  669. })
  670. }
  671. export function getEditImagesDetail(id,data){
  672. return request({
  673. url:"/api/site/geteditimagesdetail?id="+id,
  674. method:"Get",
  675. data:data,
  676. })
  677. }
  678. export function UpdateEditMacgin(id,data){
  679. return request({
  680. url:"/api/site/updateeditmacgin?id="+id,
  681. method:"Post",
  682. data:data,
  683. })
  684. }
  685. export function getActivities(params){
  686. return request({
  687. url:"/api/site/getactivities",
  688. method:"Post",
  689. params:params,
  690. })
  691. }
  692. export function getArticleType(params){
  693. return request({
  694. url:"/api/site/getArticleType",
  695. method:"Post",
  696. params:params,
  697. })
  698. }
  699. export function AddArticeList(data){
  700. return request({
  701. url:"/api/site/addarticelist",
  702. method:"Post",
  703. data:data,
  704. })
  705. }
  706. export function getArticlelist(data){
  707. return request({
  708. url:"/api/site/getarticlelist",
  709. method:"Post",
  710. data:data,
  711. })
  712. }
  713. export function editGetArticlistDetail(id,data){
  714. return request({
  715. url:"/api/site/editgetarticlistdetail?id="+id,
  716. method:"Get",
  717. data:data,
  718. })
  719. }
  720. export function UpdatedArticeDetail(id,data){
  721. return request({
  722. url:"/api/site/updatearticedetail?id="+id,
  723. method:"Post",
  724. data:data,
  725. })
  726. }
  727. export function AddOfficeThreeVisible(id,data){
  728. console.log("科室环境id",id)
  729. return request({
  730. url:"/api/site/addoffficethree?id="+id,
  731. method:"Post",
  732. data:data,
  733. })
  734. }
  735. export function officetwoVisbile(id,params){
  736. return request({
  737. url:"/api/site/offcietwovisible?id="+id,
  738. method:"Get",
  739. params:params,
  740. })
  741. }
  742. export function AddOfficetTwo(id,data){
  743. return request({
  744. url:"/api/site/addofficetwo?id="+id,
  745. method:"Post",
  746. data:data,
  747. })
  748. }
  749. export function deleteOfficeById(id,data){
  750. return request({
  751. url:"/api/site/deleteofficebyid?id="+id,
  752. method:"Post",
  753. data:data,
  754. })
  755. }
  756. export function GetArticleById(id,params){
  757. return request({
  758. url:"/api/site/getarticlebyid?id="+id,
  759. method:"Get",
  760. params:params,
  761. })
  762. }
  763. export function GetAllActivity(params){
  764. return request({
  765. url:"/api/site/getallactivity",
  766. method:"Get",
  767. params:params,
  768. })
  769. }
  770. export function AddLinkAddress (address){
  771. console.log("data是什么",address);
  772. const params = {
  773. address:address,
  774. }
  775. return request({
  776. url:"/api/site/addlinkaddresstwo",
  777. method:"Post",
  778. params:params,
  779. })
  780. }
  781. export function AddLinkAddressTwo(address){
  782. const params = {
  783. address:address,
  784. }
  785. return request({
  786. url:'/api/site/addlinkaddressthree',
  787. method:"Post",
  788. params:params,
  789. })
  790. }
  791. export function AddLinkAddressFour(address){
  792. const params = {
  793. address:address,
  794. }
  795. return request({
  796. url:"/api/site/addlinkaddressfour",
  797. method:"Post",
  798. params:params,
  799. })
  800. }
  801. export function getLinkAddress(params){
  802. return request({
  803. url:"/api/site/getlinkaddress",
  804. method:"Get",
  805. params:params,
  806. })
  807. }
  808. export function getAllConnecWay(params){
  809. return request({
  810. url:"/api/site/getallconnecway",
  811. method:"Get",
  812. params:params,
  813. })
  814. }
  815. export function getConnecWay(id,params){
  816. return request({
  817. url:"/api/site/getconnecway?id="+id,
  818. method:"Get",
  819. params:params,
  820. })
  821. }
  822. export function editConnecway(id,params){
  823. return request({
  824. url:"/api/site/editconnecway?id="+id,
  825. method:"Get",
  826. params:params,
  827. })
  828. }
  829. export function UpdateConnectform(id,data){
  830. return request({
  831. url:"/api/site/updateconnectform?id="+id,
  832. method:"Post",
  833. data:data,
  834. })
  835. }
  836. export function UpdateContactform(id,data){
  837. return request({
  838. url:"/api/site/updatecontactform?id="+id,
  839. method:"Post",
  840. data:data
  841. })
  842. }
  843. export function addConnectways(data){
  844. return request({
  845. url:"/api/site/addconnectways",
  846. method:"Post",
  847. data:data,
  848. })
  849. }
  850. export function getHospitalIntroduction(id,params){
  851. return request({
  852. url:"/api/site/gethostpitalintroduction?id="+id,
  853. method:"Get",
  854. params:params,
  855. })
  856. }
  857. export function UpdateHospitalAddress(id,data){
  858. return request({
  859. url:"/api/site/updatehospitaladdress?id="+id,
  860. method:"Post",
  861. data:data,
  862. })
  863. }
  864. export function AddPiCLink(data){
  865. return request({
  866. url:"/api/site/addpiclink",
  867. method:"Post",
  868. data:data,
  869. })
  870. }
  871. export function getLinkAddressDetail(id,params){
  872. return request({
  873. url:"/api/site/getlinkaddressdetail?id="+id,
  874. method:"Get",
  875. params:params,
  876. })
  877. }
  878. export function UpdatePicFormThree(id,data){
  879. return request({
  880. url:"/api/site/updatepicformthree?id="+id,
  881. method:"Post",
  882. data:data,
  883. })
  884. }
  885. export function getEnImagesThree(params){
  886. return request({
  887. url:"/api/site/getenimagesthree",
  888. method:"Get",
  889. params:params,
  890. })
  891. }
  892. export function AddMagiclinkData(data){
  893. console.log("中秋节快乐",data)
  894. return request({
  895. url:"/api/site/addmagiclinkdata",
  896. method:"Post",
  897. data:data,
  898. })
  899. }
  900. export function getMacLinkAddress(params){
  901. return request({
  902. url:"/api/site/getmaclinkaddress",
  903. method:"Get",
  904. params:params,
  905. })
  906. }
  907. export function AddMacgicform(id,data){
  908. return request({
  909. url:"/api/site/addmacgicform?id="+id,
  910. method:"Post",
  911. data:data,
  912. })
  913. }
  914. export function getMacImagesDetail(id,params){
  915. return request({
  916. url:"/api/site/getmacimagesdetail?id="+id,
  917. method:"Get",
  918. params:params,
  919. })
  920. }
  921. export function deleteMacImagesDetail(id,data){
  922. return request({
  923. url:"/api/site/deletemaciamgesdetail?id="+id,
  924. method:"Post",
  925. data:data,
  926. })
  927. }
  928. export function UpdateMacform(id,data){
  929. return request({
  930. url:"/api/site/updatemacform?id="+id,
  931. method:"Post",
  932. data:data,
  933. })
  934. }
  935. export function getEditMacImageDetail(id,params){
  936. return request({
  937. url:"/api/site/geteditmacimagedetail?id="+id,
  938. method:"Get",
  939. params:params,
  940. })
  941. }
  942. export function UpdateEditMacform(id,data){
  943. return request({
  944. url:"/api/site/updateeditmacform?id="+id,
  945. method:"Post",
  946. data:data,
  947. })
  948. }
  949. export function getLikeMacAddressById(id,params){
  950. return request({
  951. url:"/api/site/getLikeMacAddressById?id="+id,
  952. method:"Get",
  953. params:params,
  954. })
  955. }
  956. export function GetArticleName(id,params){
  957. return request({
  958. url:"/api/site/getarticlename?id="+id,
  959. method:"Get",
  960. params:params,
  961. })
  962. }
  963. export function GetAllArticelist(params){
  964. return request({
  965. url:"/api/site/getallarticelist",
  966. method:"Get",
  967. params:params,
  968. })
  969. }
  970. export function UpdateLinkAddress(id,data){
  971. return request({
  972. url:"/api/site/updatelinkaddress?id="+id,
  973. method:"Post",
  974. data:data,
  975. })
  976. }
  977. export function AddMacLinkAddress(data){
  978. console.log("data是什么",data)
  979. return request({
  980. url:"/api/site/addmaclinkaddress",
  981. method:"Post",
  982. data:data,
  983. })
  984. }
  985. export function GetLinkAddress(id,params){
  986. return request({
  987. url:"/api/site/getlinkaddress?id="+id,
  988. method:"Get",
  989. params:params,
  990. })
  991. }
  992. export function getCountImages(params){
  993. return request({
  994. url:"/api/site/getcountimages",
  995. method:"Get",
  996. params:params,
  997. })
  998. }
  999. export function addNavigationlinkform(data){
  1000. console.log("data是什么",data)
  1001. return request({
  1002. url:"/api/site/addNavigationlinkform",
  1003. method:"Post",
  1004. data:data,
  1005. })
  1006. }
  1007. export function getNavgitionlinkAddress(id,params){
  1008. return request({
  1009. url:"/api/site/getnavigationlinkaddress?id="+id,
  1010. method:"Get",
  1011. params:params
  1012. })
  1013. }
  1014. export function UpdateEditNavigationLinkform(id,data){
  1015. console.log("id是什么",id)
  1016. return request({
  1017. url:"/api/site/updateditnavigationlinkform?id="+id,
  1018. method:"Post",
  1019. data:data,
  1020. })
  1021. }
  1022. export function AddDoctorInfoTwo(id,data){
  1023. return request({
  1024. url:"/api/site/addoctorinfotwo?id="+id,
  1025. method:"Post",
  1026. data:data,
  1027. })
  1028. }
  1029. export function GetDefaultData(params){
  1030. return request({
  1031. url:"/api/site/getDefaultData",
  1032. method:"Get",
  1033. params:params,
  1034. })
  1035. }
  1036. export function GetUserOrgid(params){
  1037. return request({
  1038. url:"/api/site/getuserorgid",
  1039. method:"Get",
  1040. params:params,
  1041. })
  1042. }
  1043. export function navigationset(params){
  1044. return request({
  1045. url:"/api/site/navigationset",
  1046. method:"Get",
  1047. params:params,
  1048. })
  1049. }
  1050. export function GetNavigationData(params){
  1051. return request({
  1052. url:"/api/site/getnavigationdata",
  1053. method:"Get",
  1054. params:params,
  1055. })
  1056. }
  1057. export function getAllModelTitle(params){
  1058. return request({
  1059. url:"/api/site/getallmodeltitle",
  1060. method:"Get",
  1061. params:params,
  1062. })
  1063. }
  1064. export function GetDoctorDetail(id,params){
  1065. return request({
  1066. url:"/api/site/getdoctordetail?id="+id,
  1067. method:"Get",
  1068. params:params,
  1069. })
  1070. }
  1071. export function GetArticleListDetail(id,params){
  1072. return request({
  1073. url:"/api/site/getArticlelistdetail?id="+id,
  1074. method:"Get",
  1075. params:params,
  1076. })
  1077. }
  1078. export function ActivitiesListInfo(id,params){
  1079. return request({
  1080. url:"/api/site/getActivitieslistinfo?id="+id,
  1081. method:"Get",
  1082. params:params,
  1083. })
  1084. }
  1085. export function GetLinkAddressByLinkid(linkid,params){
  1086. console.log("linkid是什么",linkid)
  1087. return request({
  1088. url:"/api/getlinkaddressbylinkid?linkid="+linkid,
  1089. method:"Get",
  1090. params:params,
  1091. })
  1092. }
  1093. export function GetMagicLinkAddressByID(id,params){
  1094. console.log("id是什么",id)
  1095. return request({
  1096. url:"/api/site/getmaginclinkaddressbyid?id="+id,
  1097. method:"Get",
  1098. params:params,
  1099. })
  1100. }
  1101. export function GetMagicClickByLinkid(linkid,params){
  1102. return request({
  1103. url:"/api.site/getmagicclickbylinkid?linkid="+linkid,
  1104. method:"Get",
  1105. params:params,
  1106. })
  1107. }
  1108. export function editRotationEmages(id,params){
  1109. return request({
  1110. url:"/api/site/editrotationemages?id="+id,
  1111. method:"Get",
  1112. params:params,
  1113. })
  1114. }
  1115. export function GetOutRotationlink(id,params){
  1116. // console.log("id是什么",id)
  1117. return request({
  1118. url:"/api/site/getoutrotationlink?id="+id,
  1119. method:"Get",
  1120. params:params,
  1121. })
  1122. }
  1123. export function UpdatedRolinkAddress(id,data){
  1124. return request({
  1125. url:"/api/site/updatedrolinkaddress?id="+id,
  1126. method:"Post",
  1127. data:data,
  1128. })
  1129. }
  1130. export function UpdatedConrotation(id,data){
  1131. return request({
  1132. url:"/api/site/updatedconrotation?id="+id,
  1133. method:"Post",
  1134. data:data,
  1135. })
  1136. }
  1137. export function GetRotationVisibleByLinkId(id,params){
  1138. return request({
  1139. url:"/api/site/getrotationvisiblebylinkid?id="+id,
  1140. method:"Get",
  1141. params:params,
  1142. })
  1143. }
  1144. export function AddRotationVisibleForm(id,data){
  1145. return request({
  1146. url:"/api/site/addrotationvisibleform?id="+id,
  1147. method:"Post",
  1148. data:data,
  1149. })
  1150. }