feat:接收报文重新入库
Showing
4 changed files
with
196 additions
and
0 deletions
| ... | @@ -124,6 +124,19 @@ export const asyncRoutes = [ | ... | @@ -124,6 +124,19 @@ export const asyncRoutes = [ |
| 124 | } | 124 | } |
| 125 | ] | 125 | ] |
| 126 | }, | 126 | }, |
| 127 | // 接收报文重新入库 | ||
| 128 | { | ||
| 129 | path: '/jsbwcxrk', | ||
| 130 | component: Layout, | ||
| 131 | children: [ | ||
| 132 | { | ||
| 133 | path: 'index', | ||
| 134 | component: () => import('@/views/jsbwcxrk/index'), | ||
| 135 | name: 'jsbwcxrk', | ||
| 136 | meta: { title: '接收报文重新入库', icon: 'zhcx' } | ||
| 137 | } | ||
| 138 | ] | ||
| 139 | }, | ||
| 127 | // 接入业务信息 | 140 | // 接入业务信息 |
| 128 | { | 141 | { |
| 129 | path: '/busineInfo', | 142 | path: '/busineInfo', | ... | ... |
src/views/jsbwcxrk/data/index.js
0 → 100644
| 1 | import filter from '@/utils/filter.js' | ||
| 2 | class data extends filter { | ||
| 3 | constructor() { | ||
| 4 | super() | ||
| 5 | } | ||
| 6 | columns () { | ||
| 7 | return [ | ||
| 8 | { | ||
| 9 | prop: "qygh", | ||
| 10 | label: "区域规划", | ||
| 11 | }, | ||
| 12 | { | ||
| 13 | prop: "rkkssj", | ||
| 14 | label: "入库开始时间", | ||
| 15 | }, | ||
| 16 | { | ||
| 17 | prop: "rkjssh", | ||
| 18 | label: "入库结束时间", | ||
| 19 | }, | ||
| 20 | { | ||
| 21 | prop: "zjrksj", | ||
| 22 | label: "最近入库时间", | ||
| 23 | }, | ||
| 24 | { | ||
| 25 | prop: "rksbsl", | ||
| 26 | label: "入库失败熟练", | ||
| 27 | }, | ||
| 28 | { | ||
| 29 | prop: "rkcgsl", | ||
| 30 | label: "入库成功数量", | ||
| 31 | }, | ||
| 32 | { | ||
| 33 | prop: "zsl", | ||
| 34 | label: "总数量", | ||
| 35 | }, | ||
| 36 | { | ||
| 37 | prop: 'cxrkzt', | ||
| 38 | label: '重新入库状态', | ||
| 39 | render: (h, scope) => { | ||
| 40 | return ( | ||
| 41 | <div> | ||
| 42 | { | ||
| 43 | scope.row.cxrkzt | ||
| 44 | ? <el-tag type='success'>入库</el-tag> | ||
| 45 | : <el-tag type='primary'>入库1</el-tag> | ||
| 46 | } | ||
| 47 | </div> | ||
| 48 | ) | ||
| 49 | } | ||
| 50 | } | ||
| 51 | ] | ||
| 52 | } | ||
| 53 | } | ||
| 54 | export default new data() |
src/views/jsbwcxrk/index.scss
0 → 100644
File mode changed
src/views/jsbwcxrk/index.vue
0 → 100644
| 1 | <template> | ||
| 2 | <div class="reportLog from-clues"> | ||
| 3 | <div class="from-clues-header"> | ||
| 4 | <el-form ref="ruleForm" :model="form" label-width="55px"> | ||
| 5 | <el-row class="marginbtm5"> | ||
| 6 | <el-col :span="6"> | ||
| 7 | <el-form-item label="行政区" prop="pcode"> | ||
| 8 | <el-select v-model="form.pcode" class="width100" clearable placeholder="行政区"> | ||
| 9 | <el-option v-for="item in xzqOptions" :key="item.value" :label="item.label" :value="item.value"> | ||
| 10 | </el-option> | ||
| 11 | </el-select> | ||
| 12 | </el-form-item> | ||
| 13 | </el-col> | ||
| 14 | <el-col :span="6"> | ||
| 15 | <el-form-item label="状态" prop="status"> | ||
| 16 | <el-select v-model="form.jcjg" class="width100" clearable placeholder="检查结果"> | ||
| 17 | <el-option v-for="item in []" :key="item.value" :label="item.label" :value="item.value"> | ||
| 18 | </el-option> | ||
| 19 | </el-select> | ||
| 20 | </el-form-item> | ||
| 21 | </el-col> | ||
| 22 | <el-col :span="12" class="btnColRight"> | ||
| 23 | <el-form-item> | ||
| 24 | <el-button @click="resetForm('ruleForm')">重置</el-button> | ||
| 25 | <el-button type="primary" @click="handleSubmit">查询结果</el-button> | ||
| 26 | </el-form-item> | ||
| 27 | </el-col> | ||
| 28 | </el-row> | ||
| 29 | </el-form> | ||
| 30 | </div> | ||
| 31 | <div class="from-clues-content"> | ||
| 32 | <lb-table ref="table" :page-size="pageData.size" :current-page.sync="pageData.current" :total="pageData.total" | ||
| 33 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | ||
| 34 | :data="tableData.data"> | ||
| 35 | </lb-table> | ||
| 36 | </div> | ||
| 37 | </div> | ||
| 38 | </template> | ||
| 39 | |||
| 40 | <script> | ||
| 41 | import data from "./data" | ||
| 42 | import tableMixin from '@/mixins/tableMixin.js' | ||
| 43 | export default { | ||
| 44 | name: "reportLog", | ||
| 45 | mixins: [tableMixin], | ||
| 46 | data () { | ||
| 47 | return { | ||
| 48 | form: { | ||
| 49 | pcode: '', | ||
| 50 | status: '', | ||
| 51 | currentPage: 1 | ||
| 52 | }, | ||
| 53 | rules: { | ||
| 54 | pcode: [ | ||
| 55 | { required: true, message: '请选择行政区', trigger: 'change' } | ||
| 56 | ], | ||
| 57 | }, | ||
| 58 | tableData: { | ||
| 59 | columns: [{ | ||
| 60 | label: '序号', | ||
| 61 | type: 'index', | ||
| 62 | width: '50', | ||
| 63 | index: this.indexMethod, | ||
| 64 | }].concat(data.columns()).concat([ | ||
| 65 | { | ||
| 66 | label: "操作", | ||
| 67 | width: '80', | ||
| 68 | render: (h, scope) => { | ||
| 69 | return ( | ||
| 70 | <div> | ||
| 71 | <el-button | ||
| 72 | type="text" | ||
| 73 | size="mini" | ||
| 74 | icon="el-icon-edit" | ||
| 75 | style="margin-left: 10px" | ||
| 76 | onClick={() => { this.handleEdit(scope.row) }} | ||
| 77 | > | ||
| 78 | 编辑 | ||
| 79 | </el-button> | ||
| 80 | </div> | ||
| 81 | ) | ||
| 82 | } | ||
| 83 | } | ||
| 84 | ]), | ||
| 85 | data: [{}] | ||
| 86 | }, | ||
| 87 | pageData: { | ||
| 88 | total: 0, | ||
| 89 | pageSize: 15, | ||
| 90 | current: 1, | ||
| 91 | }, | ||
| 92 | // 行政区 | ||
| 93 | xzqOptions: [ | ||
| 94 | { | ||
| 95 | value: '632321', | ||
| 96 | label: '同仁县' | ||
| 97 | }, | ||
| 98 | { | ||
| 99 | value: '632322', | ||
| 100 | label: '尖扎县' | ||
| 101 | }, | ||
| 102 | { | ||
| 103 | value: '632323', | ||
| 104 | label: '泽库县' | ||
| 105 | }, | ||
| 106 | { | ||
| 107 | value: '632324', | ||
| 108 | label: '河南县' | ||
| 109 | } | ||
| 110 | ] | ||
| 111 | } | ||
| 112 | }, | ||
| 113 | methods: { | ||
| 114 | resetForm () { | ||
| 115 | this.$refs.ruleForm.resetFields(); | ||
| 116 | }, | ||
| 117 | async featchData () { | ||
| 118 | }, | ||
| 119 | handleEdit (row) { | ||
| 120 | |||
| 121 | } | ||
| 122 | } | ||
| 123 | } | ||
| 124 | </script> | ||
| 125 | <style scoped lang="scss"> | ||
| 126 | @import "~@/styles/public.scss"; | ||
| 127 | @import "./index.scss"; | ||
| 128 | </style> | ||
| 129 |
-
Please register or sign in to post a comment