| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369 |
- <template>
- <el-dialog
- class="customs_dialog"
- :modal="false"
- :append-to-body=true
- :title="problemMiddleType + '新增问题'"
- :visible.sync="dialogTableVisible"
- @close="dialogClose"
- >
- <!-- <p class="title"><i class="el-icon-edit"></i>{{classify}}{{type}}</p> -->
- <div style="text-align: center;">
- <component
- :is="curComponent"
- :objId="objId"
- :objType="objType"
- :villType="villType"
- :villCode="villCode"
- :cwsCode="cwsCode"
- :objName="objName"
- :currentUnitId="currentUnitId"
- :currentUnitName="currentUnitName"
- :flag="flag"
- :prsnWaterId="prsnWaterId"
- :problemMiddleType="problemMiddleType"
- :currentGroupId="currentGroupId"
- :problemSmallType="problemSmallType"
- :currentObjectRgstrId="currentObjectRgstrId"
- :problData="problData"
- :rowData="rowData"
- :yshRowData="yshRowData"
- :gsgcRowData="gsgcRowData"
- :adFullName="adFullName"
- :villageAdCode="villageAdCode"
- @closeDialog="dialogClose"
- :szRuls="szRuls"
- :pblmNameBz="pblmNameBz"
- :oriFatherName="oriFatherName"
- :villageNm="villageNm"
- :pblmReviewRowData="pblmReviewRowData"
- ></component>
- </div>
- </el-dialog>
- </template>
- <script>
- import yongshuihu from "./addProblem/yongshuihu.vue";
- import xiaoshuikuwenti from "./addProblem/xiaoshuiku.vue";
- import shuizha from "./addProblem/shuizha.vue";
- import shuiyuandi from "./addProblem/shuiYuanDi.vue";
- import yinShuiGongCheng from "./addProblem/yinShuiGongCheng.vue";
- import yigongli from './addProblem/yigongli.vue'
- import shuiyuandiNew from './addProblem/shuiyuandiNew'
- import fenshuiJiGuankong from './addProblem/fenshuiJiGuankong'
- import jieshuiGuanLi from './addProblem/jieshuiGuanLi.vue'
- import xiaoshuikuBiaozhunhua from './addProblem/xiaoshuikuBiaozhunhua.vue'
- import renyinZj from './addProblem/renyinZj.vue'
- import renyinnew from './addProblem/renyinnew.vue'
- import ncysaq from './addProblem/ncysaq.vue'
- import fanghong from './addProblem/fanghong.vue'
- import zhejiangqiangjianguan from './addProblem/zhejiangqiangjianguan.vue'
- import jieshuizaitifuhe from './addProblem/jieshuizaitifuhe.vue'
- import qushuixukeguanlifuhe from './addProblem/qushuixukeguanlifuhe.vue'
- import shuiziyuanguanlijieshuiguanli from './addProblem/shuiziyuanguanlijieshuiguanli.vue'
- import yijijiancedanwei from './addProblem/yijijiancedanwei.vue'
- import zhaotoubiao from './addProblem/zhaotoubiao.vue'
- import dixiashuiyacai from './addProblem/dixiashuiyacai.vue'
- import aqscssjygk from './addProblem/aqscssjygk.vue'
- import difang from './addProblem/difang.vue'
- import qsxk from './addProblem/qsxk.vue'
- import xjtdjs from './addProblem/xjtdjs.vue'
- import sxzbmaqscxj from './addProblem/sxzbmaqscxj.vue'
- import hhzz from './addProblem/hhzz.vue'
- import hhgl from './addProblem/hhgl.vue'
- import ncysaqaf from './addProblem/ncysaqaf.vue'
- import ncysaqaf2021 from './addProblem/ncysaqaf2021.vue'
- import bxzzqlaq from './addProblem/bxzzqlaq.vue'
- import wxhxp from './addProblem/wxhxp.vue'
- import hbdxs from './addProblem/hbdxs.vue'
- import cbhsfy from './addProblem/cbhsfy.vue'
- import shzhfy from './addProblem/shzhfy.vue'
- import shxf from './addProblem/shxf.vue'
- import skfhdd from './addProblem/skfhdd.vue'
- import xyjsxsh from './addProblem/xyjsxsh.vue'
- import slzjjdjc from './addProblem/slzjjdjc.vue'
- import ncysaqXjbt from './addProblem/ncysaqXjbt.vue'
- import fjsxzzf from './addProblem/fjsxzzf.vue'
- import xsd from './addProblem/xsd.vue'
- import pwuawiu from './addProblem/pwuawiu.vue'
- import dws from './addProblem/dws.vue'
- import xsksd from './addProblem/xsksd.vue'
- import xsdyhgl from './addProblem/xsdyhgl.vue'
- import jhyshqsk from './addProblem/jhyshqsk.vue'
- import qyshqsqk from './addProblem/qyshqsqk.vue'
- export default {
- props: {
- // 1 小水库 2 人饮 3 水毁 4 水文司地下水
- objType: {
- default: "2"
- // required: true
- },
- //对象类型 0 小水库 1 行政村 2 水源地 3 饮水工程 4 水毁工程 5 地下水
- villType: {
- default: "1"
- // required: true
- },
- villCode: {
- default: "1"
- // required: true
- },
- //对象id
- objId: {
- default: ""
- // required: true
- },
- //对象名称
- objName: {
- default: "行政村"
- // required: true
- },
- currentUnitId:{
- default: ""
- },
- currentUnitName:{
- default: ""
- },
- flag:{
- default: ""
- },
- //问题中类型
- problemMiddleType: {
- default: "用水户情况"
- },
- //问题小类型
- problemSmallType: {
- default: "水质"
- },
- cwsCode: {
- default: ""
- },
- currentObjectRgstrId: {
- default: ""
- },
- rowData: {
- default: ""
- },
- yshRowData: {
- default: ""
- },
- problData: {
- default: ""
- },
- currentGroupId: {
- default: ""
- },
- //用水户id
- prsnWaterId: {
- default: ''
- },
- szRuls: {
- default: () => {
- return []
- }
- },
- gsgcRowData: {
- default: ""
- },
- adFullName: {},
- villageAdCode: {},
- pblmNameBz: {
- default: ''
- },
- oriFatherName: {
- default: ''
- },
- villageNm: {
- default: ''
- },
- pblmReviewRowData: {
- default: ""
- },
- },
- components: {
- yongshuihu: yongshuihu,
- xiaoshuikuwenti: xiaoshuikuwenti,
- shuizha: shuizha,
- shuiyuandi: shuiyuandi,
- yinShuiGongCheng: yinShuiGongCheng,
- shuiyuandiNew: shuiyuandiNew,
- fenshuiJiGuankong: fenshuiJiGuankong,
- jieshuiGuanLi: jieshuiGuanLi,
- xiaoshuikuBiaozhunhua: xiaoshuikuBiaozhunhua,
- renyinZj: renyinZj,
- zhejiangqiangjianguan: zhejiangqiangjianguan,
- fanghong,
- renyinnew,
- yigongli,
- jieshuizaitifuhe: jieshuizaitifuhe,
- qushuixukeguanlifuhe: qushuixukeguanlifuhe,
- shuiziyuanguanlijieshuiguanli: shuiziyuanguanlijieshuiguanli,
- yijijiancedanwei,
- zhaotoubiao,
- dixiashuiyacai,
- aqscssjygk,
- difang,
- ncysaq,
- qsxk,
- xjtdjs,
- sxzbmaqscxj,
- hhzz,
- hhgl,
- ncysaqaf,
- bxzzqlaq,
- wxhxp,
- hbdxs,
- cbhsfy,
- shzhfy,
- shxf,
- skfhdd,
- ncysaqaf2021,
- xyjsxsh,
- slzjjdjc,
- ncysaqXjbt,
- fjsxzzf,
- xsd,
- pwuawiu,
- dws,
- xsksd,
- xsdyhgl,
- jhyshqsk,
- qyshqsqk
- },
- data() {
- return {
- dialogTableVisible: true,
- curComponent: "shuiyuandi"
- };
- },
- mounted: function () {
- if (this.villType == "1") {
- this.curComponent = "yongshuihu";
- } else if (this.villType == "2") {
- this.curComponent = "shuiyuandi";
- } else if (this.villType == "3") {
- this.curComponent = "yinShuiGongCheng";
- } else if (this.villType == "0") {
- this.curComponent = "xiaoshuikuwenti";
- } else if (this.villType == "7") {
- this.curComponent = "shuizha";
- } else if (this.villType == "13") {
- this.curComponent = "shuiyuandiNew";
- } else if (this.villType == "14") {
- this.curComponent = "fenshuiJiGuankong";
- } else if (this.villType == "15") {
- this.curComponent = "jieshuiGuanLi";
- } else if (this.villType == "24") {
- this.curComponent = "xiaoshuikuBiaozhunhua";
- } else if (this.objType == '25') {
- this.curComponent = 'renyinnew';
- } else if (this.objType == '26') {
- this.curComponent = 'fanghong';
- } else if (this.objType == '28') {
- this.curComponent = 'yigongli';
- } else if (this.villType == "41") {
- this.curComponent = "renyinZj";
- } else if (this.villType == "42") {
- this.curComponent = "zhejiangqiangjianguan";
- } else if (this.villType == "54") {
- this.curComponent = "jieshuizaitifuhe";
- } else if (this.villType == "55") {
- this.curComponent = "qushuixukeguanlifuhe";
- } else if (this.villType == "53") {
- this.curComponent = "shuiziyuanguanlijieshuiguanli";
- } else if (this.villType == "56") {
- this.curComponent = "shuiziyuanguanlijieshuiguanli";
- } else if (this.villType == "57") {
- this.curComponent = "qushuixukeguanlifuhe";
- } else if (this.villType == "62") {
- this.curComponent = "yijijiancedanwei";
- } else if (this.villType == "67") {
- this.curComponent = "zhaotoubiao";
- } else if (this.villType == "68") {
- this.curComponent = "xjtdjs";
- } else if (this.villType == "69") {
- this.curComponent = "aqscssjygk";
- } else if (this.villType == "70") {
- this.curComponent = "dixiashuiyacai";
- } else if (this.villType == "29") {
- this.curComponent = "difang";
- } else if (this.villType == "71") {
- this.curComponent = "ncysaq";
- } else if (this.villType == "72") {
- this.curComponent = "qsxk";
- }else if (this.objType == '73') {
- this.curComponent = 'xsd';
- }else if (this.villType == "75") {
- this.curComponent = "sxzbmaqscxj";
- }else if (this.villType == "76") {
- this.curComponent = "hhzz";
- }else if (this.villType == "77") {
- this.curComponent = "hhgl";
- }else if (this.villType == "79") {
- this.curComponent = "ncysaqaf";
- }else if (this.villType == "81") {
- this.curComponent = "bxzzqlaq";
- }else if (this.villType == "83") {
- this.curComponent = "wxhxp";
- }else if (this.villType == "89") {
- this.curComponent = "hbdxs";
- }else if (this.villType == "93") {
- this.curComponent = "cbhsfy";
- }else if (this.villType == "94") {
- this.curComponent = "shzhfy";
- }else if (this.villType == "95") {
- this.curComponent = "shxf";
- }else if (this.villType == "96") {
- this.curComponent = "skfhdd";
- }else if (this.villType == "97") {
- this.curComponent = "ncysaqaf2021";
- }else if (this.villType == "98") {
- this.curComponent = "slzjjdjc";
- }else if (this.villType == "101") {
- this.curComponent = "xyjsxsh";
- }else if (this.villType == "108") {
- this.curComponent = "ncysaqXjbt";
- }else if (this.villType == "110") {
- this.curComponent = "fjsxzzf";
- }else if (this.villType == "112") {
- this.curComponent = "pwuawiu";
- }else if(this.villType == "113"){
- this.curComponent = "dws";
- }else if(this.villType == "115"){
- this.curComponent = "xsksd";
- }else if(this.villType == "116"){
- this.curComponent = "xsdyhgl";
- }else if(this.villType == "120"){
- this.curComponent = "jhyshqsk";
- }else if(this.villType == "126"){
- this.curComponent = "qyshqsqk";
- }
- },
- methods: {
- dialogClose() {
- this.$emit("closeDialog");
- }
- }
- };
- </script>
- <style>
- .title {
- font-size: 16px;
- }
- .el-icon-edit {
- margin-right: 10px;
- }
- .customs_dialog .el-dialog {
- width: 40% !important;
- }
- .customs_dialog .el-dialog__body {
- padding: 30px 20px;
- color: #606266;
- font-size: 14px;
- height: 60vh;
- overflow: auto;
- }
- </style>
|