1843d138 by 任超

style:业务申请规则

1 parent 53bbd528
...@@ -5,4 +5,4 @@ NODE_ENV=development ...@@ -5,4 +5,4 @@ NODE_ENV=development
5 VUE_APP_BASE_API = '/dev-api' 5 VUE_APP_BASE_API = '/dev-api'
6 6
7 # 开发环境 7 # 开发环境
8 VUE_APP_API_BASE_URL = 'http://192.168.2.95:8009' 8 VUE_APP_API_BASE_URL = 'http://192.168.2.44:8009'
......
...@@ -16,7 +16,7 @@ export default { ...@@ -16,7 +16,7 @@ export default {
16 }, 16 },
17 methods: { 17 methods: {
18 handleSizeChange (val) { 18 handleSizeChange (val) {
19 this.pageData.currentPage = 1 19 this.pageData.currentPage = val
20 this.pageData.pageSize = val 20 this.pageData.pageSize = val
21 this.fetchData() 21 this.fetchData()
22 }, 22 },
......
1 <template> 1 <template>
2 <!-- 编辑 --> 2 <!-- 编辑 -->
3 <dialogBox submitForm="submitForm" @closeDialog="closeDialog" v-model="myValue" :isSave="!details.isenable == 2" 3 <dialogBox submitForm="submitForm" @closeDialog="closeDialog" v-model="myValue" title="字典信息">
4 title="字典信息">
5 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px"> 4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px">
6 <el-row :gutter="20"> 5 <el-row :gutter="20">
7 <el-col :span="12"> 6 <el-col :span="12">
......
...@@ -37,7 +37,7 @@ class data extends filter { ...@@ -37,7 +37,7 @@ class data extends filter {
37 return ( 37 return (
38 <div> 38 <div>
39 { 39 {
40 scope.row.sfyxxg == '1' ? 40 scope.row.isenable == '1' ?
41 <div class='allow'>允许</div> : 41 <div class='allow'>允许</div> :
42 <div class='prohibit'>禁止</div> 42 <div class='prohibit'>禁止</div>
43 } 43 }
...@@ -54,7 +54,7 @@ class data extends filter { ...@@ -54,7 +54,7 @@ class data extends filter {
54 return ( 54 return (
55 <div> 55 <div>
56 { 56 {
57 scope.row.sfyxxg == '1' ? 57 scope.row.isenable == '1' ?
58 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.editClick(scope.row, 1) }}>修改</el-button> : 58 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.editClick(scope.row, 1) }}>修改</el-button> :
59 <el-button type="text" icon="el-icon-view" onClick={() => { vm.editClick(scope.row, 2) }}>查看</el-button> 59 <el-button type="text" icon="el-icon-view" onClick={() => { vm.editClick(scope.row, 2) }}>查看</el-button>
60 } 60 }
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
29 </div> 29 </div>
30 <!-- 表格 --> 30 <!-- 表格 -->
31 <div class="from-clues-content"> 31 <div class="from-clues-content">
32 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" 32 <lb-table :page-size="pageData.pageSize" :current-page.sync="pageData.currentPage" :total="tableData.total"
33 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 33 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
34 :data="tableData.data"> 34 :data="tableData.data">
35 </lb-table> 35 </lb-table>
...@@ -62,15 +62,15 @@ export default { ...@@ -62,15 +62,15 @@ export default {
62 tableData: { 62 tableData: {
63 total: 0, 63 total: 0,
64 columns: datas.columns(), 64 columns: datas.columns(),
65 data: []
65 } 66 }
66 } 67 }
67 }, 68 },
68 methods: { 69 methods: {
69 //查询 70 //查询
70 queryClick(){ 71 queryClick () {
71 this.fetchData(); 72 this.fetchData();
72 }, 73 },
73
74 // 初始化数据 74 // 初始化数据
75 fetchData () { 75 fetchData () {
76 getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then(res => { 76 getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
......