Browse Source

口岸资讯

qzyReal 1 year ago
parent
commit
f714a7cfdc

+ 0 - 20
sa-view/tb-port-news/tb-port-news-add.html

@@ -1,9 +1,4 @@
 
-qzyReal /
-market-admin-ui
-tb-port-news-add.html 5.7 KB
-123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 	
-
     <!DOCTYPE html>
     <html>
     	<head>
@@ -118,23 +113,8 @@ tb-port-news-add.html 5.7 KB
     					ok: function(){
     						// 表单校验 
     						let m = this.m;
-    						sa.checkNull(m.id, '请输入 [主键]');
     						sa.checkNull(m.title, '请输入 [标题]');
-    						sa.checkNull(m.cover, '请输入 [封面图片]');
-    						sa.checkNull(m.url, '请输入 [链接地址]');
     						sa.checkNull(m.content, '请输入 [内容]');
-    						sa.checkNull(m.source, '请输入 [来源]');
-    						sa.checkNull(m.readCount, '请输入 [阅读量]');
-    						sa.checkNull(m.isRelease, '请输入 [发布状态]');
-    						sa.checkNull(m.releaseTime, '请输入 [发布时间]');
-    						sa.checkNull(m.status, '请输入 [状态]');
-    						sa.checkNull(m.createBy, '请输入 [创建者id]');
-    						sa.checkNull(m.createName, '请输入 [创建者名称]');
-    						// sa.checkNull(m.createTime, '请输入 [创建时间]');
-    						sa.checkNull(m.updateBy, '请输入 [更新者id]');
-    						sa.checkNull(m.updateName, '请输入 [更新者名称]');
-    						// sa.checkNull(m.updateTime, '请输入 [更新时间]');
-    				
     						// 开始增加或修改
     						this.m.createTime = undefined;		// 不提交属性:创建时间
     						this.m.updateTime = undefined;		// 不提交属性:更新时间

+ 2 - 9
sa-view/tb-port-news/tb-port-news-list.html

@@ -1,9 +1,4 @@
 
-qzyReal /
-market-admin-ui
-tb-port-news-list.html 6.9 KB
-123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 	
-
     <!DOCTYPE html>
     <html>
     	<head>
@@ -29,11 +24,9 @@ tb-port-news-list.html 6.9 KB
     					<sa-item type="text" name="标题" v-model="p.title"></sa-item>
     					<el-button type="primary" icon="el-icon-search" @click="p.pageNo = 1; f5()">查询</el-button>
     					<el-button type="info" icon="el-icon-refresh" @click="sa.f5()">重置</el-button>
+						<el-button v-if="sa.isAuth('tb-port-news-add')" size="mini" type="primary" @click="add()">新增</el-button>
+						<el-button size="mini" type="success" @click="getBySelect()">查看</el-button>
     				</el-form>
-    				<div class="fast-btn">
-    					<el-button v-if="sa.isAuth('tb-port-news-add')" size="mini" type="primary" @click="add()">新增</el-button>
-    					<el-button size="mini" type="success" @click="getBySelect()">查看</el-button>
-    				</div>
     				<!-- ------------- 数据列表 ------------- -->
     				<el-table class="data-table" ref="data-table" :data="dataList" >
     					<sa-td type="selection"></sa-td>