{"version":3,"sources":["webpack:///./src/components/officialDoc/select.vue?5906","webpack:///./src/components/officialDoc/select.vue?b1ce","webpack:///./src/components/officialDoc/select.vue?a121","webpack:///./src/components/officialDoc/select.vue","webpack:///./src/components/heritageUnit/form/protectPlan/form.vue?9bd1","webpack:///./src/components/heritageUnit/form/protectPlan/project.vue?5f12","webpack:///./src/components/heritageUnit/form/protectPlan/project.vue?9223","webpack:///./src/components/heritageUnit/form/protectPlan/project.vue?e9a2","webpack:///./src/components/heritageUnit/form/protectPlan/project.vue","webpack:///./src/components/heritageUnit/form/protectPlan/form.vue?5638","webpack:///./src/components/heritageUnit/form/protectPlan/form.vue?8a24","webpack:///./src/components/heritageUnit/form/protectPlan/form.vue","webpack:///./src/api/officialDoc/doc.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","on","checkDoc","model","value","callback","$$v","docType","expression","_l","e","key","Key","attrs","Val","docYear","docNo","slot","_v","form","Id","_s","msg","_e","staticRenderFns","refTo","loading","typeList","yearList","guid","Object","assign","DocType","DocYear","toString","DocSerialNo","fetchDoc","byId","docId","then","response","data","f","$confirm","confirmButtonText","cancelButtonText","type","opt","DocNo","AttachType","AttachGuid","targetId","window","eventBus","$emit","catch","$message","message","getDoc","$on","info","fetchSource","$nextTick","$off","firstType","Select","length","category","m","CategoryName","DocCompileNo","DocTitle","default","component","showDialog","close","onSubmit","directives","name","rawName","ref","rules","expandNames","$set","yearMonth","PlanDocId","IsGovernmentPublish","GovernmentPublishDocId","schemeExt","AttachTypeText","AttachGuidText","onFileChange","AttachTypeDrawing","AttachGuidDrawing","AttachTypeAssessment","AttachGuidAssessment","onGalleryChange","AttachTypePicture","AttachGuidPicture","ProjectList","scopedSlots","_u","fn","addProject","scope","$event","editProject","$index","removeProject","closeProjectForm","DocId","getUnitBuiltProjectDoc","Specification","required","trigger","console","log","open","$refs","formData","resetFields","closeDialog","validate","valid","obj","sendData","components","FormDialog","DocSelector","PlanPhaseId","validator","ProtectionProjectName","OneLevelHeight","TwoLevelHeight","ThreeLevelHeight","hasText","hasDrawing","hasAssessment","hasPicture","planPhaseList","projectIndex","opts","hasFile","file","refType","list","files","hasFiles","item","ProtectPlanId","showProjectForm","index","splice","push","ProtectPlanStage","fetchData","updateProject","dataId","UnitId","unitId","error","promist","IsError","dangerouslyUseHTMLString","Message","PlanYear","PlanMonth","sp","split","UnitBuiltProjectForm","hspGallery","singleFile","apiUrl","GetInfo","id","GetByCheck","PostData","emptyData","PublicType","DocCategory","DocReleaseUnit","DocContent","Description","ApproveDate","Date","Inactive","NewUserId","NewDate","UpdateUserId","UpdateDate","PublicTypeName","DocTypeName","getByCheck","year","num","method","url","params","docNum","getInfo","postData"],"mappings":"oJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,YAAY,CAACG,GAAG,CAAC,OAASP,EAAIQ,UAAUC,MAAM,CAACC,MAAOV,EAAW,QAAEW,SAAS,SAAUC,GAAMZ,EAAIa,QAAQD,GAAKE,WAAW,YAAYd,EAAIe,GAAIf,EAAY,UAAE,SAASgB,GAAG,OAAOZ,EAAG,YAAY,CAACa,IAAID,EAAEE,IAAIC,MAAM,CAAC,MAAQH,EAAEI,IAAI,MAAQJ,EAAEE,UAAS,IAAI,GAAGd,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,YAAY,CAACG,GAAG,CAAC,OAASP,EAAIQ,UAAUC,MAAM,CAACC,MAAOV,EAAW,QAAEW,SAAS,SAAUC,GAAMZ,EAAIqB,QAAQT,GAAKE,WAAW,YAAYd,EAAIe,GAAIf,EAAY,UAAE,SAASgB,GAAG,OAAOZ,EAAG,YAAY,CAACa,IAAID,EAAEE,IAAIC,MAAM,CAAC,MAAQH,EAAEI,IAAI,MAAQ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ACnD,OAAO,eAAS,CACZC,OAAQ,MACRC,IAAKrB,EACLsB,OAAQ,CACJ9L,QAASuC,EACT/B,QAASkL,EACTK,OAAQJ,MAIPK,EAAU,SAACzB,GACpB,OAAO,eAAS,CACZqB,OAAQ,MACRC,IAAKvB,EAAQC,MAgBR0B,EAAW,SAACrL,GACrB,OAAO,eAAS,CACZgL,OAAQ,OACRC,IAAKpB,EACLvI,KAAMtB","file":"js/chunk-7c9b0a24.7eb2527d.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"select-doc\"},[_c('div',{staticClass:\"doc-col\"},[_c('el-select',{on:{\"change\":_vm.checkDoc},model:{value:(_vm.docType),callback:function ($$v) {_vm.docType=$$v},expression:\"docType\"}},_vm._l((_vm.typeList),function(e){return _c('el-option',{key:e.Key,attrs:{\"label\":e.Val,\"value\":e.Key}})}),1)],1),_c('div',{staticClass:\"doc-col\"},[_c('el-select',{on:{\"change\":_vm.checkDoc},model:{value:(_vm.docYear),callback:function ($$v) {_vm.docYear=$$v},expression:\"docYear\"}},_vm._l((_vm.yearList),function(e){return _c('el-option',{key:e.Key,attrs:{\"label\":e.Val,\"value\":e.Key}})}),1)],1),_c('div',{staticClass:\"doc-col\"},[_c('el-input',{on:{\"blur\":_vm.checkDoc},model:{value:(_vm.docNo),callback:function ($$v) {_vm.docNo=$$v},expression:\"docNo\"}},[_c('template',{slot:\"append\"},[_vm._v(\"号\")])],2)],1)]),(_vm.form.Id>0)?_c('div',{staticClass:\"doc-msg\"},[_vm._v(\"\\n \"+_vm._s(_vm.msg)+\"\\n \")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Watch, Prop } from 'vue-property-decorator'\r\nimport { getByCheck, getInfo, OfficialDocData, emptyData } from '@/api/officialDoc/doc'\r\nimport { tryToInt, newGuid } from '@/configs/functions'\r\nimport { enFirstType } from '@/configs/enums'\r\nimport { DDLItem, getOfficialDocTypes, getOfficialDocYears } from '@/api/common/select'\r\n\r\n@Component\r\nexport default class DocSelector extends Vue {\r\n //@docChange=\"getDoc\" getDoc(data:{ Id: number, Ref: string })\r\n @Prop({ default: 0 })\r\n public docId!: number\r\n //控件标识,在页面中多次使用时,通过refTo来判断\r\n @Prop({ default: '' })\r\n public refTo: string = ''\r\n\r\n public loading: boolean = false\r\n public typeList: DDLItem[] = []\r\n public yearList: DDLItem[] = []\r\n public guid: string = ''\r\n public form: OfficialDocData = Object.assign({}, emptyData)\r\n public docType: number = 0\r\n public docYear: number = 0\r\n public docNo: string = ''\r\n get msg(): string {\r\n let m = ''\r\n const f = this.form\r\n if (f.Id > 0) {\r\n m = f.CategoryName + ':' + f.DocCompileNo + ' ' + f.DocTitle\r\n }\r\n return m\r\n }\r\n public checkDoc() {\r\n if (this.docType > 0 && this.docYear > 0 && this.docNo != '') {\r\n this.form.DocType = this.docType\r\n this.form.DocYear = this.docYear.toString()\r\n this.form.DocSerialNo = this.docNo\r\n this.fetchDoc(false)\r\n }\r\n }\r\n public fetchDoc(byId: boolean) {\r\n this.loading = true\r\n if (byId) {\r\n getInfo(this.docId).then((response: { data: any }) => {\r\n this.form = response.data\r\n this.docType = this.form.DocType\r\n this.docYear = tryToInt(this.form.DocYear)\r\n this.docNo = this.form.DocSerialNo\r\n this.loading = false\r\n })\r\n }\r\n else {\r\n let f = this.form\r\n getByCheck(f.DocType, f.DocYear, f.DocSerialNo).then((response: { data: any }) => {\r\n f = response.data\r\n this.loading = false\r\n if (f.Id == 0) {\r\n this.$confirm('该批文不存在,是否要新增?', '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n }).then(() => {\r\n this.guid = newGuid()\r\n const opt = {\r\n DocType: this.docType,\r\n DocYear: this.docYear,\r\n DocNo: this.docNo,\r\n AttachType: f.AttachType,\r\n AttachGuid: f.AttachGuid,\r\n targetId: this.guid\r\n }\r\n window.eventBus.$emit('openOfficialDocForm', opt)\r\n }).catch(() => {\r\n this.$message({\r\n type: 'info',\r\n message: '已取消操作'\r\n })\r\n // this.form = Object.assign({}, emptyData)\r\n // this.docType = 0\r\n // this.docYear = 0\r\n this.form.DocSerialNo = this.docNo = ''\r\n })\r\n }\r\n else {\r\n this.form = f\r\n this.getDoc()\r\n }\r\n })\r\n }\r\n }\r\n public getDoc() {\r\n this.$emit('docChange', { data: this.form, refTo: this.refTo })\r\n }\r\n public mounted() {\r\n window.eventBus.$on('submitOfficialDocForm', (info: { targetId: string, data: OfficialDocData }) => {\r\n if (this.guid === info.targetId) {\r\n this.form = Object.assign({}, info.data)\r\n this.getDoc()\r\n }\r\n })\r\n window.eventBus.$on('cancelOfficialDocForm', (info: { targetId: string }) => {\r\n if (this.guid === info.targetId) {\r\n this.form.DocSerialNo = this.docNo = ''\r\n }\r\n })\r\n this.fetchSource()\r\n this.$nextTick(() => {\r\n if (this.docId > 0) {\r\n this.fetchDoc(true)\r\n }\r\n })\r\n\r\n //延迟查询\r\n // setTimeout(() => {\r\n // console.log('setTimeout', new Date(), this.docId)\r\n // if (this.docId > 0) {\r\n // this.fetchDoc(true)\r\n // }\r\n // }, 50)\r\n }\r\n public beforeDestroy() {\r\n window.eventBus.$off('submitOfficialDocForm')\r\n window.eventBus.$off('cancelOfficialDocForm')\r\n }\r\n public fetchSource() {\r\n const firstType = enFirstType.Select\r\n if (this.typeList.length === 0) {\r\n //category 0.所有批文 1.立项批文Resvered_Flag1=true,2.批复/意见文号(Resvered_Flag2=true 冀文物发、文物保函、办保函)\r\n const category = 0\r\n getOfficialDocTypes(category, firstType).then((response: { data: any }) => {\r\n const data = response.data\r\n if (data) {\r\n this.typeList = data\r\n }\r\n })\r\n }\r\n if (this.yearList.length === 0) {\r\n getOfficialDocYears(firstType).then((response: { data: any }) => {\r\n const data = response.data\r\n if (data) {\r\n this.yearList = data\r\n }\r\n })\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./select.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./select.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./select.vue?vue&type=template&id=21a44b6b&scoped=true&\"\nimport script from \"./select.vue?vue&type=script&lang=ts&\"\nexport * from \"./select.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"21a44b6b\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('form-dialog',{attrs:{\"size\":\"max\",\"title\":\"保护规划\",\"visible\":_vm.showDialog,\"close\":_vm.close,\"submit\":_vm.onSubmit}},[_c('el-form',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"formData\",staticClass:\"controls-height form-table\",attrs:{\"model\":_vm.form,\"label-width\":\"200px\",\"status-icon\":\"\",\"rules\":_vm.rules}},[_c('el-collapse',{model:{value:(_vm.expandNames),callback:function ($$v) {_vm.expandNames=$$v},expression:\"expandNames\"}},[_c('el-collapse-item',{attrs:{\"name\":\"base\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 基本信息\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"保护区域文物名称\",\"prop\":\"PlanLocationName\"}},[_c('el-input',{model:{value:(_vm.form.PlanLocationName),callback:function ($$v) {_vm.$set(_vm.form, \"PlanLocationName\", $$v)},expression:\"form.PlanLocationName\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"编制阶段\",\"prop\":\"PlanPhaseId\"}},[_c('el-select',{attrs:{\"placeholder\":\"\"},model:{value:(_vm.form.PlanPhaseId),callback:function ($$v) {_vm.$set(_vm.form, \"PlanPhaseId\", $$v)},expression:\"form.PlanPhaseId\"}},_vm._l((_vm.planPhaseList),function(e){return _c('el-option',{key:e.Key,attrs:{\"label\":e.Val,\"value\":e.Key}})}),1)],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"项目名称\",\"prop\":\"ProtectionProjectName\"}},[_c('el-input',{model:{value:(_vm.form.ProtectionProjectName),callback:function ($$v) {_vm.$set(_vm.form, \"ProtectionProjectName\", $$v)},expression:\"form.ProtectionProjectName\"}})],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"开始年月\",\"prop\":\"YearMonth\"}},[_c('el-date-picker',{attrs:{\"value-format\":\"yyyy-MM\",\"type\":\"month\"},model:{value:(_vm.yearMonth),callback:function ($$v) {_vm.yearMonth=$$v},expression:\"yearMonth\"}})],1)],1)],1),(!_vm.loading)?_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"批准文件\",\"prop\":\"DocId\"}},[_c('doc-selector',{attrs:{\"docId\":_vm.form.PlanDocId,\"refTo\":\"plan\"},on:{\"docChange\":_vm.getDoc}})],1)],1)],1):_vm._e(),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":7}},[_c('el-form-item',{attrs:{\"label\":\"国家补助经费\",\"prop\":\"PlanNationFund\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":1},model:{value:(_vm.form.PlanNationFund),callback:function ($$v) {_vm.$set(_vm.form, \"PlanNationFund\", $$v)},expression:\"form.PlanNationFund\"}})],1)],1),_c('el-col',{attrs:{\"span\":7}},[_c('el-form-item',{attrs:{\"label\":\"省级拨款\",\"prop\":\"PlanProvinceFund\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":1},model:{value:(_vm.form.PlanProvinceFund),callback:function ($$v) {_vm.$set(_vm.form, \"PlanProvinceFund\", $$v)},expression:\"form.PlanProvinceFund\"}})],1)],1),_c('el-col',{attrs:{\"span\":7}},[_c('el-form-item',{attrs:{\"label\":\"地方配套经费\",\"prop\":\"PlanPlaceFund\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":1},model:{value:(_vm.form.PlanPlaceFund),callback:function ($$v) {_vm.$set(_vm.form, \"PlanPlaceFund\", $$v)},expression:\"form.PlanPlaceFund\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":20}},[_c('el-form-item',{attrs:{\"label\":\"是否报请省政府公布\",\"prop\":\"IsGovernmentPublish\"}},[_c('el-radio',{attrs:{\"label\":true},model:{value:(_vm.form.IsGovernmentPublish),callback:function ($$v) {_vm.$set(_vm.form, \"IsGovernmentPublish\", $$v)},expression:\"form.IsGovernmentPublish\"}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":false},model:{value:(_vm.form.IsGovernmentPublish),callback:function ($$v) {_vm.$set(_vm.form, \"IsGovernmentPublish\", $$v)},expression:\"form.IsGovernmentPublish\"}},[_vm._v(\"否\")])],1)],1)],1),(!_vm.loading&&_vm.form.IsGovernmentPublish)?_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"省政府批文\",\"prop\":\"PublishDocId\"}},[_c('doc-selector',{attrs:{\"docId\":_vm.form.GovernmentPublishDocId,\"refTo\":\"publish\"},on:{\"docChange\":_vm.getDoc}})],1)],1)],1):_vm._e(),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"规划编制单位\",\"prop\":\"PlanComplieUnit\"}},[_c('el-input',{model:{value:(_vm.form.PlanComplieUnit),callback:function ($$v) {_vm.$set(_vm.form, \"PlanComplieUnit\", $$v)},expression:\"form.PlanComplieUnit\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"保护规划文本\",\"prop\":\"attText\"}},[(!_vm.loading)?_c('single-file',{ref:\"sfText\",attrs:{\"fileExt\":_vm.schemeExt,\"referId\":_vm.form.Id,\"referType\":_vm.form.AttachTypeText,\"tempGuid\":_vm.form.AttachGuidText},on:{\"fileChange\":_vm.onFileChange}}):_vm._e()],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"保护规划图纸\",\"prop\":\"attDrawing\"}},[(!_vm.loading)?_c('single-file',{ref:\"sfDrawing\",attrs:{\"fileExt\":_vm.schemeExt,\"referId\":_vm.form.Id,\"referType\":_vm.form.AttachTypeDrawing,\"tempGuid\":_vm.form.AttachGuidDrawing},on:{\"fileChange\":_vm.onFileChange}}):_vm._e()],1)],1)],1)],1)],2),_c('el-collapse-item',{attrs:{\"name\":\"protection\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 保护范围\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"面积(规划前)\",\"prop\":\"ProtectionArea\"}},[_c('el-input',{model:{value:(_vm.form.ProtectionArea),callback:function ($$v) {_vm.$set(_vm.form, \"ProtectionArea\", $$v)},expression:\"form.ProtectionArea\"}},[_c('template',{slot:\"append\"},[_vm._v(\"平方米\")])],2)],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"边界(规划前)\",\"prop\":\"ProtectionBoundary\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.ProtectionBoundary),callback:function ($$v) {_vm.$set(_vm.form, \"ProtectionBoundary\", $$v)},expression:\"form.ProtectionBoundary\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"面积(规划后)\",\"prop\":\"ProtectionAreaAfter\"}},[_c('el-input',{model:{value:(_vm.form.ProtectionAreaAfter),callback:function ($$v) {_vm.$set(_vm.form, \"ProtectionAreaAfter\", $$v)},expression:\"form.ProtectionAreaAfter\"}},[_c('template',{slot:\"append\"},[_vm._v(\"平方米\")])],2)],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"边界(规划后)\",\"prop\":\"ProtectionBoundaryAfter\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.ProtectionBoundaryAfter),callback:function ($$v) {_vm.$set(_vm.form, \"ProtectionBoundaryAfter\", $$v)},expression:\"form.ProtectionBoundaryAfter\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"管理规定\",\"prop\":\"ProtectionManageRule\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.ProtectionManageRule),callback:function ($$v) {_vm.$set(_vm.form, \"ProtectionManageRule\", $$v)},expression:\"form.ProtectionManageRule\"}})],1)],1)],1)],1)],2),_c('el-collapse-item',{attrs:{\"name\":\"monitoring\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 建控地带\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"面积(规划前)\",\"prop\":\"MonitoringArea\"}},[_c('el-input',{model:{value:(_vm.form.MonitoringArea),callback:function ($$v) {_vm.$set(_vm.form, \"MonitoringArea\", $$v)},expression:\"form.MonitoringArea\"}},[_c('template',{slot:\"append\"},[_vm._v(\"平方米\")])],2)],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"边界(规划前)\",\"prop\":\"PlanMonitoringBoundary\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.PlanMonitoringBoundary),callback:function ($$v) {_vm.$set(_vm.form, \"PlanMonitoringBoundary\", $$v)},expression:\"form.PlanMonitoringBoundary\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"面积(规划后)\",\"prop\":\"MonitoringAreaAfter\"}},[_c('el-input',{model:{value:(_vm.form.MonitoringAreaAfter),callback:function ($$v) {_vm.$set(_vm.form, \"MonitoringAreaAfter\", $$v)},expression:\"form.MonitoringAreaAfter\"}},[_c('template',{slot:\"append\"},[_vm._v(\"平方米\")])],2)],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"边界(规划后)\",\"prop\":\"MonitoringBoundaryAfter\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.MonitoringBoundaryAfter),callback:function ($$v) {_vm.$set(_vm.form, \"MonitoringBoundaryAfter\", $$v)},expression:\"form.MonitoringBoundaryAfter\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"管理规定\",\"prop\":\"MonitoringManageRule\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.MonitoringManageRule),callback:function ($$v) {_vm.$set(_vm.form, \"MonitoringManageRule\", $$v)},expression:\"form.MonitoringManageRule\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":12}},[_c('el-form-item',{attrs:{\"label\":\"建控地带类别\",\"prop\":\"MonitoringLevel\"}},[_c('el-checkbox',{attrs:{\"label\":\"一类\"},model:{value:(_vm.form.OneLevelChecked),callback:function ($$v) {_vm.$set(_vm.form, \"OneLevelChecked\", $$v)},expression:\"form.OneLevelChecked\"}}),_c('el-checkbox',{attrs:{\"label\":\"二类\"},model:{value:(_vm.form.TwoLevelChecked),callback:function ($$v) {_vm.$set(_vm.form, \"TwoLevelChecked\", $$v)},expression:\"form.TwoLevelChecked\"}}),_c('el-checkbox',{attrs:{\"label\":\"三类\"},model:{value:(_vm.form.ThreeLevelChecked),callback:function ($$v) {_vm.$set(_vm.form, \"ThreeLevelChecked\", $$v)},expression:\"form.ThreeLevelChecked\"}}),_c('el-checkbox',{attrs:{\"label\":\"未分类\"},model:{value:(_vm.form.NoLevelChecked),callback:function ($$v) {_vm.$set(_vm.form, \"NoLevelChecked\", $$v)},expression:\"form.NoLevelChecked\"}}),_c('el-checkbox',{attrs:{\"label\":\"其他\"},model:{value:(_vm.form.OtherLevelChecked),callback:function ($$v) {_vm.$set(_vm.form, \"OtherLevelChecked\", $$v)},expression:\"form.OtherLevelChecked\"}})],1)],1),(_vm.form.OtherLevelChecked)?_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"其他\",\"prop\":\"OtherLevelName\"}},[_c('el-input',{model:{value:(_vm.form.OtherLevelName),callback:function ($$v) {_vm.$set(_vm.form, \"OtherLevelName\", $$v)},expression:\"form.OtherLevelName\"}})],1)],1):_vm._e()],1)],1)],2),(_vm.form.OneLevelChecked)?_c('el-collapse-item',{attrs:{\"name\":\"oneLevel\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 一类\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"建筑控制高度\",\"prop\":\"OneLevelHeight\"}},[_c('el-input',{model:{value:(_vm.form.OneLevelHeight),callback:function ($$v) {_vm.$set(_vm.form, \"OneLevelHeight\", $$v)},expression:\"form.OneLevelHeight\"}},[_c('template',{slot:\"append\"},[_vm._v(\"米\")])],2)],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"容积率\",\"prop\":\"OneLevelPlotRatio\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":1},model:{value:(_vm.form.OneLevelPlotRatio),callback:function ($$v) {_vm.$set(_vm.form, \"OneLevelPlotRatio\", $$v)},expression:\"form.OneLevelPlotRatio\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"其他控制指标\",\"prop\":\"OneLevelOther\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.OneLevelOther),callback:function ($$v) {_vm.$set(_vm.form, \"OneLevelOther\", $$v)},expression:\"form.OneLevelOther\"}})],1)],1)],1)],1)],2):_vm._e(),(_vm.form.TwoLevelChecked)?_c('el-collapse-item',{attrs:{\"name\":\"twoLevel\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 二类\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"建筑控制高度\",\"prop\":\"TwoLevelHeight\"}},[_c('el-input',{model:{value:(_vm.form.TwoLevelHeight),callback:function ($$v) {_vm.$set(_vm.form, \"TwoLevelHeight\", $$v)},expression:\"form.TwoLevelHeight\"}},[_c('template',{slot:\"append\"},[_vm._v(\"米\")])],2)],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"容积率\",\"prop\":\"TwoLevelPlotRatio\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":1},model:{value:(_vm.form.TwoLevelPlotRatio),callback:function ($$v) {_vm.$set(_vm.form, \"TwoLevelPlotRatio\", $$v)},expression:\"form.TwoLevelPlotRatio\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"其他控制指标\",\"prop\":\"TwoLevelOther\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.TwoLevelOther),callback:function ($$v) {_vm.$set(_vm.form, \"TwoLevelOther\", $$v)},expression:\"form.TwoLevelOther\"}})],1)],1)],1)],1)],2):_vm._e(),(_vm.form.ThreeLevelChecked)?_c('el-collapse-item',{attrs:{\"name\":\"threeLevel\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 三类\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"建筑控制高度\",\"prop\":\"ThreeLevelHeight\"}},[_c('el-input',{model:{value:(_vm.form.ThreeLevelHeight),callback:function ($$v) {_vm.$set(_vm.form, \"ThreeLevelHeight\", $$v)},expression:\"form.ThreeLevelHeight\"}},[_c('template',{slot:\"append\"},[_vm._v(\"米\")])],2)],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"容积率\",\"prop\":\"ThreeLevelPlotRatio\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":1},model:{value:(_vm.form.ThreeLevelPlotRatio),callback:function ($$v) {_vm.$set(_vm.form, \"ThreeLevelPlotRatio\", $$v)},expression:\"form.ThreeLevelPlotRatio\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"其他控制指标\",\"prop\":\"ThreeLevelOther\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.ThreeLevelOther),callback:function ($$v) {_vm.$set(_vm.form, \"ThreeLevelOther\", $$v)},expression:\"form.ThreeLevelOther\"}})],1)],1)],1)],1)],2):_vm._e(),_c('el-collapse-item',{attrs:{\"name\":\"attAssessment\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 专家评估图\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":24}},[(!_vm.loading)?_c('hsp-gallery',{ref:\"gyAssessment\",attrs:{\"referId\":_vm.form.Id,\"referType\":_vm.form.AttachTypeAssessment,\"tempGuid\":_vm.form.AttachGuidAssessment},on:{\"galleryChange\":_vm.onGalleryChange}}):_vm._e()],1)],1)],1)],2),_c('el-collapse-item',{attrs:{\"name\":\"attPicture\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 专项规划图\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":24}},[(!_vm.loading)?_c('hsp-gallery',{ref:\"gyPicture\",attrs:{\"referId\":_vm.form.Id,\"referType\":_vm.form.AttachTypePicture,\"tempGuid\":_vm.form.AttachGuidPicture},on:{\"galleryChange\":_vm.onGalleryChange}}):_vm._e()],1)],1)],1)],2),_c('el-collapse-item',{attrs:{\"name\":\"projects\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 建设项目\\n \")]),_c('div',[_c('el-row',{staticClass:\"view-form\",attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"是否有建设项目\",\"prop\":\"HaveProject\"}},[_c('el-radio',{attrs:{\"label\":true},model:{value:(_vm.form.HaveProject),callback:function ($$v) {_vm.$set(_vm.form, \"HaveProject\", $$v)},expression:\"form.HaveProject\"}},[_vm._v(\"是\")]),_c('el-radio',{attrs:{\"label\":false},model:{value:(_vm.form.HaveProject),callback:function ($$v) {_vm.$set(_vm.form, \"HaveProject\", $$v)},expression:\"form.HaveProject\"}},[_vm._v(\"否\")])],1)],1)],1),(_vm.form.HaveProject)?_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":24}},[_c('el-table',{ref:\"tbList\",attrs:{\"data\":_vm.form.ProjectList}},[_c('el-table-column',{attrs:{\"prop\":\"DocNo\",\"label\":\"批文\"}}),_c('el-table-column',{attrs:{\"prop\":\"Specification\",\"label\":\"所建项目\",\"width\":\"\"}}),_c('el-table-column',{attrs:{\"class-name\":\"action\",\"label\":\"操作\",\"width\":\"100\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"header\",fn:function(ref){return [_c('el-tooltip',{attrs:{\"content\":\"添加\",\"placement\":\"top\"}},[_c('a',{on:{\"click\":_vm.addProject}},[_c('i',{staticClass:\"iconfont icon-btn-add\"})])])]}},{key:\"default\",fn:function(scope){return [_c('el-tooltip',{attrs:{\"content\":\"修改\",\"placement\":\"top\"}},[_c('a',{on:{\"click\":function($event){return _vm.editProject(scope.$index)}}},[_c('i',{staticClass:\"iconfont icon-pen-edit\"})])]),_c('el-tooltip',{attrs:{\"content\":\"删除\",\"placement\":\"top\"}},[_c('a',{on:{\"click\":function($event){return _vm.removeProject(scope.$index)}}},[_c('i',{staticClass:\"iconfont icon-trash\"})])])]}}],null,false,4125214583)},[_c('span')])],1)],1)],1):_vm._e()],1)],2)],1)],1)],1),_c('unit-built-project-form',{ref:\"projectCtrl\",attrs:{\"closeDialog\":_vm.closeProjectForm}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form-dialog',{attrs:{\"title\":\"建设项目\",\"size\":\"medium\",\"visible\":_vm.showDialog,\"close\":_vm.close,\"submit\":_vm.onSubmit}},[_c('el-form',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],ref:\"formData\",attrs:{\"model\":_vm.form,\"label-width\":\"120px\",\"status-icon\":\"\",\"rules\":_vm.rules}},[_c('el-collapse',{attrs:{\"value\":\"base\"}},[_c('el-collapse-item',{attrs:{\"name\":\"base\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-collapse-plus-minus\"}),_vm._v(\" 建设项目\\n \")]),_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"批文\",\"prop\":\"DocId\",\"required\":\"\"}},[(!_vm.loading)?_c('doc-selector',{attrs:{\"docId\":_vm.form.DocId},on:{\"docChange\":_vm.getUnitBuiltProjectDoc}}):_vm._e()],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"所建项目\",\"prop\":\"Specification\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.Specification),callback:function ($$v) {_vm.$set(_vm.form, \"Specification\", $$v)},expression:\"form.Specification\"}})],1)],1)],1)],1)],2)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Element from 'element-ui'\r\nimport { Component, Vue, Watch, Prop } from 'vue-property-decorator'\r\nimport {\r\n UnitBuiltProjectData,\r\n emptyProject\r\n} from '@/api/heritageUnit/unitProtectPlan'\r\nimport { validateIntKey, validateLngLat, showVaildMsg } from '@/configs/validate'\r\nimport { OfficialDocData } from '@/api/officialDoc/doc'\r\nimport DocSelector from '@/components/officialDoc/select.vue'\r\nimport FormDialog from '@/components/dialog/formDialog.vue'\r\n\r\nconst getFormRules = (form: { [key: string]: string }) => {\r\n return {\r\n // DocId: [\r\n // { required: true, message: '请输入所建项目', trigger: 'blur' }\r\n // ],\r\n Specification: [\r\n { required: true, message: '请输入所建项目', trigger: 'blur' }\r\n ]\r\n }\r\n}\r\n@Component({\r\n components: { FormDialog, DocSelector }\r\n})\r\nexport default class UnitBuiltProjectForm extends Vue {\r\n public name = 'UnitBuiltProjectForm'\r\n // 关闭窗口,在 dialog 的 :before-close属性中触发,然后调用父级中的方法\r\n @Prop({ default: null })\r\n public closeDialog!: () => void\r\n public showDialog: boolean = false\r\n\r\n public loading: boolean = true\r\n public form: UnitBuiltProjectData = Object.assign({}, emptyProject)\r\n public rules = getFormRules(this.form)\r\n public $refs!: {\r\n formData: Element.Form\r\n }\r\n public getUnitBuiltProjectDoc(info: { data: OfficialDocData; refTo: string }) {\r\n console.log(info)\r\n const data = info.data\r\n this.form.DocId = data.Id\r\n this.form.DocNo = data.DocCompileNo\r\n }\r\n public created() { }\r\n public mounted() {\r\n window.eventBus.$on(\r\n 'openUnitBuiltProjectForm',\r\n (data: UnitBuiltProjectData) => {\r\n this.loading = true\r\n this.open()\r\n this.form = Object.assign({}, data)\r\n this.loading = false\r\n }\r\n )\r\n }\r\n public beforeDestroy() {\r\n window.eventBus.$off('openUnitBuiltProjectForm')\r\n }\r\n public open() {\r\n this.showDialog = true\r\n }\r\n public close() {\r\n this.loading = true\r\n this.showDialog = false\r\n this.$refs.formData.resetFields()\r\n if (this.closeDialog) {\r\n this.closeDialog()\r\n }\r\n }\r\n public sendData(data: UnitBuiltProjectData) {\r\n console.log('submitUnitBuiltProjectForm', data)\r\n window.eventBus.$emit('submitUnitBuiltProjectForm', data)\r\n }\r\n public onSubmit() {\r\n const f = Object.assign({}, this.form)\r\n if (f.DocId == 0) {\r\n this.$message({\r\n type: 'warning',\r\n message: '请选择批文'\r\n })\r\n return false\r\n }\r\n this.$refs.formData.validate((valid: boolean, obj: any) => {\r\n if (valid) {\r\n this.sendData(f)\r\n this.close()\r\n } else {\r\n showVaildMsg(this.$message, obj)\r\n }\r\n })\r\n }\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./project.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./project.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./project.vue?vue&type=template&id=9418da84&scoped=true&\"\nimport script from \"./project.vue?vue&type=script&lang=ts&\"\nexport * from \"./project.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9418da84\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Element from 'element-ui'\r\nimport { Component, Vue, Prop } from 'vue-property-decorator'\r\nimport { UnitProtectPlanData, emptyData, UnitBuiltProjectData, emptyProject, getInfo, postData, putData } from '@/api/heritageUnit/unitProtectPlan'\r\nimport { getLookupByType, DDLItem } from '@/api/common/select'\r\nimport { enFirstType, enLookupType } from '@/configs/enums'\r\nimport { validateIntKey, showVaildMsg } from '@/configs/validate'\r\nimport { tryToInt } from '@/configs/functions'\r\nimport { OfficialDocData } from '@/api/officialDoc/doc'\r\nimport { UploadOptData } from '@/api/common/upload'\r\nimport { AttachInfo } from '@/api/common/attach'\r\nimport hspGallery from '@/components/upload/gallery.vue'\r\nimport singleFile from '@/components/upload/singleFile.vue'\r\nimport { schemeFormat } from '@/configs/fileTypes'\r\nimport DocSelector from '@/components/officialDoc/select.vue'\r\nimport UnitBuiltProjectForm from './project.vue'\r\nimport FormDialog from '@/components/dialog/formDialog.vue'\r\n\r\nconst getFormRules = (form: { [key: string]: string }) => {\r\n return {\r\n PlanPhaseId: [{ required: true, validator: validateIntKey('请选择编制阶段'), trigger: 'change' }],\r\n ProtectionProjectName: [{ required: true, message: '请输入项目名称', trigger: 'blur' }],\r\n OneLevelHeight: [{ required: true, message: '请输入一类建筑控制高度', trigger: 'blur' }],\r\n TwoLevelHeight: [{ required: true, message: '请输入二类建筑控制高度', trigger: 'blur' }],\r\n ThreeLevelHeight: [{ required: true, message: '请输入三类建筑控制高度', trigger: 'blur' }],\r\n }\r\n}\r\n@Component({\r\n components: { FormDialog, UnitBuiltProjectForm, DocSelector, hspGallery, singleFile }\r\n})\r\nexport default class UnitProtectPlanForm extends Vue {\r\n public name = 'UnitProtectPlanForm'\r\n // 关闭窗口,在 dialog 的 :before-close属性中触发,然后调用父级中的方法\r\n @Prop({ default: null })\r\n public closeDialog!: () => void\r\n public showDialog: boolean = false\r\n\r\n public expandNames: string[] = ['base', 'projects']//, 'protection', 'monitoring', 'oneLevel', 'twoLevel', 'threeLevel']\r\n // get haveProject(): boolean {\r\n // const has = this.form.HaveProject\r\n // return has\r\n // }\r\n // set haveProject(has: boolean) {\r\n // const index = this.expandNames.findIndex((v: string) => v === 'projects')\r\n // if (index > -1) {\r\n // this.expandNames.splice(index, 1)\r\n // }\r\n // if (has) {\r\n // this.expandNames.push('projects')\r\n // }\r\n // this.form.HaveProject = has\r\n // }\r\n public loading: boolean = false\r\n public schemeExt: string = schemeFormat\r\n //保护规划文本\r\n public hasText: boolean = false\r\n //保护规划图纸\r\n public hasDrawing: boolean = false\r\n //专项评估图\r\n public hasAssessment: boolean = false\r\n //专项规划图\r\n public hasPicture: boolean = false\r\n public planPhaseList: DDLItem[] = []\r\n public form: UnitProtectPlanData = Object.assign({}, emptyData)\r\n public rules = getFormRules(this.form)\r\n public $refs!: {\r\n formData: Element.Form\r\n sfText: singleFile\r\n sfDrawing: singleFile\r\n gyAssessment: hspGallery\r\n gyPicture: hspGallery\r\n }\r\n get yearMonth(): string {\r\n const f = this.form\r\n var data = ''\r\n if (f.PlanYear > 0 && f.PlanMonth > 0) {\r\n data = f.PlanYear.toString() + '-' + f.PlanMonth.toString()\r\n }\r\n return data\r\n }\r\n set yearMonth(data: string) {\r\n const f = this.form\r\n if (data != '') {\r\n let sp = data.split('-')\r\n f.PlanYear = tryToInt(sp[0])\r\n f.PlanMonth = tryToInt(sp[1])\r\n }\r\n else {\r\n f.PlanYear = f.PlanMonth = 0\r\n }\r\n }\r\n public onFileChange(data: { opts: UploadOptData, file: AttachInfo }) {\r\n const opt = data.opts\r\n const hasFile = data.file.Id > 0\r\n const f = this.form\r\n switch (opt.refType) {\r\n case f.AttachTypeText:\r\n this.hasText = hasFile\r\n break\r\n case f.AttachTypeDrawing:\r\n this.hasDrawing = hasFile\r\n break\r\n default:\r\n break\r\n }\r\n }\r\n public onGalleryChange(data: { opts: UploadOptData, files: AttachInfo[] }) {\r\n const list = data.files\r\n const hasFiles = list && list.length > 0\r\n const opt = data.opts\r\n const f = this.form\r\n switch (opt.refType) {\r\n case f.AttachTypeAssessment:\r\n this.hasAssessment = hasFiles\r\n break\r\n case f.AttachTypePicture:\r\n this.hasPicture = hasFiles\r\n break\r\n default:\r\n break\r\n }\r\n }\r\n public getDoc(info: { data: OfficialDocData, refTo: string }) {\r\n const docId = info.data.Id\r\n if (info.refTo === 'plan') {\r\n this.form.PlanDocId = docId\r\n }\r\n if (info.refTo === 'publish') {\r\n this.form.GovernmentPublishDocId = docId\r\n }\r\n }\r\n public addProject() {\r\n let item: UnitBuiltProjectData = Object.assign({}, emptyProject)\r\n item.ProtectPlanId = this.form.Id\r\n this.projectIndex = -1\r\n this.showProjectForm(item)\r\n }\r\n public projectIndex: number = -1\r\n public editProject(index: number) {\r\n this.projectIndex = index\r\n const item = this.form.ProjectList[index]\r\n this.showProjectForm(item)\r\n }\r\n public removeProject(index: number) {\r\n this.$confirm(`确定要删除吗?`, '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n })\r\n .then(() => {\r\n this.form.ProjectList.splice(index, 1)\r\n })\r\n .catch(() => {\r\n this.$message({\r\n type: 'info',\r\n message: '操作已取消'\r\n })\r\n })\r\n }\r\n public showProjectForm(data: UnitBuiltProjectData) {\r\n window.eventBus.$emit('openUnitBuiltProjectForm', data)\r\n }\r\n public closeProjectForm() {\r\n console.log('closeUnitBuiltProjectForm')\r\n }\r\n public updateProject(data: UnitBuiltProjectData) {\r\n if (this.projectIndex >= 0) {\r\n this.$set(this.form.ProjectList, this.projectIndex, data)\r\n }\r\n else {\r\n this.form.ProjectList.push(data)\r\n }\r\n this.projectIndex = -1\r\n }\r\n public created() {\r\n }\r\n public fetchSource() {\r\n const firstType = enFirstType.Select\r\n if (this.planPhaseList.length === 0) {\r\n getLookupByType(enLookupType.ProtectPlanStage, firstType).then((response: { data: any }) => {\r\n const data = response.data\r\n if (data) {\r\n this.planPhaseList = data\r\n }\r\n })\r\n }\r\n }\r\n public mounted() {\r\n window.eventBus.$on(\"openUnitProtectPlanForm\", (info: { unitId: number, dataId: number }) => {\r\n this.expandNames = ['base', 'projects']\r\n this.fetchSource()\r\n this.fetchData(info)\r\n })\r\n window.eventBus.$on('submitUnitBuiltProjectForm', (data: UnitBuiltProjectData) => {\r\n this.updateProject(data)\r\n })\r\n }\r\n public beforeDestroy() {\r\n window.eventBus.$off(\"openUnitProtectPlanForm\")\r\n window.eventBus.$off('submitUnitBuiltProjectForm')\r\n }\r\n public open() {\r\n this.showDialog = true\r\n }\r\n public close() {\r\n this.showDialog = false\r\n this.$refs.formData.resetFields()\r\n if (this.closeDialog) {\r\n this.closeDialog()\r\n }\r\n }\r\n public fetchData(info: { unitId: number, dataId: number }) {\r\n this.open()\r\n this.form = Object.assign({}, emptyData)\r\n this.loading = true\r\n getInfo(info.dataId).then((response: { data: any }) => {\r\n this.form = response.data\r\n if (info.dataId === 0) {\r\n this.form.UnitId = info.unitId\r\n }\r\n this.loading = false\r\n }).catch((error: any) => {\r\n console.log(error)\r\n })\r\n }\r\n public sendData(data: UnitProtectPlanData) {\r\n window.eventBus.$emit(\"submitUnitProtectPlanForm\", {\r\n data: data\r\n })\r\n }\r\n public onSubmit() {\r\n this.$refs.formData.validate((valid: boolean, obj: any) => {\r\n if (valid) {\r\n const f = Object.assign({}, this.form)\r\n const promist = f.Id > 0 ? putData(f.Id, f) : postData(f)\r\n promist.then((response: { data: any }) => {\r\n const data = response.data\r\n const msg = this.form.Id > 0 ? '保存' : '创建'\r\n if (data && !data.IsError) {\r\n this.$message({\r\n message: `${msg}成功`,\r\n type: 'success'\r\n })\r\n this.sendData(f)\r\n this.close()\r\n } else {\r\n this.$message({\r\n dangerouslyUseHTMLString: true, message: `${data.Message}`,\r\n type: 'warning'\r\n })\r\n console.log(response)\r\n }\r\n }, (data: any) => {\r\n console.log(data)\r\n })\r\n }\r\n else {\r\n showVaildMsg(this.$message, obj)\r\n }\r\n })\r\n }\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./form.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./form.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./form.vue?vue&type=template&id=d2d51106&scoped=true&\"\nimport script from \"./form.vue?vue&type=script&lang=ts&\"\nexport * from \"./form.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d2d51106\",\n null\n \n)\n\nexport default component.exports","import { tryAxios } from '@/api/common/auth'\r\nimport { urlPrefix } from '@/configs/api'\r\n\r\nconst apiUrl = `${urlPrefix}/OfficialDoc`\r\n//#region select数据源相关api\r\nconst GetInfo = (id: number) => `${apiUrl}/${id}`\r\nconst GetList = `${apiUrl}`\r\nconst Delete = (id: number) => `${apiUrl}/${id}`\r\nconst GetByCheck = `${apiUrl}/GetByCheck`\r\nconst PostData = `${apiUrl}`\r\n//#endregion\r\n\r\nexport const emptyData: OfficialDocData = {\r\n Id: 0,\r\n PublicType: 0,\r\n DocType: 0,\r\n DocYear: '',\r\n DocSerialNo: '',\r\n DocCategory: 0,\r\n DocTitle: '',\r\n DocCompileNo: '',\r\n DocReleaseUnit:0,\r\n DocContent: '',\r\n Description: '',\r\n ApproveDate: new Date(),\r\n Inactive: false,\r\n NewUserId: 0,\r\n NewDate: new Date(),\r\n UpdateUserId: 0,\r\n UpdateDate: new Date(),\r\n\r\n PublicTypeName: '',\r\n DocTypeName: '',\r\n CategoryName: '',\r\n AttachType: 0,\r\n AttachGuid: ''\r\n}\r\nexport interface OfficialDocData {\r\n Id: number\r\n PublicType: number\r\n DocType: number\r\n DocYear: string\r\n DocSerialNo: string\r\n DocCategory: number\r\n DocTitle: string\r\n DocCompileNo: string\r\n DocReleaseUnit:number\r\n DocContent: string\r\n Description: string\r\n ApproveDate: Date\r\n Inactive: boolean\r\n NewUserId: number\r\n NewDate: Date\r\n UpdateUserId: number\r\n UpdateDate: Date\r\n\r\n PublicTypeName: string\r\n DocTypeName: string\r\n CategoryName: string\r\n\r\n AttachType: number\r\n AttachGuid: string\r\n}\r\nexport const getByCheck = (type: number, year: string, num: string) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: GetByCheck,\r\n params: {\r\n docType: type,\r\n docYear: year,\r\n docNum: num\r\n }\r\n })\r\n}\r\nexport const getInfo = (id: number) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: GetInfo(id)\r\n })\r\n}\r\nexport const getList = (param: any) => {\r\n return tryAxios({\r\n method: 'get',\r\n url: GetList,\r\n params: param\r\n })\r\n}\r\nexport const remove = (id: number) => {\r\n return tryAxios({\r\n method: 'delete',\r\n url: Delete(id)\r\n })\r\n}\r\nexport const postData = (form: OfficialDocData) => {\r\n return tryAxios({\r\n method: 'post',\r\n url: PostData,\r\n data: form\r\n })\r\n}"],"sourceRoot":""}