Commit 2c8847cf authored by Mac's avatar Mac

增加销售页面首页

parent c5cb7164
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</viewer> </viewer>
<chosen-open-mode v-if="haveOpenMode" :settingSys="settingSys"></chosen-open-mode> <chosen-open-mode v-if="haveOpenMode" :settingSys="settingSys"></chosen-open-mode>
<!-- --> <!-- -->
</div> </div>
</template> </template>
...@@ -58,12 +58,12 @@ export default { ...@@ -58,12 +58,12 @@ export default {
dataShow:false, dataShow:false,
haveOpenMode:false, haveOpenMode:false,
settingSys: false, settingSys: false,
// sessionStorage.getItem("mazip") ? sessionStorage.getItem("mazip") : true // sessionStorage.getItem("mazip") ? sessionStorage.getItem("mazip") : true
} }
}, },
methods: { methods: {
inited (viewer){ inited (viewer){
this.$viewer = viewer this.$viewer = viewer
}, },
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
} }
</script> </script>
<style> <style>
@import "//at.alicdn.com/t/font_635492_dxcl6yumgsq.css"; @import "//at.alicdn.com/t/font_635492_p5609mvb4qe.css";
@import "./assets/css/Semibold.css"; @import "./assets/css/Semibold.css";
@import "./assets/css/global/config.css"; @import "./assets/css/global/config.css";
@import "./assets/css/fileIcon.css"; @import "./assets/css/fileIcon.css";
......
This diff is collapsed.
...@@ -10,13 +10,14 @@ import cookie from './assets/utils/cookie' ...@@ -10,13 +10,14 @@ import cookie from './assets/utils/cookie'
import commonUtils from './assets/utils/commonUtils' import commonUtils from './assets/utils/commonUtils'
import tripUtils from './assets/utils/tripUtils' import tripUtils from './assets/utils/tripUtils'
import ElementUI from 'element-ui' import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css' import 'element-ui/lib/theme-chalk/index.css'
import vueQuillEditor from 'vue-quill-editor' import vueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css' import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css' import 'quill/dist/quill.snow.css'
import echarts from 'echarts' import echarts from 'echarts'
Vue.prototype.$echarts = echarts
// import VueWebsocket from "vue-websocket" // import VueWebsocket from "vue-websocket"
// import global_ from './components/Global' // import global_ from './components/Global'
//import VueAMap from 'vue-amap' //import VueAMap from 'vue-amap'
...@@ -66,11 +67,11 @@ Vue.prototype.lrz=lrz ...@@ -66,11 +67,11 @@ Vue.prototype.lrz=lrz
// Vue.use(htmlToPdf) // Vue.use(htmlToPdf)
Vue.use(VueI18n) // 通过插件的形式挂载 Vue.use(VueI18n) // 通过插件的形式挂载
Vue.use(ajaxPlug) Vue.use(ajaxPlug)
Vue.use(ElementUI) Vue.use(ElementUI)
Vue.use(vueQuillEditor) Vue.use(vueQuillEditor)
//Vue.use(VueAMap); //Vue.use(VueAMap);
Vue.use(VueBarcode); //声明条形码组件 Vue.use(VueBarcode); //声明条形码组件
Vue.use(store); Vue.use(store);
Vue.use(Viewer,{ Vue.use(Viewer,{
defaultOptions: { defaultOptions: {
zIndex: 9999 zIndex: 9999
...@@ -82,21 +83,21 @@ Vue.use(Viewer,{ ...@@ -82,21 +83,21 @@ Vue.use(Viewer,{
// 时间扩展格式化 // 时间扩展格式化
Date.prototype.Format = function (fmt) { Date.prototype.Format = function (fmt) {
var o = { var o = {
"M+": this.getMonth() + 1, //月份 "M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日 "d+": this.getDate(), //日
"h+": this.getHours(), //小时 "h+": this.getHours(), //小时
"m+": this.getMinutes(), //分 "m+": this.getMinutes(), //分
"s+": this.getSeconds() //秒 "s+": this.getSeconds() //秒
}; };
if (/(y+)/.test(fmt)){ //根据y的长度来截取年 if (/(y+)/.test(fmt)){ //根据y的长度来截取年
fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
} }
for (var k in o){ for (var k in o){
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
} }
return fmt; return fmt;
}; };
// 数组对比 // 数组对比
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment