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 line
12 KiB
1 line
12 KiB
|
2 weeks ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-ship_manage"],{"00ec":function(t,e,n){"use strict";n.r(e);var i=n("64b0"),a=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},1319:function(t,e,n){var i=n("c5a0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("2dbf65a6",i,!0,{sourceMap:!1,shadowMode:!1})},"291a":function(t,e,n){var i=n("9098");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("2fa82ad0",i,!0,{sourceMap:!1,shadowMode:!1})},"345c":function(t,e,n){"use strict";n.r(e);var i=n("e07c"),a=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},"3b2a":function(t,e,n){"use strict";n.r(e);var i=n("41b7"),a=n("345c");for(var s in a)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(s);n("6b26");var o=n("828b"),c=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"21c94e9e",null,!1,i["a"],void 0);e["default"]=c.exports},"41b7":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"reservation-page",class:{"wechat-browser":t.isWeixinBrowser}},[t.isWeixinBrowser?t._e():n("v-uni-view",{staticClass:"fixed-nav"},[n("NavBar",{attrs:{title:"船只管理"}})],1),n("v-uni-view",{staticClass:"content-area"},[0===t.shipList.length?n("v-uni-view",{staticClass:"empty-tip"},[n("v-uni-image",{staticClass:"empty-img",attrs:{src:"/static/empty.png",mode:"aspectFit"}}),n("v-uni-text",{staticClass:"empty-text"},[t._v("暂无船只信息")])],1):n("v-uni-view",t._l(t.shipList,(function(e){return n("v-uni-view",{key:e.id,staticClass:"ship-cell",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goDetail(e)}}},[n("v-uni-view",{staticClass:"ship-card-header"},["pending"===e.status?n("v-uni-view",{staticClass:"status pending"},[n("span",{staticClass:"status-text"},[t._v("待审核")])]):"rejected"===e.status?n("v-uni-view",{staticClass:"status rejected"},[n("span",{staticClass:"status-text"},[t._v("已拒绝")])]):"approved"===e.status?n("v-uni-view",{staticClass:"status approved"},[n("span",{staticClass:"status-text"},[t._v("已通过")])]):t._e()],1),n("v-uni-view",{staticClass:"ship-title"},[t._v(" 船名: "),n("v-uni-text",{staticClass:"ship-no"},[t._v(t._s(e.ship_number))])],1),n("v-uni-view",{staticClass:"ship-row"},[t._v("所有人: "+t._s(e.owner_name))]),n("v-uni-view",{staticClass:"ship-row"},[t._v("联系电话: "+t._s(e.phone))]),n("v-uni-view",{staticClass:"ship-row"},[t._v("载重吨位: "+t._s(e.total_tonnage)+" 吨")])],1)})),1)],1),0===t.shipList.length?n("v-uni-view",{staticClass:"fixed-bottom"},[n("v-uni-button",{staticClass:"add-cell-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goAdd.apply(void 0,arguments)}}},[t._v("添加")])],1):t._e(),1===t.shipList.length?n("v-uni-view",{staticClass:"fixed-bottom"},["pending"===t.shipList[0].status?[n("v-uni-button",{staticClass:"add-cell-btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goEdit(t.shipList[0])}}},[t._v("修改")])]:"rejected"===t.shipList[0].status?[n("v-uni-button",{staticClass:"add-cell-btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goEdit(t.shipList[0])}}},[t._v("修改")]),n("v-uni-button",{staticClass:"delete-cell-btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.onDelete(t.shipList[0])}}},[t._v("删除")])]:"approved"===t.shipList[0].status?[n("v-uni-button",{staticClass:"delete-cell-btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.onDelete(t.shipList[0])}}},[t._v("删除")])]:t._e()],2):t._e()],1)},a=[]},"561e":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function()
|