04a13229 by jiaozeping@pashanhoo.com
2 parents 1127cee7 f313481b
Showing 42 changed files with 386 additions and 374 deletions
......@@ -2,16 +2,28 @@ module.exports = {
presets: [
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
// '@vue/cli-plugin-babel/preset'
[
"@vue/app",
{
"useBuiltIns": "entry",
polyfills: [
'es6.promise',
'es6.symbol'
{
"plugins": [
[
"import",
{
"libraryName": "vxe-table",
"style": true // 样式是否也按需加载
}
],
[
"@vue/app",
{
"useBuiltIns": "entry",
polyfills: [
'es6.promise',
'es6.symbol'
]
}
]
}
]
]
}
],
'env': {
'development': {
......
......@@ -21,7 +21,8 @@
"vue": "2.6.10",
"vue-awesome": "^4.5.0",
"vue-router": "3.0.2",
"vuex": "3.1.0"
"vuex": "3.1.0",
"xe-utils": "^3.5.7"
},
"devDependencies": {
"@vue/cli-plugin-babel": "4.4.4",
......@@ -42,7 +43,9 @@
"style-resources-loader": "^1.4.1",
"svg-sprite-loader": "4.1.3",
"svgo": "^2.3.1",
"vue-template-compiler": "2.6.10"
"vue-template-compiler": "2.6.10",
"vxe-table": "^3.6.9",
"vxe-table-plugin-element": "^1.11.2"
},
"browserslist": [
"> 1%",
......
import request from '@/utils/request'
import SERVER from './config'
class journal {
// 登薄日志
async queryAccessLogs (data) {
return request({
url: '/accessLog/queryAccessLogs',
method: 'post',
data
})
}
// GET /accessLog/getXmlById登簿日志报文预览
async getXmlById (id) {
return request({
url: '/accessLog/getXmlById',
method: 'get',
params: {
id: id
}
})
}
// 上报日志
async querySjsbTask (data) {
return request({
url: '/sjsbFunctionOper/querySjsbTask',
method: 'post',
data
})
}
// 查询响应日志
async queryResponseLog (id) {
return request({
url: '/sjsbFunctionOper/queryResponseLog',
method: 'get',
params: {
msgid: id
}
})
}
// 重新发报接口
async sendXmlForPlat (id) {
return request({
url: '/sjsbFunctionOper/sendXmlForPlat',
method: 'get',
params: {
msgid: id
}
})
}
// 预览xml报文
async queryXML (id) {
return request({
url: '/sjsbFunctionOper/queryXML',
method: 'get',
params: {
msgid: id
}
})
}
// 重新抽取
async extractionAndInsertData (id) {
return request({
url: '/sjsbFunctionOper/extractionAndInsertData',
url: SERVER.SERVERAPI + '/sjsbFunctionOper/extractionAndInsertData',
method: 'get',
params: {
msgid: id
......@@ -70,7 +15,7 @@ class journal {
// 错误日志查询
async queryErrorLog (id) {
return request({
url: '/sjsbFunctionOper/queryErrorLog',
url: SERVER.SERVERAPI + '/sjsbFunctionOper/queryErrorLog',
method: 'get',
params: {
msgid: id
......@@ -80,7 +25,7 @@ class journal {
// 校验报文
async checkSjsbXmlDatas (id) {
return request({
url: '/sjsbFunctionOper/checkSjsbXmlDatas',
url: SERVER.SERVERAPI + '/sjsbFunctionOper/checkSjsbXmlDatas',
method: 'get',
params: {
msgid: id
......
import request from '@/utils/request'
import SERVER from './config'
class system {
class sjsbTask {
// 定时任务
// 定时任务查询接口
async getTaskListByName (data) {
return request({
url: '/sjsbTask/getTaskListByName',
url: SERVER.SERVERAPI + '/sjsbTask/getTaskListByName',
method: 'post',
data
})
......@@ -14,7 +14,7 @@ class system {
// 定时任务新增接口
async sjsbTaskSave (data) {
return request({
url: '/sjsbTask/save',
url: SERVER.SERVERAPI + '/sjsbTask/save',
method: 'post',
data
})
......@@ -22,7 +22,7 @@ class system {
// 修改定时任务执行时间接口
async updateCron (data) {
return request({
url: '/sjsbTask/updateCron',
url: SERVER.SERVERAPI + '/sjsbTask/updateCron',
method: 'post',
data
})
......@@ -30,7 +30,7 @@ class system {
// 定时任务删除接口
async sjsbTaskRemove (id) {
return request({
url: '/sjsbTask/remove',
url: SERVER.SERVERAPI + '/sjsbTask/remove',
method: 'get',
params: {
id: id
......@@ -40,7 +40,7 @@ class system {
// 暂停任务接口
async pauseJob (id) {
return request({
url: '/sjsbTask/pauseJob',
url: SERVER.SERVERAPI + '/sjsbTask/pauseJob',
method: 'get',
params: {
id: id
......@@ -50,7 +50,7 @@ class system {
// 恢复任务接口
async resumeJob (id) {
return request({
url: '/sjsbTask/resumeJob',
url: SERVER.SERVERAPI + '/sjsbTask/resumeJob',
method: 'get',
params: {
id: id
......@@ -60,7 +60,7 @@ class system {
// 激活任务接口
async activateJob (id) {
return request({
url: '/sjsbTask/activateJob',
url: SERVER.SERVERAPI + '/sjsbTask/activateJob',
method: 'get',
params: {
id: id
......@@ -70,7 +70,7 @@ class system {
// 手动测试
async sjsbTaskRun (id) {
return request({
url: '/sjsbTask/run',
url: SERVER.SERVERAPI + '/sjsbTask/run',
method: 'get',
params: {
id: id
......@@ -78,4 +78,4 @@ class system {
})
}
}
export default new system()
\ No newline at end of file
export default new sjsbTask()
\ No newline at end of file
......
......@@ -29,10 +29,12 @@ export default {
.cx {
background: url('../../../image/btn.png') no-repeat -4px -40px;
cursor: pointer;
}
.cz {
background: url('../../../image/btn.png') no-repeat -4px -4px;
cursor: pointer;
}
.sb {
......
import Vue from 'vue'
import XEUtils from 'xe-utils'
import VXETablePluginElement from 'vxe-table-plugin-element'
import {
VXETable,
Icon,
Header,
Column,
Table,
Colgroup,
Input,
Select,
Edit,
Keyboard,
Toolbar,
Tooltip
} from 'vxe-table'
import zhCNLocat from 'vxe-table/lib/locale/lang/zh-CN'
import 'vxe-table-plugin-element/dist/style.css'
// 导入默认的国际化(如果项目中使用多语言,则应该导入到 vue-i18n 中)
VXETable.setup({
i18n: (key, args) => XEUtils.toFormatString(XEUtils.get(zhCNLocat, key), args)
})
Vue.use(Icon)
Vue.use(Header)
Vue.use(Toolbar)
Vue.use(Tooltip)
Vue.use(Column)
Vue.use(Colgroup)
Vue.use(Input)
Vue.use(Edit)
Vue.use(Select)
Vue.use(Keyboard)
Vue.use(Table)
Vue.use(VXETable)
VXETable.use(VXETablePluginElement)
......@@ -10,6 +10,7 @@ import dataV from '@jiaminghi/data-view';
import echarts from "echarts"
import { startLoadingAddCount, endLoadingSubCount } from './utils/requestLoading'
Vue.mixin(mixin)
import './directive/vxe-table'
// 按需引入vue-awesome图标
import Icon from 'vue-awesome/components/Icon';
import 'vue-awesome/icons/chart-bar.js';
......
......@@ -33,12 +33,23 @@ let mixin = {
this.featchData()
},
handleSubmit () {
this.tableData.data = []
this.featchData()
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
},
// // 重置表单
resetForm () {
if (!this.form) return
Object.keys(this.form).forEach((key) => {
if (key !== 'currentPage') this.form[key] = '';
})
this.form.currentPage = 1
this.tableData.data = []
this.featchData()
}
}
}
......
......@@ -5,7 +5,7 @@
<el-row>
<el-col :span="5">
<el-form-item label="行政区" label-width="80px">
<el-select v-model="form.xzq" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -13,7 +13,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="权属状态">
<el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -21,24 +21,24 @@
</el-col>
<el-col :span="5">
<el-form-item label="坐落">
<el-input v-model="form.zl" placeholder="坐落"></el-input>
<el-input v-model="form.ZL" placeholder="坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产权证号">
<el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input>
<el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row class="mt-10">
<el-col :span="5">
<el-form-item label="权利人" label-width="80px">
<el-input v-model="form.qlr" placeholder="权利人"></el-input>
<el-input v-model="form.QLR" placeholder="权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产单元号">
<el-input v-model="form.bdcdyh" placeholder="不动产单元号"></el-input>
<el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
......@@ -52,6 +52,7 @@
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
......@@ -78,12 +79,12 @@ export default {
data () {
return {
form: {
xzq: '',
qszt: '',
zl: '',
bdcqzh: '',
qlr: '',
bdcdyh: '',
XZQDM: '',
QSZT: '',
ZL: '',
BDCQZH: '',
QLR: '',
BDCDYH: '',
xxx: '',
xxx1: '',
currentPage: 1
......@@ -125,10 +126,6 @@ export default {
}
},
methods: {
// 是否显示下拉框
isShowSelectOptions (e) {
if (!e) this.$refs.selectseizureReg.blur()
},
async featchData () {
try {
let { result: { list, total, pages: pageSize, pageNum: current }
......
......@@ -5,7 +5,7 @@
<el-row>
<el-col :span="5">
<el-form-item label="行政区" label-width="80px">
<el-select v-model="form.xzq" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -13,7 +13,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="权属状态">
<el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -21,12 +21,12 @@
</el-col>
<el-col :span="5">
<el-form-item label="坐落">
<el-input v-model="form.zl" placeholder="坐落"></el-input>
<el-input v-model="form.ZL" placeholder="坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产权证号">
<el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input>
<el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -38,7 +38,7 @@
</el-col>
<el-col :span="5">
<el-form-item label="不动产单元号">
<el-input v-model="form.bdcdyh" placeholder="不动产单元号"></el-input>
<el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
......@@ -51,13 +51,14 @@
</el-col>
<el-col :span="5">
<el-form-item label="登记类型">
<el-select v-model="form.djlx" class="width100" clearable placeholder="登记类型">
<el-select v-model="form.DJLX" class="width100" clearable placeholder="登记类型">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
......@@ -89,14 +90,14 @@ export default {
data () {
return {
form: {
xzq: '',
qszt: '',
zl: '',
bdcqzh: '',
XZQDM: '',
QSZT: '',
ZL: '',
BDCQZH: '',
dyr: '',
bdcdyh: '',
BDCDYH: '',
dybdclx: '',
djlx: '',
DJLX: '',
currentPage: 1
},
tableData: {
......@@ -130,9 +131,7 @@ export default {
total: 0,
pageSize: 15,
current: 1,
},
diaData: null,
bsmSjsb: ''
}
}
},
methods: {
......
<template>
<div class="dyiq from-clues">
<div class="from-clues">
<div class="from-clues-header">
<el-form ref="form" :model="form" label-width="150px">
<el-row>
<el-col :span="5">
<el-form-item label="行政区" label-width="80px">
<el-select v-model="form.xzq" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -14,7 +14,7 @@
<el-col :span="5">
<el-form-item label="权属状态">
<el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -23,12 +23,12 @@
<el-col :span="5">
<el-form-item label="坐落">
<el-input v-model="form.zl" placeholder="坐落"></el-input>
<el-input v-model="form.ZL" placeholder="坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产权证号">
<el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input>
<el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
</el-form-item>
</el-col>
......@@ -36,35 +36,32 @@
<el-row class="mt-10">
<el-col :span="5">
<el-form-item label="权利人" label-width="80px">
<el-input v-model="form.qlr" placeholder="权利人"></el-input>
<el-input v-model="form.QLR" placeholder="权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产单元号">
<el-input v-model="form.bdcdyh" placeholder="不动产单元号"></el-input>
<el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="供役地不动产单元号">
<el-select v-model="form.xxx" class="width100" clearable placeholder="供役地不动产单元号">
<el-option v-for="item in dicData['xxx']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
<el-input v-model="form.GYDBDCDYH" placeholder="供役地不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="需役地不动产单元号">
<el-select v-model="form.xxx1" class="width100" clearable placeholder="需役地不动产单元号">
<el-option v-for="item in dicData['xxx1']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
<el-input v-model="form.XYDBDCDYH" placeholder="需役地不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-button type="primary" @click="handleSubmit">查询</el-button>
<el-form-item>
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-form-item>
</el-col>
</el-row>
</el-form>
......@@ -95,16 +92,16 @@ export default {
data () {
return {
form: {
xzq: '',
qszt: '',
zl: '',
bdcqzh: '',
qlr: '',
bdcdyh: '',
XZQDM: '',
QSZT: '',
ZL: '',
BDCQZH: '',
QLR: '',
BDCDYH: '',
// 供役地不动产单元号
xxx: '',
GYDBDCDYH: '',
// 需役地不动产单元号
xxx1: '',
XYDBDCDYH: '',
currentPage: 1
},
tableData: {
......@@ -128,10 +125,9 @@ export default {
详情
</el-button>
</div>
);
},
},
)
}
}
]),
data: []
},
......@@ -139,9 +135,7 @@ export default {
total: 0,
pageSize: 15,
current: 1,
},
diaData: null,
bsmSjsb: ''
}
}
},
methods: {
......@@ -157,7 +151,6 @@ export default {
total
}
} catch (error) {
// this.$refs.msg.messageShow()
}
}
}
......@@ -165,5 +158,4 @@ export default {
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "./index.scss";
</style>
......
......@@ -51,7 +51,8 @@
</el-form-item>
</el-col>
<el-col :span="6" class="btnColRight">
<btn nativeType="cx" @click="handleSubmit">查询</btn>
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
</el-form>
......
......@@ -22,8 +22,9 @@
<el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<btn nativeType="cx" @click="handleSubmit">查询</btn>
<el-col :span="9" class="btnColRight">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
</el-form>
......
......@@ -51,6 +51,7 @@
</el-form-item>
</el-col>
<el-col :span="6" class="btnColRight">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
......
......@@ -2,53 +2,54 @@
<div class="gzwsyq from-clues">
<div class="from-clues-header">
<el-form ref="form" :model="form" label-width="105px">
<el-row>
<el-col :span="5">
<el-row>
<el-col :span="6">
<el-form-item label="行政区">
<el-select v-model="form.pcode" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="权属状态" label-width="105px">
<el-select v-model="form.pcode" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="坐落">
<el-input v-model="form.YWH" placeholder="请输入坐落"></el-input>
<el-input v-model="form.ZL" placeholder="请输入坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="不动产权证号" label-width="105px">
<el-input v-model="form.BDCDYH" placeholder="请输入不动产权证号"></el-input>
<el-input v-model="form.BDCQZH" placeholder="请输入不动产权证号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="权利人">
<el-input v-model="form.YWH" placeholder="请输入权利人"></el-input>
<el-input v-model="form.QLR" placeholder="请输入权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="登记类型">
<el-select v-model="form.pcode" class="width100" clearable placeholder="登记类型">
<el-select v-model="form.DJLX" class="width100" clearable placeholder="登记类型">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="建筑名称">
<el-input v-model="form.YWH" placeholder="请输入建筑名称"></el-input>
<el-input v-model="form.JZWMC" placeholder="请输入建筑名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight mt-10" >
<btn nativeType="cx" @click="handleSubmit">查询结果</btn>
<el-col :span="6" class="btnColRight mt-10">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
</el-form>
......@@ -58,7 +59,6 @@
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
<message-tips ref="msg" :message="message" />
</div>
<dataDetails ref="editLog" :title="title" />
</div>
......@@ -79,10 +79,13 @@ export default {
data () {
return {
form: {
YWH: '',
QLLX: '',
XZQDM: '',
QSZT: '',
ZL: '',
BDCQZH: '',
QLR: '',
DJLX: '',
BDCDYH: '',
JZWMC: '',
currentPage: 1
},
tableData: {
......@@ -95,20 +98,20 @@ export default {
{
label: "操作",
width: 170,
render: (h, scope) => {
return (
<div>
<el-button
type="primary"
onClick={() => {
this.handleEdit(scope.row);
}}
>
详情
</el-button>
</div>
);
},
render: (h, scope) => {
return (
<div>
<el-button
type="primary"
onClick={() => {
this.handleEdit(scope.row);
}}
>
详情
</el-button>
</div>
);
},
},
]),
......@@ -118,9 +121,7 @@ export default {
total: 0,
pageSize: 15,
current: 1,
},
diaData: null,
bsmSjsb: ''
}
}
},
methods: {
......@@ -141,15 +142,11 @@ export default {
total
}
} catch (error) {
this.message = error
this.$refs.msg.messageShow()
}
},
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "./index.scss";
</style>
......
......@@ -3,52 +3,53 @@
<div class="from-clues-header">
<el-form ref="form" :model="form" label-width="105px">
<el-row>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="行政区">
<el-select v-model="form.pcode" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="权属状态" label-width="105px">
<el-select v-model="form.pcode" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="坐落">
<el-input v-model="form.YWH" placeholder="请输入坐落"></el-input>
<el-input v-model="form.ZL" placeholder="请输入坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="不动产权证号" label-width="105px">
<el-input v-model="form.BDCDYH" placeholder="请输入不动产权证号"></el-input>
<el-input v-model="form.BDCQZH" placeholder="请输入不动产权证号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="权利人">
<el-input v-model="form.YWH" placeholder="请输入权利人"></el-input>
<el-input v-model="form.QLR" placeholder="请输入权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="登记类型">
<el-select v-model="form.pcode" class="width100" clearable placeholder="登记类型">
<el-select v-model="form.DJLX" class="width100" clearable placeholder="登记类型">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="海岛名称">
<el-input v-model="form.YWH" placeholder="请输入海岛名称"></el-input>
<el-input v-model="form.HDMC" placeholder="请输入海岛名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight mt-10">
<btn nativeType="cx" @click="handleSubmit">查询结果</btn>
<el-col :span="6" class="btnColRight mt-10">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
</el-form>
......@@ -79,10 +80,13 @@ export default {
data () {
return {
form: {
YWH: '',
QLLX: '',
XZQDM: '',
QSZT: '',
ZL: '',
BDCQZH: '',
QLR: '',
DJLX: '',
BDCDYH: '',
HDMC: '',
currentPage: 1
},
tableData: {
......
......@@ -46,6 +46,7 @@
</el-form-item>
</el-col>
<el-col :span="12" class="btnColRight">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
......
......@@ -3,47 +3,48 @@
<div class="from-clues-header">
<el-form ref="form" :model="form" label-width="105px">
<el-row>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="行政区">
<el-select v-model="form.pcode" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="权属状态" label-width="105px">
<el-select v-model="form.pcode" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="坐落">
<el-input v-model="form.YWH" placeholder="坐落"></el-input>
<el-input v-model="form.ZL" placeholder="坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="不动产权证号" label-width="105px">
<el-input v-model="form.BDCDYH" placeholder="不动产权证号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="权利人">
<el-input v-model="form.YWH" placeholder="权利人"></el-input>
<el-input v-model="form.QLR" placeholder="权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="登记类型">
<el-select v-model="form.pcode" class="width100" clearable placeholder="登记类型">
<el-select v-model="form.DJLX" class="width100" clearable placeholder="登记类型">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight mt-10" >
<btn nativeType="cx" @click="handleSubmit">查询结果</btn>
<el-col :span="12" class="btnColRight mt-10">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
......@@ -54,7 +55,6 @@
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
<message-tips ref="msg" :message="message" />
</div>
<dataDetails ref="editLog" :title="title" />
</div>
......@@ -75,8 +75,12 @@ export default {
data () {
return {
form: {
YWH: '',
XZQDM: '',
QSZT: '',
ZL: '',
BDCDYH: '',
QLR: '',
DJLX: '',
currentPage: 1
},
tableData: {
......@@ -89,20 +93,20 @@ export default {
{
label: "操作",
width: 170,
render: (h, scope) => {
return (
<div>
<el-button
type="primary"
onClick={() => {
this.handleEdit(scope.row);
}}
>
详情
</el-button>
</div>
);
},
render: (h, scope) => {
return (
<div>
<el-button
type="primary"
onClick={() => {
this.handleEdit(scope.row);
}}
>
详情
</el-button>
</div>
);
},
},
]),
......@@ -130,15 +134,11 @@ export default {
total
}
} catch (error) {
this.message = error
this.$refs.msg.messageShow()
}
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "./index.scss";
</style>
......
<template>
<div class="nydsyq from-clues">
<div class="from-clues">
<div class="from-clues-header">
<el-form ref="form" :model="form" label-width="105px">
<el-row>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="行政区">
<el-select v-model="form.pcode" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="权属状态" label-width="105px">
<el-select v-model="form.pcode" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="坐落">
<el-input v-model="form.YWH" placeholder="请输入坐落"></el-input>
<el-input v-model="form.ZL" placeholder="请输入坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="不动产权证号" label-width="105px">
<el-input v-model="form.BDCDYH" placeholder="请输入不动产权证号"></el-input>
<el-input v-model="form.BDCQZH" placeholder="请输入不动产权证号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="权利人">
<el-input v-model="form.YWH" placeholder="请输入权利人"></el-input>
<el-input v-model="form.QLR" placeholder="请输入权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="登记类型">
<el-select v-model="form.pcode" class="width100" clearable placeholder="登记类型">
<el-select v-model="form.QLLX" class="width100" clearable placeholder="登记类型">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="地籍号">
<el-input v-model="form.YWH" placeholder="请输入地籍号"></el-input>
<el-input v-model="form.xxx" placeholder="请输入地籍号"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight mt-10" >
<btn nativeType="cx" @click="handleSubmit">查询结果</btn>
<el-col :span="6" class="btnColRight mt-10">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
</el-form>
......@@ -58,7 +59,6 @@
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
<message-tips ref="msg" :message="message" />
</div>
<dataDetails ref="editLog" :title="title" />
</div>
......@@ -79,10 +79,13 @@ export default {
data () {
return {
form: {
YWH: '',
XZQDM: '',
QSZT: '',
ZL: '',
BDCQZH: '',
QLR: '',
QLLX: '',
DJLX: '',
BDCDYH: '',
xxx: '',
currentPage: 1
},
tableData: {
......@@ -95,20 +98,20 @@ export default {
{
label: "操作",
width: 170,
render: (h, scope) => {
return (
<div>
<el-button
type="primary"
onClick={() => {
this.handleEdit(scope.row);
}}
>
详情
</el-button>
</div>
);
},
render: (h, scope) => {
return (
<div>
<el-button
type="primary"
onClick={() => {
this.handleEdit(scope.row);
}}
>
详情
</el-button>
</div>
);
},
},
]),
......@@ -124,11 +127,6 @@ export default {
}
},
methods: {
// 是否显示下拉框
isShowSelectOptions (e) {
if (!e) this.$refs.selectagricQL.blur()
if (!e) this.$refs.selectagricDJ.blur()
},
async featchData () {
try {
this.form = Object.assign(this.form, this.formData)
......@@ -141,8 +139,6 @@ export default {
total
}
} catch (error) {
this.message = error
this.$refs.msg.messageShow()
}
}
}
......@@ -150,5 +146,4 @@ export default {
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "./index.scss";
</style>
......
......@@ -46,7 +46,7 @@
</el-form-item>
</el-col>
<el-col :span="12" class="btnColRight">
<btn nativeType="cz" @click="resetForm('ruleForm')">重置</btn>
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
......
......@@ -3,44 +3,44 @@
<div class="from-clues-header">
<el-form ref="form" :model="form" label-width="110px">
<el-row>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="行政区" label-width="106px">
<el-select v-model="form.xzq" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="权属状态">
<el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="不动产权证号">
<el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input>
<el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="业务号">
<el-input v-model="form.YWH" placeholder="业务号"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row class="mt-10">
<el-col :span="5">
<el-col :span="6">
<el-form-item label="预告登记种类" label-width="106px">
<el-select v-model="form.YGDJZL" clearable ref="selectnoticeRegQL" class="width100" @visible-change="isShowSelectOptions"
placeholder="请选择预告登记种类">
<el-select v-model="form.YGDJZL" clearable ref="selectnoticeRegQL" class="width100"
@visible-change="isShowSelectOptions" placeholder="请选择预告登记种类">
<el-option v-for="item in dicData['A29']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="登记类型">
<el-select v-model="form.DJLX" clearable class="width100" placeholder="请选择登记类型">
<el-option v-for="item in dicData['A21']" :key="item.value" :label="item.label" :value="item.value">
......@@ -48,12 +48,13 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="不动产单元号" label-width="105px">
<el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-col :span="6" class="btnColRight">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
......@@ -85,9 +86,9 @@ export default {
data () {
return {
form: {
xzq: '',
qszt: '',
bdcqzh: '',
XZQDM: '',
QSZT: '',
BDCQZH: '',
YWH: '',
YGDJZL: '',
......
......@@ -5,7 +5,7 @@
<el-row>
<el-col :span="5">
<el-form-item label="行政区" label-width="80px">
<el-select v-model="form.xzq" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -14,7 +14,7 @@
<el-col :span="5">
<el-form-item label="权属状态">
<el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -23,27 +23,28 @@
<el-col :span="5">
<el-form-item label="坐落" label-width="60px">
<el-input v-model="form.zl" placeholder="坐落"></el-input>
<el-input v-model="form.ZL" placeholder="坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="不动产权证号">
<el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input>
<el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="不动产单元号">
<el-input v-model="form.bdcdyh" placeholder="不动产单元号"></el-input>
<el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row class="mt-10">
<el-col :span="5">
<el-form-item label="权利人" label-width="80px">
<el-input v-model="form.qlr" placeholder="权利人"></el-input>
<el-input v-model="form.QLR" placeholder="权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="19" class="btnColRight">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
......@@ -75,12 +76,12 @@ export default {
data () {
return {
form: {
xzq: '',
qszt: '',
zl: '',
bdcqzh: '',
qlr: '',
bdcdyh: '',
XZQDM: '',
QSZT: '',
ZL: '',
BDCQZH: '',
QLR: '',
BDCDYH: '',
currentPage: 1
},
tableData: {
......
......@@ -3,52 +3,53 @@
<div class="from-clues-header">
<el-form ref="form" :model="form" label-width="105px">
<el-row>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="行政区">
<el-select v-model="form.pcode" class="width100" clearable placeholder="行政区">
<el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
<el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="权属状态" label-width="105px">
<el-select v-model="form.pcode" class="width100" clearable placeholder="权属状态">
<el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="坐落">
<el-input v-model="form.YWH" placeholder="请输入坐落"></el-input>
<el-input v-model="form.ZL" placeholder="请输入坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="6">
<el-form-item label="不动产权证号" label-width="105px">
<el-input v-model="form.BDCDYH" placeholder="请输入不动产权证号"></el-input>
<el-input v-model="form.BDCQZH" placeholder="请输入不动产权证号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="权利人">
<el-input v-model="form.YWH" placeholder="请输入权利人"></el-input>
<el-input v-model="form.QLR" placeholder="请输入权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="权利类型" label-width="105px">
<el-select v-model="form.pcode" class="width100" clearable placeholder="权利类型">
<el-select v-model="form.QLLX" class="width100" clearable placeholder="权利类型">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="5" class="mt-10">
<el-col :span="6" class="mt-10">
<el-form-item label="不动产单元号" label-width="105px">
<el-input v-model="form.BDCDYH" placeholder="请输入不动产单元号"></el-input>
</el-form-item>
</el-col>
<el-col :span="3" class="btnColRight mt-10">
<btn nativeType="cx" @click="handleSubmit">查询结果</btn>
<el-col :span="6" class="btnColRight mt-10">
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
</el-form>
......@@ -58,7 +59,6 @@
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
<message-tips ref="msg" :message="message" />
</div>
<!-- 编辑 -->
<dataDetails ref="editLog" :title="title" />
......@@ -76,7 +76,12 @@ export default {
data () {
return {
form: {
YWH: '',
XZQDM: '',
QSZT: '',
ZL: '',
BDCQZH: '',
QLR: '',
QLLX: '',
BDCDYH: '',
currentPage: 1
},
......@@ -113,9 +118,7 @@ export default {
total: 0,
pageSize: 15,
current: 1,
},
diaData: null,
bsmSjsb: ''
}
}
},
methods: {
......@@ -131,8 +134,6 @@ export default {
total
}
} catch (error) {
this.message = error
this.$refs.msg.messageShow()
}
}
}
......@@ -140,5 +141,4 @@ export default {
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "./index.scss";
</style>
......
......@@ -45,8 +45,8 @@
</el-col>
<!-- 操作按钮 -->
<el-col :span="18" class="btnColRight">
<el-button @click="resetForm('ruleForm')">重置</el-button>
<el-button type="primary" @click="handleSubmit">查询结果</el-button>
<el-button @click="resetForm">重置</el-button>
<el-button type="primary" @click="handleSubmit">查询</el-button>
</el-col>
</el-row>
</el-form>
......
......@@ -27,7 +27,7 @@
</el-col>
<!-- 操作按钮 -->
<el-col :span="6" class="btnColRight">
<btn nativeType="cz" @click="resetForm('ruleForm')">重置</btn>
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="queryClick">查询</btn>
</el-col>
</el-row>
......
......@@ -22,9 +22,9 @@
<el-col :span="12" class="btnColRight">
<el-form-item>
<el-button type="primary">删除</el-button>
<el-button @click="resetForm('ruleForm')">重置</el-button>
<el-button @click="resetForm">重置</el-button>
<el-button type="primary">新增</el-button>
<el-button type="primary" @click="handleSubmit">查询结果</el-button>
<el-button type="primary" @click="handleSubmit">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......
......@@ -75,7 +75,7 @@
<!-- 按钮操作 -->
<el-col :span="6" class="btnColRight">
<el-form-item>
<btn nativeType="cz" @click="resetForm('ruleForm')">重置</btn>
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="featchData">查询</btn>
<btn nativeType="sb">入库</btn>
</el-form-item>
......
......@@ -24,8 +24,8 @@
<!-- 操作按钮 -->
<el-col :span="12" class="btnColRight">
<el-form-item>
<el-button @click="resetForm('ruleForm')">重置</el-button>
<el-button type="primary" @click="handleSubmit">查询结果</el-button>
<el-button @click="resetForm">重置</el-button>
<el-button type="primary" @click="handleSubmit">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......
......@@ -60,7 +60,7 @@
</el-col>
<!-- 操作按钮 -->
<el-col :span="6" class="btnColRight">
<btn nativeType="cz" @click="resetForm('ruleForm')">重置</btn>
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="queryClick">查询</btn>
</el-col>
</el-row>
......
......@@ -40,7 +40,7 @@
</template>
<script>
import system from '@/api/system.js'
import sjsbTask from '@/api/sjsbTask.js'
export default {
props: {
taskData: {
......@@ -92,7 +92,7 @@ export default {
if (valid) {
if (!_this.taskData) {
try {
let res = await system.sjsbTaskSave(_this.ruleForm)
let res = await sjsbTask.sjsbTaskSave(_this.ruleForm)
if (res.code == 200) {
_this.loading = false
_this.$message({
......@@ -108,7 +108,7 @@ export default {
}
} else {
try {
let res = await system.updateCron(_this.ruleForm)
let res = await sjsbTask.updateCron(_this.ruleForm)
if (res.code == 200) {
_this.$message({
message: res.message,
......
......@@ -28,7 +28,7 @@
<script>
// 定时任务
import data from "./data"
import system from '@/api/system.js'
import sjsbTask from '@/api/sjsbTask.js'
import tableMixin from '@/mixins/tableMixin.js'
import addTask from '../components/addTask.vue'
export default {
......@@ -114,7 +114,7 @@ export default {
try {
this.form = Object.assign(this.form, this.formData)
let { result: { list, total, pages: pageSize, pageNum: current }
} = await system.getTaskListByName(this.form)
} = await sjsbTask.getTaskListByName(this.form)
this.tableData.data = list
this.pageData = {
pageSize,
......@@ -134,7 +134,7 @@ export default {
type: 'warning',
})
.then(() => {
system.pauseJob(row.id)
sjsbTask.pauseJob(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$message({
......@@ -166,7 +166,7 @@ export default {
type: 'warning',
})
.then(() => {
system.activateJob(row.id)
sjsbTask.activateJob(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$message({
......@@ -198,7 +198,7 @@ export default {
type: 'warning',
})
.then(() => {
system.resumeJob(row.id)
sjsbTask.resumeJob(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$message({
......@@ -230,7 +230,7 @@ export default {
type: 'warning',
})
.then(() => {
system.sjsbTaskRun(row.id)
sjsbTask.sjsbTaskRun(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$alert(res.message, '提示', {
......@@ -265,7 +265,7 @@ export default {
type: 'warning',
})
.then(() => {
system.sjsbTaskRemove(row.id)
sjsbTask.sjsbTaskRemove(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$message({
......
......@@ -28,7 +28,7 @@
<script>
// 定时任务
import data from "./data"
import system from '@/api/system.js'
import sjsbTask from '@/api/sjsbTask.js'
import tableMixin from '@/mixins/tableMixin.js'
import addTask from '../components/addTask.vue'
export default {
......@@ -114,7 +114,7 @@ export default {
try {
this.form = Object.assign(this.form, this.formData)
let { result: { list, total, pages: pageSize, pageNum: current }
} = await system.getTaskListByName(this.form)
} = await sjsbTask.getTaskListByName(this.form)
this.tableData.data = list
this.pageData = {
pageSize,
......@@ -134,7 +134,7 @@ export default {
type: 'warning',
})
.then(() => {
system.pauseJob(row.id)
sjsbTask.pauseJob(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$message({
......@@ -166,7 +166,7 @@ export default {
type: 'warning',
})
.then(() => {
system.activateJob(row.id)
sjsbTask.activateJob(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$message({
......@@ -198,7 +198,7 @@ export default {
type: 'warning',
})
.then(() => {
system.resumeJob(row.id)
sjsbTask.resumeJob(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$message({
......@@ -230,7 +230,7 @@ export default {
type: 'warning',
})
.then(() => {
system.sjsbTaskRun(row.id)
sjsbTask.sjsbTaskRun(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$alert(res.message, '提示', {
......@@ -265,7 +265,7 @@ export default {
type: 'warning',
})
.then(() => {
system.sjsbTaskRemove(row.id)
sjsbTask.sjsbTaskRemove(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$message({
......
......@@ -28,7 +28,7 @@
<script>
// 定时任务
import data from "./data"
import system from '@/api/system.js'
import sjsbTask from '@/api/sjsbTask.js'
import tableMixin from '@/mixins/tableMixin.js'
import addTask from '../components/addTask.vue'
export default {
......@@ -114,7 +114,7 @@ export default {
try {
this.form = Object.assign(this.form, this.formData)
let { result: { list, total, pages: pageSize, pageNum: current }
} = await system.getTaskListByName(this.form)
} = await sjsbTask.getTaskListByName(this.form)
this.tableData.data = list
this.pageData = {
pageSize,
......@@ -134,7 +134,7 @@ export default {
type: 'warning',
})
.then(() => {
system.pauseJob(row.id)
sjsbTask.pauseJob(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$message({
......@@ -166,7 +166,7 @@ export default {
type: 'warning',
})
.then(() => {
system.activateJob(row.id)
sjsbTask.activateJob(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$message({
......@@ -198,7 +198,7 @@ export default {
type: 'warning',
})
.then(() => {
system.resumeJob(row.id)
sjsbTask.resumeJob(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$message({
......@@ -230,7 +230,7 @@ export default {
type: 'warning',
})
.then(() => {
system.sjsbTaskRun(row.id)
sjsbTask.sjsbTaskRun(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$alert(res.message, '提示', {
......@@ -265,7 +265,7 @@ export default {
type: 'warning',
})
.then(() => {
system.sjsbTaskRemove(row.id)
sjsbTask.sjsbTaskRemove(row.id)
.then((res) => {
if ((res.code = 200)) {
this.$message({
......
......@@ -31,7 +31,7 @@
<!-- 操作按钮 -->
<el-col :span="6" class="btnColRight">
<btn nativeType="sb" @click="handleUpdateDic">刷新缓存</btn>
<btn nativeType="cx" @click="handleSubmit">查询结果</btn>
<btn nativeType="cx" @click="handleSubmit">查询</btn>
</el-col>
</el-row>
</el-form>
......
......@@ -32,8 +32,8 @@
</el-col>
<!-- 操作按钮 -->
<el-col :span="4" class="btnColRight">
<el-button @click="resetForm('ruleForm')">重置</el-button>
<el-button type="primary" @click="handleSubmit">查询结果</el-button>
<el-button @click="resetForm">重置</el-button>
<el-button type="primary" @click="handleSubmit">查询</el-button>
</el-col>
</el-row>
</el-form>
......