0d199123 by 任超

style:申请业务规则

1 parent 3b3e5ee5
......@@ -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'
......
// table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
export default class filter {
// 业务来源
busSource(val) {
busSource (val) {
let status = { 1: '办事大厅', 2: '微信小程序' }
return status[val]
}
......@@ -11,12 +11,4 @@ export default class filter {
let status = { 1: '正常申请', 2: '一并申请', 3: '补录申请' }
return status[val]
}
//是否启用(1:启用,2:禁用)
sfqys (val) {
let status = { 1: '启用', 2: '禁用' }
return status[val]
}
}
......
......@@ -16,7 +16,7 @@
</el-col>
<el-col :span="12" class="btnCol">
<el-form-item>
<el-button type="primary" @click="fetchData">查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button icon="el-icon-refresh" @click="handleRefresh">刷新缓存</el-button>
</el-form-item>
</el-col>
......
<template>
<div class="dymbgl from-clues-content">
<lb-table :page-size="pageData.size" :current-page.sync="pageData.current" heightNum="210" :total="tableData.total"
<lb-table :page-size="pageData.size" :current-page.sync="pageData.current" heightNum="215" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
......@@ -48,6 +48,6 @@ export default {
@import "~@/styles/public.scss";
.dymbgl {
margin-top: -2px;
margin-top: -1px;
}
</style>
......
......@@ -14,7 +14,7 @@
</el-col>
<el-col :span="18" class="btnCol">
<el-form-item>
<el-button type="primary" @click="fetchData()">查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="fetchData()">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......
......@@ -3,7 +3,7 @@
-->
<template>
<div class='该组件名称'>
<el-form :model="ruleForm" :rules="rules">
<el-form :model="ruleForm">
<el-row>
<el-col :span="5">
<el-form-item label="登记业务编码">
......@@ -26,20 +26,19 @@
</div>
<el-divider></el-divider>
<ul class="qlxx-list">
<li v-for="(item, index) in dataList.qlxxList" :key="index">
<li v-for="(item, index) in dataList.sxql" :key="index">
<el-checkbox v-model="item.checked">{{ item.sxzdmc }}</el-checkbox>
</li>
</ul>
<ul class="screen-list">
<li v-for="(item, index) in dataList.screenList" :key="index">
<li v-for="(item, index) in dataList.sxzt" :key="index">
<div class="screen-list-left">
<el-switch v-model="item.checked" @change="handleSelect(item)">
</el-switch>
{{ item.name }}
{{ item.sxzdmc }}
</div>
<el-radio-group v-model="item.radio" :disabled="!item.checked">
<el-radio :label="1">正在办理</el-radio>
<el-radio :label="2">未办理</el-radio>
<el-radio-group v-model="item.selected" :disabled="!item.checked">
<el-radio :label="obj.sxzdz" v-for="(obj, index) in item.children">{{ obj.sxzdmc }}</el-radio>
</el-radio-group>
</li>
</ul>
......@@ -51,53 +50,18 @@ export default {
ruleForm: {
type: Object, default: {}
},
sxql: {
type: Array, default: () => {
return []
subData: {
type: Object, default: () => {
return {}
}
}
},
data () {
return {
rules: {
djywbm: [
{ required: true, message: '登记业务编码', trigger: 'blur' },
],
djywmc: [
{ required: true, message: '登记业务名称', trigger: 'blur' },
],
},
dataList: {
qlxxList: [
{
checked: false,
name: '国有建设用地使用权'
sxql: [],
sxzt: []
}
],
screenList: [
{
checked: true,
name: '筛选单元办理状态条件',
radio: 1
},
{
checked: true,
name: '筛选单元办理状态条件',
radio: 1
},
{
checked: true,
name: '筛选单元办理状态条件',
radio: 1
},
{
checked: true,
name: '筛选单元办理状态条件',
radio: 1
}
]
},
}
},
watch: {
......@@ -107,9 +71,10 @@ export default {
},
deep: true
},
sxql: {
subData: {
handler (newValue, oldValue) {
this.dataList.qlxxList = newValue
this.dataList.sxql = newValue.sxql
this.dataList.sxzt = newValue.sxzt
},
deep: true
},
......@@ -172,6 +137,8 @@ export default {
&-left {
margin-right: 20px;
width: 160px;
white-space: nowrap;
}
li:nth-child(odd) {
......
......@@ -116,7 +116,7 @@
</el-form>
<djqxsd v-show="n == 1" :djqxList="subData.djqx" :ruleForm="ruleForm" @updateValue="getDjqxValue" />
<clgzsd v-show="n == 2" :ruleForm="ruleForm" @updateValue="getClValue" />
<dyztsd :ruleForm="ruleForm" :sxql="subData.sxql" v-show="n == 3" />
<dyztsd :ruleForm="ruleForm" :subData="subData" v-show="n == 3" @updateValue="getDyztsdValue" />
</div>
</div>
</dialogBox>
......@@ -235,6 +235,11 @@ export default {
getClValue (val) {
console.log(val);
},
// 单元状态设定
getDyztsdValue (val) {
this.subData.sxql = val.sxql
this.subData.sxzt = val.sxzt
},
submitForm () {
this.$refs['ruleForm'].validate(async (valid) => {
let that = this
......
......@@ -20,8 +20,7 @@
</el-col>
<el-col :span="12" class="btnCol">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="queryClick()">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......
......@@ -43,10 +43,17 @@ class data extends filter {
label: "发起业务单元类型",
},
{
prop: "enabled",
label: "是否启用",
render: (h, scope) => {
return <div>{this.sfqys(scope.row.sqfl)}</div>;
return (
<div>
{
scope.row.enabled == '1' ?
<div class='allow'>启用</div> :
<div class='prohibit'>禁止</div>
}
</div>
)
}
},
......
<template>
<dialogBox title="证书使用情况" @closeDialog="closeDialog" v-model="myValue" :isButton="false">
<el-form :model="ruleForm" ref="ruleForm" label-width="100px">
<div class="title-name">
入库情况
</div>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="入库编号">
<el-input v-model="ruleForm.rkbh" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="入库时间">
<el-date-picker v-model="ruleForm.rksj" disabled type="datetime">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="入库人员">
<el-input v-model="ruleForm.rkry" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="登记机构">
<el-input v-model="ruleForm.djjg" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="备注">
<el-input v-model="ruleForm.bz" type="textarea" :rows="2" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<div class="title-name">
分发情况
</div>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="分发编号">
<el-input v-model="ruleForm.ffbh" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="领取时间">
<el-date-picker v-model="ruleForm.lqsj" disabled type="datetime">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="入库人员">
<el-input v-model="ruleForm.rkry" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="备注">
<el-input v-model="ruleForm.bz" type="textarea" :rows="2" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<div class="title-name">
证书信息
</div>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="不动产权证号">
<el-input v-model="ruleForm.bdcqzh" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="业务号">
<el-input v-model="ruleForm.ywh" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="不动产单元号">
<el-input v-model="ruleForm.bdcdyh" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="证书类型">
<el-input v-model="ruleForm.zslx" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="印刷序列号">
<el-input v-model="ruleForm.ysxlh" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="是否作废">
<el-input v-model="ruleForm.sfzf" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="作废原因">
<el-input v-model="ruleForm.zfyy" type="textarea" :rows="2" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</dialogBox>
</template>
<script>
export default {
props: {
value: { type: Boolean, default: false },
},
watch: {
value (val) {
this.myValue = val
},
},
data () {
return {
myValue: this.value,
ruleForm: {
rkbh: '',
rksj: '',
rkry: '',
djjg: '',
bz: '',
ffbh: '',
lqsj: '',
// 证书信息
bdcqzh: '',
ywh: '',
bdcdyh: '',
zslx: '',
ysxlh: '',
sfzf: '',
zfyy: ''
}
}
},
methods: {
},
};
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
.title-name {
line-height: 36px;
border-bottom: 1px solid $borderColor;
margin-bottom: 10px;
}
</style>
......@@ -6,28 +6,28 @@
<el-row>
<el-col :span="5">
<el-form-item label="印刷序列号" prop="ysxlh">
<el-input v-model="ruleForm.ysxlh"></el-input>
<el-input v-model="ruleForm.ysxlh" placeholder="请输入印刷序列号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="证书类型" prop="zslx">
<el-input v-model="ruleForm.zslx"></el-input>
<el-input v-model="ruleForm.zslx" placeholder="请输入证书类型"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="业务号" prop="ywh">
<el-input v-model="ruleForm.ywh"></el-input>
<el-input v-model="ruleForm.ywh" placeholder="请输入业务号"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="不动产权证号" prop="bdcqzh">
<el-input v-model="ruleForm.bdcqzh"></el-input>
<el-input v-model="ruleForm.bdcqzh" placeholder="请输入不动产权证号"></el-input>
</el-form-item>
</el-col>
<el-col :span="3" class="btnCol">
<el-form-item>
<el-button type="primary" @click="fetchData">查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -41,20 +41,23 @@
:data="tableData.data">
</lb-table>
</div>
<viewDialog v-model="isDialog" />
</div>
</template>
<script>
import viewDialog from "./components/viewDialog.vue"
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zssyjldata";
export default {
name: "zssyjl",
components: {},
components: { viewDialog },
mixins: [table],
mounted () {
sendThis(this);
},
data () {
return {
isDialog: false,
ruleForm: {
ysxlh: "",
zslx: "",
......@@ -79,7 +82,7 @@ export default {
// 初始化数据
fetchData () { },
openDialog () {
console.log(999999999999999);
this.isDialog = true
},
},
};
......
......@@ -59,14 +59,14 @@ class data extends filter {
align: 'center',
fixed: 'right',
render: (h, scope) => {
return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.openDialog(scope) }}>编辑</el-button>
return <el-button type="text" icon="el-icon-view" onClick={() => { vm.openDialog(scope) }}>查看</el-button>
}
}
]
}
ywlys(){
return[
ywlys () {
return [
{ value: 1, label: "办事大厅" },
{ value: 2, label: "微信小程序" },
{ value: 3, label: "法院端" },
......