You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
19 KiB
1 lines
19 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-57008cf8"],{"10a7":function(e,t,a){"use strict";a.d(t,"f",(function(){return r})),a.d(t,"e",(function(){return i})),a.d(t,"d",(function(){return o})),a.d(t,"a",(function(){return l})),a.d(t,"g",(function(){return s})),a.d(t,"b",(function(){return c})),a.d(t,"c",(function(){return u}));var n=a("b775");function r(e){return Object(n["a"])({url:"/earlyStage/preDesign/list",method:"post",data:e})}function i(e){return Object(n["a"])({url:"/earlyStage/preDesign/"+e,method:"get"})}function o(e){return Object(n["a"])({url:"/earlyStage/preDesign/getByNo/"+e,method:"get"})}function l(e){return Object(n["a"])({url:"/earlyStage/preDesign",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/earlyStage/preDesign",method:"put",data:e})}function c(e){return Object(n["a"])({url:"/earlyStage/preDesign/"+e,method:"delete"})}function u(e){return Object(n["a"])({url:"/earlyStage/preDesign/export",method:"get",params:e})}},"61de":function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a("b775");function r(){return Object(n["a"])({url:"/xzqh/xzqh/common",method:"get"})}},"7bf6":function(e,t,a){"use strict";a("e2b9")},"8ce8":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.isCom?"":"app-container"},[e.isCom?e._e():a("el-breadcrumb",{staticStyle:{"margin-bottom":"20px"},attrs:{separator:"/"}},e._l(e.routeList,(function(t,n){return a("el-breadcrumb-item",{key:t+n,attrs:{to:{path:t.path}}},[e._v(e._s(t.routeName))])})),1),a("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,inline:!0}},[a("el-form-item",{attrs:{label:"企业名称",prop:"enterpriseName"}},[a("el-input",{attrs:{placeholder:"请输入企业名称",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.data.enterpriseName,callback:function(t){e.$set(e.queryParams.data,"enterpriseName",t)},expression:"queryParams.data.enterpriseName"}},[a("el-button",{attrs:{slot:"append",type:"primary",icon:"el-icon-search",size:"small"},on:{click:e.handleQuery},slot:"append"})],1)],1),a("el-form-item",{attrs:{label:"行政区划",prop:"adcd"}},[a("el-cascader",{staticStyle:{width:"100%"},attrs:{options:e.areasOptions,props:e.areasOptionProps,placeholder:"请选择行政区划",clearable:"",size:"small"},on:{change:e.handleQuery},model:{value:e.queryParams.data.adcd,callback:function(t){e.$set(e.queryParams.data,"adcd",t)},expression:"queryParams.data.adcd"}})],1),a("el-form-item",{attrs:{label:"绑定状态",prop:"bindStatus"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择绑定状态",filterable:"",clearable:"",size:"small"},on:{change:e.handleQuery},model:{value:e.queryParams.data.bindStatus,callback:function(t){e.$set(e.queryParams.data,"bindStatus",t)},expression:"queryParams.data.bindStatus"}},[a("el-option",{attrs:{label:"未绑定",value:"0"}}),a("el-option",{attrs:{label:"已绑定",value:"1"}})],1)],1),a("el-form-item",[a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-popconfirm",{attrs:{icon:"el-icon-info","icon-color":"green",title:"确定绑定吗"},on:{confirm:e.handleAdd}},[a("el-button",{attrs:{slot:"reference",type:"primary",icon:"el-icon-plus",size:"mini",disabled:e.multiple},slot:"reference"},[e._v("绑定新项目")])],1)],1),a("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.infoList},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center",fixed:"",selectable:e.checkSelectable}}),a("el-table-column",{attrs:{label:"序号",type:"index",width:"50",align:"center",fixed:""}}),a("el-table-column",{attrs:{label:"企业名称",align:"center",prop:"enterpriseName","min-width":"120"}}),a("el-table-column",{attrs:{label:"企业所属区划",align:"center",prop:"adcd","min-width":"120",formatter:e.$formatAdcd}}),a("el-table-column",{attrs:{label:"企业类型",align:"center",prop:"enterpriseType",formatter:e.enterpriseTypeFormat,"min-width":"120"}}),a("el-table-column",{attrs:{label:"成立日期",align:"center",prop:"establishmentDate",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.parseTime(t.row.establishmentDate,"{y}-{m}-{d}")))])]}}])}),a("el-table-column",{attrs:{label:"法定代表人",align:"center",prop:"legalRepresentative","min-width":"120"}}),a("el-table-column",{attrs:{label:"法人身份证号",align:"center",prop:"corporateIdNumber","min-width":"120"}}),a("el-table-column",{attrs:{label:"绑定状态",align:"center",prop:"bindStatus","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s("1"===t.row.bindStatus?"已绑定":"未绑定")+" ")]}}])}),a("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width","min-width":"180",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-popconfirm",{attrs:{icon:"el-icon-info","icon-color":"green",title:"确定绑定吗"},on:{confirm:function(a){return e.handleAdd(t.row)}}},["0"===t.row.bindStatus?a("el-button",{attrs:{slot:"reference",size:"mini",type:"text",icon:"el-icon-connection"},slot:"reference"},[e._v("绑定")]):e._e()],1),"1"===t.row.bindStatus?a("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-connection"}},[e._v("已绑定")]):e._e()]}}])})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}})],1)},r=[],i=a("b85c"),o=(a("d81d"),a("b0c0"),a("ac1f"),a("5319"),a("2934")),l=a("61de"),s={props:["isCom"],data:function(){return{loading:!0,showSearch:!0,total:0,infoList:[],routeList:[{path:"/projectAndEnterpriseBindingMange/enterpriseBinding",routeName:"企业绑定"}],areasOptions:[],areasOptionProps:{emitPath:!1,checkStrictly:!0},queryParams:{pageNum:1,pageSize:10,ids:null,data:{enterpriseName:null,adcd:null},params:{orderBy:"create_time",sortBy:"desc"}},proQueryParams:{pageNum:1,pageSize:10,ids:null,data:{projectName:null,constructionNature:null,constructionLocation:null,projectUnitName:null,briefIntroduction:null,projectLandSituation:null,designEstimateReport:null,relatedAttachment:null,projectCode:null,proNo:null,createUid:null,createTime:null,updateUid:null,updateTime:null,owerDept:null},cv:{},params:{orderBy:"create_time",sortBy:"desc"}},open:!1,title:"",multiple:!0,ids:[],form:{},rules:{projectName:[{required:!0,message:"请选择关联的项目",trigger:"blur"}]},enterpriseTypeOptions:[]}},created:function(){var e=this;this.getList(),this.getDicts("qualification_type").then((function(t){e.enterpriseTypeOptions=t.data})),this.getTreeData()},methods:{checkSelectable:function(e){return"0"===e.bindStatus},getList:function(){var e=this;this.loading=!0,Object(o["k"])(this.queryParams).then((function(t){e.infoList=t.records,e.total=t.total,console.log("this.infoList",e.infoList),e.loading=!1}))},enterpriseTypeFormat:function(e,t){return this.selectDictLabel(this.enterpriseTypeOptions,e.enterpriseType).replace("资质","")},cancel:function(){this.open=!1},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetQueryForm(),this.handleQuery()},resetQueryForm:function(){this.queryParams={pageNum:1,pageSize:10,data:{projectName:null,adcd:null},params:{orderBy:"create_time",sortBy:"desc"}},this.resetForm("form")},getTreeData:function(){var e=this;Object(l["a"])().then((function(t){var a=[],n=function(e,a){var r,o=Object(i["a"])(t.data);try{for(o.s();!(r=o.n()).done;){var l=r.value;if(l.parentid===a){var s={label:l.name,value:l.id};3!=l.layer&&(s.children=[]),e.push(s),n(s.children,s.value)}}}catch(c){o.e(c)}finally{o.f()}};n(a,t.data[0].parentid),e.areasOptions=a}))},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.id})),this.multiple=!e.length,console.log(1111,this.ids)},handleAdd:function(e){console.log(2222,e,this.ids);var t=e?[e.id]:this.ids;this.submitForm(t)},submitForm:function(e){var t=this;Object(o["l"])(e).then((function(e){200===e.code&&(t.msgSuccess("绑定成功"),t.isCom?t.$router.push("/marketSupervision/enterpriseInformation"):t.getList())}))}}},c=s,u=a("2877"),d=Object(u["a"])(c,n,r,!1,null,null,null);t["default"]=d.exports},"928a":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page"},[a("div",{staticClass:"pageBox"},[a("div",{staticClass:"topTitle"},[e._v("关联项目")]),a("div",{staticClass:"biaodan"},[a("projectBinding",{attrs:{isCom:!0}})],1)])])},r=[],i=(a("f690"),a("2934")),o=a("ad08"),l=a("8ce8"),s={name:"legalLinkProject",components:{projectBinding:o["default"],enterpriseBinding:l["default"]},data:function(){return{title:"关联项目",open:!0,form:{},rules:{projectName:[{required:!0,message:"请选择关联的项目",trigger:"blur"}]},projectNameOptions:[],msg:"",infoList:[],queryParams1:{pageNum:1,pageSize:10,ids:null,data:{projectName:null,adcd:null},params:{orderBy:"create_time",sortBy:"desc"}}}},created:function(){var e=this;Object(i["j"])().then((function(t){console.log("data--mag",t),t.data||(e.msg=t.msg)}))},methods:{submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&(console.log(e.form.projectName),Object(i["m"])(e.form.projectName).then((function(t){200===t.code&&e.$router.push("/")})))}))}}},c=s,u=(a("7bf6"),a("2877")),d=Object(u["a"])(c,n,r,!1,null,"068791a7",null);t["default"]=d.exports},ad08:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.isCom?"":"app-container"},[e.isCom?e._e():a("el-breadcrumb",{staticStyle:{"margin-bottom":"20px"},attrs:{separator:"/"}},e._l(e.routeList,(function(t,n){return a("el-breadcrumb-item",{key:t+n,attrs:{to:{path:t.path}}},[e._v(e._s(t.routeName))])})),1),a("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,inline:!0}},[a("el-form-item",{attrs:{label:"项目名称",prop:"projectName"}},[a("el-input",{attrs:{placeholder:"请输入项目名称",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.data.projectName,callback:function(t){e.$set(e.queryParams.data,"projectName",t)},expression:"queryParams.data.projectName"}},[a("el-button",{attrs:{slot:"append",type:"primary",icon:"el-icon-search",size:"small"},on:{click:e.handleQuery},slot:"append"})],1)],1),a("el-form-item",{attrs:{label:"行政区划",prop:"adcd"}},[a("el-cascader",{staticStyle:{width:"100%"},attrs:{options:e.areasOptions,props:e.areasOptionProps,placeholder:"请选择行政区划",clearable:"",size:"small"},on:{change:e.handleQuery},model:{value:e.queryParams.data.adcd,callback:function(t){e.$set(e.queryParams.data,"adcd",t)},expression:"queryParams.data.adcd"}})],1),a("el-form-item",{attrs:{label:"绑定状态",prop:"bindStatus"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择绑定状态",filterable:"",clearable:"",size:"small"},on:{change:e.handleQuery},model:{value:e.queryParams.data.bindStatus,callback:function(t){e.$set(e.queryParams.data,"bindStatus",t)},expression:"queryParams.data.bindStatus"}},[a("el-option",{attrs:{label:"未绑定",value:"0"}}),a("el-option",{attrs:{label:"已绑定",value:"1"}})],1)],1),a("el-form-item",[a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-popconfirm",{attrs:{icon:"el-icon-info","icon-color":"green",title:"确定绑定吗"},on:{confirm:e.handleAdd}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["bindind:project:bind"],expression:"['bindind:project:bind']"}],attrs:{slot:"reference",type:"primary",icon:"el-icon-plus",size:"mini",disabled:e.multiple},slot:"reference"},[e._v("绑定新项目")])],1)],1),a("el-col",{staticStyle:{height:"100%"},attrs:{span:1.5}},[a("el-button",{staticStyle:{color:"red",cursor:"default"},attrs:{type:"text",size:"mini"}},[e._v(" 找不到项目?请联系项目主管部门进行项目添加 ")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{attrs:{type:"danger",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("解除绑定")])],1),a("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.infoList,"row-key":"proNo","expand-row-keys":e.expands1,"tree-props":{children:"children",hasChildren:"hasChildren"}},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{label:"序号",type:"index",width:"50",align:"center",fixed:""}}),a("el-table-column",{attrs:{label:"项目名称",align:"center","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.sectionName?a("span",[e._v(e._s(t.row.sectionName))]):a("span",[e._v(e._s(t.row.projectName))])]}}])}),a("el-table-column",{attrs:{label:"项目编号",align:"center",prop:"proNo","min-width":"120"}}),a("el-table-column",{attrs:{label:"来源",align:"center",prop:"source","min-width":"120"}}),a("el-table-column",{attrs:{label:"行政区划",align:"center",prop:"adcd","min-width":"120",formatter:e.$formatAdcd}}),a("el-table-column",{attrs:{label:"绑定单位",align:"center","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(" "+e._s(t.row.bindingMechanism?t.row.bindingMechanism.join(", "):null)+" ")])]}}])}),a("el-table-column",{attrs:{label:"绑定状态",align:"center",prop:"bindStatus","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s("1"===t.row.bindStatus?"已绑定":"未绑定")+" ")]}}])}),a("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width","min-width":"180",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[a("el-popconfirm",{attrs:{icon:"el-icon-info","icon-color":"green",title:"确定绑定吗"},on:{confirm:function(a){return e.handleAdd(t.row)}}},["0"===t.row.bindStatus?a("el-button",{attrs:{slot:"reference",size:"mini",type:"text",icon:"el-icon-connection"},slot:"reference"},[e._v("绑定")]):e._e()],1),"1"===t.row.bindStatus?a("el-button",{attrs:{size:"mini",type:"text",icon:"el-icon-connection"}},[e._v("已绑定")]):e._e()],1)]}}])})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}})],1)},r=[],i=a("b85c"),o=(a("d81d"),a("b0c0"),a("2934")),l=a("61de"),s=(a("10a7"),{props:["isCom"],data:function(){return{loading:!0,showSearch:!0,total:0,infoList:[],expands1:[],expands2:[],routeList:[{path:"/projectAndEnterpriseBindingMange/projectBinding",routeName:"项目绑定"}],areasOptions:[],areasOptionProps:{emitPath:!1,checkStrictly:!0},queryParams:{pageNum:1,pageSize:10,ids:null,data:{projectName:null,adcd:null},params:{orderBy:"create_time",sortBy:"desc"}},proQueryParams:{pageNum:1,pageSize:10,ids:null,data:{projectName:null,constructionNature:null,constructionLocation:null,projectUnitName:null,briefIntroduction:null,projectLandSituation:null,designEstimateReport:null,relatedAttachment:null,projectCode:null,proNo:null,createUid:null,createTime:null,updateUid:null,updateTime:null,owerDept:null},cv:{},params:{orderBy:"create_time",sortBy:"desc"}},open:!1,title:"",multiple:!0,proNos:[],form:{},rules:{projectName:[{required:!0,message:"请选择关联的项目",trigger:"blur"}]},zd_projectTypeOptions:[],ms_projectTypeOptions:[],constructionNatureOptions:[],projectNameOptions:[]}},created:function(){var e=this;this.getList(),this.getDicts("CONSTRUCTION_NATURE").then((function(t){e.constructionNatureOptions=t.data})),this.getDicts("major_project").then((function(t){e.zd_projectTypeOptions=t.data})),this.getDicts("general_project").then((function(t){e.ms_projectTypeOptions=t.data})),this.getTreeData()},methods:{checkSelectable:function(e){return"0"===e.bindStatus},getList:function(){var e=this;this.loading=!0,Object(o["n"])(this.queryParams).then((function(t){e.infoList=t.records,e.total=t.total,console.log("this.infoList",e.infoList)})),this.loading=!1},constructionNatureFormat:function(e,t){return this.selectDictLabel(this.constructionNatureOptions,e.constructionNature)},projectTypeFormat:function(e,t){return"zd"==e.isMajor?this.selectDictLabel(this.zd_projectTypeOptions,e.projectType):"ms"==e.isMajor?this.selectDictLabel(this.ms_projectTypeOptions,e.projectType):void 0},cancel:function(){this.open=!1},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.resetQueryForm(),this.handleQuery()},resetQueryForm:function(){this.queryParams={pageNum:1,pageSize:10,data:{projectName:null,adcd:null},params:{orderBy:"create_time",sortBy:"desc"}},this.resetForm("form")},getTreeData:function(){var e=this;Object(l["a"])().then((function(t){var a=[],n=function(e,a){var r,o=Object(i["a"])(t.data);try{for(o.s();!(r=o.n()).done;){var l=r.value;if(l.parentid===a){var s={label:l.name,value:l.id};3!=l.layer&&(s.children=[]),e.push(s),n(s.children,s.value)}}}catch(c){o.e(c)}finally{o.f()}};n(a,t.data[0].parentid),e.areasOptions=a}))},handleSelectionChange:function(e){this.proNos=e.map((function(e){return e.proNo})),this.multiple=!e.length,console.log(1111,this.proNos)},handleAdd:function(e){console.log(e.id);var t={proNo:e.sectionName?null:e.proNo,type:e.sectionName?"1":"0",sectionNo:e.sectionName?e.id:null};this.submitForm(t)},submitForm:function(e){var t=this;Object(o["m"])(e).then((function(e){200===e.code&&(t.msgSuccess("绑定成功"),t.isCom?t.$router.push("/building/projectInfo"):t.getList())}))}}}),c=s,u=a("2877"),d=Object(u["a"])(c,n,r,!1,null,null,null);t["default"]=d.exports},e2b9:function(e,t,a){},f690:function(e,t,a){"use strict";a.d(t,"e",(function(){return r})),a.d(t,"d",(function(){return i})),a.d(t,"a",(function(){return o})),a.d(t,"f",(function(){return l})),a.d(t,"b",(function(){return s})),a.d(t,"c",(function(){return c}));var n=a("b775");function r(e){return Object(n["a"])({url:"/earlyStage/bidResult/list",method:"post",data:e})}function i(e){return Object(n["a"])({url:"/earlyStage/bidResult/"+e,method:"get"})}function o(e){return Object(n["a"])({url:"/earlyStage/bidResult",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/earlyStage/bidResult",method:"put",data:e})}function s(e){return Object(n["a"])({url:"/earlyStage/bidResult/"+e,method:"delete"})}function c(e){return Object(n["a"])({url:"/earlyStage/bidResult/export",method:"get",params:e})}}}]);
|