(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b8ef2"],{3197:function(l,e,a){"use strict";a.r(e);var o=function(){var l=this,e=l.$createElement,a=l._self._c||e;return a("a-spin",{attrs:{spinning:l.confirmLoading}},[a("j-form-container",{attrs:{disabled:l.formDisabled}},[a("a-form-model",{ref:"form",attrs:{slot:"detail",model:l.model,rules:l.validatorRules},slot:"detail"},[a("a-row",[a("a-col",{attrs:{span:12}},[a("a-form-model-item",{attrs:{label:"河流名称",labelCol:l.labelCol,wrapperCol:l.wrapperCol,prop:"hlmc"}},[a("j-popup",{attrs:{field:"hlmc","org-fields":"id,hdmc","dest-fields":"hlid,hlmc",code:"hllist",multi:!0},on:{input:l.popupCallback},model:{value:l.model.hlmc,callback:function(e){l.$set(l.model,"hlmc",e)},expression:"model.hlmc"}})],1)],1),a("a-col",{attrs:{span:12}},[a("a-form-model-item",{attrs:{label:"界址点号",labelCol:l.labelCol,wrapperCol:l.wrapperCol,prop:"jzdh"}},[a("a-input",{attrs:{placeholder:"请输入界址点号"},model:{value:l.model.jzdh,callback:function(e){l.$set(l.model,"jzdh",e)},expression:"model.jzdh"}})],1)],1),a("a-col",{attrs:{span:12}},[a("a-form-model-item",{attrs:{label:"横坐标",labelCol:l.labelCol,wrapperCol:l.wrapperCol,prop:"hzb"}},[a("a-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入横坐标"},model:{value:l.model.hzb,callback:function(e){l.$set(l.model,"hzb",e)},expression:"model.hzb"}})],1)],1),a("a-col",{attrs:{span:12}},[a("a-form-model-item",{attrs:{label:"纵坐标",labelCol:l.labelCol,wrapperCol:l.wrapperCol,prop:"zzb"}},[a("a-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入纵坐标"},model:{value:l.model.zzb,callback:function(e){l.$set(l.model,"zzb",e)},expression:"model.zzb"}})],1)],1),a("a-col",{attrs:{span:12}},[a("a-form-model-item",{attrs:{label:"高程",labelCol:l.labelCol,wrapperCol:l.wrapperCol,prop:"gc"}},[a("a-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入高程"},model:{value:l.model.gc,callback:function(e){l.$set(l.model,"gc",e)},expression:"model.gc"}})],1)],1),a("a-col",{attrs:{span:12}},[a("a-form-model-item",{attrs:{label:"岸别",labelCol:l.labelCol,wrapperCol:l.wrapperCol,prop:"ab"}},[a("j-dict-select-tag",{attrs:{type:"list",dictCode:"ab",placeholder:"请选择岸别"},model:{value:l.model.ab,callback:function(e){l.$set(l.model,"ab",e)},expression:"model.ab"}})],1)],1),a("a-col",{attrs:{span:12}},[a("a-form-model-item",{attrs:{label:"行政区划",labelCol:l.labelCol,wrapperCol:l.wrapperCol,prop:"xzqh"}},[a("j-area-linkage",{attrs:{type:"cascader",placeholder:"请输入省市区"},model:{value:l.model.xzqh,callback:function(e){l.$set(l.model,"xzqh",e)},expression:"model.xzqh"}})],1)],1),a("a-col",{attrs:{span:12}},[a("a-form-model-item",{attrs:{label:"备注",labelCol:l.labelCol,wrapperCol:l.wrapperCol,prop:"bz"}},[a("a-textarea",{attrs:{rows:"4",placeholder:"请输入备注"},model:{value:l.model.bz,callback:function(e){l.$set(l.model,"bz",e)},expression:"model.bz"}})],1)],1)],1)],1)],1)],1)},t=[],r=a("0fea"),s=(a("ca00"),{name:"RmJzdzbForm",components:{},props:{disabled:{type:Boolean,default:!1,required:!1}},data:function(){return{model:{},labelCol:{xs:{span:24},sm:{span:5}},wrapperCol:{xs:{span:24},sm:{span:16}},confirmLoading:!1,validatorRules:{},url:{add:"/hzz.hhhj.jzdzb/rmJzdzb/add",edit:"/hzz.hhhj.jzdzb/rmJzdzb/edit",queryById:"/hzz.hhhj.jzdzb/rmJzdzb/queryById"}}},computed:{formDisabled:function(){return this.disabled}},created:function(){this.modelDefault=JSON.parse(JSON.stringify(this.model))},methods:{add:function(){this.edit(this.modelDefault)},edit:function(l){this.model=Object.assign({},l),this.visible=!0},submitForm:function(){var l=this,e=this;this.$refs.form.validate((function(a){if(a){e.confirmLoading=!0;var o="",t="";l.model.id?(o+=l.url.edit,t="put"):(o+=l.url.add,t="post"),Object(r["h"])(o,l.model,t).then((function(l){l.success?(e.$message.success(l.message),e.$emit("ok")):e.$message.warning(l.message)})).finally((function(){e.confirmLoading=!1}))}}))},popupCallback:function(l,e){this.model=Object.assign(this.model,e)}}}),d=s,i=a("2877"),p=Object(i["a"])(d,o,t,!1,null,null,null);e["default"]=p.exports}}]);