1843d138 by 任超

style:业务申请规则

1 parent 53bbd528
......@@ -5,4 +5,4 @@ NODE_ENV=development
VUE_APP_BASE_API = '/dev-api'
# 开发环境
VUE_APP_API_BASE_URL = 'http://192.168.2.95:8009'
VUE_APP_API_BASE_URL = 'http://192.168.2.44:8009'
......
......@@ -16,7 +16,7 @@ export default {
},
methods: {
handleSizeChange (val) {
this.pageData.currentPage = 1
this.pageData.currentPage = val
this.pageData.pageSize = val
this.fetchData()
},
......
<template>
<!-- 编辑 -->
<dialogBox submitForm="submitForm" @closeDialog="closeDialog" v-model="myValue" :isSave="!details.isenable == 2"
title="字典信息">
<dialogBox submitForm="submitForm" @closeDialog="closeDialog" v-model="myValue" title="字典信息">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px">
<el-row :gutter="20">
<el-col :span="12">
......
......@@ -37,7 +37,7 @@ class data extends filter {
return (
<div>
{
scope.row.sfyxxg == '1' ?
scope.row.isenable == '1' ?
<div class='allow'>允许</div> :
<div class='prohibit'>禁止</div>
}
......@@ -54,7 +54,7 @@ class data extends filter {
return (
<div>
{
scope.row.sfyxxg == '1' ?
scope.row.isenable == '1' ?
<el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.editClick(scope.row, 1) }}>修改</el-button> :
<el-button type="text" icon="el-icon-view" onClick={() => { vm.editClick(scope.row, 2) }}>查看</el-button>
}
......
......@@ -29,7 +29,7 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
<lb-table :page-size="pageData.pageSize" :current-page.sync="pageData.currentPage" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
......@@ -62,15 +62,15 @@ export default {
tableData: {
total: 0,
columns: datas.columns(),
data: []
}
}
},
methods: {
//查询
queryClick(){
queryClick () {
this.fetchData();
},
// 初始化数据
fetchData () {
getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
......