| | |
| | | </div> |
| | | </div> |
| | | <div class="main_content"> |
| | | <cpnTable :table-index="true" :table-data="dataList" :table-columns="tableColumns" :page-total="total" |
| | | :page-num.sync="queryInfo.pageNum" :page-size.sync="queryInfo.pageSize" :page-change="pageChange"> |
| | | <cpnTable :table-index="true" :table-loading="loading" :table-data="dataList" :table-columns="tableColumns"
|
| | | :page-total="total" :page-num.sync="queryInfo.pageNum" :page-size.sync="queryInfo.pageSize"
|
| | | :page-change="pageChange">
|
| | | |
| | | <template #finished="{ row }"> |
| | | <div style="cursor: pointer;" @click="showDetail(row)">{{ row.completedQuantity }}</div> |
| | |
| | | <!-- dialog --> |
| | | <el-dialog class="prop_dialog" v-if="isRender" :title="dialogTitle" :visible.sync="asyncVisible" width="660px" |
| | | @close="closeForm"> |
| | |
|
| | | <cpnForm :form-config="formConfig"></cpnForm>
|
| | |
|
| | | <el-form ref="ruleForm" :model="ruleForm" :rules="rules" label-width="auto" class="rule_form"> |
| | | <el-form-item label="项目名称:" prop="proId"> |
| | | <el-select v-model="ruleForm.proId" placeholder="请选择" @change="changeNeed"> |
| | |
| | | <script> |
| | | import {throttle} from '../../plugins/public'; // 导入节流、动态切换组件尺寸方法 |
| | | import cpnTable from '@/components/element/Table' |
| | | import cpnForm from '@/components/element/Form'
|
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | key: 'waterproofType', |
| | | } |
| | | ] |
| | | },
|
| | |
|
| | | formConfig: {
|
| | | formModels: {
|
| | | proId: '', // 项目名称id
|
| | | mileage: '', // 起讫里程
|
| | | unitProjectName: '', // 单位工程名称
|
| | | segmentAdmin: '', // 需求负责人
|
| | | shieldEnp: '', // 盾构单位
|
| | | startTime: null, // 开始时间
|
| | | endTime: null, // 结束时间
|
| | | duration: '', // 工期
|
| | | station: '', // 站点
|
| | | segmentList: [], // 标段需求
|
| | | },
|
| | | formItems: [
|
| | | {
|
| | | type: 'input', label: '用户id'
|
| | | },
|
| | | {
|
| | | type: 'input', label: '用户名'
|
| | | },
|
| | |
|
| | | {
|
| | | type: 'input', label: '真实姓名'
|
| | | },
|
| | | {
|
| | | type: 'input', label: '电话号码'
|
| | | },
|
| | | {
|
| | | type: 'select', label: '用户状态', options: [
|
| | | {label: '禁用', value: 0},
|
| | | {label: '启用', value: 1}
|
| | | ]
|
| | | },
|
| | | {
|
| | | type: 'datepicker', label: '创建时间', otherOptions: {
|
| | | startPlaceholder: '开始时间',
|
| | | endPlaceholder: '结束时间',
|
| | | type: 'daterange',
|
| | | 'unlink-panels': true
|
| | | }
|
| | | }
|
| | | ],
|
| | | itemColLayout: {
|
| | | span: 8
|
| | | }
|
| | | } |
| | | } |
| | | }, |
| | | components: { |
| | | cpnTable |
| | | cpnTable,
|
| | | cpnForm
|
| | | }, |
| | | computed: { |
| | | isUpdate() { |