200ded5bfc4e6007cf52158e4682970dd3e18fd8.svn-base 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. <template>
  2. <div class="gcsthyxglqk">
  3. <el-container :style="{'max-height':this.dialogHeightA+'px'}" >
  4. <el-main style="border:1px solid #d5d5ff;margin-left:5px;padding:0px;overflow-x: hidden;">
  5. <p style="font-weight:bolder;background-color:#d5d5ff;padding:3px;">详情</p>
  6. <p style="margin-top:20px;margin-bottom: 10px">
  7. <i style="color:#409EFF;" class="el-icon-caret-right"></i>
  8. <span style="color:#409EFF;font-weight:bold;width:120px;padding-left: 10px">管理机构及经费</span>
  9. <span class="hrs"></span>
  10. </p>
  11. <el-row :gutter="5" style="padding:10px;">
  12. <el-col :span="8" style="text-align:right;">是否有管理机构:</el-col>
  13. <el-col :span="16" style="text-align:left;">
  14. {{addObj.hasSpeManage&&addObj.hasSpeManage == "1"?"是":
  15. addObj.hasSpeManage&&addObj.hasSpeManage == "2"?"否":""
  16. }}
  17. </el-col>
  18. </el-row>
  19. <el-row :gutter="5" style="padding:10px;" v-if="addObj.hasSpeManage == '1'">
  20. <el-col :span="8" style="text-align:right;">是否有稳定经费来源:</el-col>
  21. <el-col :span="16" style="text-align:left;">
  22. {{addObj.hasWdEmnic&&addObj.hasWdEmnic == "1"?"是":
  23. addObj.hasWdEmnic&&addObj.hasWdEmnic == "2"?"否":""
  24. }}
  25. </el-col>
  26. </el-row>
  27. <p style="margin-top:20px;margin-bottom: 10px">
  28. <i style="color:#409EFF;" class="el-icon-caret-right"></i>
  29. <span style="color:#409EFF;font-weight:bold;width:120px;padding-left: 10px">注册登记情况</span>
  30. <span class="hrs"></span>
  31. </p>
  32. <el-row :gutter="5" style="padding:10px;">
  33. <el-col :span="8" style="text-align:right;">是否注册登记:</el-col>
  34. <el-col :span="16" style="text-align:left;">
  35. {{addObj.ifManageReg&&addObj.ifManageReg == "1"?"是":
  36. addObj.ifManageReg&&addObj.ifManageReg == "2"?"否":""
  37. }}
  38. </el-col>
  39. </el-row>
  40. <el-row :gutter="5" style="padding:10px;" v-if="addObj.ifManageReg == '1'">
  41. <el-col :span="8" style="text-align:right;">注册登记信息准确情况:</el-col>
  42. <el-col :span="16" style="text-align:left;">
  43. {{addObj.ifManageRegRel&&addObj.ifManageRegRel == "1"?"信息准确":
  44. addObj.ifManageRegRel&&addObj.ifManageRegRel == "2"?"存在错误或虚假信息":""
  45. }}
  46. </el-col>
  47. </el-row>
  48. <p style="margin-top:20px;margin-bottom: 10px">
  49. <i style="color:#409EFF;" class="el-icon-caret-right"></i>
  50. <span style="color:#409EFF;font-weight:bold;width:120px;padding-left: 10px">公示情况</span>
  51. <span class="hrs"></span>
  52. </p>
  53. <el-row :gutter="5" style="padding:10px;">
  54. <el-col :span="8" style="text-align:right;">是否设置水库公示牌:</el-col>
  55. <el-col :span="16" style="text-align:left;">
  56. {{addObj.ifDamWarnLogo&&addObj.ifDamWarnLogo == "1"?"已设置水库公示牌":
  57. addObj.ifDamWarnLogo&&addObj.ifDamWarnLogo == "2"?"未设置水库公示牌":""
  58. }}
  59. </el-col>
  60. </el-row>
  61. <p style="margin-top:20px;margin-bottom: 10px">
  62. <i style="color:#409EFF;" class="el-icon-caret-right"></i>
  63. <span style="color:#409EFF;font-weight:bold;width:120px;padding-left: 10px">安全运行总体评价</span>
  64. <span class="hrs"></span>
  65. </p>
  66. <el-row :gutter="5" style="padding:10px;">
  67. <el-col :span="8" style="text-align:right;">安全评价:</el-col>
  68. <el-col :span="16" style="text-align:left;">
  69. {{addObj.safeComment&&addObj.safeComment == "1"?"正常安全运行":
  70. addObj.safeComment&&addObj.safeComment == "2"?"存在一定安全隐患但能正常运行":
  71. addObj.safeComment&&addObj.safeComment == "3"?"存在重大安全隐患不能安全运行":""
  72. }}
  73. </el-col>
  74. </el-row>
  75. </el-main>
  76. </el-container>
  77. <!-- </el-dialog> -->
  78. </div>
  79. </template>
  80. <script>
  81. import request from "../../utils/gw_ajax_request.js";
  82. import { getManagelist } from "../../api/duChaTianBao.js";
  83. export default {
  84. components: {},
  85. props: ["currentObjectRgstrId","dialogHeightA"],
  86. data() {
  87. return {
  88. dxdcMainHeight: window.innerHeight - 197,
  89. dialogFormVisible: false,
  90. formLabelWidth: "180px",
  91. loading: true,
  92. addObj: {
  93. //注意有几个字段无法确认,需要掉接口查看
  94. mngrnId: "",
  95. rgstrId: "",
  96. recPersId: "",
  97. safeCommontNote: "",
  98. safeComment: "",
  99. retainRegular: "",
  100. hasRetainRegular: "",
  101. hasWdEmnic: "",
  102. hasManagePers: "",
  103. hasSpeManage: "",
  104. noRetainRegular: "",
  105. canNotRetainWater: "",
  106. dikeHasLeak: "",
  107. leakMakeSafe: "",
  108. hasAstable: "",
  109. hasSetMainFl: "",
  110. isMainFlNormal: "",
  111. hasSetPourFl: "",
  112. pourFyIsNormal: "",
  113. havFlLowLimLev: "",
  114. gtFlLowLimLev: "",
  115. extDamSafeAppr: "",
  116. ifReinForce: "",
  117. ifComplateAccAll: "",
  118. ifManageRegRel: "",
  119. manageRegRelNote: "",
  120. ifDamWarnLogo: "",
  121. recPers2: "",
  122. recPersTel: "",
  123. status: ""
  124. //注意有几个字段无法确认,需要掉接口查看
  125. },
  126. operationType1: ""
  127. };
  128. },
  129. computed: {
  130. recPersId() {
  131. return localStorage.getItem("userid")
  132. ? localStorage.getItem("userid")
  133. : "1098101939614724096";
  134. }
  135. },
  136. mounted() {
  137. this.getformList();
  138. },
  139. watch: {
  140. currentObjectRgstrId(n, o) {
  141. this.getformList();
  142. }
  143. },
  144. methods: {
  145. //
  146. getformList() {
  147. let _self = this;
  148. getManagelist(_self.currentObjectRgstrId).then(res => {
  149. if (res.success) {
  150. if (res.data) {
  151. _self.addObj = res.data;
  152. _self.operationType1 = "update";
  153. } else {
  154. _self.addObj = {};
  155. _self.operationType1 = "add";
  156. }
  157. } else {
  158. }
  159. });
  160. },
  161. //保存
  162. makesure() {
  163. let _self = this;
  164. this.addObj["rgstrId"] = this.currentObjectRgstrId;
  165. this.addObj["recPersId"] = this.recPersId;
  166. var params = {
  167. bisInspSafeExtManage: _self.addObj
  168. };
  169. if (_self.operationType1 == "add") {
  170. request.post("/dc/insp/safeExtManage", _self.addObj).then(res => {
  171. if (res.success) {
  172. _self.$message.success("添加成功");
  173. _self.$emit("addShuiKuSuccess");
  174. }
  175. });
  176. } else if (_self.operationType1 == "update") {
  177. request
  178. .post("/dc/insp/safeExtManage/update", _self.addObj)
  179. .then(res => {
  180. if (res.success) {
  181. _self.$message.success("修改成功");
  182. _self.$emit("addShuiKuSuccess");
  183. }
  184. });
  185. }
  186. },
  187. //查看
  188. makeshow(type, row) {
  189. this.dialogFormVisible = true;
  190. },
  191. formatRadio(val) {
  192. if (val == "1") {
  193. return "是";
  194. } else if (val == "0") {
  195. return "否";
  196. } else {
  197. return val;
  198. }
  199. },
  200. cancelHandler() {
  201. this.$emit("cancelHandler");
  202. }
  203. }
  204. };
  205. </script>
  206. <style>
  207. #dcdxHeader {
  208. padding: 15px 20px;
  209. }
  210. #dxdcFooter {
  211. text-align: center;
  212. }
  213. #dxdcAside {
  214. border: 1px solid #d5d5ff;
  215. }
  216. .el-dialog__wrapper .el-treeWhite {
  217. /* max-height: 260px !important; */
  218. }
  219. /*.gcsthyxglqk .el-form-item__content .el-radio{*/
  220. /*width: 100px!important;*/
  221. /*}*/
  222. .gcsthyxglqk label.el-radio {
  223. width: 206px;
  224. }
  225. </style>