{"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/archaeology/project/form.vue?2c4b","webpack:///./src/components/heritageUnit/form/archaeology/project/implement.vue?b0d6","webpack:///./src/components/heritageUnit/form/archaeology/project/implement.vue?57f5","webpack:///./src/components/heritageUnit/form/archaeology/project/implement.vue?d9bd","webpack:///./src/components/heritageUnit/form/archaeology/project/implement.vue","webpack:///./src/components/heritageUnit/form/archaeology/project/form.vue?4454","webpack:///./src/components/heritageUnit/form/archaeology/project/form.vue?da85","webpack:///./src/components/heritageUnit/form/archaeology/project/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","DocId","ImplementList","scopedSlots","_u","fn","scope","row","ProposalBeginYear","ProposalBeginMonth","addImplement","$event","editImplement","$index","removeImplement","closeDataForm","proposalDate","ProposalPhase","ProposalDocId","getProposalDoc","schemeExt","AttachTypeScheme","AttachGuidScheme","onFileChange","AttachTypeOpinion","AttachGuidOpinion","ProjectPhaseId","projectStartDate","projectEndDate","schemeFormat","AttachTypePlan","AttachGuidPlan","photoExt","AttachTypePhoto","AttachGuidPhoto","checkDate","acceptanceDate","UserModule","ProposalName","required","trigger","validator","validate","ProposalDesignUnit","hasScheme","hasOpinion","hasPhoto","hasPlan","proposalPhaseList","projectPhaseList","opts","hasFile","file","refType","fetchData","$refs","formData","resetFields","closeDialog","open","error","console","log","valid","obj","ProposalPhaseName","ProjectPhaseName","UserName","curUser","DisplayName","sendData","sp","split","ProjectStartYear","ProjectStartMonth","ProjectEndYear","ProjectEndMonth","ProjectCheckYear","ProjectCheckMonth","ProjectAcceptanceYear","ProjectAcceptanceMonth","Getter","components","FormDialog","DocSelector","singleFile","ProjectName","PropertiesId","implementIndex","propertiesList","ProjectProperties","updateImplement","dataId","UnitId","unitId","promist","IsError","dangerouslyUseHTMLString","Message","item","showImplementForm","index","splice","push","LxYear","LxMonth","UnitProjectImplementForm","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,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EACXC,QAAS,IAAIH,KACbI,aAAc,EACdC,WAAY,IAAIL,KAEhBM,eAAgB,GAChBC,YAAa,GACb7I,aAAc,GACdpB,WAAY,EACZC,WAAY,IA4BHiK,EAAa,SAACrK,EAAcsK,EAAcC,GACnD,OAAO,eAAS,CACZC,OAAQ,MACRC,IAAKrB,EACLsB,OAAQ,CACJjN,QAASuC,EACT/B,QAASqM,EACTK,OAAQJ,MAIPK,EAAU,SAACzB,GACpB,OAAO,eAAS,CACZqB,OAAQ,MACRC,IAAKvB,EAAQC,MAgBR0B,EAAW,SAACxM,GACrB,OAAO,eAAS,CACZmM,OAAQ,OACRC,IAAKpB,EACL1J,KAAMtB","file":"js/chunk-c39250fa.6834d723.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\",attrs:{\"model\":_vm.form,\"label-width\":\"120px\",\"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\":\"project\"}},[_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\":\"ProjectName\"}},[_c('el-input',{model:{value:(_vm.form.ProjectName),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectName\", $$v)},expression:\"form.ProjectName\"}})],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"工程性质\",\"prop\":\"PropertiesId\"}},[_c('el-select',{attrs:{\"placeholder\":\"\"},model:{value:(_vm.form.PropertiesId),callback:function ($$v) {_vm.$set(_vm.form, \"PropertiesId\", $$v)},expression:\"form.PropertiesId\"}},_vm._l((_vm.propertiesList),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\":\"LxName\"}},[_c('el-input',{model:{value:(_vm.form.LxName),callback:function ($$v) {_vm.$set(_vm.form, \"LxName\", $$v)},expression:\"form.LxName\"}})],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"开始年月\",\"prop\":\"LxYearMonth\"}},[_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),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"立项批准文件\",\"prop\":\"DocId\"}},[(!_vm.loading)?_c('doc-selector',{attrs:{\"docId\":_vm.form.DocId},on:{\"docChange\":_vm.getDoc}}):_vm._e()],1)],1)],1)],1)],2),_c('el-collapse-item',{attrs:{\"name\":\"implement\"}},[_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\":20,\"offset\":\"2\"}},[_c('el-table',{ref:\"tbList\",attrs:{\"data\":_vm.form.ImplementList}},[_c('el-table-column',{attrs:{\"prop\":\"ProposalName\",\"label\":\"方案名称\"}}),_c('el-table-column',{attrs:{\"prop\":\"ProposalPhaseName\",\"label\":\"设计阶段\"}}),_c('el-table-column',{attrs:{\"prop\":\"\",\"label\":\"开始年月\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.ProposalBeginYear>0)?_c('span',[_vm._v(\"\\n \"+_vm._s(scope.row.ProposalBeginYear)+\"年\"+_vm._s(scope.row.ProposalBeginMonth)+\"月\\n \")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"prop\":\"ProjectName\",\"label\":\"工程项目\"}}),_c('el-table-column',{attrs:{\"prop\":\"ProjectPhaseName\",\"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-start\"}},[_c('a',{on:{\"click\":_vm.addImplement}},[_c('i',{staticClass:\"iconfont icon-btn-add\"})])])]}},{key:\"default\",fn:function(scope){return [_c('el-link',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.editImplement(scope.$index)}}},[_c('el-tooltip',{attrs:{\"content\":\"修改\",\"placement\":\"top-start\"}},[_c('i',{staticClass:\"iconfont icon-pen-edit\"})])],1),_c('el-link',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.removeImplement(scope.$index)}}},[_c('el-tooltip',{attrs:{\"content\":\"删除\",\"placement\":\"top-start\"}},[_c('i',{staticClass:\"iconfont icon-trash\"})])],1)]}}])},[_c('span')])],1)],1)],1)],1)],2)],1)],1)],1),_c('unit-project-implement-form',{ref:\"implementCtrl\",attrs:{\"closeDialog\":_vm.closeDataForm}})],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:{\"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\",attrs:{\"model\":_vm.form,\"label-width\":\"120px\",\"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\":\"proposal\"}},[_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\":\"ProposalName\"}},[_c('el-input',{model:{value:(_vm.form.ProposalName),callback:function ($$v) {_vm.$set(_vm.form, \"ProposalName\", $$v)},expression:\"form.ProposalName\"}})],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"开始年月\",\"prop\":\"proposalDate\"}},[_c('el-date-picker',{attrs:{\"value-format\":\"yyyy-MM\",\"type\":\"month\"},model:{value:(_vm.proposalDate),callback:function ($$v) {_vm.proposalDate=$$v},expression:\"proposalDate\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"设计阶段\",\"prop\":\"ProposalPhase\"}},[_c('el-select',{attrs:{\"placeholder\":\"\"},model:{value:(_vm.form.ProposalPhase),callback:function ($$v) {_vm.$set(_vm.form, \"ProposalPhase\", $$v)},expression:\"form.ProposalPhase\"}},_vm._l((_vm.proposalPhaseList),function(e){return _c('el-option',{key:e.Key,attrs:{\"label\":e.Val,\"value\":e.Key}})}),1)],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"设计单位\",\"prop\":\"ProposalDesignUnit\"}},[_c('el-input',{model:{value:(_vm.form.ProposalDesignUnit),callback:function ($$v) {_vm.$set(_vm.form, \"ProposalDesignUnit\", $$v)},expression:\"form.ProposalDesignUnit\"}})],1)],1)],1),(_vm.form.ProposalPhase>1)?_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"方案批准文件\",\"prop\":\"ProposalDocId\"}},[(!_vm.loading&&_vm.form.ProposalPhase>1)?_c('doc-selector',{attrs:{\"docId\":_vm.form.ProposalDocId},on:{\"docChange\":_vm.getProposalDoc}}):_vm._e()],1)],1)],1):_vm._e(),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"勘察设计方案\",\"prop\":\"Scheme\"}},[(!_vm.loading)?_c('single-file',{ref:\"sfScheme\",attrs:{\"fileExt\":_vm.schemeExt,\"referId\":_vm.form.Id,\"referType\":_vm.form.AttachTypeScheme,\"tempGuid\":_vm.form.AttachGuidScheme},on:{\"fileChange\":_vm.onFileChange}}):_vm._e()],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"方案评审意见\",\"prop\":\"Opinion\"}},[(!_vm.loading)?_c('single-file',{ref:\"sfOpinion\",attrs:{\"fileExt\":_vm.schemeExt,\"referId\":_vm.form.Id,\"referType\":_vm.form.AttachTypeOpinion,\"tempGuid\":_vm.form.AttachGuidOpinion},on:{\"fileChange\":_vm.onFileChange}}):_vm._e()],1)],1)],1)],1)],2),_c('el-collapse-item',{attrs:{\"name\":\"project\"}},[_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\":\"ProjectName\"}},[_c('el-input',{model:{value:(_vm.form.ProjectName),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectName\", $$v)},expression:\"form.ProjectName\"}})],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"工程阶段\",\"prop\":\"ProjectPhaseId\"}},[_c('el-select',{attrs:{\"placeholder\":\"\"},model:{value:(_vm.form.ProjectPhaseId),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectPhaseId\", $$v)},expression:\"form.ProjectPhaseId\"}},_vm._l((_vm.projectPhaseList),function(e){return _c('el-option',{key:e.Key,attrs:{\"label\":e.Val,\"value\":e.Key}})}),1)],1)],1)],1),(_vm.form.ProjectPhaseId>1)?_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"开工时间\",\"prop\":\"projectStartDate\"}},[_c('el-date-picker',{attrs:{\"value-format\":\"yyyy-MM\",\"type\":\"month\"},model:{value:(_vm.projectStartDate),callback:function ($$v) {_vm.projectStartDate=$$v},expression:\"projectStartDate\"}})],1)],1),(_vm.form.ProjectPhaseId>=3)?_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"竣工时间\",\"prop\":\"projectEndDate\"}},[_c('el-date-picker',{attrs:{\"value-format\":\"yyyy-MM\",\"type\":\"month\"},model:{value:(_vm.projectEndDate),callback:function ($$v) {_vm.projectEndDate=$$v},expression:\"projectEndDate\"}})],1)],1):_vm._e()],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"设计单位\",\"prop\":\"ProjectDesignUnit\"}},[_c('el-input',{model:{value:(_vm.form.ProjectDesignUnit),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectDesignUnit\", $$v)},expression:\"form.ProjectDesignUnit\"}})],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"施工单位\",\"prop\":\"ProjectConstructionUnit\"}},[_c('el-input',{model:{value:(_vm.form.ProjectConstructionUnit),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectConstructionUnit\", $$v)},expression:\"form.ProjectConstructionUnit\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"监理单位\",\"prop\":\"ProjectSuperviseUnit\"}},[_c('el-input',{model:{value:(_vm.form.ProjectSuperviseUnit),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectSuperviseUnit\", $$v)},expression:\"form.ProjectSuperviseUnit\"}})],1)],1),_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"进度\",\"prop\":\"ProjectProgressPercent\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":0.1,\"max\":100},model:{value:(_vm.form.ProjectProgressPercent),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectProgressPercent\", $$v)},expression:\"form.ProjectProgressPercent\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"上传施工方案\",\"prop\":\"Plan\"}},[(!_vm.loading)?_c('single-file',{ref:\"sfPlan\",attrs:{\"fileExt\":_vm.schemeFormat,\"referId\":_vm.form.Id,\"referType\":_vm.form.AttachTypePlan,\"tempGuid\":_vm.form.AttachGuidPlan},on:{\"fileChange\":_vm.onFileChange}}):_vm._e()],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"工程内容\",\"prop\":\"ProjectProgressSpecification\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.ProjectProgressSpecification),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectProgressSpecification\", $$v)},expression:\"form.ProjectProgressSpecification\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"工程进度照片\",\"prop\":\"Photo\"}},[(!_vm.loading)?_c('single-file',{ref:\"sfPhoto\",attrs:{\"fileExt\":_vm.photoExt,\"referId\":_vm.form.Id,\"referType\":_vm.form.AttachTypePhoto,\"tempGuid\":_vm.form.AttachGuidPhoto},on:{\"fileChange\":_vm.onFileChange}}):_vm._e()],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"工程检查时间\",\"prop\":\"checkDate\"}},[_c('el-date-picker',{attrs:{\"value-format\":\"yyyy-MM\",\"type\":\"month\"},model:{value:(_vm.checkDate),callback:function ($$v) {_vm.checkDate=$$v},expression:\"checkDate\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"工程检查情况\",\"prop\":\"ProjectCheckResult\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.ProjectCheckResult),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectCheckResult\", $$v)},expression:\"form.ProjectCheckResult\"}})],1)],1)],1),(_vm.form.ProjectPhaseId==4)?_c('div',[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":11}},[_c('el-form-item',{attrs:{\"label\":\"工程验收时间\",\"prop\":\"acceptanceDate\"}},[_c('el-date-picker',{attrs:{\"value-format\":\"yyyy-MM\",\"type\":\"month\"},model:{value:(_vm.acceptanceDate),callback:function ($$v) {_vm.acceptanceDate=$$v},expression:\"acceptanceDate\"}})],1)],1)],1),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":22}},[_c('el-form-item',{attrs:{\"label\":\"验收情况\",\"prop\":\"ProjectAcceptanceResult\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.ProjectAcceptanceResult),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectAcceptanceResult\", $$v)},expression:\"form.ProjectAcceptanceResult\"}})],1)],1)],1)],1):_vm._e()],1):_vm._e()],1)],2),_c('el-collapse-item',{attrs:{\"name\":\"proposalFund\"}},[_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\":7}},[_c('el-form-item',{attrs:{\"label\":\"国家补助\",\"prop\":\"ProposalNationFund\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":1},model:{value:(_vm.form.ProposalNationFund),callback:function ($$v) {_vm.$set(_vm.form, \"ProposalNationFund\", $$v)},expression:\"form.ProposalNationFund\"}})],1)],1),_c('el-col',{attrs:{\"span\":7}},[_c('el-form-item',{attrs:{\"label\":\"省级拨款\",\"prop\":\"ProposalProvinceFund\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":1},model:{value:(_vm.form.ProposalProvinceFund),callback:function ($$v) {_vm.$set(_vm.form, \"ProposalProvinceFund\", $$v)},expression:\"form.ProposalProvinceFund\"}})],1)],1),_c('el-col',{attrs:{\"span\":7}},[_c('el-form-item',{attrs:{\"label\":\"地方配套\",\"prop\":\"ProposalPlaceFund\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":1},model:{value:(_vm.form.ProposalPlaceFund),callback:function ($$v) {_vm.$set(_vm.form, \"ProposalPlaceFund\", $$v)},expression:\"form.ProposalPlaceFund\"}})],1)],1)],1)],1)],2),_c('el-collapse-item',{attrs:{\"name\":\"projectFund\"}},[_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\":7}},[_c('el-form-item',{attrs:{\"label\":\"国家补助\",\"prop\":\"ProjectNationFund\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":1},model:{value:(_vm.form.ProjectNationFund),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectNationFund\", $$v)},expression:\"form.ProjectNationFund\"}})],1)],1),_c('el-col',{attrs:{\"span\":7}},[_c('el-form-item',{attrs:{\"label\":\"省级拨款\",\"prop\":\"ProjectProvinceFund\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":1},model:{value:(_vm.form.ProjectProvinceFund),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectProvinceFund\", $$v)},expression:\"form.ProjectProvinceFund\"}})],1)],1),_c('el-col',{attrs:{\"span\":7}},[_c('el-form-item',{attrs:{\"label\":\"地方配套\",\"prop\":\"ProjectPlaceFund\"}},[_c('el-input-number',{attrs:{\"precision\":2,\"step\":1},model:{value:(_vm.form.ProjectPlaceFund),callback:function ($$v) {_vm.$set(_vm.form, \"ProjectPlaceFund\", $$v)},expression:\"form.ProjectPlaceFund\"}})],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 { getImplement, UnitProjectImplementData, emptyImplement } from '@/api/heritageUnit/unitProject'\r\nimport { getLookupByType, DDLItem, getUnitProjectProposalPhase, getUnitProjectPhase } from '@/api/common/select'\r\nimport { enFirstType, enLookupType } from '@/configs/enums'\r\nimport { validateIntKey, validateLngLat, showVaildMsg } from '@/configs/validate'\r\nimport { getDDLItem, tryToInt, getDDLName } from '@/configs/functions'\r\nimport Element from 'element-ui'\r\nimport { UserData } from '@/api/systemManage/user'\r\nimport { namespace } from 'vuex-class'\r\nimport { OfficialDocData } from '@/api/officialDoc/doc'\r\nimport DocSelector from '@/components/officialDoc/select.vue'\r\nimport { UploadOptData } from '@/api/common/upload'\r\nimport { AttachInfo } from '@/api/common/attach'\r\nimport singleFile from '@/components/upload/singleFile.vue'\r\nimport { schemeFormat, imageFormat } from '@/configs/fileTypes'\r\nimport FormDialog from '@/components/dialog/formDialog.vue'\r\n\r\nconst UserModule = namespace('user')\r\n\r\nconst getFormRules = (form: { [key: string]: string }) => {\r\n return {\r\n ProposalName: [{ required: true, message: '请输入方案名称', trigger: 'blur' }],\r\n // proposalDate: [{ required: true, message: '请输入开始年月', trigger: 'blur' }],\r\n ProposalPhase: [{ required: true, validator: validateIntKey('请选择设计阶段'), trigger: 'blur' }],\r\n ProposalDesignUnit: [{ required: true, message: '请输入设计单位', trigger: 'blur' }],\r\n }\r\n}\r\n@Component({\r\n components: { FormDialog, DocSelector, singleFile }\r\n})\r\nexport default class UnitProjectImplementForm extends Vue {\r\n public name = 'UnitProjectImplementForm'\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 @UserModule.Getter(\"userInfo\")\r\n public curUser!: UserData\r\n\r\n public expandNames: string[] = ['proposal', 'project', 'proposalFund', 'projectFund']\r\n public loading: boolean = false\r\n public schemeExt: string = schemeFormat\r\n public photoExt: string = imageFormat\r\n //勘察设计方案\r\n public hasScheme: boolean = false\r\n //方案评审意见\r\n public hasOpinion: boolean = false\r\n public hasPhoto: boolean = false\r\n public hasPlan: boolean = false\r\n //设计阶段\r\n public proposalPhaseList: DDLItem[] = []\r\n public projectPhaseList: DDLItem[] = []\r\n public form: UnitProjectImplementData = Object.assign({}, emptyImplement)\r\n public rules = getFormRules(this.form)\r\n public $refs!: {\r\n formData: Element.Form\r\n sfScheme: singleFile\r\n sfOpinion: singleFile\r\n sfPhoto: singleFile\r\n sfPlan: singleFile\r\n }\r\n get proposalDate(): string {\r\n const f = this.form\r\n var data = ''\r\n if (f.ProposalBeginYear > 0 && f.ProposalBeginMonth > 0) {\r\n data = f.ProposalBeginYear.toString() + '-' + f.ProposalBeginMonth.toString()\r\n }\r\n return data\r\n }\r\n set proposalDate(data: string) {\r\n const f = this.form\r\n if (data != '') {\r\n let sp = data.split('-')\r\n f.ProposalBeginYear = tryToInt(sp[0])\r\n f.ProposalBeginMonth = tryToInt(sp[1])\r\n }\r\n else {\r\n f.ProposalBeginYear = f.ProposalBeginMonth = 0\r\n }\r\n }\r\n get projectStartDate(): string {\r\n const f = this.form\r\n var data = ''\r\n if (f.ProjectStartYear > 0 && f.ProjectStartMonth > 0) {\r\n data = f.ProjectStartYear.toString() + '-' + f.ProjectStartMonth.toString()\r\n }\r\n return data\r\n }\r\n set projectStartDate(data: string) {\r\n const f = this.form\r\n if (data != '') {\r\n let sp = data.split('-')\r\n f.ProjectStartYear = tryToInt(sp[0])\r\n f.ProjectStartMonth = tryToInt(sp[1])\r\n }\r\n else {\r\n f.ProjectStartYear = f.ProjectStartMonth = 0\r\n }\r\n }\r\n get projectEndDate(): string {\r\n const f = this.form\r\n var data = ''\r\n if (f.ProjectEndYear > 0 && f.ProjectEndMonth > 0) {\r\n data = f.ProjectEndYear.toString() + '-' + f.ProjectEndMonth.toString()\r\n }\r\n return data\r\n }\r\n set projectEndDate(data: string) {\r\n const f = this.form\r\n if (data != '') {\r\n let sp = data.split('-')\r\n f.ProjectEndYear = tryToInt(sp[0])\r\n f.ProjectEndMonth = tryToInt(sp[1])\r\n }\r\n else {\r\n f.ProjectEndYear = f.ProjectEndMonth = 0\r\n }\r\n }\r\n get checkDate(): string {\r\n const f = this.form\r\n var data = ''\r\n if (f.ProjectCheckYear > 0 && f.ProjectCheckMonth > 0) {\r\n data = f.ProjectCheckYear.toString() + '-' + f.ProjectCheckMonth.toString()\r\n }\r\n return data\r\n }\r\n set checkDate(data: string) {\r\n const f = this.form\r\n if (data != '') {\r\n let sp = data.split('-')\r\n f.ProjectCheckYear = tryToInt(sp[0])\r\n f.ProjectCheckMonth = tryToInt(sp[1])\r\n }\r\n else {\r\n f.ProjectCheckYear = f.ProjectCheckMonth = 0\r\n }\r\n }\r\n get acceptanceDate(): string {\r\n const f = this.form\r\n var data = ''\r\n if (f.ProjectAcceptanceYear > 0 && f.ProjectAcceptanceMonth > 0) {\r\n data = f.ProjectAcceptanceYear.toString() + '-' + f.ProjectAcceptanceMonth.toString()\r\n }\r\n return data\r\n }\r\n set acceptanceDate(data: string) {\r\n const f = this.form\r\n if (data != '') {\r\n let sp = data.split('-')\r\n f.ProjectAcceptanceYear = tryToInt(sp[0])\r\n f.ProjectAcceptanceMonth = tryToInt(sp[1])\r\n }\r\n else {\r\n f.ProjectAcceptanceYear = f.ProjectAcceptanceMonth = 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.AttachTypeScheme:\r\n this.hasScheme = hasFile\r\n break\r\n case f.AttachTypeOpinion:\r\n this.hasOpinion = hasFile\r\n break\r\n case f.AttachTypePlan:\r\n this.hasPlan = hasFile\r\n break\r\n case f.AttachTypePhoto:\r\n this.hasPhoto = hasFile\r\n break\r\n default:\r\n break\r\n }\r\n }\r\n public getProposalDoc(info: { data: OfficialDocData, refTo: string }) {\r\n this.form.ProposalDocId = info.data.Id\r\n }\r\n public created() {\r\n }\r\n public fetchSource() {\r\n const firstType = enFirstType.Select\r\n if (this.proposalPhaseList.length === 0) {\r\n getUnitProjectProposalPhase(firstType).then((response: { data: any }) => {\r\n const data = response.data\r\n if (data) {\r\n this.proposalPhaseList = data\r\n }\r\n })\r\n }\r\n if (this.projectPhaseList.length === 0) {\r\n getUnitProjectPhase(firstType).then((response: { data: any }) => {\r\n const data = response.data\r\n if (data) {\r\n this.projectPhaseList = data\r\n }\r\n })\r\n }\r\n }\r\n public mounted() {\r\n window.eventBus.$on(\"openUnitProjectImplementForm\", (data: UnitProjectImplementData) => {\r\n this.fetchSource()\r\n this.fetchData(data)\r\n })\r\n }\r\n public beforeDestroy() {\r\n window.eventBus.$off('openUnitProjectImplementForm')\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: UnitProjectImplementData) {\r\n this.open()\r\n if (info.Id > 0 || (info.AttachTypeScheme == 0 || info.AttachTypePhoto == 0 || info.AttachTypePlan == 0 || info.AttachTypePhoto == 0)) {\r\n //1修改已有记录,从后台拿最新的记录信息 2新增的时候从后台获取附件枚举信息\r\n this.loading = true\r\n getImplement(info.Id).then((response: { data: any }) => {\r\n this.form = response.data\r\n this.loading = false\r\n }).catch((error: any) => {\r\n console.log(error)\r\n })\r\n }\r\n else {\r\n this.form = Object.assign({}, info)\r\n }\r\n }\r\n public sendData(data: UnitProjectImplementData) {\r\n window.eventBus.$emit(\"submitUnitProjectImplementForm\", data)\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 f.ProposalPhaseName = getDDLName(this.proposalPhaseList, f.ProposalPhase)\r\n f.ProjectPhaseName = getDDLName(this.projectPhaseList, f.ProjectPhaseId)\r\n f.UserName = this.curUser.DisplayName\r\n this.sendData(f)\r\n this.close()\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!./implement.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!./implement.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./implement.vue?vue&type=template&id=344fd5fe&scoped=true&\"\nimport script from \"./implement.vue?vue&type=script&lang=ts&\"\nexport * from \"./implement.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 \"344fd5fe\",\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\r\nimport { Component, Vue, Watch, Prop } from 'vue-property-decorator'\r\nimport { UnitProjectData, emptyData, getInfo, postData, putData, UnitProjectImplementData, emptyImplement } from '@/api/heritageUnit/unitProject'\r\nimport { getLookupByType, DDLItem } from '@/api/common/select'\r\nimport { enFirstType, enLookupType } from '@/configs/enums'\r\nimport { validateIntKey, validateLngLat, showVaildMsg } from '@/configs/validate'\r\nimport { getDDLItem, tryToInt } from '@/configs/functions'\r\nimport { OfficialDocData } from '@/api/officialDoc/doc'\r\nimport Element from 'element-ui'\r\nimport DocSelector from '@/components/officialDoc/select.vue'\r\nimport UnitProjectImplementForm from './implement.vue'\r\nimport FormDialog from '@/components/dialog/formDialog.vue'\r\n\r\nconst getFormRules = (form: { [key: string]: string }) => {\r\n return {\r\n ProjectName: [{ required: true, message: '请输入工程名称', trigger: 'blur' }],\r\n PropertiesId: [{ required: true, validator: validateIntKey('请选择工程性质'), trigger: 'blur' }]\r\n }\r\n}\r\n@Component({\r\n components: { FormDialog, DocSelector, UnitProjectImplementForm }\r\n})\r\nexport default class UnitProjectForm extends Vue {\r\n public name = 'UnitProjectForm'\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[] = ['project', 'implement']\r\n public loading: boolean = false\r\n public implementIndex: number = -1\r\n public propertiesList: DDLItem[] = []\r\n public form: UnitProjectData = Object.assign({}, emptyData)\r\n public rules = getFormRules(this.form)\r\n public $refs!: {\r\n formData: Element.Form\r\n }\r\n get yearMonth(): string {\r\n const f = this.form\r\n var data = ''\r\n if (f.LxYear > 0 && f.LxMonth > 0) {\r\n data = f.LxYear.toString() + '-' + f.LxMonth.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.LxYear = tryToInt(sp[0])\r\n f.LxMonth = tryToInt(sp[1])\r\n }\r\n else {\r\n f.LxYear = f.LxMonth = 0\r\n }\r\n }\r\n public getDoc(info: { data: OfficialDocData, refTo: string }) {\r\n this.form.DocId = info.data.Id\r\n }\r\n public created() {\r\n }\r\n public fetchSource() {\r\n const firstType = enFirstType.Select\r\n if (this.propertiesList.length === 0) {\r\n getLookupByType(enLookupType.ProjectProperties, firstType).then((response: { data: any }) => {\r\n const data = response.data\r\n if (data) {\r\n this.propertiesList = data\r\n }\r\n })\r\n }\r\n }\r\n public mounted() {\r\n window.eventBus.$on(\"openUnitProjectForm\", (info: { unitId: number, dataId: number }) => {\r\n this.fetchSource()\r\n this.fetchData(info)\r\n })\r\n\r\n window.eventBus.$on('submitUnitProjectImplementForm', (data: UnitProjectImplementData) => {\r\n this.updateImplement(data)\r\n })\r\n }\r\n public beforeDestroy() {\r\n window.eventBus.$off(\"openUnitProjectForm\")\r\n window.eventBus.$off('submitUnitProjectImplementForm')\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.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: UnitProjectData) {\r\n window.eventBus.$emit(\"submitUnitProjectForm\", {\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 public addImplement() {\r\n this.implementIndex = -1\r\n const item = Object.assign({}, emptyImplement)\r\n this.showImplementForm(item)\r\n }\r\n public editImplement(index: number) {\r\n this.implementIndex = index\r\n const item = this.form.ImplementList[index]\r\n this.showImplementForm(item)\r\n }\r\n public removeImplement(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.ImplementList.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 showImplementForm(data: UnitProjectImplementData) {\r\n window.eventBus.$emit('openUnitProjectImplementForm', data)\r\n }\r\n public closeDataForm() {\r\n console.log('closeUnitProjectImplementForm')\r\n }\r\n public updateImplement(data: UnitProjectImplementData) {\r\n if (this.implementIndex >= 0) {\r\n this.$set(this.form.ImplementList, this.implementIndex, data)\r\n }\r\n else {\r\n this.form.ImplementList.push(data)\r\n }\r\n this.implementIndex = -1\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=dbd4a382&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 \"dbd4a382\",\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":""}