You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2778 lines
88 KiB

3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
4 months ago
3 months ago
4 months ago
3 months ago
2 years ago
3 months ago
2 years ago
3 months ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
2 years ago
3 months ago
2 years ago
4 months ago
3 months ago
4 months ago
2 years ago
4 months ago
3 months ago
4 months ago
2 years ago
4 months ago
3 months ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
3 years ago
2 years ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
5 months ago
5 months ago
4 months ago
5 months ago
2 years ago
3 years ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
2 years ago
3 years ago
4 months ago
2 years ago
2 years ago
3 years ago
4 months ago
3 years ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
5 months ago
2 years ago
4 months ago
2 years ago
3 months ago
2 years ago
4 months ago
2 years ago
3 months ago
2 years ago
4 months ago
2 years ago
3 months ago
5 months ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
4 months ago
2 years ago
2 years ago
3 months ago
4 months ago
2 years ago
5 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
2 years ago
4 months ago
4 months ago
5 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
5 months ago
4 months ago
2 years ago
5 months ago
2 years ago
4 months ago
2 years ago
5 months ago
4 months ago
5 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
5 months ago
5 months ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
4 months ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
4 months ago
2 years ago
3 years ago
4 months ago
3 years ago
4 months ago
3 years ago
4 months ago
3 years ago
4 months ago
3 years ago
2 years ago
4 months ago
2 years ago
3 years ago
4 months ago
4 months ago
2 years ago
4 months ago
3 years ago
3 years ago
4 months ago
3 years ago
4 months ago
3 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
5 months ago
3 years ago
5 months ago
4 months ago
5 months ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 months ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
4 months ago
3 months ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
4 months ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
5 months ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
4 months ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
4 months ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
4 months ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
4 months ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
4 months ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
5 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <template>
  2. <div class="box">
  3. <div>
  4. <div class="middlebox">
  5. <div class="contenttitle">
  6. 基础资料 /
  7. <span class="contenttitleBold">组合项目</span>
  8. </div>
  9. <div class="seachinput">
  10. <el-select
  11. v-model="department"
  12. placeholder="请选择组合项目"
  13. filterable
  14. :filter-method="remoteMethodes"
  15. default-first-option
  16. @change="quckDepartments"
  17. clearable
  18. size="small"
  19. >
  20. <el-option
  21. v-for="item in quckDepartment"
  22. :key="item.id"
  23. :label="item.displayName"
  24. :value="item.id"
  25. >
  26. </el-option>
  27. </el-select>
  28. </div>
  29. </div>
  30. <div style="display: flex; margin-top: 7px">
  31. <div
  32. :style="
  33. 'width: 208px;overflow: scroll;height:' +
  34. (window.pageHeight < 600 ? 505 : window.pageHeight - 100) +
  35. 'px;background-color: #fff; border-radius: 8px'
  36. "
  37. >
  38. <div style="margin-top: 10px">
  39. <el-tree
  40. :data="itemTypeId"
  41. :props="treeprops"
  42. @node-click="treeclick"
  43. node-key="id"
  44. ref="itemType"
  45. highlight-current
  46. auto-expand-parent
  47. >
  48. <span class="custom-tree-node" slot-scope="{ node, data }">
  49. <div>
  50. <span class="treeicons">
  51. <!-- <i
  52. class="el-icon-document-remove"
  53. v-if="data.parentId == null"
  54. ></i> -->
  55. <img
  56. style="width: 20px; height: 20px; vertical-align: sub"
  57. src="@/assets/images/order.png"
  58. v-if="!data.parentId"
  59. />
  60. </span>
  61. <span :class="!data.parentId ? 'maxtitle' : 'mintitle'">{{
  62. node.label
  63. }}</span>
  64. </div>
  65. </span>
  66. </el-tree>
  67. </div>
  68. </div>
  69. <div style="display: block">
  70. <div style="margin-left: 15px; display: flex; flex-direction: column">
  71. <div style="display: flex; margin-bottom: 15px">
  72. <div
  73. :style="
  74. 'width:' +
  75. (window.pageWidth - 200 - 110 - 50 - 14) +
  76. 'px;padding: 15px;background-color: #fff;border-radius: 8px;'
  77. "
  78. >
  79. <el-table
  80. :data="tableData"
  81. style="width: 100%"
  82. row-key="id"
  83. :height="
  84. window.pageHeight < 600
  85. ? 190
  86. : Math.floor((window.pageHeight - 260) / 2)
  87. "
  88. class="el-table__body-wrapper tbody"
  89. @row-click="rowick"
  90. @row-dblclick="dblClick"
  91. highlight-current-row
  92. :row-style="{ height: '28px' }"
  93. ref="tableData" border
  94. >
  95. <el-table-column prop="id" label="编号" width="300" align="center">
  96. </el-table-column>
  97. <el-table-column prop="displayName" label="名称" min-width="200">
  98. </el-table-column>
  99. <el-table-column prop="price" label="价格" width="" align="center">
  100. </el-table-column>
  101. <el-table-column
  102. prop="forPregnantFlag"
  103. label="备怀孕禁检"
  104. align="center"
  105. >
  106. <template slot-scope="scope">
  107. <div style="font-family: 'Microsoft YaHei'">
  108. {{
  109. dddw(
  110. forPregnantFlag,
  111. "id",
  112. scope.row.forPregnantFlag,
  113. "displayName"
  114. )
  115. }}
  116. </div>
  117. </template>
  118. </el-table-column>
  119. <el-table-column
  120. prop="maritalStatusId"
  121. label="婚姻状况"
  122. align="center"
  123. >
  124. <template slot-scope="scope">
  125. <div style="font-family: 'Microsoft YaHei'">
  126. {{
  127. dddw(
  128. dict.forMaritalStatus,
  129. "id",
  130. scope.row.maritalStatusId,
  131. "displayName"
  132. )
  133. }}
  134. </div>
  135. </template>
  136. </el-table-column>
  137. <el-table-column prop="creatorName" label="创建者" width="" align="center">
  138. </el-table-column>
  139. <el-table-column
  140. prop="lastModifierName"
  141. label="修改者"
  142. width="" align="center"
  143. >
  144. </el-table-column>
  145. <el-table-column
  146. prop="creationTime"
  147. label="创建时间"
  148. width="160" align="center"
  149. >
  150. <template slot-scope="scope">
  151. {{ scope.row.creationTime | dateFormat }}
  152. </template>
  153. </el-table-column>
  154. <el-table-column
  155. prop="lastModificationTime"
  156. label="修改时间"
  157. width="160" align="center"
  158. >
  159. <template slot-scope="scope">
  160. {{ scope.row.lastModificationTime | dateFormat }}
  161. </template>
  162. </el-table-column>
  163. <el-table-column label="操作" align="center">
  164. <template>
  165. <el-tag
  166. class="move"
  167. style="
  168. cursor: move;
  169. background-color: rgb(245, 245, 245);
  170. border: none;
  171. "
  172. draggable="true"
  173. >
  174. <i
  175. class="el-icon-d-caret"
  176. style="
  177. width: 1rem;
  178. height: 1rem;
  179. color: rgb(113, 113, 113);
  180. "
  181. ></i>
  182. </el-tag>
  183. </template>
  184. </el-table-column>
  185. </el-table>
  186. </div>
  187. </div>
  188. <!-- table页 -->
  189. <div style="display: flex">
  190. <div
  191. :style="
  192. 'width:' +
  193. (window.pageWidth - 200 - 110 - 50 - 14) +
  194. 'px;padding: 15px;background-color: #fff;border-radius: 8px;'
  195. "
  196. >
  197. <el-tabs v-model="activeName">
  198. <el-tab-pane label="项目明细" name="first">
  199. <div class="mainbox">
  200. <div
  201. class=""
  202. :style="
  203. 'width:' +
  204. Math.floor(
  205. (window.pageWidth - 200 - 110 - 50 - 14 - 130) / 2
  206. ) +
  207. 'px;'
  208. "
  209. >
  210. <div>
  211. <span
  212. style="
  213. padding: 5px;
  214. font-size: 14px;
  215. font-weight: 400;
  216. color: #232748;
  217. font-family: NotoSansSC-Regular;
  218. margin-bottom: 10px;
  219. "
  220. >项目类别</span
  221. >
  222. <el-cascader
  223. v-model="values"
  224. :options="itemTypeId"
  225. ref="example"
  226. popper-class="example"
  227. @change="ischangs"
  228. :props="{
  229. value: 'id',
  230. label: 'displayName',
  231. children: 'treeChildren',
  232. checkStrictly: true,
  233. expandTrigger: 'hover',
  234. }"
  235. size="small"
  236. >
  237. </el-cascader>
  238. </div>
  239. <el-table
  240. :data="leftdata"
  241. :height="
  242. window.pageHeight < 600
  243. ? 170
  244. : Math.floor((window.pageHeight - 230) / 2)
  245. "
  246. @row-dblclick="dbClickChoosedAsb"
  247. @selection-change="handleSelectionChange"
  248. @row-click="chooseAsbItem"
  249. highlight-current-row
  250. :row-style="{ height: '28px' }"
  251. >
  252. <el-table-column
  253. type="index"
  254. align="center"
  255. label="序号"
  256. />
  257. <el-table-column
  258. prop="displayName"
  259. label="未选项目"
  260. />
  261. </el-table>
  262. </div>
  263. <div class="Selectbutton">
  264. <div style="">
  265. <el-button
  266. @click="addAbs"
  267. style="width: 100px"
  268. class="commonbutton"
  269. >添加<i class="el-icon-caret-right"></i>
  270. </el-button>
  271. </div>
  272. <div style="margin-top: 18px">
  273. <el-button @click="addall" class="difference"
  274. >全添加<i class="el-icon-caret-right"></i
  275. ><i class="el-icon-caret-right"></i
  276. ></el-button>
  277. </div>
  278. <div style="margin-top: 18px">
  279. <el-button
  280. @click="delAbs"
  281. style="width: 100px"
  282. class="commonbutton"
  283. >移除<i class="el-icon-caret-left"></i>
  284. </el-button>
  285. </div>
  286. <div style="margin-top: 18px">
  287. <el-button @click="allclear" class="difference"
  288. >全移除<i class="el-icon-caret-left"></i
  289. ><i class="el-icon-caret-left"></i>
  290. </el-button>
  291. </div>
  292. </div>
  293. <div
  294. class=""
  295. :style="
  296. 'width:' +
  297. Math.floor(
  298. (window.pageWidth - 200 - 110 - 50 - 14 - 130) / 2
  299. ) +
  300. 'px;'
  301. "
  302. >
  303. <div>
  304. <span
  305. style="
  306. padding: 5px;
  307. font-size: 14px;
  308. font-weight: 400;
  309. color: #232748;
  310. font-family: NotoSansSC-Regular;
  311. margin-bottom: 10px;
  312. "
  313. >搜索选择</span
  314. >
  315. <el-select
  316. value-key="id"
  317. @change="selectitem"
  318. filterable
  319. v-model="flitvalues"
  320. placeholder="请选择"
  321. :filter-method="remoteMethods"
  322. default-first-option
  323. clearable
  324. ref="quickAsbOCX"
  325. size="small"
  326. >
  327. <el-option
  328. v-for="item in filetelists"
  329. :key="item.id"
  330. :label="item.displayName"
  331. :value="item"
  332. >
  333. </el-option>
  334. </el-select>
  335. </div>
  336. <el-table
  337. :data="rightdata"
  338. :height="
  339. window.pageHeight < 600
  340. ? 170
  341. : Math.floor((window.pageHeight - 230) / 2)
  342. "
  343. width="100%"
  344. @row-dblclick="removeAbs"
  345. @selection-change="selecteditems"
  346. @row-click="removeAsbItem"
  347. highlight-current-row
  348. :row-style="{ height: '28px' }"
  349. :summary-method="getSummaries"
  350. show-summary
  351. ref="table"
  352. >
  353. <el-table-column
  354. type="index"
  355. align="center"
  356. label="序号"
  357. />
  358. <el-table-column
  359. label="已选项目"
  360. prop="displayName"
  361. />
  362. </el-table>
  363. </div>
  364. </div>
  365. </el-tab-pane>
  366. <!-- 指引单信息 -->
  367. <el-tab-pane label="指引信息" name="second">
  368. <div style="display: flex; width: 100%">
  369. <div
  370. :style="
  371. 'width:' +
  372. (window.pageWidth - 200 - 110 - 50 - 10 - 110 - 10) +
  373. 'px;'
  374. "
  375. >
  376. <el-form
  377. ref="guidanceinformation"
  378. :rules="guidelinesRules"
  379. :model="formdata"
  380. >
  381. <el-table
  382. :data="formdata.guidanceinformationdata"
  383. style="width: 100%"
  384. highlight-current-row
  385. @row-click="guiderow"
  386. :row-class-name="tableRowClassName"
  387. :height="
  388. window.pageHeight < 600
  389. ? 215
  390. : Math.floor((window.pageHeight - 174) / 2)
  391. "
  392. ref="guidanceinformationdata"
  393. class="guidelines"
  394. border
  395. >
  396. <el-table-column label="体检中心" width="200">
  397. <template slot-scope="scope">
  398. <el-form-item
  399. :prop="
  400. 'guidanceinformationdata.' +
  401. scope.$index +
  402. '.medicalCenterId'
  403. "
  404. :rules="guidelinesRules.medicalCenterId"
  405. >
  406. <el-select
  407. v-model="scope.row.medicalCenterId"
  408. >
  409. <el-option
  410. v-for="item in organizationUnitdata"
  411. :key="item.id"
  412. :label="item.displayName"
  413. :value="item.id"
  414. />
  415. </el-select>
  416. </el-form-item>
  417. </template>
  418. </el-table-column>
  419. <el-table-column label="适用性别" width="200">
  420. <template slot-scope="scope">
  421. <el-form-item
  422. :prop="
  423. 'guidanceinformationdata.' +
  424. scope.$index +
  425. '.forSexId'
  426. "
  427. :rules="guidelinesRules.forSexId"
  428. >
  429. <el-select v-model="scope.row.forSexId">
  430. <el-option
  431. v-for="item in forsexdata"
  432. :key="item.id"
  433. :label="item.displayName"
  434. :value="item.id"
  435. />
  436. </el-select>
  437. </el-form-item>
  438. </template>
  439. </el-table-column>
  440. <el-table-column label="指引信息">
  441. <template slot-scope="scope">
  442. <el-form-item
  443. :prop="
  444. 'guidanceinformationdata.' +
  445. scope.$index +
  446. '.guide'
  447. "
  448. :rules="guidelinesRules.guide"
  449. >
  450. <el-input
  451. v-model="scope.row.guide"
  452. required
  453. />
  454. </el-form-item>
  455. </template>
  456. </el-table-column>
  457. </el-table>
  458. </el-form>
  459. </div>
  460. <div style="margin-left: 15px">
  461. <el-button
  462. type=""
  463. @click="createabulletbox"
  464. style="margin-top: 50px"
  465. class="commonbutton"
  466. >新增</el-button
  467. >
  468. <div style="margin-top: 10px">
  469. <el-button
  470. type=""
  471. @click="deleteguidelines"
  472. class="deleteButton"
  473. >删除</el-button
  474. >
  475. </div>
  476. <div style="margin-top: 10px">
  477. <el-button
  478. type=""
  479. @click="saveguidelines"
  480. class="commonbutton"
  481. >保存</el-button
  482. >
  483. </div>
  484. </div>
  485. </div>
  486. <!-- 科室改为体检中心 -->
  487. </el-tab-pane>
  488. <!-- 互斥组合项目 -->
  489. <el-tab-pane label="互斥组合项目" name="3">
  490. <HcAsbitem
  491. :asbitemId="curRow.id"
  492. :HcAsbitemBrush="HcAsbitemBrush"
  493. />
  494. </el-tab-pane>
  495. </el-tabs>
  496. </div>
  497. </div>
  498. </div>
  499. </div>
  500. <!-- 按钮区域 -->
  501. <div style="margin-left: 10px">
  502. <el-button type="" @click="addll" class="commonbutton"
  503. >新增</el-button
  504. >
  505. <div style="margin-top: 10px">
  506. <el-button type="" @click="editpopup" class="commonbutton"
  507. >编辑</el-button
  508. >
  509. </div>
  510. <div style="margin-top: 10px">
  511. <el-button type="" @click="deleteid" class="deleteButton"
  512. >删除</el-button
  513. >
  514. </div>
  515. <div style="margin-top: 10px">
  516. <el-button type="" @click="topping" class="commonbutton"
  517. >置顶</el-button
  518. >
  519. </div>
  520. <div style="margin-top: 10px">
  521. <el-button type="" @click="setlow" class="commonbutton"
  522. >置底</el-button
  523. >
  524. </div>
  525. <div style="margin-top: 10px">
  526. <el-button
  527. type=""
  528. :disabled="isshow"
  529. @click="assertion"
  530. class="commonbutton"
  531. >排序</el-button
  532. >
  533. </div>
  534. <div style="margin-top: 10px">
  535. <el-button
  536. type=""
  537. :disabled="isshow"
  538. @click="cancellation"
  539. class="commonbutton"
  540. >取消</el-button
  541. >
  542. </div>
  543. <div style="margin-top: 10px">
  544. <el-button
  545. type=""
  546. :disabled="isdislob"
  547. @click="Onsubmit"
  548. class="commonbutton"
  549. >确定项目</el-button
  550. >
  551. </div>
  552. <div style="margin-top: 10px">
  553. <el-button
  554. type=""
  555. :disabled="isdislob"
  556. @click="projectCancellation"
  557. class="commonbutton"
  558. >取消项目</el-button
  559. >
  560. </div>
  561. </div>
  562. </div>
  563. </div>
  564. <!-- 新增或者编辑弹框 -->
  565. <el-dialog
  566. :title="title == 1 ? '新增' : '编辑'"
  567. :visible.sync="dialogVisible"
  568. width="800px"
  569. @close="bindidclose"
  570. :close-on-click-modal="false"
  571. >
  572. <el-form :model="form" :rules="rules" ref="ruleForm" label-width="70px">
  573. <el-row>
  574. <el-col :span="10">
  575. <el-form-item label="项目编号" prop="">
  576. <el-input
  577. v-model="form.id"
  578. :disabled="true"
  579. size="small"
  580. ></el-input>
  581. </el-form-item>
  582. </el-col>
  583. <el-col :span="6">
  584. <el-form-item label="项目类别" prop="itemTypeId">
  585. <el-cascader
  586. v-model="form.itemTypeId"
  587. :options="itemTypeId"
  588. popper-class="example"
  589. ref="itemTypeIds"
  590. @change="ischangsItemTypeId"
  591. :props="{
  592. value: 'id',
  593. label: 'displayName',
  594. children: 'treeChildren',
  595. checkStrictly: true,
  596. expandTrigger: 'hover',
  597. }"
  598. size="small"
  599. >
  600. </el-cascader>
  601. </el-form-item>
  602. </el-col>
  603. <el-col :span="8">
  604. <el-form-item label="名称" prop="displayName">
  605. <el-input
  606. v-model="form.displayName"
  607. ref="refinput"
  608. @input="($event) => changeUpdate($event, 'displayName')"
  609. size="small"
  610. ></el-input>
  611. </el-form-item>
  612. </el-col>
  613. </el-row>
  614. <el-row>
  615. <el-col :span="8">
  616. <el-form-item label="简称" prop="">
  617. <el-input
  618. v-model="form.shortName"
  619. @input="($event) => changeUpdate($event, 'shortName')"
  620. size="small"
  621. ></el-input>
  622. </el-form-item>
  623. </el-col>
  624. <el-col :span="6">
  625. <el-form-item label="适用性别" prop="">
  626. <el-select
  627. v-model="form.forSexId"
  628. placeholder="请选择"
  629. size="small"
  630. @change="quckRusetform"
  631. >
  632. <el-option
  633. v-for="item in forSexId"
  634. :key="item.id"
  635. :label="item.displayName"
  636. :value="item.id"
  637. >
  638. </el-option>
  639. </el-select>
  640. </el-form-item>
  641. </el-col>
  642. <el-col :span="7">
  643. <el-form-item label="婚姻状况">
  644. <el-select
  645. v-model="form.maritalStatusId"
  646. placeholder="请选择"
  647. style="width: 100%"
  648. size="small"
  649. >
  650. <el-option
  651. v-for="item in dict.forMaritalStatus"
  652. :key="item.id"
  653. :label="item.displayName"
  654. :value="item.id"
  655. >
  656. </el-option>
  657. </el-select>
  658. </el-form-item>
  659. </el-col>
  660. <el-col :span="3">
  661. <el-form-item label="允许折扣" prop="isDiscount">
  662. <el-checkbox
  663. v-model="form.isDiscount"
  664. true-label="Y"
  665. false-label="N"
  666. />
  667. </el-form-item>
  668. </el-col>
  669. </el-row>
  670. <el-row>
  671. <el-col :span="5">
  672. <el-form-item label="价格" prop="">
  673. <el-input
  674. v-model="form.price"
  675. type="nember"
  676. @input="($event) => changeUpdate($event, 'price')"
  677. size="small"
  678. ></el-input>
  679. </el-form-item>
  680. </el-col>
  681. <el-col :span="6">
  682. <el-form-item label="仪器类别" prop="">
  683. <el-select
  684. v-model="form.deviceTypeId"
  685. placeholder="请选择"
  686. size="small"
  687. @change="quckRusetform"
  688. >
  689. <el-option
  690. v-for="item in deviceTypeId"
  691. :key="item.id"
  692. :label="item.displayName"
  693. :value="item.id"
  694. >
  695. </el-option>
  696. </el-select>
  697. </el-form-item>
  698. </el-col>
  699. <el-col :span="6">
  700. <el-form-item
  701. label="汇总项目类别"
  702. prop="collectItemTypeId"
  703. label-width="100px"
  704. >
  705. <el-select
  706. v-model="form.collectItemTypeId"
  707. placeholder="请选择"
  708. size="small"
  709. @change="quckRusetform"
  710. >
  711. <el-option
  712. v-for="item in collectItemType"
  713. :key="item.id"
  714. :label="item.displayName"
  715. :value="item.id"
  716. >
  717. </el-option>
  718. </el-select>
  719. </el-form-item>
  720. </el-col>
  721. <el-col :span="4">
  722. <el-form-item label="项目结果合并" prop="" label-width="100px">
  723. <!-- <el-select
  724. v-model="form.isItemResultMerger"
  725. placeholder="请选择"
  726. >
  727. <el-option
  728. v-for="item in isItemResultMerger"
  729. :key="item.value"
  730. :label="item.label"
  731. :value="item.value"
  732. >
  733. </el-option>
  734. </el-select> -->
  735. <el-checkbox
  736. v-model="form.isItemResultMerger"
  737. true-label="Y"
  738. false-label="N"
  739. />
  740. </el-form-item>
  741. </el-col>
  742. <el-col :span="3">
  743. <el-form-item label="餐前项目" prop="">
  744. <el-checkbox
  745. v-model="form.isBeforeEat"
  746. true-label="Y"
  747. false-label="N"
  748. />
  749. </el-form-item>
  750. </el-col>
  751. </el-row>
  752. <el-row>
  753. <el-col :span="24">
  754. <el-form-item label="推荐理由" prop="">
  755. <el-input
  756. v-model="form.suggestReason"
  757. type="textarea"
  758. :autosize="{ minRows: 2, maxRows: 2 }"
  759. @input="($event) => changeUpdate($event, 'suggestReason')"
  760. />
  761. </el-form-item>
  762. </el-col>
  763. </el-row>
  764. <el-row>
  765. <el-col :span="24">
  766. <el-form-item label="临床意义" prop="">
  767. <el-input
  768. v-model="form.clinicalMeaning"
  769. type="textarea"
  770. :autosize="{ minRows: 2, maxRows: 2 }"
  771. @input="($event) => changeUpdate($event, 'clinicalMeaning')"
  772. />
  773. </el-form-item>
  774. </el-col>
  775. </el-row>
  776. <el-row>
  777. <el-col :span="24">
  778. <el-form-item label="警告事项" prop="">
  779. <el-input
  780. v-model="form.warn"
  781. type="textarea"
  782. :autosize="{ minRows: 2, maxRows: 2 }"
  783. @input="($event) => changeUpdate($event, 'warn')"
  784. />
  785. </el-form-item>
  786. </el-col>
  787. </el-row>
  788. <el-row>
  789. <el-col :span="16">
  790. <el-form-item label="默认结果" prop="" class="my-el-form-item">
  791. <!-- <el-input v-model="form.defaultResult"></el-input> -->
  792. <div style="display: flex; justify-content: center">
  793. <el-input
  794. v-model="form.defaultResult"
  795. type="textarea"
  796. :autosize="{ minRows: 1, maxRows: 1 }"
  797. @input="($event) => changeUpdate($event, 'defaultResult')"
  798. />
  799. <el-select
  800. v-model="form.defaultResult"
  801. style="width: 40px"
  802. class="downText"
  803. @change="quckRusetform"
  804. >
  805. <el-option
  806. v-for="item in defaultResult"
  807. :key="item.value"
  808. :label="item.label"
  809. :value="item.label"
  810. >
  811. </el-option>
  812. </el-select>
  813. </div>
  814. </el-form-item>
  815. </el-col>
  816. <el-col :span="8">
  817. <el-form-item label="备怀孕期间禁检" prop="" label-width="110px">
  818. <el-select
  819. v-model="form.forPregnantFlag"
  820. placeholder="请选择"
  821. size="small"
  822. @change="quckRusetform"
  823. >
  824. <el-option
  825. v-for="item in forPregnantFlag"
  826. :key="item.id"
  827. :label="item.displayName"
  828. :value="item.id"
  829. >
  830. </el-option>
  831. </el-select>
  832. </el-form-item>
  833. </el-col>
  834. </el-row>
  835. <el-row>
  836. <el-col :span="4">
  837. <el-form-item label="启用诊断" prop="">
  838. <el-checkbox
  839. v-model="form.isDiagnosisFunctionBox"
  840. @change="changeBox('isDiagnosisFunction')"
  841. />
  842. </el-form-item>
  843. </el-col>
  844. <el-col :span="8">
  845. <el-form-item label="诊断函数" prop="">
  846. <el-input
  847. v-model="form.diagnosisFunction"
  848. :disabled="disableddiagnosisFunction"
  849. size="small"
  850. >
  851. <el-button
  852. slot="append"
  853. icon="el-icon-more"
  854. v-if="form.isDiagnosisFunctionBox"
  855. @click="
  856. (diagnosisFunctionBox = true),
  857. (diagnosisFunctionText = form.diagnosisFunction)
  858. "
  859. size="small"
  860. ></el-button>
  861. </el-input>
  862. </el-form-item>
  863. </el-col>
  864. <el-col :span="4">
  865. <el-form-item label="函数后继续" prop="" label-width="100px">
  866. <el-checkbox
  867. v-model="form.isContinueProcess"
  868. true-label="Y"
  869. false-label="N"
  870. />
  871. </el-form-item>
  872. </el-col>
  873. <el-col :span="4">
  874. <el-form-item label="候诊时间" prop="">
  875. <el-input
  876. v-model="form.queueTime"
  877. type="nember"
  878. @input="($event) => changeUpdate($event, 'queueTime')"
  879. size="small"
  880. ></el-input>
  881. </el-form-item>
  882. </el-col>
  883. <el-col :span="4">
  884. <el-form-item label="外检" prop="isOutsend" label-width="100px">
  885. <el-checkbox
  886. v-model="form.isOutsend"
  887. true-label="Y"
  888. false-label="N"
  889. />
  890. </el-form-item>
  891. </el-col>
  892. </el-row>
  893. <el-row>
  894. <el-col :span="4">
  895. <el-form-item label="启用危急值" prop="" label-width="85px">
  896. <el-checkbox
  897. v-model="form.isCriticalValueFunction"
  898. true-label="Y"
  899. false-label="N"
  900. />
  901. </el-form-item>
  902. </el-col>
  903. <el-col :span="8">
  904. <el-form-item label="危急值函数" prop="" label-width="85px">
  905. <el-input
  906. v-model="form.criticalValueFunction"
  907. disabled
  908. size="small"
  909. >
  910. <el-button
  911. slot="append"
  912. icon="el-icon-more"
  913. v-if="form.isCriticalValueFunction == 'Y'"
  914. @click="
  915. (dialogCriticalValueFunction = true),
  916. (dialogCriticalValueFunctionText =
  917. form.criticalValueFunction)
  918. "
  919. size="small"
  920. ></el-button>
  921. </el-input>
  922. </el-form-item>
  923. </el-col>
  924. <el-col :span="3">
  925. <el-form-item label="体检报告" prop="">
  926. <el-checkbox
  927. v-model="form.isPictureRotate"
  928. true-label="Y"
  929. false-label="N"
  930. />
  931. </el-form-item>
  932. </el-col>
  933. <el-col :span="3">
  934. <el-form-item label="网上预约" prop="">
  935. <!-- <el-select v-model="form.isCheck" placeholder="请选择">
  936. <el-option
  937. v-for="item in isCheck"
  938. :key="item.value"
  939. :label="item.label"
  940. :value="item.value"
  941. >
  942. </el-option>
  943. </el-select> -->
  944. <el-checkbox
  945. v-model="form.isWebAppoint"
  946. true-label="Y"
  947. false-label="N"
  948. />
  949. </el-form-item>
  950. </el-col>
  951. <el-col :span="6">
  952. <el-form-item label="条码模式" prop="">
  953. <el-select
  954. v-model="form.barcodeMode"
  955. placeholder="请选择"
  956. size="small"
  957. @change="quckRusetform"
  958. >
  959. <el-option
  960. v-for="item in barcodeMode"
  961. :key="item.id"
  962. :label="item.displayName"
  963. :value="item.id"
  964. >
  965. </el-option>
  966. </el-select>
  967. </el-form-item>
  968. </el-col>
  969. </el-row>
  970. <el-row>
  971. <el-col :span="5">
  972. <el-form-item label="疾病筛查类别" prop="" label-width="100px">
  973. <el-select
  974. v-model="form.diseaseScreeningTypeId"
  975. placeholder="请选择"
  976. size="small"
  977. @change="quckRusetform"
  978. >
  979. <el-option
  980. v-for="item in diseaseScreeningType"
  981. :key="item.id"
  982. :label="item.displayName"
  983. :value="item.id"
  984. >
  985. </el-option>
  986. </el-select>
  987. </el-form-item>
  988. </el-col>
  989. <el-col :span="3">
  990. <el-form-item label="隐私项目" prop="">
  991. <el-checkbox
  992. v-model="form.isPrivacy"
  993. true-label="Y"
  994. false-label="N"
  995. />
  996. </el-form-item>
  997. </el-col>
  998. <el-col :span="3">
  999. <el-form-item label="启用随访" prop="">
  1000. <el-checkbox
  1001. v-model="form.isFollowUpFunction"
  1002. true-label="Y"
  1003. false-label="N"
  1004. />
  1005. </el-form-item>
  1006. </el-col>
  1007. <el-col :span="7">
  1008. <el-form-item label="随访函数" prop="">
  1009. <el-input v-model="form.followUpFunction" disabled size="small">
  1010. <el-button
  1011. slot="append"
  1012. icon="el-icon-more"
  1013. v-if="form.isFollowUpFunction == 'Y'"
  1014. @click="
  1015. (dialogFollowUpFunction = true),
  1016. (dialogFollowUpFunctionText = form.followUpFunction)
  1017. "
  1018. size="small"
  1019. ></el-button>
  1020. </el-input>
  1021. </el-form-item>
  1022. </el-col>
  1023. <el-col :span="3">
  1024. <el-form-item label="检查项目" prop="">
  1025. <!-- <el-select v-model="form.isCheck" placeholder="请选择">
  1026. <el-option
  1027. v-for="item in isCheck"
  1028. :key="item.value"
  1029. :label="item.label"
  1030. :value="item.value"
  1031. >
  1032. </el-option>
  1033. </el-select> -->
  1034. <el-checkbox
  1035. v-model="form.isCheck"
  1036. true-label="Y"
  1037. false-label="N"
  1038. />
  1039. </el-form-item>
  1040. </el-col>
  1041. <el-col :span="3">
  1042. <el-form-item label="启用" prop="">
  1043. <!-- <el-select v-model="form.isActive" placeholder="请选择">
  1044. <el-option
  1045. v-for="item in isActive"
  1046. :key="item.value"
  1047. :label="item.label"
  1048. :value="item.value"
  1049. >
  1050. </el-option>
  1051. </el-select> -->
  1052. <el-checkbox
  1053. v-model="form.isActive"
  1054. true-label="Y"
  1055. false-label="N"
  1056. />
  1057. </el-form-item>
  1058. </el-col>
  1059. </el-row>
  1060. <el-divider></el-divider>
  1061. <el-row>
  1062. <el-col :span="5">
  1063. <el-form-item label="创建者">
  1064. <el-input
  1065. v-model="form.creatorName"
  1066. disabled
  1067. size="small"
  1068. ></el-input>
  1069. </el-form-item>
  1070. </el-col>
  1071. <el-col :span="7">
  1072. <el-form-item label="创建时间" style="margin-left: -5%">
  1073. <el-input
  1074. :value="form.creationTime | dateFormat"
  1075. disabled
  1076. style="width: 90%"
  1077. size="small"
  1078. ></el-input>
  1079. </el-form-item>
  1080. </el-col>
  1081. <el-col :span="5">
  1082. <el-form-item label="修改者" style="margin-left: -25%">
  1083. <el-input
  1084. v-model="form.creatorName"
  1085. disabled
  1086. size="small"
  1087. ></el-input>
  1088. </el-form-item>
  1089. </el-col>
  1090. <el-col :span="7">
  1091. <el-form-item label="修改时间" style="margin-left: -5%">
  1092. <el-input
  1093. :value="form.lastModificationTime | dateFormat"
  1094. disabled
  1095. style="width: 90%"
  1096. size="small"
  1097. ></el-input>
  1098. </el-form-item>
  1099. </el-col>
  1100. </el-row>
  1101. </el-form>
  1102. <span slot="footer" class="dialog-footer">
  1103. <el-button @click="editcancellation" class="difference"
  1104. > </el-button
  1105. >
  1106. <el-button type="primary" @click="addoredit" class="commonbutton"
  1107. > </el-button
  1108. >
  1109. </span>
  1110. </el-dialog>
  1111. <!-- 指引信息新增修改弹框 -->
  1112. <el-dialog
  1113. :title="guidetitle == 1 ? '指引信息新增' : '指引信息修改'"
  1114. :visible.sync="guidetitledialogVisible"
  1115. width="50%"
  1116. >
  1117. <el-row>
  1118. <el-form
  1119. :model="guideform"
  1120. :rules="guiderules"
  1121. ref="ruleForms"
  1122. label-width="100px"
  1123. class="demo-ruleForm"
  1124. >
  1125. <el-col :span="12">
  1126. <el-form-item label="体检中心" prop="medicalCenterId">
  1127. <el-select
  1128. v-model="guideform.medicalCenterId"
  1129. placeholder="请选择"
  1130. >
  1131. <el-option
  1132. v-for="item in organizationUnitdata"
  1133. :key="item.id"
  1134. :label="item.displayName"
  1135. :value="item.id"
  1136. >
  1137. </el-option>
  1138. </el-select>
  1139. </el-form-item>
  1140. </el-col>
  1141. <!-- <el-col :span="12">
  1142. <el-form-item label="组合项目" prop="asbitemId">
  1143. <el-select v-model="guideform.asbitemId" placeholder="请选择">
  1144. <el-option
  1145. v-for="item in asbitemdata"
  1146. :key="item.id"
  1147. :label="item.displayName"
  1148. :value="item.id"
  1149. >
  1150. </el-option>
  1151. </el-select>
  1152. </el-form-item>
  1153. </el-col> -->
  1154. <el-col :span="12">
  1155. <el-form-item label="适用性别" prop="forSexId">
  1156. <el-select v-model="guideform.forSexId" placeholder="请选择">
  1157. <el-option
  1158. v-for="item in forsexdata"
  1159. :key="item.id"
  1160. :label="item.displayName"
  1161. :value="item.id"
  1162. >
  1163. </el-option>
  1164. </el-select>
  1165. </el-form-item>
  1166. </el-col>
  1167. <el-col :span="24">
  1168. <el-form-item label="指引内容" prop="guide">
  1169. <el-input
  1170. v-model="guideform.guide"
  1171. placeholder="请输入内容"
  1172. ></el-input>
  1173. </el-form-item>
  1174. </el-col>
  1175. </el-form>
  1176. </el-row>
  1177. <span slot="footer" class="dialog-footer">
  1178. <el-button @click="guidetitledialogVisible = false"> </el-button>
  1179. <el-button type="primary" @click="determineguidelines"> </el-button>
  1180. </span>
  1181. </el-dialog>
  1182. <!-- 诊断函数弹框 -->
  1183. <el-dialog
  1184. title="诊断函数设置"
  1185. :visible.sync="diagnosisFunctionBox"
  1186. width="50%"
  1187. :close-on-click-modal="false"
  1188. fullscreen
  1189. >
  1190. <el-form label-width="110px">
  1191. <el-row>
  1192. <el-col :span="24">
  1193. <el-form-item label="诊断函数">
  1194. <el-input
  1195. type="textarea"
  1196. v-model="diagnosisFunctionText"
  1197. :autosize="{ minRows: 29, maxRows: 29 }"
  1198. ></el-input>
  1199. </el-form-item>
  1200. </el-col>
  1201. </el-row>
  1202. </el-form>
  1203. <span slot="footer" class="dialog-footer">
  1204. <el-button
  1205. @click="(diagnosisFunctionBox = false), (diagnosisFunctionText = '')"
  1206. class="difference"
  1207. > </el-button
  1208. >
  1209. <el-button
  1210. type="primary"
  1211. @click="OnsubmitDiagnosis"
  1212. class="commonbutton"
  1213. > </el-button
  1214. >
  1215. </span>
  1216. </el-dialog>
  1217. <!-- 危急值函数弹框 -->
  1218. <el-dialog
  1219. title="危急值函数设置"
  1220. :visible.sync="dialogCriticalValueFunction"
  1221. width="50%"
  1222. :close-on-click-modal="false"
  1223. fullscreen
  1224. >
  1225. <el-form label-width="110px">
  1226. <el-row>
  1227. <el-col :span="24">
  1228. <el-form-item label="危急值函数">
  1229. <el-input
  1230. type="textarea"
  1231. v-model="dialogCriticalValueFunctionText"
  1232. :autosize="{ minRows: 29, maxRows: 29 }"
  1233. ></el-input>
  1234. </el-form-item>
  1235. </el-col>
  1236. </el-row>
  1237. </el-form>
  1238. <span slot="footer" class="dialog-footer">
  1239. <el-button
  1240. @click="
  1241. (dialogCriticalValueFunction = false),
  1242. (dialogCriticalValueFunctionText = '')
  1243. "
  1244. class="difference"
  1245. > </el-button
  1246. >
  1247. <el-button
  1248. type="primary"
  1249. @click="OnsubmitDialogCritical"
  1250. class="commonbutton"
  1251. > </el-button
  1252. >
  1253. </span>
  1254. </el-dialog>
  1255. <!-- 随访函数弹框 -->
  1256. <el-dialog
  1257. title="随访函数设置"
  1258. :visible.sync="dialogFollowUpFunction"
  1259. width="50%"
  1260. :close-on-click-modal="false"
  1261. fullscreen
  1262. >
  1263. <el-form label-width="110px">
  1264. <el-row>
  1265. <el-col :span="24">
  1266. <el-form-item label="随访函数">
  1267. <el-input
  1268. type="textarea"
  1269. v-model="dialogFollowUpFunctionText"
  1270. :autosize="{ minRows: 29, maxRows: 29 }"
  1271. ></el-input>
  1272. </el-form-item>
  1273. </el-col>
  1274. </el-row>
  1275. </el-form>
  1276. <span slot="footer" class="dialog-footer">
  1277. <el-button
  1278. @click="
  1279. (dialogFollowUpFunction = false), (dialogFollowUpFunctionText = '')
  1280. "
  1281. class="difference"
  1282. > </el-button
  1283. >
  1284. <el-button
  1285. type="primary"
  1286. @click="OnsubmitDialogFollowUpFunction"
  1287. class="commonbutton"
  1288. > </el-button
  1289. >
  1290. </span>
  1291. </el-dialog>
  1292. </div>
  1293. </template>
  1294. <script>
  1295. import { mapState } from "vuex";
  1296. import Sortable from "sortablejs";
  1297. import { getapi, postapi, deletapi } from "@/api/api";
  1298. import { examinationgender, instrumentlist } from "@/request/systemapi";
  1299. import { deepCopy, objCopy, dddw } from "../../utlis/proFunc";
  1300. import {
  1301. getporjectlists,
  1302. groupsandlist,
  1303. projectlist,
  1304. invoicetypelist,
  1305. newcombination,
  1306. asbitemgetid,
  1307. updateombination,
  1308. samplesetlow,
  1309. deletescombinationprojectid,
  1310. combination,
  1311. } from "@/request/commonapi";
  1312. import HcAsbitem from "../../components/common/HcAsbitem.vue";
  1313. export default {
  1314. components: {
  1315. HcAsbitem,
  1316. },
  1317. data() {
  1318. return {
  1319. guiderules: {
  1320. medicalCenterId: [
  1321. {
  1322. required: true,
  1323. message: "请选择体检单位",
  1324. trigger: "change",
  1325. },
  1326. ],
  1327. asbitemId: [
  1328. {
  1329. required: true,
  1330. message: "请选择组合项目",
  1331. trigger: "change",
  1332. },
  1333. ],
  1334. forSexId: [
  1335. {
  1336. required: true,
  1337. message: "请选择组适用性别",
  1338. trigger: "change",
  1339. },
  1340. ],
  1341. guide: [{ required: true, message: "请输入指引内容", trigger: "blur" }],
  1342. },
  1343. guidetitle: 1,
  1344. guideform: {
  1345. medicalCenterId: "",
  1346. asbitemId: "",
  1347. forSexId: "",
  1348. guide: "",
  1349. }, //指引信息的数据对象
  1350. organizationUnitdata: [], //体检中心
  1351. guidetitledialogVisible: false,
  1352. formdata: {
  1353. guidanceinformationdata: [],
  1354. },
  1355. activeName: "first",
  1356. isdislob: true,
  1357. filetelists: [],
  1358. flitvalues: [],
  1359. num: 0,
  1360. isshow: true,
  1361. values: [],
  1362. projectid: [],
  1363. initprojectid: [],
  1364. rules: {
  1365. displayName: [
  1366. { required: true, message: "请输入名称", trigger: "blur" },
  1367. ],
  1368. shortName: [{ required: true, message: "请输入简称", trigger: "blur" }],
  1369. forSexId: [
  1370. { required: true, message: "请选择适用性别", trigger: "blur" },
  1371. ],
  1372. itemTypeId: [
  1373. { required: true, message: "请选择项目类别", trigger: "blur" },
  1374. ],
  1375. price: [{ required: true, message: "请输入价格", trigger: "blur" }],
  1376. deviceTypeId: [
  1377. { required: true, message: "请选择仪器类别", trigger: "blur" },
  1378. ],
  1379. invoiceItemTypeId: [
  1380. { required: true, message: "请选择发票类别", trigger: "blur" },
  1381. ],
  1382. collectItemTypeId: [
  1383. { required: true, message: "请选择汇总项目类别", trigger: "blur" },
  1384. ],
  1385. isItemResultMerger: [
  1386. { required: true, message: "请选择项目结果", trigger: "blur" },
  1387. ],
  1388. isBeforeEat: [
  1389. { required: true, message: "请选择餐前项目", trigger: "change" },
  1390. ],
  1391. clinicalMeaning: [
  1392. { required: true, message: "请输入临床意义", trigger: "blur" },
  1393. ],
  1394. defaultResult: [
  1395. { required: true, message: "请输入默认结果", trigger: "blur" },
  1396. ],
  1397. queueTime: [
  1398. { required: true, message: "请输入候诊时间", trigger: "blur" },
  1399. ],
  1400. isDiagnosisFunction: [
  1401. { required: true, message: "请选择启用诊断函数", trigger: "blur" },
  1402. ],
  1403. diagnosisFunction: [
  1404. { required: true, message: "请输入诊断函数", trigger: "blur" },
  1405. ],
  1406. isContinueProcess: [
  1407. {
  1408. required: true,
  1409. message: "请选择诊断函数处理完毕后继续处理",
  1410. trigger: "blur",
  1411. },
  1412. ],
  1413. isPictureRotate: [
  1414. { required: true, message: "请选择体检报告图片旋", trigger: "blur" },
  1415. ],
  1416. isCheck: [
  1417. { required: true, message: "请选择是检查项目", trigger: "blur" },
  1418. ],
  1419. isActive: [
  1420. { required: true, message: "请选择是否启用", trigger: "blur" },
  1421. ],
  1422. }, //表单校验对象
  1423. form: {
  1424. displayName: "",
  1425. shortName: "",
  1426. forSexId: "A",
  1427. itemTypeId: "",
  1428. price: "0",
  1429. deviceTypeId: null,
  1430. invoiceItemTypeId: "",
  1431. isItemResultMerger: "N",
  1432. isBeforeEat: "N",
  1433. clinicalMeaning: "",
  1434. defaultResult: "未见异常",
  1435. queueTime: "0",
  1436. isDiagnosisFunction: "N",
  1437. diagnosisFunction: "",
  1438. isContinueProcess: "N",
  1439. isPictureRotate: "N",
  1440. isCheck: "Y", // 检查项目比较多
  1441. isActive: "Y",
  1442. collectItemTypeId: "",
  1443. barcodeMode: "0",
  1444. isWebAppoint: "Y",
  1445. warn: "",
  1446. diseaseScreeningTypeId: null,
  1447. isDiagnosisFunctionBox: false,
  1448. forPregnantFlag: "A",
  1449. maritalStatusId: "A",
  1450. suggestReason: "",
  1451. isCriticalValueFunction: "N",
  1452. criticalValueFunction: "",
  1453. isFollowUpFunction: "N",
  1454. followUpFunction: "",
  1455. isPrivacy: "N",
  1456. isOutsend: "N",
  1457. isDiscount:"Y",
  1458. },
  1459. forSexId: [], //性别
  1460. forPregnantFlag: [
  1461. {
  1462. id: "A",
  1463. displayName: "允许",
  1464. },
  1465. {
  1466. id: "1",
  1467. displayName: "备孕和怀孕期间禁检",
  1468. },
  1469. {
  1470. id: "2",
  1471. displayName: "怀孕期间禁检",
  1472. },
  1473. ],
  1474. itemTypeId: [], //项目类别
  1475. deviceTypeId: [], //仪器类别
  1476. invoiceItemTypeId: [], //发票类别
  1477. isItemResultMerger: [
  1478. {
  1479. value: "Y",
  1480. label: "是",
  1481. },
  1482. {
  1483. value: "N",
  1484. label: "否",
  1485. },
  1486. ], //项目结果合并
  1487. isBeforeEat: [
  1488. {
  1489. value: "Y",
  1490. label: "是",
  1491. },
  1492. {
  1493. value: "N",
  1494. label: "否",
  1495. },
  1496. ], //餐前项目
  1497. isDiagnosisFunction: [
  1498. {
  1499. value: "Y",
  1500. label: "是",
  1501. },
  1502. {
  1503. value: "N",
  1504. label: "否",
  1505. },
  1506. ], //启用诊断函数
  1507. isContinueProcess: [
  1508. {
  1509. value: "Y",
  1510. label: "是",
  1511. },
  1512. {
  1513. value: "N",
  1514. label: "否",
  1515. },
  1516. ], //诊断函数处理完毕
  1517. isContinueProcess: [
  1518. {
  1519. value: "Y",
  1520. label: "是",
  1521. },
  1522. {
  1523. value: "N",
  1524. label: "否",
  1525. },
  1526. ], //诊断函数处理完毕后继续处理
  1527. isPictureRotate: [
  1528. {
  1529. value: "Y",
  1530. label: "是",
  1531. },
  1532. {
  1533. value: "N",
  1534. label: "否",
  1535. },
  1536. ], //体检报告图片旋转
  1537. isCheck: [
  1538. {
  1539. value: "Y",
  1540. label: "是",
  1541. },
  1542. {
  1543. value: "N",
  1544. label: "否",
  1545. },
  1546. ], //是检查项目
  1547. isActive: [
  1548. {
  1549. value: "Y",
  1550. label: "是",
  1551. },
  1552. {
  1553. value: "N",
  1554. label: "否",
  1555. },
  1556. ], //是否启用
  1557. title: 1,
  1558. dialogVisible: false,
  1559. isshow: true,
  1560. tableHeight: window.innerHeight - 180, //表格动态高度
  1561. screenHeight: window.innerHeight, //内容区域高度
  1562. pages: {
  1563. Filter: "",
  1564. SkipCount: 0,
  1565. MaxResultCount: 100,
  1566. Sorting: "displayOrder desc",
  1567. },
  1568. tableData: [],
  1569. initTableData: [],
  1570. leftdata: [],
  1571. ary2: [],
  1572. ary1: [],
  1573. rightobj: {},
  1574. rightdata: [],
  1575. rightobj: {},
  1576. nums: 0,
  1577. itemid: "", //项目id
  1578. curRow: {},
  1579. asbitemdata: [], //组合项目
  1580. forsexdata: [], //适用性别
  1581. department: "",
  1582. quckDepartment: [],
  1583. treeprops: {
  1584. label: "displayName",
  1585. value: "id",
  1586. children: "treeChildren",
  1587. },
  1588. defaultResult: [
  1589. {
  1590. value: "1",
  1591. label: "未见异常",
  1592. },
  1593. {
  1594. value: "2",
  1595. label: "正常",
  1596. },
  1597. {
  1598. value: "3",
  1599. label: "阴性",
  1600. },
  1601. {
  1602. value: "4",
  1603. label: "无",
  1604. },
  1605. {
  1606. value: "5",
  1607. label: "(—)",
  1608. },
  1609. {
  1610. value: "6",
  1611. label: "­-",
  1612. },
  1613. ],
  1614. diagnosisFunctionBox: false,
  1615. diagnosisFunctionText: "",
  1616. dialogCriticalValueFunction: false,
  1617. dialogCriticalValueFunctionText: "",
  1618. dialogFollowUpFunction: false,
  1619. dialogFollowUpFunctionText: "",
  1620. disableddiagnosisFunction: true,
  1621. initfiletelists: [],
  1622. initItemTypeId: "",
  1623. guidelinesRules: {
  1624. medicalCenterId: [
  1625. { required: true, message: "请选择体检中心", trigger: "change" },
  1626. ],
  1627. forSexId: [
  1628. { required: true, message: "请选择性别", trigger: "change" },
  1629. ],
  1630. guide: [{ required: true, message: "请输入指引信息", trigger: "blur" }],
  1631. },
  1632. collectItemType: [],
  1633. diseaseScreeningType: [],
  1634. barcodeMode: [
  1635. {
  1636. id: "0",
  1637. displayName: "使用项目类别设置",
  1638. },
  1639. {
  1640. id: "1",
  1641. displayName: "打印人员登记号",
  1642. },
  1643. {
  1644. id: "2",
  1645. displayName: "不打印",
  1646. },
  1647. ],
  1648. HcAsbitemBrush: 0, // 互斥项目刷新
  1649. clickTime1: 0,
  1650. clickTime2: 0,
  1651. };
  1652. },
  1653. created() {
  1654. // this.getlist();
  1655. this.gitprojectcategory();
  1656. },
  1657. mounted() {
  1658. this.rowDrop();
  1659. this.gitfleslist();
  1660. this.typeid();
  1661. },
  1662. updated() {
  1663. this.$nextTick(() => {
  1664. this.$refs.table.doLayout();
  1665. });
  1666. },
  1667. computed: {
  1668. ...mapState(["window", "dict"]),
  1669. // tableHeight(){
  1670. // return this.window.pageHeight < 600
  1671. // ? 190
  1672. // : Math.floor((this.window.pageHeight - 260) / 2)
  1673. // },
  1674. },
  1675. methods: {
  1676. dddw,
  1677. changeBox(type) {
  1678. //赋值
  1679. if (this.form[type + "Box"]) {
  1680. this.$delete(this.form, type);
  1681. this.$set(this.form, type, "Y");
  1682. } else {
  1683. this.$delete(this.form, type);
  1684. this.$set(this.form, type, "N");
  1685. }
  1686. },
  1687. removeAsbItem(row) {
  1688. this.ary2 = [row];
  1689. },
  1690. chooseAsbItem(row) {
  1691. this.ary1 = [row];
  1692. },
  1693. changeUpdate(e, k) {
  1694. this.$delete(this.form, k);
  1695. this.$set(this.form, k, e);
  1696. },
  1697. projectCancellation() {
  1698. if (this.form.id == undefined || this.form.id == "") {
  1699. this.$message.warning("请选择组合项目");
  1700. this.isdislob = true;
  1701. } else {
  1702. this.rowick(this.form);
  1703. this.isdislob = true;
  1704. }
  1705. },
  1706. remoteMethods(keyWords) {
  1707. if (keyWords) {
  1708. this.filetelists = [];
  1709. this.initfiletelists.forEach((item) => {
  1710. if (
  1711. item.displayName.toLowerCase().indexOf(keyWords.toLowerCase()) >
  1712. -1 ||
  1713. item.simpleCode.toLowerCase().indexOf(keyWords.toLowerCase()) > -1
  1714. // || item.shortName.toLowerCase().indexOf(keyWords.toLowerCase()) > - 1
  1715. ) {
  1716. this.filetelists.push(item);
  1717. }
  1718. });
  1719. } else {
  1720. this.filetelists = deepCopy(this.initfiletelists);
  1721. }
  1722. },
  1723. remoteMethod(keyWords) {
  1724. if (keyWords) {
  1725. this.projectid = [];
  1726. this.initprojectid.forEach((item) => {
  1727. if (
  1728. item.displayName.toLowerCase().indexOf(keyWords.toLowerCase()) >
  1729. -1 ||
  1730. item.simpleCode.toLowerCase().indexOf(keyWords.toLowerCase()) > -1
  1731. // || item.shortName.toLowerCase().indexOf(keyWords.toLowerCase()) > - 1
  1732. ) {
  1733. this.projectid.push(item);
  1734. }
  1735. });
  1736. } else {
  1737. this.projectid = deepCopy(this.initprojectid);
  1738. }
  1739. },
  1740. OnsubmitDiagnosis() {
  1741. this.form.diagnosisFunction = this.diagnosisFunctionText;
  1742. this.diagnosisFunctionText = "";
  1743. this.diagnosisFunctionBox = false;
  1744. //this.$message.success("设置诊断函数成功");
  1745. },
  1746. OnsubmitDialogCritical() {
  1747. this.form.criticalValueFunction = this.dialogCriticalValueFunctionText;
  1748. this.dialogCriticalValueFunctionText = "";
  1749. this.dialogCriticalValueFunction = false;
  1750. //this.$message.success("设置诊断函数成功");
  1751. },
  1752. OnsubmitDialogFollowUpFunction() {
  1753. this.form.followUpFunction = this.dialogFollowUpFunctionText;
  1754. this.dialogFollowUpFunctionText = "";
  1755. this.dialogFollowUpFunction = false;
  1756. //this.$message.success("设置诊断函数成功");
  1757. },
  1758. quckRusetform(e) {
  1759. this.$forceUpdate();
  1760. },
  1761. typeid() {
  1762. projectlist().then((res) => {
  1763. if (res.code != -1) {
  1764. this.itemTypeId = res.data;
  1765. this.itemTypeId = this.formatData(this.itemTypeId);
  1766. }
  1767. });
  1768. },
  1769. formatData(dataList) {
  1770. for (let i = 0; i < dataList.length; i++) {
  1771. if (dataList[i].treeChildren.length < 1) {
  1772. dataList[i].treeChildren = undefined;
  1773. } else {
  1774. this.formatData(dataList[i].treeChildren);
  1775. }
  1776. }
  1777. return dataList;
  1778. },
  1779. treeclick(data) {
  1780. this.initItemTypeId = data.id;
  1781. postapi("/api/app/asbitem/getasbitemlist", { itemTypeId: data.id }).then(
  1782. (res) => {
  1783. if (res.code != -1) {
  1784. this.tableData = res.data;
  1785. // this.initTableData = [...res.data];
  1786. }
  1787. }
  1788. );
  1789. this.curRow = this.$options.data().curRow;
  1790. this.leftdata = this.$options.data().leftdata;
  1791. this.rightdata = this.$options.data().rightdata;
  1792. this.formdata = this.$options.data().formdata;
  1793. this.values = this.$options.data().values;
  1794. this.flitvalues = this.$options.data().flitvalues;
  1795. },
  1796. remoteMethodes(keyWords) {
  1797. if (keyWords) {
  1798. this.quckDepartment = [];
  1799. this.initTableData.forEach((item) => {
  1800. if (
  1801. item.displayName.toLowerCase().indexOf(keyWords.toLowerCase()) >
  1802. -1 ||
  1803. item.simpleCode.toLowerCase().indexOf(keyWords.toLowerCase()) > -1
  1804. // || item.shortName.toLowerCase().indexOf(keyWords.toLowerCase()) > - 1
  1805. ) {
  1806. this.quckDepartment.push(item);
  1807. }
  1808. });
  1809. } else {
  1810. this.quckDepartment = deepCopy(this.initTableData);
  1811. }
  1812. },
  1813. quckDepartments(e) {
  1814. if (e) {
  1815. let currentKey = "";
  1816. this.quckDepartment.forEach((item) => {
  1817. if (e == item.id) {
  1818. currentKey = item.itemTypeId;
  1819. this.initItemTypeId = item.itemTypeId;
  1820. }
  1821. });
  1822. this.$refs["itemType"].setCurrentKey(currentKey);
  1823. let selected = this.$refs["itemType"].getCurrentNode();
  1824. if (
  1825. this.$refs["itemType"].getNode(selected) &&
  1826. this.$refs["itemType"].getNode(selected).parent
  1827. ) {
  1828. this.expandParents(this.$refs["itemType"].getNode(selected).parent);
  1829. }
  1830. // getapi(`/api/app/asbitem/in-item-type/${currentKey}`)
  1831. postapi("/api/app/asbitem/getasbitemlist", {
  1832. itemTypeId: currentKey,
  1833. }).then((res) => {
  1834. if (res.code != -1) {
  1835. this.tableData = res.data;
  1836. this.tableData.forEach((item, index) => {
  1837. if (e == item.id) {
  1838. this.$refs["tableData"].setCurrentRow(item);
  1839. this.rowick(item);
  1840. this.tableScrollToRow(this.$refs.tableData, index);
  1841. this.searchup(item, index);
  1842. }
  1843. });
  1844. }
  1845. });
  1846. } else {
  1847. this.remoteMethodes();
  1848. }
  1849. },
  1850. searchup(data, index) {
  1851. this.$nextTick(() => {
  1852. if (index == 0) {
  1853. index = 1;
  1854. }
  1855. const targetTop = this.$refs["tableData"].$el
  1856. .querySelectorAll(".el-table__body tr")
  1857. [index - 1].getBoundingClientRect().top;
  1858. const containerTop = this.$refs["tableData"].$el
  1859. .querySelector(".el-table__body")
  1860. .getBoundingClientRect().top;
  1861. const scrollParent = this.$refs["tableData"].$el.querySelector(
  1862. ".el-table__body-wrapper"
  1863. );
  1864. scrollParent.scrollTop = targetTop - containerTop;
  1865. });
  1866. },
  1867. expandParents(node) {
  1868. node.expanded = true;
  1869. if (node.parent) {
  1870. this.expandParents(node.parent);
  1871. }
  1872. },
  1873. tableScrollToRow(tableElement, rowIndex) {
  1874. let theTableRows = tableElement.bodyWrapper.querySelectorAll(
  1875. ".el-table__body tbody .el-table__row"
  1876. );
  1877. let scrollTop = 0;
  1878. for (let i = 0; i < theTableRows.length; i++) {
  1879. if (i === rowIndex) {
  1880. break;
  1881. }
  1882. scrollTop += theTableRows[i].offsetHeight;
  1883. }
  1884. tableElement.bodyWrapper.scrollTop = scrollTop;
  1885. },
  1886. guiderow(row) {
  1887. this.guideform = row;
  1888. },
  1889. tableRowClassName({ row, rowIndex }) {
  1890. row.index = rowIndex;
  1891. },
  1892. //指引信息删除
  1893. deleteguidelines() {
  1894. if (this.curRow.id == undefined || this.curRow.id == "") {
  1895. this.$message.warning("请先选择组合项目");
  1896. } else {
  1897. if (
  1898. this.guideform.asbitemId == "" ||
  1899. this.guideform.asbitemId == undefined
  1900. ) {
  1901. this.$message.warning("请选择删除的数据");
  1902. } else {
  1903. this.$confirm("此操作确定后将永久删除该记录, 是否继续?", "提示", {
  1904. confirmButtonText: "是",
  1905. cancelButtonText: "否",
  1906. type: "warning",
  1907. cancelButtonClass: "difference",
  1908. confirmButtonClass: "commonbutton",
  1909. })
  1910. .then(() => {
  1911. this.formdata.guidanceinformationdata.splice(
  1912. this.guideform.index,
  1913. 1
  1914. );
  1915. })
  1916. .catch((err) => {
  1917. if (err == "cancel") {
  1918. this.$message.info("已取消删除");
  1919. }
  1920. });
  1921. }
  1922. }
  1923. },
  1924. //确定新增或者修改指引ruleForm
  1925. determineguidelines() {
  1926. this.$refs.ruleForms.validate((v) => {
  1927. if (v) {
  1928. postapi("/api/app/asbitem-guide", this.guideform).then((res) => {
  1929. if (res.code != -1) {
  1930. this.guidetitledialogVisible = false;
  1931. this.getobtainguidance();
  1932. //this.$message.success("创建成功");
  1933. }
  1934. });
  1935. }
  1936. });
  1937. },
  1938. //新增或者编辑需要的api中的id
  1939. publicapi() {
  1940. //获取体检中心
  1941. getapi("/api/app/organization-units/by-code-all").then((res) => {
  1942. if (res.code != -1) {
  1943. this.organizationUnitdata = res.data;
  1944. }
  1945. });
  1946. //获取组合项目
  1947. // getapi("/api/app/asbitem/in-filter").then((res) => {
  1948. // this.asbitemdata = res.data.items;
  1949. // });
  1950. postapi("/api/app/asbitem/getasbitemlist").then((res) => {
  1951. if (res.code != -1) {
  1952. this.asbitemdata = res.data;
  1953. }
  1954. });
  1955. //获取适用性别
  1956. getapi("/api/app/for-sex").then((res) => {
  1957. if (res.code != -1) {
  1958. this.forsexdata = res.data;
  1959. }
  1960. });
  1961. },
  1962. //创建弹框
  1963. createabulletbox() {
  1964. // this.guidetitledialogVisible = true;
  1965. // this.guideform = {};
  1966. // this.guidetitle = 1;
  1967. // this.publicapi();
  1968. if (this.curRow.id == undefined || this.curRow.id == "") {
  1969. this.$message.warning("请先选择组合项目");
  1970. } else {
  1971. let peisid = "";
  1972. if (
  1973. window.sessionStorage.getItem("peisid") === "null" ||
  1974. window.sessionStorage.getItem("peisid") === undefined ||
  1975. window.sessionStorage.getItem("peisid") === null
  1976. ) {
  1977. peisid = "";
  1978. } else {
  1979. peisid = window.sessionStorage.getItem("peisid");
  1980. }
  1981. this.formdata.guidanceinformationdata.push({
  1982. medicalCenterId: peisid,
  1983. asbitemId: this.curRow.id,
  1984. forSexId: "A",
  1985. guide: "",
  1986. });
  1987. }
  1988. },
  1989. saveguidelines() {
  1990. this.$refs["guidanceinformation"].validate((valid, fields) => {
  1991. if (!valid) {
  1992. this.$message.warning(fields[Object.keys(fields)[0]][0].message);
  1993. return false;
  1994. }
  1995. if (this.curRow.id == undefined || this.curRow.id == "") {
  1996. this.$message.warning("请先选择组合项目");
  1997. } else {
  1998. let sampleGroupId = this.curRow.id;
  1999. let sdate = [];
  2000. this.formdata.guidanceinformationdata.forEach((element) => {
  2001. sdate.push({
  2002. medicalCenterId: element.medicalCenterId,
  2003. forSexId: element.forSexId,
  2004. guide: element.guide,
  2005. });
  2006. });
  2007. postapi("/api/app/asbitemguide/createasbitemguidemany", {
  2008. asbitemId: sampleGroupId,
  2009. deatils: sdate,
  2010. }).then((res) => {
  2011. if (res.code != -1) {
  2012. //this.$message.success("保存成功");
  2013. }
  2014. });
  2015. }
  2016. });
  2017. },
  2018. //获取指引信息guidanceinformationdata
  2019. getobtainguidance(e) {
  2020. if (e != undefined || e != "") {
  2021. getapi(`/api/app/asbitemguide/getlistinasbitemid?AsbitemId=${e}`).then(
  2022. (res) => {
  2023. if (res.data != -1) {
  2024. this.formdata.guidanceinformationdata = [...res.data];
  2025. }
  2026. }
  2027. );
  2028. } else {
  2029. this.$message.warning("请先选择组合项目");
  2030. }
  2031. },
  2032. //获取项目
  2033. gitfleslist() {
  2034. getporjectlists().then((res) => {
  2035. if (res.code != -1) {
  2036. this.filetelists = res.data;
  2037. this.initfiletelists = [...res.data];
  2038. }
  2039. });
  2040. },
  2041. //搜索选择
  2042. selectitem(v) {
  2043. if (v) {
  2044. if (this.curRow.id == undefined || this.curRow.id == "") {
  2045. this.$message.warning("请先选择组合项目");
  2046. } else {
  2047. this.itemid = v.id;
  2048. if (this.rightdata.length < 1) {
  2049. this.rightdata.push({ displayName: v.displayName, id: v.id });
  2050. this.isdislob = false;
  2051. } else {
  2052. for (let i = 0; i < this.rightdata.length; i++) {
  2053. if (v.id === this.rightdata[i].id) {
  2054. return this.$message.warning("已有该项目");
  2055. }
  2056. }
  2057. this.rightdata.push({ displayName: v.displayName, id: v.id });
  2058. this.isdislob = false;
  2059. }
  2060. this.$nextTick(() => {
  2061. this.$refs["quickAsbOCX"].blur(); //total asbItemId
  2062. this.flitvalues = "";
  2063. this.filetelists = deepCopy(this.initfiletelists);
  2064. this.$refs["quickAsbOCX"].focus(); //total asbItemId
  2065. });
  2066. }
  2067. } else {
  2068. this.remoteMethods();
  2069. }
  2070. },
  2071. Onsubmit() {
  2072. let sampleGroupId = this.form.id;
  2073. let sdate = [];
  2074. // let sss = { itemId: this.itemid, asbitemId: sampleGroupId };
  2075. // sdate.push(sss);
  2076. this.rightdata.forEach((element) => {
  2077. sdate.push({ asbitemId: sampleGroupId, itemId: element.id });
  2078. });
  2079. // this.leftdata.forEach((element) => {
  2080. // sdate.push({ asbitemId: sampleGroupId, itemId: element.id });
  2081. // });
  2082. // this.leftdata.forEach((element) => {
  2083. // let sss = { sampleGroupId: sampleGroupId, asbitemId: element.id };
  2084. // sdate.push(sss);
  2085. // });
  2086. // sdate.push(sss);
  2087. if (sampleGroupId == undefined || sampleGroupId == "") {
  2088. this.$message.warning("请选择组合项目");
  2089. this.isdislob = true;
  2090. } else {
  2091. postapi("/api/app/asbitemdetail/createasbitemdetailmany", {
  2092. asbitemId: sampleGroupId,
  2093. details: sdate,
  2094. }).then((res) => {
  2095. if (res.code != -1) {
  2096. this.isdislob = true;
  2097. //this.$message.success("确定成功!");
  2098. }
  2099. });
  2100. }
  2101. // console.log(sdate);
  2102. // if (sampleGroupId == undefined) {
  2103. // this.$message.warning("请选择列表");
  2104. // } else if (this.itemid == "") {
  2105. // this.$message.warning("请选择项目");
  2106. // } else {
  2107. // postapi("/api/app/asbitem-detail/many", sdate).then((res) => {
  2108. // console.log("操作成功");
  2109. // this.isdislob = true;
  2110. // });
  2111. // }
  2112. },
  2113. dbClickChoosedAsb(row, column, event) {
  2114. let index = this.leftdata.findIndex((arr) => arr.id == row.id);
  2115. this.leftdata.splice(index, 1);
  2116. this.rightdata.push(row);
  2117. this.isdislob = false;
  2118. this.ary1 = [];
  2119. },
  2120. handleSelectionChange(val) {
  2121. this.ary1 = val;
  2122. },
  2123. addAbs() {
  2124. if (this.curRow.id == undefined || this.curRow.id == "") {
  2125. this.$message.warning("请先选择组合项目");
  2126. } else {
  2127. if (this.ary1.length < 1) {
  2128. this.$message.warning("请选择要添加的项目");
  2129. } else {
  2130. let temporaryLeft = [];
  2131. temporaryLeft = this.leftdata.filter(
  2132. (item) => !this.ary1.some((ele) => ele.id === item.id)
  2133. );
  2134. this.leftdata = [...temporaryLeft];
  2135. this.ary1.forEach((item) => {
  2136. this.rightdata.push(item);
  2137. });
  2138. this.isdislob = false;
  2139. this.ary1 = [];
  2140. }
  2141. }
  2142. },
  2143. removeAbs(row) {
  2144. let index = this.rightdata.findIndex((arr) => arr.id == row.id);
  2145. this.rightdata.splice(index, 1);
  2146. this.leftdata.push(row);
  2147. this.isdislob = false;
  2148. this.ary2 = [];
  2149. },
  2150. selecteditems(val) {
  2151. this.ary2 = val;
  2152. },
  2153. delAbs() {
  2154. if (this.curRow.id == undefined || this.curRow.id == "") {
  2155. this.$message.warning("请先选择组合项目");
  2156. } else {
  2157. if (this.ary2.length < 1) {
  2158. this.$message.warning("请选择要移除的项目");
  2159. } else {
  2160. let temporaryRight = [];
  2161. temporaryRight = this.rightdata.filter(
  2162. (item) => !this.ary2.some((ele) => ele.id === item.id)
  2163. );
  2164. this.rightdata = [...temporaryRight];
  2165. this.ary2.forEach((item) => {
  2166. this.leftdata.push(item);
  2167. });
  2168. this.isdislob = false;
  2169. this.ary2 = [];
  2170. }
  2171. }
  2172. },
  2173. //右侧双击移动删除
  2174. rightdelite(item, index) {
  2175. this.isdislob = false;
  2176. this.rightdata.splice(index, 1);
  2177. this.leftdata.push(item);
  2178. // this.updatedate();
  2179. },
  2180. //右侧点击选中
  2181. rightindex(item, index) {
  2182. this.nums = index;
  2183. this.leftobj = item;
  2184. // console.log(this.leftobj);
  2185. },
  2186. //左侧添加按钮
  2187. addobj() {
  2188. if (this.leftdata.length > 0) {
  2189. this.leftdata.splice(this.num, 1);
  2190. this.rightdata.push(this.rightobj);
  2191. this.isdislob = false;
  2192. }
  2193. },
  2194. //右移动
  2195. removeright() {
  2196. if (this.rightdata.length > 0) {
  2197. this.rightdata.splice(this.num, 1);
  2198. this.leftdata.push(this.leftobj);
  2199. this.isdislob = false;
  2200. // this.isdislob=false
  2201. this.updatedate();
  2202. }
  2203. },
  2204. //q全移去
  2205. allclear() {
  2206. if (this.curRow.id == undefined || this.curRow.id == "") {
  2207. this.$message.warning("请先选择组合项目");
  2208. } else {
  2209. if (this.rightdata.length > 0) {
  2210. this.rightdata.forEach((item) => {
  2211. this.leftdata.push(item);
  2212. });
  2213. this.rightdata = [];
  2214. this.isdislob = false;
  2215. } else {
  2216. this.$message.warning("没有可移除的项目");
  2217. }
  2218. }
  2219. },
  2220. //全添加
  2221. addall() {
  2222. if (this.curRow.id == undefined || this.curRow.id == "") {
  2223. this.$message.warning("请先选择组合项目");
  2224. } else {
  2225. if (this.leftdata.length > 0) {
  2226. this.leftdata.forEach((item) => {
  2227. this.rightdata.push(item);
  2228. });
  2229. this.leftdata = [];
  2230. this.isdislob = false;
  2231. } else {
  2232. this.$message.warning("没有可添加的项目");
  2233. }
  2234. }
  2235. },
  2236. //左侧双击事件
  2237. shuanji(item, index) {
  2238. this.leftdata.splice(index, 1);
  2239. this.rightdata.push(item);
  2240. this.isdislob = false;
  2241. },
  2242. clickPaixu(item, index) {
  2243. this.rightobj = item;
  2244. this.num = index;
  2245. },
  2246. //获取项目类别 3a0b0b10-719f-5824-6956-8cb70f204013 /api/app/item-type/by-code-all
  2247. gitprojectcategory() {
  2248. getapi("/api/app/item-type/by-code-all").then((res) => {
  2249. if (res.code != -1) {
  2250. this.projectid = res.data;
  2251. this.initprojectid = [...res.data];
  2252. }
  2253. });
  2254. postapi("/api/app/asbitem/getasbitemlist").then((res) => {
  2255. if (res.code != -1) {
  2256. this.initTableData = res.data;
  2257. this.quckDepartment = [...res.data];
  2258. }
  2259. });
  2260. postapi("/api/app/DiseaseScreeningType/GetList").then((res) => {
  2261. if (res.code != -1) {
  2262. this.diseaseScreeningType = [...res.data];
  2263. }
  2264. });
  2265. // groupsandlist(this.pages).then((res) => {
  2266. // if(res.code!=-1){
  2267. // this.initTableData = [...res.data.items];
  2268. // this.quckDepartment=res.data.items;
  2269. // initTableData
  2270. // }
  2271. // });
  2272. },
  2273. //ary1 需要追加的数据 ary2目标数组
  2274. updatedate() {
  2275. this.ary1.forEach((item) => {
  2276. let iscz = false;
  2277. this.ary2.forEach((item2) => {
  2278. if (item2.id == item.id) {
  2279. iscz = true;
  2280. }
  2281. });
  2282. if (!iscz) {
  2283. this.ary2.push(item);
  2284. // this.allid.push({ id: item.id });
  2285. }
  2286. });
  2287. },
  2288. ischangsItemTypeId(v) {
  2289. if (v.length > 1) {
  2290. this.form.itemTypeId = this.form.itemTypeId.slice(-1)[0];
  2291. } else {
  2292. this.form.itemTypeId = this.form.itemTypeId[0];
  2293. }
  2294. this.$refs.itemTypeIds.toggleDropDownVisible();
  2295. },
  2296. //项目类别选择
  2297. ischangs(v) {
  2298. if (v) {
  2299. if (this.curRow.id == undefined || this.curRow.id == "") {
  2300. this.$message.warning("请先选择组合项目");
  2301. } else {
  2302. this.$refs.example.toggleDropDownVisible();
  2303. let last = v.slice(-1)[0];
  2304. getapi(`/api/app/item/in-item-type/${last}`).then((res) => {
  2305. if (res.code != -1) {
  2306. let bq = [];
  2307. bq = res.data.filter(
  2308. (item) => !this.rightdata.some((ele) => ele.id === item.id)
  2309. );
  2310. this.leftdata = [...bq];
  2311. }
  2312. });
  2313. }
  2314. } else {
  2315. this.remoteMethod();
  2316. }
  2317. },
  2318. bindidclose() {
  2319. this.form = this.$options.data().form;
  2320. },
  2321. rowDrop() {
  2322. this.$nextTick(() => {
  2323. const tbody = document.querySelector(".el-table__body-wrapper tbody");
  2324. const _this = this;
  2325. Sortable.create(tbody, {
  2326. handle: ".move",
  2327. animation: 300,
  2328. onChoose({ oldIndex }) {
  2329. _this.$refs["tableData"].setCurrentRow(_this.tableData[oldIndex]);
  2330. },
  2331. onEnd({ newIndex, oldIndex }) {
  2332. _this.isshow = false;
  2333. const currRow = _this.tableData.splice(oldIndex, 1)[0];
  2334. _this.tableData.splice(newIndex, 0, currRow);
  2335. _this.rowick(_this.tableData[newIndex]);
  2336. _this.tableData.map((item, index) => {
  2337. if (index == newIndex && index == oldIndex) {
  2338. } else if (index == oldIndex) {
  2339. } else if (index == newIndex) {
  2340. }
  2341. });
  2342. },
  2343. });
  2344. });
  2345. },
  2346. //取消按钮
  2347. cancellation() {
  2348. postapi("/api/app/asbitem/getasbitemlist", {
  2349. itemTypeId: this.initItemTypeId,
  2350. }).then((res) => {
  2351. if (res.code != -1) {
  2352. this.tableData = res.data;
  2353. this.$message.info("操作取消");
  2354. this.isshow = true;
  2355. }
  2356. });
  2357. },
  2358. //确定排序
  2359. assertion() {
  2360. const result = [];
  2361. this.tableData.forEach((item, index) => {
  2362. // const currentDisplayOrder = this.initTableData[index].displayOrder;
  2363. // if (item.displayOrder != currentDisplayOrder) {
  2364. result.push({ id: item.id, displayOrder: index + 1 });
  2365. // }
  2366. });
  2367. combination({ itemList: result }).then((res) => {
  2368. if (res.code != -1) {
  2369. //this.$message.success("操作成功");
  2370. this.isshow = true;
  2371. }
  2372. // this.getlist();
  2373. });
  2374. },
  2375. //置底
  2376. setlow() {
  2377. this.form = { ...this.curRow };
  2378. if (this.form.id == undefined) {
  2379. this.$message.warning("请选择操作的数据");
  2380. } else {
  2381. samplesetlow(this.form.id, 2).then((res) => {
  2382. if (res.code != -1) {
  2383. this.getItemIdList();
  2384. //this.$message.success("操作成功");
  2385. }
  2386. });
  2387. }
  2388. },
  2389. //置顶
  2390. topping() {
  2391. this.form = { ...this.curRow };
  2392. if (this.form.id == undefined) {
  2393. this.$message.warning("请选择操作的数据");
  2394. } else {
  2395. samplesetlow(this.form.id, 1).then((res) => {
  2396. if (res.code != -1) {
  2397. this.getItemIdList();
  2398. //this.$message.success("操作成功");
  2399. }
  2400. });
  2401. }
  2402. },
  2403. //删除
  2404. deleteid() {
  2405. this.form = { ...this.curRow };
  2406. if (this.form.id == undefined) {
  2407. this.$message.warning("请选择操作的数据");
  2408. } else {
  2409. this.$confirm("是否确认删除, 是否继续?", "提示", {
  2410. confirmButtonText: "确定",
  2411. cancelButtonText: "取消",
  2412. type: "warning",
  2413. cancelButtonClass: "difference",
  2414. confirmButtonClass: "commonbutton",
  2415. }).then(() => {
  2416. deletescombinationprojectid(this.form.id).then((res) => {
  2417. if (res.code != -1) {
  2418. this.getItemIdList();
  2419. this.curRow = this.$options.data().curRow;
  2420. //this.$message.success("删除成功");
  2421. }
  2422. });
  2423. });
  2424. // deletescombinationprojectid(this.form.id).then((res) => {
  2425. // console.log("删除成功");
  2426. // this.getlist();
  2427. // });
  2428. }
  2429. },
  2430. //编辑弹框
  2431. editpopup() {
  2432. this.form = { ...this.curRow };
  2433. if (this.form.id == undefined) {
  2434. this.$message.warning("请点击选择操作的数据");
  2435. } else {
  2436. this.form.price = Number(this.form.price);
  2437. this.title = 2;
  2438. this.dialogVisible = true;
  2439. if (this.$refs.ruleForm !== undefined) {
  2440. this.$refs.ruleForm.resetFields();
  2441. }
  2442. asbitemgetid(this.form.id).then((res) => {
  2443. if (res.code != -1) {
  2444. this.form = { ...res.data };
  2445. if (res.data.isDiagnosisFunction == "Y") {
  2446. this.form.isDiagnosisFunctionBox = true;
  2447. } else {
  2448. this.form.isDiagnosisFunctionBox = false;
  2449. }
  2450. }
  2451. });
  2452. //性别
  2453. // examinationgender().then((res) => {
  2454. // this.forSexId = res.data;
  2455. // });
  2456. //适用性别
  2457. getapi("/api/app/for-sex").then((res) => {
  2458. if (res.code != -1) {
  2459. this.forSexId = res.data;
  2460. }
  2461. });
  2462. //项目类别
  2463. // projectlist().then((res) => {
  2464. // this.itemTypeId = res.data;
  2465. // });
  2466. //仪器类别
  2467. instrumentlist().then((res) => {
  2468. if (res.code != -1) {
  2469. this.deviceTypeId = res.data;
  2470. }
  2471. });
  2472. // //发票项目类别
  2473. // invoicetypelist().then((res) => {
  2474. // if (res.code != -1) {
  2475. // this.invoiceItemTypeId = res.data;
  2476. // }
  2477. // });
  2478. postapi("/api/app/CollectItemType/GetList").then((res) => {
  2479. if (res.code != -1) {
  2480. this.collectItemType = [...res.data];
  2481. }
  2482. });
  2483. }
  2484. },
  2485. editcancellation() {
  2486. this.dialogVisible = false;
  2487. // this.$refs.itemTypeIds.toggleDropDownVisible();
  2488. },
  2489. //确定新增或者编辑
  2490. addoredit() {
  2491. this.$refs.ruleForm.validate((v) => {
  2492. if (v) {
  2493. let obj = Object.assign({}, this.form, {
  2494. price: Number(this.form.price),
  2495. });
  2496. if (this.title == 1) {
  2497. newcombination(obj).then((res) => {
  2498. if (res.code != -1) {
  2499. this.getItemIdList();
  2500. this.dialogVisible = false;
  2501. this.$nextTick(() => {
  2502. this.$refs["tableData"].setCurrentRow(res.data);
  2503. this.rowick(res.data);
  2504. });
  2505. //this.$message.success("新增成功");
  2506. // this.$refs.itemTypeIds.toggleDropDownVisible();
  2507. }
  2508. });
  2509. } else if (this.title == 2) {
  2510. updateombination(this.form.id, obj).then((res) => {
  2511. if (res.code != -1) {
  2512. this.tableData.forEach((item, index) => {
  2513. if (res.data.id == item.id) {
  2514. this.$set(this.tableData, index, res.data);
  2515. }
  2516. });
  2517. this.dialogVisible = false;
  2518. this.$nextTick(() => {
  2519. this.rowick(res.data);
  2520. });
  2521. //this.$message.success("修改成功");
  2522. // this.$refs.itemTypeIds.toggleDropDownVisible();
  2523. }
  2524. });
  2525. }
  2526. }
  2527. });
  2528. },
  2529. getItemIdList() {
  2530. postapi("/api/app/asbitem/getasbitemlist", {
  2531. itemTypeId: this.initItemTypeId,
  2532. }).then((res) => {
  2533. if (res.code != -1) {
  2534. this.tableData = res.data;
  2535. }
  2536. });
  2537. },
  2538. //新增弹框
  2539. addll() {
  2540. if (this.initItemTypeId == undefined || this.initItemTypeId == "") {
  2541. this.$message.warning("请选择项目类别");
  2542. } else {
  2543. this.dialogVisible = true;
  2544. this.title = 1;
  2545. if (this.$refs.ruleForm !== undefined) {
  2546. this.$refs.ruleForm.resetFields();
  2547. }
  2548. this.form = this.$options.data().form;
  2549. this.form.itemTypeId = this.initItemTypeId;
  2550. this.$nextTick(() => {
  2551. this.$refs.refinput.focus();
  2552. });
  2553. //性别
  2554. // examinationgender().then((res) => {
  2555. // if (res.code != -1) {
  2556. // this.forSexId = res.data;
  2557. // }
  2558. // });
  2559. getapi("/api/app/for-sex").then((res) => {
  2560. if (res.code != -1) {
  2561. this.forSexId = res.data;
  2562. }
  2563. });
  2564. // //项目类别
  2565. // projectlist().then((res) => {
  2566. // this.itemTypeId = res.data;
  2567. // });
  2568. //仪器类别
  2569. instrumentlist().then((res) => {
  2570. if (res.code != -1) {
  2571. this.deviceTypeId = res.data;
  2572. }
  2573. });
  2574. // //发票项目类别
  2575. // invoicetypelist().then((res) => {
  2576. // if (res.code != -1) {
  2577. // this.invoiceItemTypeId = res.data;
  2578. // }
  2579. // });
  2580. postapi("/api/app/CollectItemType/GetList").then((res) => {
  2581. if (res.code != -1) {
  2582. this.collectItemType = [...res.data];
  2583. }
  2584. });
  2585. }
  2586. },
  2587. refresh(row) {
  2588. getapi(
  2589. `/api/app/asbitem-detail/asbitem-detail-in-item?AsbitemId=${row.id}`
  2590. ).then((res) => {
  2591. if (res.code != -1) {
  2592. this.rightdata = [...res.data];
  2593. getapi(`/api/app/item/in-item-type/${this.values}`).then((res) => {
  2594. // this.leftdata = [...res.data];
  2595. if (res.code != -1) {
  2596. let bq = [];
  2597. bq = res.data.filter(
  2598. (item) => !this.rightdata.some((ele) => ele.id === item.id)
  2599. );
  2600. this.leftdata = [...bq];
  2601. }
  2602. });
  2603. }
  2604. });
  2605. this.getobtainguidance(this.curRow.id);
  2606. this.publicapi();
  2607. this.HcAsbitemBrush++;
  2608. },
  2609. rowick(row) {
  2610. this.clickTime1 = new Date().getTime();
  2611. setTimeout(() => {
  2612. if (this.clickTime1 > this.clickTime2) {
  2613. this.curRow = row;
  2614. this.form = { ...row };
  2615. this.values = row.itemTypeId;
  2616. this.refresh(row);
  2617. }
  2618. }, 400);
  2619. },
  2620. async dblClick(row) {
  2621. this.clickTime2 = new Date().getTime();
  2622. this.curRow = row;
  2623. this.form = { ...row };
  2624. this.values = row.itemTypeId;
  2625. await this.refresh(row);
  2626. this.editpopup();
  2627. },
  2628. getSummaries(param) {
  2629. const { columns, data } = param;
  2630. const sums = [];
  2631. columns.forEach((column, index) => {
  2632. if (index === 0) {
  2633. sums[index] = "合计";
  2634. return;
  2635. }
  2636. if (index === 1) {
  2637. sums[index] = data.length + "个";
  2638. return;
  2639. }
  2640. });
  2641. return sums;
  2642. },
  2643. getlist() {
  2644. groupsandlist().then((res) => {
  2645. if (res.code != -1) {
  2646. this.initTableData = [...res.data];
  2647. this.tableData = [...res.data];
  2648. this.quckDepartment = [...res.data];
  2649. }
  2650. });
  2651. },
  2652. },
  2653. };
  2654. </script>
  2655. <style scoped>
  2656. @import "../../assets/css/global_button.css";
  2657. @import "../../assets/css/global_dialog.css";
  2658. @import "../../assets/css/global_table.css";
  2659. @import "../../assets/css/global_form.css";
  2660. @import "../../assets/css/global_input.css";
  2661. @import "../../assets/css/global.css";
  2662. .mainleftbox {
  2663. flex: 1;
  2664. }
  2665. .Selectbutton {
  2666. margin: 0 20px;
  2667. display: flex;
  2668. flex-direction: column;
  2669. justify-content: center;
  2670. align-items: center;
  2671. }
  2672. .mainbox {
  2673. display: flex;
  2674. justify-content: center;
  2675. margin-top: 5px;
  2676. }
  2677. .box {
  2678. display: flex;
  2679. flex-direction: column;
  2680. }
  2681. /* form表单每一项的下边距 */
  2682. :deep .el-form-item {
  2683. margin-bottom: 14px;
  2684. }
  2685. /* 去掉input textarea的手动扩张样式 */
  2686. :deep(.el-textarea__inner) {
  2687. resize: none;
  2688. }
  2689. /* el-dialog的头部样式 */
  2690. :deep .el-dialog__header {
  2691. padding: 11px 20px 11px;
  2692. }
  2693. /* el-dialog的主体样式 */
  2694. :deep .el-dialog__body {
  2695. padding: 0px 20px 0px;
  2696. }
  2697. /* el-divider样式 */
  2698. :deep .el-divider--horizontal {
  2699. margin: 0px 0 12px;
  2700. }
  2701. /* el-dialog的底部样式 */
  2702. :deep .el-dialog__footer {
  2703. padding: 0px 20px 14px;
  2704. }
  2705. /* 默认结果后面下拉框样式 */
  2706. :deep .downText .el-input--suffix .el-input__inner {
  2707. width: 0;
  2708. height: 100%;
  2709. padding: 0 19px;
  2710. }
  2711. /* 默认结果后面下拉框图标样式 */
  2712. :deep .downText .el-input--suffix .el-input__suffix {
  2713. right: 12px;
  2714. }
  2715. /* 默认结果后面下拉框 */
  2716. :deep .downText {
  2717. display: flex !important;
  2718. }
  2719. /* 诊断函数后面按钮样式 */
  2720. :deep .el-input-group__append {
  2721. padding: 0 11px;
  2722. }
  2723. /* 默认结果整体样式 */
  2724. .my-el-form-item :deep .el-form-item__content {
  2725. line-height: 0 !important;
  2726. }
  2727. .my-el-form-item :deep .el-input__icon {
  2728. line-height: 0 !important;
  2729. }
  2730. /* 指引信息 */
  2731. .guidelines :deep .el-form-item {
  2732. margin-bottom: 0;
  2733. }
  2734. .seachinput {
  2735. width: 350px;
  2736. margin-right: 110px;
  2737. }
  2738. :deep .seachinput .el-select {
  2739. width: 100%;
  2740. }
  2741. .layeredleftright {
  2742. width: 95%;
  2743. display: flex;
  2744. flex-direction: column;
  2745. }
  2746. :deep .el-tree-node > .el-tree-node__children {
  2747. overflow: visible;
  2748. }
  2749. :deep .el-form-item {
  2750. margin-bottom: 8px;
  2751. }
  2752. </style>