(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["agency-audit-tuihui-zhongbhxrgs","web"],{2262:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("div",[e("my-search",{on:{search:t.searchHandler},model:{value:t.pgData,callback:function(e){t.pgData=e},expression:"pgData"}},[e("el-form-item",{attrs:{slot:"title"},slot:"title"},[e("el-input",{attrs:{placeholder:"中标候选人公示编号",clearable:""},model:{value:t.pgData.gscode,callback:function(e){t.$set(t.pgData,"gscode",e)},expression:"pgData.gscode"}})],1),e("el-form-item",[e("el-input",{attrs:{placeholder:"中标候选人公示名称",clearable:""},model:{value:t.pgData.gsname,callback:function(e){t.$set(t.pgData,"gsname",e)},expression:"pgData.gsname"}})],1),e("span",{attrs:{slot:"time"},slot:"time"})],1),e("my-table",{attrs:{data:t.tableData,height:t.tableHeight}},[e("el-table-column",{attrs:{label:"中标候选人公示编号","min-width":"220"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.gscode)+" ")]}}])}),e("el-table-column",{attrs:{label:"中标候选人公示名称","min-width":"220"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.gsname)+" ")]}}])}),e("el-table-column",{attrs:{label:"标段编号","min-width":"220"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.bdcode)+" ")]}}])}),e("el-table-column",{attrs:{label:"标段名称","min-width":"220"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.bdname)+" ")]}}])}),e("el-table-column",{attrs:{label:"添加时间",prop:"addtime",width:"160"}}),e("el-table-column",{attrs:{label:"添加人",prop:"addusername",width:"160"}}),e("el-table-column",{attrs:{label:"操作",width:"100",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",icon:"el-icon-warning"},on:{click:function(e){return t.editHandler({gscode:a.row.gscode})}}},[t._v(" 退回 ")])]}}])})],1),e("my-pagination",{ref:"page",attrs:{search:t.pgData,action:"".concat(t.getGetters("ageUrl"),"/announcement/zhongbhxrList")},model:{value:t.tableData,callback:function(e){t.tableData=e},expression:"tableData"}}),e("my-dialog",{attrs:{title:"退回",width:"700px"},model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}},[t.dialogVisible?e("form-page",{attrs:{data:t.form},on:{cancle:t.dialogClose}}):t._e()],1)],1)},i=[],o=a("6e26"),l=a("281e"),r=function(){var t=this,e=t._self._c;return e("my-form",{attrs:{table:"","label-width":"280px"},on:{cancle:t.cancleHandler,submit:t.submitHandler},scopedSlots:t._u([{key:"btn",fn:function(a){return[e("el-button",{attrs:{disabled:!t.media,type:"danger",icon:"el-icon-circle-check"},on:{click:a.submitHandler}},[t._v(" 退回 ")]),e("el-button",{attrs:{icon:"el-icon-circle-close"},on:{click:a.cancleHandler}},[t._v("取消")])]}}]),model:{value:t.form,callback:function(e){t.form=e},expression:"form"}},[e("el-form-item",{staticClass:"table-full-row",attrs:{label:"标段名称"}},[t._v(" "+t._s(t.form.bdname)+" ")]),e("el-form-item",{staticClass:"table-full-row",attrs:{label:"发布媒体是否勾选（除惠采购或惠招标）"}},[e("th-state",{attrs:{readonly:t.media}})],1),t.media||""==t.media?t._e():e("div",{staticClass:"tagBox"},[e("my-tag",{attrs:{type:"danger"}},[t._v("不满足退回条件！涉及推送其他平台，请提工单处理")])],1)],1)},s=[],c=a("75fe"),u=a("868e"),d=a("7080"),f={mixins:[c["a"],u["a"]],components:{ThState:d["a"]},props:{data:{type:Object,default:function(){return{}}}},data:function(){return{form:{},media:""}},computed:{},methods:{submitHandler:function(){var t=this;this.$post("".concat(this.getGetters("ageUrl"),"/announcement/zhongbhxrBack"),this.data,(function(e,a){ShowMsg(a.msg),t.cancleHandler()}))}},created:function(){var t=this;this.jspInit("".concat(this.getGetters("ageUrl"),"/announcement/zhongbhxrDetail"),this.data,(function(e){t.form=e.model,t.jspDataInit(e,["media"])}))}},h=f,m=(a("6dd9"),a("2877")),p=Object(m["a"])(h,r,s,!1,null,"7162fd92",null),g=p.exports,b={mixins:[o["a"],l["a"]],components:{FormPage:g},data:function(){return{pgData:{ggcode:"",by1:""},form:{}}},methods:{},created:function(){},mounted:function(){}},y=b,w=Object(m["a"])(y,n,i,!1,null,"ff7febdc",null);e["default"]=w.exports},"281e":function(t,e,a){"use strict";e["a"]={data:function(){return{dialogVisible:!1,form:{}}},watch:{dialogVisible:function(t){if(!t)try{this.reloadHandler()}catch(e){}}},methods:{dialogShow:function(){this.dialogVisible=!0},editHandler:function(t){this.form=clone(t),this.dialogVisible=!0},cancleHandler:function(){this.$emit("cancle")},dialogClose:function(){this.dialogVisible=!1}}}},"6dd9":function(t,e,a){"use strict";a("f65b")},"6e26":function(t,e,a){"use strict";a("14d9"),a("fb6a"),a("13d5"),a("d3b7"),a("a15b");function n(){var t=[];if(t.push.apply(t,arguments),"object"===getType(t[0]))return t[0];var e=t.slice(1),a=e.reduce((function(e,a){return e[a]=t[0][a],e}),{});return a}e["a"]={data:function(){return{tableData:[],pgData:{},tableHeight:0,multipleSelect:[]}},computed:{},methods:{addHandler:function(t,e){var a=this.getQuery();e=e||{},mixin(e,a,!0),this.goto({path:t||"./form",query:a})},detailHandler:function(){var t=[];t.push.apply(t,arguments);var e=this.getQuery(),a=n.apply(n,t);mixin(a,e,!0),this.goto({path:"./detail",query:e})},purDetailHandler:function(){var t=[];t.push.apply(t,arguments);var e=this.getQuery(),a=n.apply(n,t);mixin(a,e,!0),this.goto({path:"./detailPurchase",query:e})},editHandler:function(){var t=[];t.push.apply(t,arguments);var e=this.getQuery(),a=n.apply(n,t);mixin(a,e,!0),this.goto({path:"./form",query:e})},delHandler:function(t,e){var a=this;return function(){if(e){var n={};"object"===getType(e)?(n=e,mixin({oper:"del"},n)):n={id:e,oper:"del"},a.$post(t,n,(function(t,e){ShowMsg(e.msg,"success"),a.reloadHandler()}))}else{if(!a.multipleSelect.length)return void ShowMsg("请选择要删除的项");a.$post(t,{id:a.multipleSelect.join(",")},(function(t,e){ShowMsg(e.msg,"success"),a.reloadHandler()}))}}()},cancleHandler:function(){this.$emit("cancle")},reloadHandler:function(){this.$refs.page.reload()},searchHandler:function(t){t?this.$refs.page.queryData(t):this.$refs.page.queryData(),this.storeSearch()},setTableHeight:function(){function t(){return window.matchMedia("(orientation: landscape)").matches}this.tableHeight=window.innerHeight-210,isMobile()&&t()&&(this.tableHeight=200)},storeSearch:function(){window.setSession("search["+window.location.hash+"]",this.pgData)}},created:function(){this.setTableHeight(),window.addEventListener("resize",this.setTableHeight)},beforeDestroy:function(){window.removeEventListener("resize",this.setTableHeight)}}},7080:function(t,e,a){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",[t._v(t._s(t.setting.text))])},i=[],o=(a("a9e3"),{props:{readonly:{type:[Boolean,Number,String],default:!1}},data:function(){return{switchObj:{false:{type:"danger",text:"已勾选，不满足退回条件"},true:{type:"info",text:"否，满足退回条件"}}}},computed:{setting:function(){return this.switchObj[!!this.readonly]||{}}}}),l=o,r=a("2877"),s=Object(r["a"])(l,n,i,!1,null,"72e15a1b",null);e["a"]=s.exports},"75fe":function(t,e,a){"use strict";e["a"]={computed:{detailExtra:function(){return this.getQuery()}},methods:{cancleHandler:function(){this.$router.go(-1)}}}},"868e":function(t,e,a){"use strict";e["a"]={methods:{cancleHandler:function(){try{this.$refs.form.reset()}catch(t){}this.$emit("cancle")}}}},aa5c:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("router-view")},i=[],o={data:function(){return{}}},l=o,r=a("2877"),s=Object(r["a"])(l,n,i,!1,null,"1d20cb21",null);e["default"]=s.exports},f65b:function(t,e,a){}}]);
//# sourceMappingURL=agency-audit-tuihui-zhongbhxrgs.9913bfe0.js.map