340912d6 by jiaozeping@pashanhoo.com
2 parents f5ba14f2 9aa810bb
1 export default { 1 export default {
2 SERVERAPI: '/service-bdcdj9', 2 SERVERAPI: '/service-bdcdj-xq',
3 // SERVERCAI: '/service-bdcdj-Tian' 3 // SERVERCAI: '/service-bdcdj-xiaqi'
4 } 4 }
...\ No newline at end of file ...\ No newline at end of file
......
1 <template>
2 <div class="my-outbox">
3 <div class="my-inbox" ref='box'>
4 <div class="my-list" :style="note" v-for="(item,index) in sendVal" :key='index' ref='list'>
5 <span class="my-uname">{{ item }}</span>
6 </div>
7 </div>
8 </div>
9 </template>
10
11 <script>
12 export default {
13 name: 'my-marquee-left',
14 props: {
15 sendVal: {
16 type: Array,
17 default: []
18 }
19 },
20 data () {
21 return {
22 note: {
23 backgroundSize: "20px 20px",
24 backgroundRepeat: "no-repeat",
25 backgroundPosition: "1% 50%"
26 },
27 // 定时器标识
28 nowTime: null,
29 // 每一个内容的宽度
30 disArr: []
31 }
32 },
33 mounted () {
34 // var that = this
35 var item = this.$refs.list
36 var len = this.sendVal.length
37 var arr = []
38 // 因为设置的margin值一样,所以取第一个就行。
39 var margin = this.getMargin(item[0])
40 for (var i = 0; i < len; i++) {
41 arr.push(item[i].clientWidth + margin) // 把宽度和 margin 加起来就是每一个元素需要移动的距离
42 }
43 this.disArr = arr
44 this.moveLeft()
45 },
46 beforeDestroy () {
47 // 页面关闭清除定时器
48 clearInterval(this.nowTime)
49 // 清除定时器标识
50 this.nowTime = null
51 },
52 methods: {
53 // 获取margin属性
54 getMargin (obj) {
55 var marg = window.getComputedStyle(obj, null)['margin-right']
56 marg = marg.replace('px', '')
57 return Number(marg) // 强制转化成数字
58 },
59 // 移动的方法
60 moveLeft () {
61 var that = this
62 var outbox = this.$refs.box
63 // 初始位置
64 var startDis = 0
65 // console.log('that.disArr: ', that.disArr)
66 this.nowTime = setInterval(function () {
67 startDis -= 0.5
68 // console.log('初始化移动:', startDis)
69 if (Math.abs(startDis) > Math.abs(that.disArr[0])) {
70 // 每次移动完一个元素的距离,就把这个元素的宽度
71 that.disArr.push(that.disArr.shift())
72 // 每次移动完一个元素的距离,就把列表数据的第一项放到最后一项
73 // console.log('that.sendVal: ', that.sendVal)
74 // console.log('that.sendVal: ', that.sendVal.shift())
75 that.sendVal.push(that.sendVal.shift())
76 startDis = 0
77 // console.log('移动')
78 } else {
79 // console.log('不来不来就不来...')
80 }
81 // 每次都让盒子移动指定的距离,在我自己做的项目中,这种字符串拼接的方法并没有生效
82 // outbox.style = 'transform: translateX3d(' + startDis + 'px)'
83 // 后面换了es6的模板字符串就可以了
84 outbox.style = `transform: translateX(${startDis}px)`
85 // outbox.style = 'transform: translateX(\' + startDis + \' px)'
86 // outbox.style.marginLeft = 'startDis'
87 // console.log('这里:', startDis)
88 }, 1000 / 60)
89 }
90 }
91 }
92 </script>
93
94 <style lang="scss" scoped>
95 .my-outbox {
96 color: #fff;
97 overflow: hidden;
98 line-height: 28px;
99 // background: $light-blue;
100 width: 500px;
101
102 .my-inbox {
103 white-space: nowrap;
104
105 .my-list {
106 margin-right: 15px;
107 display: inline-block;
108 font-size: 14px;
109 text-indent: 30px;
110
111 .my-uname {
112 color: #fff;
113 }
114 }
115 }
116 }
117 </style>
...\ No newline at end of file ...\ No newline at end of file
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
107 .ls-mask { 107 .ls-mask {
108 width: 100%; 108 width: 100%;
109 height: 100%; 109 height: 100%;
110 z-index: 100000; 110 z-index: 2000;
111 position: fixed; 111 position: fixed;
112 left: 0; 112 left: 0;
113 top: 0; 113 top: 0;
......
1 <template> 1 <template>
2 <div class="navbar" v-theme.background="mTheme"> 2 <div class="navbar-con">
3 <div class="logo"> 3 <div class="navbar" v-theme.background="mTheme">
4 <img v-if="logo" :src="logo" class="header-logo"> 4 <div class="logo">
5 </div> 5 <img v-if="logo" :src="logo" class="header-logo">
6 <div class="backdrop"> 6 </div>
7 <theme style="float: right;height: 26px;width: 26px;margin-top: 26px;" @change="themeChange" /> 7 <div class="backdrop">
8 </div> 8 <theme style="float: right;height: 26px;width: 26px;margin-top: 26px;" @change="themeChange" />
9 <div class="right-menu"> 9 </div>
10 <el-dropdown class="avatar-container right-menu-item hover-effect" @command="handleCommand"> 10 <div class="right-menu">
11 <div class="avatar-wrapper"> 11 <el-dropdown class="avatar-container right-menu-item hover-effect" @command="handleCommand">
12 <span style="padding-right:10px">{{ name }}</span> 12 <div class="avatar-wrapper">
13 <img :src="avatar + '?imageView2/1/w/80/h/80'" class="user-avatar" /> 13 <span style="padding-right:10px">{{ name }}</span>
14 </div> 14 <img :src="avatar + '?imageView2/1/w/80/h/80'" class="user-avatar" />
15 <el-dropdown-menu slot="dropdown"> 15 </div>
16 <el-dropdown-item command="a">个人中心</el-dropdown-item> 16 <el-dropdown-menu slot="dropdown">
17 <el-dropdown-item command="f">退出登录</el-dropdown-item> 17 <el-dropdown-item command="a">个人中心</el-dropdown-item>
18 </el-dropdown-menu> 18 <el-dropdown-item command="f">退出登录</el-dropdown-item>
19 </el-dropdown> 19 </el-dropdown-menu>
20 </el-dropdown>
21 </div>
20 </div> 22 </div>
23 <NoticeBar class="NoticeBar" :sendVal="sendVal" />
21 </div> 24 </div>
22 </template> 25 </template>
23 <script> 26 <script>
27 import NoticeBar from '@/components/NoticeBar/index'
24 import { mapGetters } from 'vuex' 28 import { mapGetters } from 'vuex'
25 export default { 29 export default {
30 components: {
31 NoticeBar
32 },
26 computed: { 33 computed: {
27 ...mapGetters(['sidebar', 'avatar', 'name']) 34 ...mapGetters(['sidebar', 'avatar', 'name'])
28 }, 35 },
29 data () { 36 data () {
30 return { 37 return {
31 logo: require('../../image/logo.png') 38 logo: require('../../image/logo.png'),
39 sendVal: [
40 '222222222222222222222222222222222',
41 '222222233333333333333333333333'
42 ]
32 } 43 }
33 }, 44 },
34 methods: { 45 methods: {
...@@ -53,6 +64,16 @@ export default { ...@@ -53,6 +64,16 @@ export default {
53 } 64 }
54 </script> 65 </script>
55 <style lang="scss" scoped> 66 <style lang="scss" scoped>
67 .navbar-con {
68 position: relative;
69 }
70
71 .NoticeBar {
72 position: absolute;
73 left: 330px;
74 bottom: 0;
75 }
76
56 .el-dropdown-menu { 77 .el-dropdown-menu {
57 padding: 0 !important; 78 padding: 0 !important;
58 border: 1px solid #EBEEF5; 79 border: 1px solid #EBEEF5;
......
...@@ -116,23 +116,20 @@ ...@@ -116,23 +116,20 @@
116 .title-block { 116 .title-block {
117 display: inline-block; 117 display: inline-block;
118 position: relative; 118 position: relative;
119 background: #3498db; 119 text-align: left;
120 color: #fff !important; 120 width: 100%;
121 text-align: center; 121 line-height: 26px;
122 padding: 0px 20px; 122 padding-left: 10px;
123 height: 30px; 123 font-size: 16px;
124 line-height: 30px; 124 border-bottom: 1px solid $borderColor;
125 border-radius: 5px 5px 5px 0px;
126 letter-spacing: 2px;
127 } 125 }
128 126
129 .title-block .triangle { 127 .title-block:after {
130 width: 0px; 128 content: " ";
131 height: 0px; 129 width: 0;
130 height: 16px;
132 position: absolute; 131 position: absolute;
133 border: 5px solid transparent; 132 border-left: 3px solid $light-blue;
134 border-top: 5px solid #3498db; 133 left: 0;
135 border-right: 5px solid #3498db; 134 top: 5px;
136 left: 0px;
137 bottom: -10px;
138 } 135 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
16 left: 0; 16 left: 0;
17 z-index: 1001; 17 z-index: 1001;
18 background-color: $subMenuBg; 18 background-color: $subMenuBg;
19 overflow: hidden; 19 // overflow: hidden;
20 20
21 .horizontal-collapse-transition { 21 .horizontal-collapse-transition {
22 transition: 0s width ease-in-out, 0s padding-left ease-in-out, 22 transition: 0s width ease-in-out, 0s padding-left ease-in-out,
...@@ -25,8 +25,9 @@ ...@@ -25,8 +25,9 @@
25 25
26 .scrollbar-wrapper { 26 .scrollbar-wrapper {
27 overflow-x: hidden !important; 27 overflow-x: hidden !important;
28 overflow-y: auto; 28 // overflow-y: auto;
29 margin-right: 0 !important; 29 margin-right: 0 !important;
30 height: 90vh;
30 31
31 &::-webkit-scrollbar { 32 &::-webkit-scrollbar {
32 display: none; 33 display: none;
...@@ -52,7 +53,6 @@ ...@@ -52,7 +53,6 @@
52 background-color: transparent !important; 53 background-color: transparent !important;
53 border: none; 54 border: none;
54 height: 100%; 55 height: 100%;
55 // overflow-y: auto;
56 width: 100% !important; 56 width: 100% !important;
57 } 57 }
58 58
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
3 作者:calliope 3 作者:calliope
4 --> 4 -->
5 <template> 5 <template>
6 <lb-table border :column="tableData.columns" :data="tableData.data" :maxHeight="200" heightNumSetting :pagination="false"> 6 <lb-table border :column="tableData.columns" :data="tableData.data" :maxHeight="200" heightNumSetting
7 :pagination="false">
7 </lb-table> 8 </lb-table>
8 </template> 9 </template>
9 <script> 10 <script>
...@@ -40,7 +41,7 @@ export default { ...@@ -40,7 +41,7 @@ export default {
40 } 41 }
41 }, 42 },
42 { 43 {
43 width: '200', 44 width: '150',
44 label: '身份证读卡器', 45 label: '身份证读卡器',
45 render: (h, scope) => { 46 render: (h, scope) => {
46 return ( 47 return (
...@@ -51,7 +52,7 @@ export default { ...@@ -51,7 +52,7 @@ export default {
51 } 52 }
52 }, 53 },
53 { 54 {
54 width: '200', 55 width: '150',
55 prop: 'sqrxm', 56 prop: 'sqrxm',
56 label: '姓名/名称', 57 label: '姓名/名称',
57 render: (h, scope) => { 58 render: (h, scope) => {
...@@ -66,7 +67,7 @@ export default { ...@@ -66,7 +67,7 @@ export default {
66 label: '证件种类', 67 label: '证件种类',
67 render: (h, scope) => { 68 render: (h, scope) => {
68 return ( 69 return (
69 <el-select value={scope.row[scope.column.property]} 70 <el-select class="width100" value={scope.row[scope.column.property]}
70 onChange={(val) => { scope.row[scope.column.property] = val }}> 71 onChange={(val) => { scope.row[scope.column.property] = val }}>
71 { 72 {
72 this.dictData['A30'].map(option => { 73 this.dictData['A30'].map(option => {
......
...@@ -7,6 +7,28 @@ ...@@ -7,6 +7,28 @@
7 justify-content: space-between; 7 justify-content: space-between;
8 } 8 }
9 9
10 .workbench {
11 flex-wrap: wrap;
12 height: 100%;
13
14 li {
15 width: 32.5%;
16 height: 118px;
17 @include flex-center;
18 flex-direction: column;
19 color: #fff;
20
21 i {
22 color: #fff;
23 font-size: 30px;
24 }
25 }
26
27 li:nth-child(1) {
28 margin-bottom: 6px;
29 }
30 }
31
10 .marginZL15 { 32 .marginZL15 {
11 margin: 0 15px; 33 margin: 0 15px;
12 } 34 }
...@@ -36,7 +58,7 @@ ...@@ -36,7 +58,7 @@
36 ul { 58 ul {
37 li { 59 li {
38 line-height: 36px; 60 line-height: 36px;
39 61
40 p { 62 p {
41 white-space: nowrap; 63 white-space: nowrap;
42 } 64 }
......
...@@ -3,8 +3,14 @@ ...@@ -3,8 +3,14 @@
3 <div class="home-left"> 3 <div class="home-left">
4 <el-row :gutter="8"> 4 <el-row :gutter="8">
5 <el-col :span="12"> 5 <el-col :span="12">
6 <el-card shadow="hover"> 6 <el-card shadow="hover" :body-style="{ padding: '0' }">
7 鼠标悬浮时显示 7 <ul class="workbench flexst">
8 <li v-for="(item, index) in newsListData" class="pointer" :key="index"
9 :style="{ backgroundColor: item.color }">
10 <i class="el-icon-s-claim"></i>
11 {{ item.title }}
12 </li>
13 </ul>
8 </el-card> 14 </el-card>
9 </el-col> 15 </el-col>
10 <el-col :span="12"> 16 <el-col :span="12">
...@@ -14,7 +20,7 @@ ...@@ -14,7 +20,7 @@
14 <i class="el-icon-s-unfold pointer"></i> 20 <i class="el-icon-s-unfold pointer"></i>
15 </div> 21 </div>
16 <ul> 22 <ul>
17 <li v-for="(item, index) in notice" :key="index" class="flexst"> 23 <li v-for="(item, index) in notice" :key="index" class="flexst pointer">
18 <p class="list-title">{{ item.title }}</p> 24 <p class="list-title">{{ item.title }}</p>
19 <p class="marginZL15">{{ item.date }}</p> 25 <p class="marginZL15">{{ item.date }}</p>
20 <p>{{ item.state }}</p> 26 <p>{{ item.state }}</p>
...@@ -41,11 +47,11 @@ ...@@ -41,11 +47,11 @@
41 <el-col :span="12"> 47 <el-col :span="12">
42 <el-card shadow="hover"> 48 <el-card shadow="hover">
43 <div slot="header" class="flexst"> 49 <div slot="header" class="flexst">
44 <h5 class="title">公司邮件</h5> 50 <h5 class="title">法律法规</h5>
45 <i class="el-icon-s-unfold pointer"></i> 51 <i class="el-icon-s-unfold pointer"></i>
46 </div> 52 </div>
47 <ul> 53 <ul>
48 <li v-for="(item, index) in mailList" :key="index" class="flexst"> 54 <li v-for="(item, index) in mailList" @click="handleView" :key="index" class="flexst pointer">
49 <p class="right15">{{ item.date }}</p> 55 <p class="right15">{{ item.date }}</p>
50 <p class="list-title">{{ item.title }}</p> 56 <p class="list-title">{{ item.title }}</p>
51 </li> 57 </li>
...@@ -73,6 +79,38 @@ export default { ...@@ -73,6 +79,38 @@ export default {
73 components: { calendar }, 79 components: { calendar },
74 data () { 80 data () {
75 return { 81 return {
82 newsListData: [
83 {
84 icon: '',
85 title: '任务',
86 color: '#61AEFF'
87 },
88 {
89 icon: '',
90 title: '邮件',
91 color: '#43DEB3'
92 },
93 {
94 icon: '',
95 title: '消息',
96 color: '#F3C143'
97 },
98 {
99 icon: '',
100 title: '日历',
101 color: '#F09936'
102 },
103 {
104 icon: '',
105 title: '常用功能',
106 color: '#9C92FF'
107 },
108 {
109 icon: '',
110 title: '申请',
111 color: '#589FFF'
112 }
113 ],
76 chartData: [{ 114 chartData: [{
77 year: '1991', 115 year: '1991',
78 value: 15468 116 value: 15468
...@@ -92,14 +130,11 @@ export default { ...@@ -92,14 +130,11 @@ export default {
92 year: '1996', 130 year: '1996',
93 value: 31056 131 value: 31056
94 }, { 132 }, {
95 year: '1997', 133 year: '1995',
96 value: 31982 134 value: 17000
97 }, {
98 year: '1998',
99 value: 32040
100 }, { 135 }, {
101 year: '1999', 136 year: '1996',
102 value: 33233 137 value: 31056
103 }], 138 }],
104 notice: [ 139 notice: [
105 { 140 {
...@@ -168,6 +203,10 @@ export default { ...@@ -168,6 +203,10 @@ export default {
168 this.buildChart(); 203 this.buildChart();
169 }, 204 },
170 methods: { 205 methods: {
206 handleView () {
207 const href = 'http://storage.xuetangx.com/public_assets/xuetangx/PDF/PlayerAPI_v1.0.6.pdf'
208 window.open(href, '_blank');
209 },
171 buildChart () { 210 buildChart () {
172 var chart = new G2.Chart({ 211 var chart = new G2.Chart({
173 container: 'mountNode', 212 container: 'mountNode',
...@@ -204,5 +243,6 @@ export default { ...@@ -204,5 +243,6 @@ export default {
204 } 243 }
205 </script> 244 </script>
206 <style scoped lang="scss"> 245 <style scoped lang="scss">
246 @import "~@/styles/mixin.scss";
207 @import "./index.scss"; 247 @import "./index.scss";
208 </style> 248 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -61,6 +61,7 @@ class data extends filter { ...@@ -61,6 +61,7 @@ class data extends filter {
61 }, 61 },
62 { 62 {
63 label: "操作", 63 label: "操作",
64 width: 100,
64 render: (h, scope) => { 65 render: (h, scope) => {
65 return <el-button type="text" icon='el-icon-view' onClick={() => { vm.dydjbClick(scope) }}>打印登记薄</el-button> 66 return <el-button type="text" icon='el-icon-view' onClick={() => { vm.dydjbClick(scope) }}>打印登记薄</el-button>
66 } 67 }
......
1 <template> 1 <template>
2 <dialogBox title="家庭房产查询" @closeDialog="closeDialog" width="90%" :isButton="false" v-model="myValue"> 2 <dialogBox title="家庭房产查询" @closeDialog="closeDialog" isMain width="70%" :isButton="false" v-model="myValue">
3 <div class="jtfccx-edit"> 3 <div class="jtfccx-edit">
4 <div class="jtfccx-edit-con"> 4 <div class="jtfccx-edit-con">
5 <b class="title">申请信息</b> 5 <b class="title">申请信息</b>
...@@ -24,21 +24,20 @@ ...@@ -24,21 +24,20 @@
24 <personInfoTable @getInfoList="handleGetSqList" :dataList="sqdataList" /> 24 <personInfoTable @getInfoList="handleGetSqList" :dataList="sqdataList" />
25 25
26 <b class="title">权利人</b> 26 <b class="title">权利人</b>
27 <personInfoTable @getInfoList="handleGetQlList" :dataList="qldataList" /> 27 <personInfoTable @getInfoList="handleGetQlList" :dataList="qldataList" />
28 <div class="submit-button"> 28 <div class="submit-button">
29 <el-button type="primary" @click="queryChick()">查询</el-button> 29 <el-button type="primary" @click="queryChick">查询</el-button>
30 <el-button @click="resetClick()">重置</el-button> 30 <el-button @click="resetClick">重置</el-button>
31 </div> 31 </div>
32 <b class="title">查询结果</b> 32 <b class="title" v-if="isSearch">查询结果</b>
33 <!-- <p>查询编号:{{cxbh}}</p> --> 33 <lb-table :column="searchData.columns" v-if="isSearch" :data="searchData.data" :maxHeight="200" heightNumSetting
34 <lb-table :column="searchData.columns" border :data="searchData.data" :maxHeight="200" heightNumSetting
35 :pagination="false"> 34 :pagination="false">
36 </lb-table> 35 </lb-table>
37 </div> 36 </div>
38 37
39 <div class="submit-button" style="padding-bottom:20px"> 38 <div class="submit-button" v-if="isSearch" style="padding-bottom:20px">
40 <el-button type="primary">无房证明打印(1)</el-button> 39 <el-button type="primary" v-if="searchData.data.length > 0">房产结果打印(1)</el-button>
41 <el-button type="primary">房产结果打印(1)</el-button> 40 <el-button type="primary" v-else>无房证明打印(1)</el-button>
42 <el-button @click="closeDialog">关闭</el-button> 41 <el-button @click="closeDialog">关闭</el-button>
43 </div> 42 </div>
44 </div> 43 </div>
...@@ -57,10 +56,9 @@ export default { ...@@ -57,10 +56,9 @@ export default {
57 props: { 56 props: {
58 value: { type: Boolean, default: false }, 57 value: { type: Boolean, default: false },
59 }, 58 },
60 mounted() { 59 mounted () {
61 sendThis(this); 60 sendThis(this);
62 }, 61 },
63
64 data () { 62 data () {
65 return { 63 return {
66 myValue: this.value, 64 myValue: this.value,
...@@ -69,6 +67,7 @@ export default { ...@@ -69,6 +67,7 @@ export default {
69 ycyrgx: 1, 67 ycyrgx: 1,
70 cxlx: '1' //查询类型 1:房产查询 2:登记簿查询 68 cxlx: '1' //查询类型 1:房产查询 2:登记簿查询
71 }, 69 },
70 isSearch: false,
72 dataList: [{ 71 dataList: [{
73 sqrxm: '', 72 sqrxm: '',
74 sqrzjlxbm: '', 73 sqrzjlxbm: '',
...@@ -129,16 +128,12 @@ export default { ...@@ -129,16 +128,12 @@ export default {
129 this.addJtfc.qlrxx = val 128 this.addJtfc.qlrxx = val
130 } 129 }
131 }, 130 },
132 queryChick () { 131 queryChick () {
133 this.addJtfc.djSqcxDO = { ...this.ruleForm } 132 this.addJtfc.djSqcxDO = { ...this.ruleForm }
134 // this.$message({
135 // type: 'success',
136 // message: '删除成功!'
137 // });
138
139 addJtfcCxjgXx(this.addJtfc).then(res => { 133 addJtfcCxjgXx(this.addJtfc).then(res => {
140 this.searchData.data = res.result; 134 this.searchData.data = res.result;
141 console.log(res); 135 console.log(res);
136 this.isSearch = true
142 }) 137 })
143 }, 138 },
144 resetClick () { 139 resetClick () {
...@@ -148,12 +143,12 @@ export default { ...@@ -148,12 +143,12 @@ export default {
148 handleRead (row) { }, 143 handleRead (row) { },
149 144
150 //抵押 145 //抵押
151 dyClick(){ 146 dyClick () {
152 147
153 }, 148 },
154 149
155 //查封 150 //查封
156 cfClick(){ 151 cfClick () {
157 152
158 } 153 }
159 } 154 }
...@@ -162,6 +157,7 @@ export default { ...@@ -162,6 +157,7 @@ export default {
162 <style scoped lang="scss"> 157 <style scoped lang="scss">
163 @import "~@/styles/mixin.scss"; 158 @import "~@/styles/mixin.scss";
164 @import "~@/styles/public.scss"; 159 @import "~@/styles/public.scss";
160
165 .title { 161 .title {
166 padding-bottom: 10px; 162 padding-bottom: 10px;
167 margin-bottom: 10px; 163 margin-bottom: 10px;
......
...@@ -61,7 +61,6 @@ class data extends filter { ...@@ -61,7 +61,6 @@ class data extends filter {
61 { 61 {
62 62
63 label: '登记状态', 63 label: '登记状态',
64 width: '150',
65 align: 'center', 64 align: 'center',
66 fixed: 'right', 65 fixed: 'right',
67 render: (h, scope) => { 66 render: (h, scope) => {
...@@ -69,9 +68,7 @@ class data extends filter { ...@@ -69,9 +68,7 @@ class data extends filter {
69 <div> 68 <div>
70 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { this.dyClick(scope) }}>抵押</el-button> 69 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { this.dyClick(scope) }}>抵押</el-button>
71 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { this.cfClick(scope) }}>查封</el-button> 70 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { this.cfClick(scope) }}>查封</el-button>
72
73 </div> 71 </div>
74
75 ) 72 )
76 } 73 }
77 } 74 }
......
...@@ -81,8 +81,18 @@ export default { ...@@ -81,8 +81,18 @@ export default {
81 handleAdd () { 81 handleAdd () {
82 this.isDialog = true; 82 this.isDialog = true;
83 }, 83 },
84 }, 84 handleViewClick (scope) {
85 }; 85 var sqcxBsm = scope.row.bsmSqcx;
86 this.$popup("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", {
87 formData: {
88 sqcxBsm: sqcxBsm,
89 },
90 cancel: function () { }, //取消事件的回调
91 confirm: function () { },
92 });
93 }
94 }
95 }
86 </script> 96 </script>
87 <style scoped lang="scss"> 97 <style scoped lang="scss">
88 @import "~@/styles/public.scss"; 98 @import "~@/styles/public.scss";
......
...@@ -69,6 +69,13 @@ class data extends filter { ...@@ -69,6 +69,13 @@ class data extends filter {
69 { 69 {
70 prop: "cxyt", 70 prop: "cxyt",
71 label: "查询用途" 71 label: "查询用途"
72 },
73 {
74 label: "操作",
75 width: 80,
76 render: (h, scope) => {
77 return <el-button type="text" icon='el-icon-view' onClick={() => { vm.handleViewClick(scope) }}>查看</el-button>
78 }
72 } 79 }
73 ] 80 ]
74 } 81 }
......
1 <template> 1 <template>
2 <div > 2 <div>
3 <el-form :model="ruleForm" label-width="120px"> 3 <el-form :model="ruleForm" label-width="120px">
4 <el-row> 4 <el-row>
5 <el-col :span="24" style="margin-bottom: 15px"> 5 <el-col :span="24" style="margin-bottom: 15px">
...@@ -29,14 +29,8 @@ ...@@ -29,14 +29,8 @@
29 29
30 <el-row> 30 <el-row>
31 <el-col> 31 <el-col>
32 <lb-table 32 <lb-table :column="sqrData.columns" border :data="sqrData.data" :maxHeight="200" heightNumSetting
33 :column="sqrData.columns" 33 :pagination="false">
34 border
35 :data="sqrData.data"
36 :maxHeight="200"
37 heightNumSetting
38 :pagination="false"
39 >
40 </lb-table> 34 </lb-table>
41 </el-col> 35 </el-col>
42 </el-row> 36 </el-row>
...@@ -51,14 +45,8 @@ ...@@ -51,14 +45,8 @@
51 </el-row> 45 </el-row>
52 <el-row> 46 <el-row>
53 <el-col> 47 <el-col>
54 <lb-table 48 <lb-table :column="qlrData.columns" border :data="qlrData.data" :maxHeight="200" heightNumSetting
55 :column="qlrData.columns" 49 :pagination="false">
56 border
57 :data="qlrData.data"
58 :maxHeight="200"
59 heightNumSetting
60 :pagination="false"
61 >
62 </lb-table> 50 </lb-table>
63 </el-col> 51 </el-col>
64 </el-row> 52 </el-row>
...@@ -73,19 +61,13 @@ ...@@ -73,19 +61,13 @@
73 </el-row> 61 </el-row>
74 <el-row> 62 <el-row>
75 <el-col> 63 <el-col>
76 <p>查询编号:{{cxbh}}</p> 64 <p>查询编号:{{ cxbh }}</p>
77 </el-col> 65 </el-col>
78 </el-row> 66 </el-row>
79 <el-row> 67 <el-row>
80 <el-col> 68 <el-col>
81 <lb-table 69 <lb-table :column="cxjgData.columns" :data="cxjgData.data" :maxHeight="200" heightNumSetting
82 border 70 :pagination="false">
83 :column="cxjgData.columns"
84 :data="cxjgData.data"
85 :maxHeight="200"
86 heightNumSetting
87 :pagination="false"
88 >
89 </lb-table> 71 </lb-table>
90 </el-col> 72 </el-col>
91 </el-row> 73 </el-row>
...@@ -104,12 +86,12 @@ export default { ...@@ -104,12 +86,12 @@ export default {
104 // }, 86 // },
105 props: ["formData"], 87 props: ["formData"],
106 88
107 created() { 89 created () {
108 // debugger; 90 // debugger;
109 // alert(this.formData.sqcxBsm); 91 // alert(this.formData.sqcxBsm);
110 }, 92 },
111 93
112 data() { 94 data () {
113 return { 95 return {
114 ruleForm: { 96 ruleForm: {
115 cxyt: "", 97 cxyt: "",
...@@ -134,8 +116,7 @@ export default { ...@@ -134,8 +116,7 @@ export default {
134 }; 116 };
135 }, 117 },
136 118
137 mounted() { 119 mounted () {
138 debugger;
139 sendThis(this); 120 sendThis(this);
140 var sqcxBsm = this.formData.sqcxBsm; 121 var sqcxBsm = this.formData.sqcxBsm;
141 122
...@@ -145,19 +126,17 @@ export default { ...@@ -145,19 +126,17 @@ export default {
145 this.sqrData.data = res.result.sqxx; 126 this.sqrData.data = res.result.sqxx;
146 this.qlrData.data = res.result.qlrxx; 127 this.qlrData.data = res.result.qlrxx;
147 this.cxjgData.data = res.result.djSqcxCxjgDOList; 128 this.cxjgData.data = res.result.djSqcxCxjgDOList;
148 this.cxbh=res.result.djSqcxDO.cxbh; 129 this.cxbh = res.result.djSqcxDO.cxbh;
149 130
150 } 131 }
151 }) 132 })
152 .catch((error) => { 133 .catch((error) => {
153 console.log(error); 134 console.log(error);
154 }); 135 })
155 }, 136 },
156
157 methods: {}, 137 methods: {},
158 }; 138 };
159 </script> 139 </script>
160 <style scoped lang="scss"> 140 <style scoped lang="scss">
161 @import "~@/styles/mixin.scss"; 141 @import "~@/styles/mixin.scss";
162
163 </style> 142 </style>
......
...@@ -8,7 +8,7 @@ class data extends filter { ...@@ -8,7 +8,7 @@ class data extends filter {
8 constructor() { 8 constructor() {
9 super() 9 super()
10 } 10 }
11 cxjgcolumns() { 11 cxjgcolumns () {
12 return [ 12 return [
13 { 13 {
14 prop: 'qszt', 14 prop: 'qszt',
...@@ -73,7 +73,6 @@ class data extends filter { ...@@ -73,7 +73,6 @@ class data extends filter {
73 { 73 {
74 74
75 label: '登记状态', 75 label: '登记状态',
76 width: '150',
77 align: 'center', 76 align: 'center',
78 fixed: 'right', 77 fixed: 'right',
79 render: (h, scope) => { 78 render: (h, scope) => {
...@@ -86,7 +85,7 @@ class data extends filter { ...@@ -86,7 +85,7 @@ class data extends filter {
86 } 85 }
87 ] 86 ]
88 } 87 }
89 sqrcolumns() { 88 sqrcolumns () {
90 return [ 89 return [
91 { 90 {
92 prop: 'sqrxm', 91 prop: 'sqrxm',
...@@ -107,7 +106,7 @@ class data extends filter { ...@@ -107,7 +106,7 @@ class data extends filter {
107 ] 106 ]
108 } 107 }
109 108
110 qlrcolumns() { 109 qlrcolumns () {
111 return [ 110 return [
112 { 111 {
113 prop: 'sqrxm', 112 prop: 'sqrxm',
......
...@@ -78,7 +78,6 @@ export default { ...@@ -78,7 +78,6 @@ export default {
78 handleViewClick (scope) { 78 handleViewClick (scope) {
79 var sqcxBsm = scope.row.bsmSqcx; 79 var sqcxBsm = scope.row.bsmSqcx;
80 this.$popup("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", { 80 this.$popup("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", {
81 height: "800px",
82 formData: { 81 formData: {
83 sqcxBsm: sqcxBsm, 82 sqcxBsm: sqcxBsm,
84 }, 83 },
......
...@@ -65,10 +65,11 @@ class data extends filter { ...@@ -65,10 +65,11 @@ class data extends filter {
65 }, 65 },
66 { 66 {
67 label: "操作", 67 label: "操作",
68 width: 80,
68 render: (h, scope) => { 69 render: (h, scope) => {
69 return <el-button type="text" icon='el-icon-view' onClick={() => { vm.handleViewClick(scope) }}>查看</el-button> 70 return <el-button type="text" icon='el-icon-view' onClick={() => { vm.handleViewClick(scope) }}>查看</el-button>
70 } 71 }
71 }, 72 }
72 ] 73 ]
73 } 74 }
74 } 75 }
......
...@@ -85,6 +85,9 @@ ...@@ -85,6 +85,9 @@
85 padding-left: 5px !important; 85 padding-left: 5px !important;
86 } 86 }
87 87
88 /deep/.el-menu {
89 border-right: none;
90 }
88 91
89 92
90 /deep/.el-menu-item.is-active { 93 /deep/.el-menu-item.is-active {
......
...@@ -8,11 +8,6 @@ ...@@ -8,11 +8,6 @@
8 <el-form :model="ruleForm" ref="ruleForm" label-width="100px"> 8 <el-form :model="ruleForm" ref="ruleForm" label-width="100px">
9 <el-row> 9 <el-row>
10 <el-col :span="8"> 10 <el-col :span="8">
11 <el-form-item label="业务来源" prop="ywlymc">
12 <el-input v-model="ruleForm.ywlymc"></el-input>
13 </el-form-item>
14 </el-col>
15 <el-col :span="8">
16 <el-form-item label="申请业务名称" prop="sqywmc"> 11 <el-form-item label="申请业务名称" prop="sqywmc">
17 <el-input v-model="ruleForm.sqywmc"></el-input> 12 <el-input v-model="ruleForm.sqywmc"></el-input>
18 </el-form-item> 13 </el-form-item>
...@@ -22,13 +17,13 @@ ...@@ -22,13 +17,13 @@
22 <el-input v-model="ruleForm.qlrmc"></el-input> 17 <el-input v-model="ruleForm.qlrmc"></el-input>
23 </el-form-item> 18 </el-form-item>
24 </el-col> 19 </el-col>
25 </el-row>
26 <el-row>
27 <el-col :span="8"> 20 <el-col :span="8">
28 <el-form-item label="义务人" prop="ywrmc"> 21 <el-form-item label="义务人" prop="ywrmc">
29 <el-input v-model="ruleForm.ywrmc"></el-input> 22 <el-input v-model="ruleForm.ywrmc"></el-input>
30 </el-form-item> 23 </el-form-item>
31 </el-col> 24 </el-col>
25 </el-row>
26 <el-row>
32 <el-col :span="8"> 27 <el-col :span="8">
33 <el-form-item label="受理时间" prop="slsj"> 28 <el-form-item label="受理时间" prop="slsj">
34 <el-date-picker v-model="ruleForm.slsj" value-format="yyyy-MM-dd" class="width100" type="date" 29 <el-date-picker v-model="ruleForm.slsj" value-format="yyyy-MM-dd" class="width100" type="date"
...@@ -55,7 +50,6 @@ export default { ...@@ -55,7 +50,6 @@ export default {
55 return { 50 return {
56 myValue: this.value, 51 myValue: this.value,
57 ruleForm: { 52 ruleForm: {
58 ywlymc: '',
59 sqywmc: '', 53 sqywmc: '',
60 qlrmc: '', 54 qlrmc: '',
61 ywrmc: '', 55 ywrmc: '',
......
1 <template> 1 <template>
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header"> 3 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="80px"> 4 <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="80px">
6 <el-row> 5 <el-row>
...@@ -57,7 +56,7 @@ ...@@ -57,7 +56,7 @@
57 </div> 56 </div>
58 <div class="from-clues-content"> 57 <div class="from-clues-content">
59 <lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort" 58 <lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort"
60 :current-page.sync="pageData.currentPage" :heightNum="300" :total="tableData.total" 59 :current-page.sync="pageData.currentPage" :heightNum="290" :total="tableData.total"
61 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 60 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
62 :data="tableData.data"> 61 :data="tableData.data">
63 </lb-table> 62 </lb-table>
...@@ -98,6 +97,13 @@ export default { ...@@ -98,6 +97,13 @@ export default {
98 sendThis(this); 97 sendThis(this);
99 this.queryClick() 98 this.queryClick()
100 }, 99 },
100 watch: {
101 queryForm: {
102 handler (newName, oldName) {
103 },
104 immediate: true
105 }
106 },
101 methods: { 107 methods: {
102 // 列表渲染接口 108 // 列表渲染接口
103 queryClick () { 109 queryClick () {
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
30 flex-direction: column; 30 flex-direction: column;
31 31
32 .item-list { 32 .item-list {
33 max-height: calc(100vh - 380px); 33 max-height: calc(100vh - 360px);
34 overflow-y: auto; 34 overflow-y: auto;
35 } 35 }
36 36
...@@ -146,6 +146,7 @@ ...@@ -146,6 +146,7 @@
146 flex: 1; 146 flex: 1;
147 width: 100%; 147 width: 100%;
148 padding: 3px; 148 padding: 3px;
149
149 } 150 }
150 151
151 p:nth-child(2) { 152 p:nth-child(2) {
...@@ -189,7 +190,7 @@ ...@@ -189,7 +190,7 @@
189 cursor: pointer; 190 cursor: pointer;
190 margin-bottom: 15px; 191 margin-bottom: 15px;
191 192
192 p { 193 p:nth-child(2) {
193 @include flex-center; 194 @include flex-center;
194 } 195 }
195 196
...@@ -202,6 +203,9 @@ ...@@ -202,6 +203,9 @@
202 flex: 1; 203 flex: 1;
203 width: 100%; 204 width: 100%;
204 padding: 3px; 205 padding: 3px;
206 padding-left: 30px;
207 display: flex;
208 align-items: center;
205 } 209 }
206 210
207 p:nth-child(2) { 211 p:nth-child(2) {
......
...@@ -31,36 +31,20 @@ ...@@ -31,36 +31,20 @@
31 </ul> 31 </ul>
32 </div> 32 </div>
33 <div class="right-situation el-card box-card is-always-shadow"> 33 <div class="right-situation el-card box-card is-always-shadow">
34 <div v-if="n >= 0"> 34 <div class="right-title">{{ obj[n] }}</div>
35 <div class="right-title">常办业务列表</div> 35 <ul>
36 <ul> 36 <li v-for="(item, index) in itemList" :key="index" @click="handleSelectYw(item, ywList)"
37 <li v-for="(item, index) in ywList" :key="index" @click="handleSelectYw(item, ywList)" 37 :class="item.cselect ? 'cactive' : ''">
38 :class="item.cselect ? 'cactive' : ''"> 38 <p>
39 <p> 39 {{ item.djywmc }}<br>
40 {{ item.djywmc }}<br> 40 {{ item.nodename }}
41 {{ item.nodename }} 41 </p>
42 </p>
43 42
44 <p v-if="item.sffqlc == 1" class="active" @click.stop="handleCollection(item)"> 43 <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)">
45 <i class="el-icon-star-off active"></i> 44 <i class="el-icon-star-off" :class="item.userCollect == 1 ? 'active' : ''"></i>
46 </p> 45 </p>
47 </li> 46 </li>
48 </ul> 47 </ul>
49 </div>
50 <div v-if="n == -1">
51 <div class="right-title">登记情形</div>
52 <ul class="registration">
53 <li v-for="(item, index) in djqxList" @click="handleSelectYw(item, djqxList)"
54 :class="item.cselect ? 'cactive' : ''" :key="index">
55 <p>
56 {{ item.nodename }}
57 </p>
58 <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)">
59 <i class="el-icon-star-off" :class="item.userCollect == 1 ? 'active' : ''"></i>
60 </p>
61 </li>
62 </ul>
63 </div>
64 </div> 48 </div>
65 <div class="submit-button"> 49 <div class="submit-button">
66 <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button> 50 <el-button type="primary" :disabled="btnDisabled" @click="bthSelectClick">选择不动产</el-button>
...@@ -70,7 +54,6 @@ ...@@ -70,7 +54,6 @@
70 </div> 54 </div>
71 </template> 55 </template>
72 <script> 56 <script>
73 import Cookies from 'js-cookie'
74 import fqsqDialog from "./slectBdc.vue" 57 import fqsqDialog from "./slectBdc.vue"
75 import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" 58 import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl"
76 export default { 59 export default {
...@@ -81,10 +64,17 @@ export default { ...@@ -81,10 +64,17 @@ export default {
81 leftList: [ 64 leftList: [
82 '常办业务', '一并申请', '登记簿补录', 65 '常办业务', '一并申请', '登记簿补录',
83 ], 66 ],
67 // 左侧列表
84 list: [], 68 list: [],
85 djlxList: [], 69 djlxList: [],
70
71 itemList: [],
86 ywList: [], 72 ywList: [],
87 djqxList: [], 73 djqxList: [],
74 obj: {
75 '0': '常办业务列表',
76 '-1': '登记情形'
77 },
88 isDialog: false, 78 isDialog: false,
89 btnDisabled: true, 79 btnDisabled: true,
90 djywbm: '', 80 djywbm: '',
...@@ -104,12 +94,16 @@ export default { ...@@ -104,12 +94,16 @@ export default {
104 }, 94 },
105 methods: { 95 methods: {
106 getDataList () { 96 getDataList () {
107 getCollectBiz({ 'target': '#ywsq' }).then(res => { 97 getCollectBiz().then(res => {
108 let { result } = res 98 let { result } = res
109 this.ywList = result 99 this.ywList = result
110 this.ywList.forEach(item => { 100 this.ywList.forEach(item => {
111 this.$set(item, 'cselect', false) 101 this.$set(item, 'cselect', false)
102 item.userCollect = 1
112 }) 103 })
104 if (this.n == 0) {
105 this.itemList = this.ywList
106 }
113 }) 107 })
114 getleftMenu().then(res => { 108 getleftMenu().then(res => {
115 let { result } = res 109 let { result } = res
...@@ -118,9 +112,14 @@ export default { ...@@ -118,9 +112,14 @@ export default {
118 }, 112 },
119 handleleftTitle (index) { 113 handleleftTitle (index) {
120 this.n = index 114 this.n = index
115 let obj = {
116 '0': this.ywList
117 }
118 this.itemList = obj[this.n]
121 this.list.forEach(item => { 119 this.list.forEach(item => {
122 if (item.check) item.check = false 120 if (item.check) item.check = false
123 }) 121 })
122
124 }, 123 },
125 // 业务-登记情形选择 124 // 业务-登记情形选择
126 handleSelectYw (item, list) { 125 handleSelectYw (item, list) {
...@@ -135,7 +134,6 @@ export default { ...@@ -135,7 +134,6 @@ export default {
135 this.btnDisabled = false 134 this.btnDisabled = false
136 this.bsmSqyw = item.bsmSqyw 135 this.bsmSqyw = item.bsmSqyw
137 this.djywbm = item.djywbm 136 this.djywbm = item.djywbm
138 console.log(this.djywbm, 'this.djywbm');
139 } 137 }
140 }, 138 },
141 handleList (list, obj) { 139 handleList (list, obj) {
...@@ -147,11 +145,11 @@ export default { ...@@ -147,11 +145,11 @@ export default {
147 this.$set(obj, 'check', true) 145 this.$set(obj, 'check', true)
148 this.getNextNode(obj.bsmSqyw) 146 this.getNextNode(obj.bsmSqyw)
149 this.djqxList = [] 147 this.djqxList = []
150 this.djlxList = [] 148 this.itemList = []
151 }, 149 },
152 // 获取下个节点类型 150 // 获取下个节点类型
153 getNextNode (bsmSqyw, type) { 151 getNextNode (bsmSqyw, type = true) {
154 getNextNode(bsmSqyw, { 'target': '#ywsq' }).then(res => { 152 getNextNode(bsmSqyw).then(res => {
155 if (res.result.djqx) this.djqxList = res.result.djqx 153 if (res.result.djqx) this.djqxList = res.result.djqx
156 if (res.result.djlx) this.djlxList = res.result.djlx 154 if (res.result.djlx) this.djlxList = res.result.djlx
157 if (type) { 155 if (type) {
...@@ -162,6 +160,7 @@ export default { ...@@ -162,6 +160,7 @@ export default {
162 this.$set(item, 'cselect', false) 160 this.$set(item, 'cselect', false)
163 }) 161 })
164 } 162 }
163 this.itemList = this.djqxList
165 }) 164 })
166 }, 165 },
167 handleCollection (item) { 166 handleCollection (item) {
...@@ -178,15 +177,26 @@ export default { ...@@ -178,15 +177,26 @@ export default {
178 } 177 }
179 }) 178 })
180 } else { 179 } else {
181 deleteCollectBiz(item.bsmSqyw).then(res => { 180 this.$confirm('此操作将取消收藏, 是否继续?', '提示', {
182 if (res.code == 200) { 181 confirmButtonText: '确定',
183 item.userCollect = '2' 182 cancelButtonText: '取消',
184 that.$message({ 183 type: 'warning'
185 message: '取消收藏成功!', 184 }).then(() => {
186 type: 'success' 185 deleteCollectBiz(item.bsmSqyw).then(res => {
187 }) 186 if (res.code == 200) {
188 that.getDataList() 187 item.userCollect = '2'
189 } 188 that.$message({
189 message: '取消收藏成功!',
190 type: 'success'
191 })
192 that.getDataList()
193 }
194 })
195 }).catch(() => {
196 this.$message({
197 type: 'info',
198 message: '已取消收藏'
199 })
190 }) 200 })
191 } 201 }
192 }, 202 },
...@@ -198,11 +208,11 @@ export default { ...@@ -198,11 +208,11 @@ export default {
198 }, 208 },
199 // 登记类型 209 // 登记类型
200 handleDjlxSelect (item) { 210 handleDjlxSelect (item) {
201 this.btnDisabled = true
202 this.djlxList.forEach(item => { 211 this.djlxList.forEach(item => {
203 if (item.cselect) item.cselect = false 212 item.cselect = false
204 }) 213 })
205 this.$set(item, 'cselect', true) 214 this.btnDisabled = true
215 item.cselect = true
206 if (item.sffqlc == '1') { 216 if (item.sffqlc == '1') {
207 this.btnDisabled = false 217 this.btnDisabled = false
208 this.bsmSqyw = item.bsmSqyw 218 this.bsmSqyw = item.bsmSqyw
...@@ -225,4 +235,12 @@ export default { ...@@ -225,4 +235,12 @@ export default {
225 <style scoped lang='scss'> 235 <style scoped lang='scss'>
226 @import "~@/styles/mixin.scss"; 236 @import "~@/styles/mixin.scss";
227 @import './ywsq.scss'; 237 @import './ywsq.scss';
238
239 /deep/.el-collapse-item__content {
240 padding-bottom: 0;
241 }
242
243 /deep/.el-collapse-item__wrap {
244 border-bottom: none;
245 }
228 </style> 246 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -6,17 +6,26 @@ ...@@ -6,17 +6,26 @@
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="分发编号"> 8 <el-form-item label="分发编号">
9 <el-input v-model="approveForm.batchno" @clear="queryClick()" clearable placeholder="分发编号"></el-input> 9 <el-input v-model="ruleForm.batchno" @clear="queryClick()" clearable placeholder="分发编号"></el-input>
10 </el-form-item> 10 </el-form-item>
11 </el-col> 11 </el-col>
12 <el-col :span="8"> 12
13 <el-form-item label="领取时间"> 13 <el-col :span="5">
14 <el-date-picker v-model="ruleForm.ffsj" type="daterange" range-separator="至" start-placeholder="开始日期" 14 <el-form-item label="开始日期">
15 end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable> 15 <el-date-picker v-model="ruleForm.ffkssj" :picker-options="pickerOptionsStart" type="date"
16 placeholder="开始日期" value-format="yyyy-MM-dd" clearable>
17 </el-date-picker>
18 </el-form-item>
19 </el-col>
20 <el-col :span="5">
21 <el-form-item label="结束时间">
22 <el-date-picker v-model="ruleForm.ffjssj" :picker-options="pickerOptionsEnd" type="date"
23 placeholder="结束日期" value-format="yyyy-MM-dd" clearable>
16 </el-date-picker> 24 </el-date-picker>
17 </el-form-item> 25 </el-form-item>
18 </el-col> 26 </el-col>
19 <el-col :span="11" class="btnColRight"> 27
28 <el-col :span="9" class="btnColRight">
20 <el-form-item> 29 <el-form-item>
21 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> 30 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
22 <el-button type="primary" @click="openDialog()">新增</el-button> 31 <el-button type="primary" @click="openDialog()">新增</el-button>
...@@ -55,10 +64,6 @@ export default { ...@@ -55,10 +64,6 @@ export default {
55 isDialog: false, 64 isDialog: false,
56 value: '', 65 value: '',
57 ruleForm: { 66 ruleForm: {
58 batchno: "",
59 ffsj: ""
60 },
61 approveForm: {
62 batchno: '', 67 batchno: '',
63 ffkssj: '', 68 ffkssj: '',
64 ffjssj: '' 69 ffjssj: ''
...@@ -68,6 +73,26 @@ export default { ...@@ -68,6 +73,26 @@ export default {
68 columns: datas.columns(), 73 columns: datas.columns(),
69 data: [], 74 data: [],
70 }, 75 },
76 // 开始结束日期限制
77 pickerOptionsStart: {
78 disabledDate: (time) => {
79 if (this.ruleForm.ffjssj) {
80 return (
81 time.getTime() >= new Date(this.ruleForm.ffjssj).getTime()
82 );
83 }
84 }
85 },
86 // 结束日期限制
87 pickerOptionsEnd: {
88 disabledDate: (time) => {
89 if (this.ruleForm.ffkssj) {
90 return (
91 time.getTime() <= new Date(this.ruleForm.ffkssj).getTime()
92 );
93 }
94 }
95 }
71 } 96 }
72 }, 97 },
73 methods: { 98 methods: {
...@@ -76,7 +101,7 @@ export default { ...@@ -76,7 +101,7 @@ export default {
76 }, 101 },
77 // 列表渲染接口 102 // 列表渲染接口
78 fetchData () { 103 fetchData () {
79 getZsglffList({ ...this.approveForm, ...this.pageData }).then(res => { 104 getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => {
80 if (res.code === 200) { 105 if (res.code === 200) {
81 let { total, records } = res.result 106 let { total, records } = res.result
82 this.tableData.total = total; 107 this.tableData.total = total;
...@@ -100,17 +125,6 @@ export default { ...@@ -100,17 +125,6 @@ export default {
100 queryClick () { 125 queryClick () {
101 this.fetchData() 126 this.fetchData()
102 }, 127 },
103 //修改筛选时间
104 timeChange () {
105 if (this.ruleForm.ffsj != null) {
106 this.approveForm.ffkssj = this.ruleForm.ffsj[0];
107 this.approveForm.ffjssj = this.ruleForm.ffsj[1];
108 } else {
109 this.approveForm.ffkssj = ''
110 this.approveForm.ffjssj = ''
111 }
112 this.fetchData()
113 },
114 //确定证书分发 128 //确定证书分发
115 confrimVerify (item) { 129 confrimVerify (item) {
116 this.$confirm('是否确定分发', '提示', { 130 this.$confirm('是否确定分发', '提示', {
...@@ -161,4 +175,8 @@ export default { ...@@ -161,4 +175,8 @@ export default {
161 </script> 175 </script>
162 <style scoped lang="scss"> 176 <style scoped lang="scss">
163 @import "~@/styles/public.scss"; 177 @import "~@/styles/public.scss";
178
179 /deep/.el-icon-date {
180 display: none;
181 }
164 </style> 182 </style>
......
...@@ -9,14 +9,21 @@ ...@@ -9,14 +9,21 @@
9 <el-input v-model="ruleForm.batchno" @clear="queryClick()" clearable placeholder="入库编号"></el-input> 9 <el-input v-model="ruleForm.batchno" @clear="queryClick()" clearable placeholder="入库编号"></el-input>
10 </el-form-item> 10 </el-form-item>
11 </el-col> 11 </el-col>
12 <el-col :span="8"> 12 <el-col :span="5">
13 <el-form-item label="人库时间"> 13 <el-form-item label="开始日期">
14 <el-date-picker v-model="ruleForm.rksj" type="datetimerange" range-separator="至" start-placeholder="开始日期" 14 <el-date-picker v-model="ruleForm.rkkssj" :picker-options="pickerOptionsStart" type="date"
15 end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable> 15 placeholder="开始日期" value-format="yyyy-MM-dd" clearable>
16 </el-date-picker>
17 </el-form-item>
18 </el-col>
19 <el-col :span="5">
20 <el-form-item label="结束时间">
21 <el-date-picker v-model="ruleForm.rkjssj" :picker-options="pickerOptionsEnd" type="date"
22 placeholder="结束日期" value-format="yyyy-MM-dd" clearable>
16 </el-date-picker> 23 </el-date-picker>
17 </el-form-item> 24 </el-form-item>
18 </el-col> 25 </el-col>
19 <el-col :span="11" class="btnColRight"> 26 <el-col :span="9" class="btnColRight">
20 <el-form-item> 27 <el-form-item>
21 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> 28 <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
22 <el-button type="primary" @click="openDialog()">新增</el-button> 29 <el-button type="primary" @click="openDialog()">新增</el-button>
...@@ -54,7 +61,6 @@ export default { ...@@ -54,7 +61,6 @@ export default {
54 isDialog: false, 61 isDialog: false,
55 viewDialog: false, 62 viewDialog: false,
56 ruleForm: { 63 ruleForm: {
57 rksj: '',
58 batchno: '', 64 batchno: '',
59 rkkssj: '', 65 rkkssj: '',
60 rkjssj: '' 66 rkjssj: ''
...@@ -64,7 +70,27 @@ export default { ...@@ -64,7 +70,27 @@ export default {
64 columns: datas.columns(), 70 columns: datas.columns(),
65 data: [], 71 data: [],
66 }, 72 },
67 }; 73 // 开始结束日期限制
74 pickerOptionsStart: {
75 disabledDate: (time) => {
76 if (this.ruleForm.rkjssj) {
77 return (
78 time.getTime() >= new Date(this.ruleForm.rkjssj).getTime()
79 );
80 }
81 }
82 },
83 // 结束日期限制
84 pickerOptionsEnd: {
85 disabledDate: (time) => {
86 if (this.ruleForm.rkkssj) {
87 return (
88 time.getTime() <= new Date(this.ruleForm.rkkssj).getTime()
89 );
90 }
91 }
92 }
93 }
68 }, 94 },
69 methods: { 95 methods: {
70 // 列表渲染接口 96 // 列表渲染接口
...@@ -92,17 +118,6 @@ export default { ...@@ -92,17 +118,6 @@ export default {
92 queryClick () { 118 queryClick () {
93 this.fetchData() 119 this.fetchData()
94 }, 120 },
95 //修改筛选时间
96 timeChange (val) {
97 if (this.ruleForm.rksj != null) {
98 this.ruleForm.rkkssj = this.ruleForm.rksj[0];
99 this.ruleForm.rkjssj = this.ruleForm.rksj[1];
100 } else {
101 this.ruleForm.rkkssj = ''
102 this.ruleForm.rkjssj = ''
103 }
104 this.fetchData()
105 },
106 //删除证书入库数据 121 //删除证书入库数据
107 delZsrk (item) { 122 delZsrk (item) {
108 this.$confirm('确定要删除吗, 是否继续?', '提示', { 123 this.$confirm('确定要删除吗, 是否继续?', '提示', {
...@@ -153,4 +168,8 @@ export default { ...@@ -153,4 +168,8 @@ export default {
153 </script> 168 </script>
154 <style scoped lang="scss"> 169 <style scoped lang="scss">
155 @import "~@/styles/public.scss"; 170 @import "~@/styles/public.scss";
171
172 /deep/.el-icon-date {
173 display: none;
174 }
156 </style> 175 </style>
......
1 import filter from '@/utils/filter.js' 1 import filter from '@/utils/filter.js'
2 let vm = null 2 let vm = null
3
4 const sendThis = (_this) => { 3 const sendThis = (_this) => {
5 vm = _this 4 vm = _this
6 } 5 }
...@@ -60,7 +59,6 @@ class data extends filter { ...@@ -60,7 +59,6 @@ class data extends filter {
60 }, 59 },
61 { 60 {
62 label: '操作', 61 label: '操作',
63 width: '200',
64 align: 'center', 62 align: 'center',
65 fixed: 'right', 63 fixed: 'right',
66 render: (h, scope) => { 64 render: (h, scope) => {
......