|
@@ -1,7 +1,8 @@
|
|
<template>
|
|
<template>
|
|
<!-- 气瓶流转步骤 -->
|
|
<!-- 气瓶流转步骤 -->
|
|
<div>
|
|
<div>
|
|
- <actionBar menuTitle="气瓶流转步骤" :formList="formList" :ruleForm="searchRuleForm"></actionBar>
|
|
|
|
|
|
+ <actionBar menuTitle="气瓶流转步骤" :formList="formList" :ruleForm="searchRuleForm" @searchProtocol="searchProtocol">
|
|
|
|
+ </actionBar>
|
|
<tables :key="Math.random()" :suspension="false" :tableList="tableList" :tableData="tableData"></tables>
|
|
<tables :key="Math.random()" :suspension="false" :tableList="tableList" :tableData="tableData"></tables>
|
|
<!-- 分页 -->
|
|
<!-- 分页 -->
|
|
<div class="paging_bottom" v-if="Total">
|
|
<div class="paging_bottom" v-if="Total">
|
|
@@ -21,7 +22,10 @@
|
|
import pagination from '@/components/pagination'
|
|
import pagination from '@/components/pagination'
|
|
import {
|
|
import {
|
|
employee
|
|
employee
|
|
- } from "./roam.js";
|
|
|
|
|
|
+ } from "./roam.js"
|
|
|
|
+ import {
|
|
|
|
+ process
|
|
|
|
+ } from '@/assets/js/blockSort'
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
actionBar,
|
|
actionBar,
|
|
@@ -38,12 +42,19 @@
|
|
},
|
|
},
|
|
formList: [{
|
|
formList: [{
|
|
type: 'input',
|
|
type: 'input',
|
|
- label: '客户姓名',
|
|
|
|
- field: 'name',
|
|
|
|
- placeholder: '客户姓名',
|
|
|
|
- }],
|
|
|
|
|
|
+ label: '单位内编码',
|
|
|
|
+ field: 'innerCode',
|
|
|
|
+ placeholder: '单位内编码',
|
|
|
|
+ }, {
|
|
|
|
+ type: 'select',
|
|
|
|
+ label: '步骤',
|
|
|
|
+ field: 'optType',
|
|
|
|
+ placeholder: '选择步骤',
|
|
|
|
+ options: process(),
|
|
|
|
+ }, ],
|
|
searchRuleForm: {
|
|
searchRuleForm: {
|
|
- name: '',
|
|
|
|
|
|
+ innerCode: '',
|
|
|
|
+ optType: '',
|
|
},
|
|
},
|
|
tableList: employee(),
|
|
tableList: employee(),
|
|
tableData: [],
|
|
tableData: [],
|
|
@@ -57,6 +68,11 @@
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 搜索
|
|
|
|
+ searchProtocol(value) {
|
|
|
|
+ this.searchValue = value
|
|
|
|
+ this.getList()
|
|
|
|
+ },
|
|
// 获取气瓶流转步骤列表
|
|
// 获取气瓶流转步骤列表
|
|
getList() {
|
|
getList() {
|
|
var params = {
|
|
var params = {
|