摘要: var str = '2016060520103600466'; var str=str.replace(/\s/g,'').replace(/(.{4})/g,"$1 "); 阅读全文
posted @ 2020-07-22 13:54 Action_swt 阅读(149) 评论(0) 推荐(0)
摘要: 公共样式添加样式。 状态添加。。。。 阅读全文
posted @ 2020-07-21 15:25 Action_swt 阅读(312) 评论(0) 推荐(0)
摘要: chenkHandle(row){ //原页打开 // this.$router.push({path:'/duocai/detail',query:{ checkType:row.id,role:"manger"}}); //新开页 let newUrl = this.$router.resolv 阅读全文
posted @ 2020-07-21 15:22 Action_swt 阅读(235) 评论(0) 推荐(0)
摘要: <!--日期start--> <el-form-item label="提交时间:"> <div class="block"> <!-- <span class="demonstration"></span> --> <el-date-picker value-format="yyyy-MM-dd" 阅读全文
posted @ 2020-07-21 13:25 Action_swt 阅读(1394) 评论(0) 推荐(0)
摘要: .el-table{ /deep/ td{ text-align: center; } } 表格居中显示。 表头居中显示。 表头border不显示,找到th 设置 0.5px solid .... //修改表格边框颜色 .requireList{ /deep/ .el-table td, .el-t 阅读全文
posted @ 2020-07-14 19:59 Action_swt 阅读(404) 评论(0) 推荐(0)
摘要: var star='2019-2-26'//date1:小日期 对比时间日期 var end='2019-3-5'//date2:大日期 当前日期 function DateMinus(date1,date2){ var sdate = new Date(date1); var now = new 阅读全文
posted @ 2020-07-14 14:12 Action_swt 阅读(1382) 评论(0) 推荐(0)
摘要: Message组件引入。 不能用Vue.use(Message) 这样不能,调用组件。并且没进页面都会有 弹框。 解决方法: 通过加载组件的方式引入即可 把 Vue.use(Message) 改为 Vue.prototype.$message = Message 或 Vue.component(Me 阅读全文
posted @ 2020-07-10 16:44 Action_swt 阅读(229) 评论(0) 推荐(0)
摘要: <script type="text/javascript">function checknum(){ var obj = document.getElementById("num"); var reg = new RegExp("^[0-9]*$"); if(!reg.test(obj.value 阅读全文
posted @ 2020-06-24 15:21 Action_swt 阅读(832) 评论(0) 推荐(0)
摘要: !function(t,n){t.CryptoJS=n()}(this,function(){var t=t||function(t,n){var i=Object.create||function(){function t(){}return function(n){var i;return t. 阅读全文
posted @ 2020-06-17 11:21 Action_swt 阅读(382) 评论(0) 推荐(0)