| | |
| | | |
| | | @import "~element-ui/packages/theme-chalk/src/index"; |
| | | |
| | | .el-drawer__header { |
| | | color: #333333 !important; |
| | | } |
| | |
| | | @import "variables.scss"; |
| | | @import "./element-variables.scss"; |
| | | // 样式重置 |
| | | html { |
| | | height: 100%; |
| | |
| | | width: 200px !important; |
| | | } |
| | | .w300{ |
| | | width: 300px; |
| | | width: 300px !important; |
| | | } |
| | | .w400{ |
| | | width: 400px !important; |
| | |
| | | margin-left: 20px !important; |
| | | } |
| | | .mt30 { |
| | | margin-top: 30px; |
| | | margin-top: 30px !important; |
| | | } |
| | | |
| | | .mr30 { |
| | |
| | | // 主色调 |
| | | $primary-color: #279BAA; |
| | | $primaryColor: #279BAA; |
| | | $primary-title-start-color: #3582ff; |
| | | $primary-title-color: #216EcE; |
| | | $primary-color-sel: #2cbbd1; |
| | |
| | | :pagination="pagination" |
| | | /> |
| | | <el-dialog |
| | | :title="param.id ? '编辑隐患区域' : '新增隐患区域'" |
| | | :title="param.id ? '编辑隐患类型' : '新增隐患类型'" |
| | | :visible.sync="isShowEdit" |
| | | width="480px" |
| | | > |
| | |
| | | <span class="placeholder9">作业:</span><span class="red">1</span> |
| | | </div> |
| | | </div> |
| | | <el-button type="primary">叫号</el-button> |
| | | <el-button type="primary" @click="handleQueuing()">叫号</el-button> |
| | | </div> |
| | | <div class="list"> |
| | | <div class="info" v-for="j in 3"> |
| | |
| | | <el-button @click="isShowDetail = false">关闭</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <!-- --> |
| | | <el-drawer |
| | | title="月台叫号-xx号月台" |
| | | :visible.sync="isShowQueuing" |
| | | size="720px" |
| | | > |
| | | <div class="queuing_modal"> |
| | | <div class="df_ac mb20"> |
| | | <span>搜索车辆:</span> |
| | | <el-input |
| | | class="flex1 mr20" |
| | | v-model="queuingForm.aa" |
| | | placeholder="请输入车牌号" |
| | | ></el-input> |
| | | <el-button type="primary">查找</el-button> |
| | | <el-button>重置</el-button> |
| | | </div> |
| | | <div class="list"> |
| | | <div class="item"> |
| | | <div class="head df_sb"> |
| | | <div class="plate">皖A12122</div> |
| | | <div class="status">已签到</div> |
| | | </div> |
| | | <div class="info"> |
| | | <div class="ite"> |
| | | <span>运输单号:</span> |
| | | <span>12312</span> |
| | | </div> |
| | | <div class="ite"> |
| | | <span>驾驶员:</span> |
| | | <span>12312</span> |
| | | </div> |
| | | <div class="ite"> |
| | | <span>手机号:</span> |
| | | <span>12312</span> |
| | | </div> |
| | | <div class="ite"> |
| | | <span>总运输量:</span> |
| | | <span>12312</span> |
| | | </div> |
| | | <div class="ite" style="width: 66%"> |
| | | <span>运输公司:</span> |
| | | <span>12312</span> |
| | | </div> |
| | | </div> |
| | | <div class="footer df_sb"> |
| | | <div class="detail">运单详情</div> |
| | | <el-button type="primary">叫号</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button class="mt30" @click="isShowQueuing = false">关闭</el-button> |
| | | </div> |
| | | </el-drawer> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | isShowSet: false, // 月台配置 |
| | | setParam: {}, |
| | | isShowDetail: false, // 运单详情 |
| | | detail: {} |
| | | detail: {}, |
| | | isShowQueuing: false, |
| | | queuingForm: {} |
| | | } |
| | | }, |
| | | methods: { |
| | | |
| | | handleQueuing(row) { |
| | | this.isShowQueuing = true |
| | | }, |
| | | handleFinish(item) { |
| | | this.$confirm('高架库6号月台 皖A12345 作业结束', '温馨提示', { |
| | | confirmButtonText: '确定', |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | @import "@/assets/style/variables.scss"; |
| | | .platform_list { |
| | | .item { |
| | | /* padding: 16px 24px; */ |
| | |
| | | } |
| | | } |
| | | } |
| | | /* */ |
| | | .queuing_modal { |
| | | padding: 10px 30px; |
| | | .list { |
| | | .item { |
| | | background: #f4fafb; |
| | | border-radius: 2px; |
| | | border: 1px solid #dfe2e8; |
| | | margin-bottom: 10px; |
| | | padding: 16px; |
| | | .head { |
| | | margin-bottom: 15px; |
| | | .plate { |
| | | width: 90px; |
| | | text-align: center; |
| | | font-size: 15px; |
| | | color: #111111; |
| | | padding: 4px 5px; |
| | | font-weight: 700; |
| | | border: 1px solid #279baa; |
| | | background-color: #fff; |
| | | } |
| | | .status { |
| | | color: $primaryColor; |
| | | } |
| | | } |
| | | .info { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | .ite { |
| | | width: 33.3%; |
| | | margin-bottom: 8px; |
| | | span { |
| | | &:nth-child(1) { |
| | | color: #666666; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .footer { |
| | | .detail { |
| | | color: $primaryColor; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <div class="main_app"> |
| | | <el-form |
| | | :model="param" |
| | | :rules="rules" |
| | | label-suffix=":" |
| | | ref="ruleForm" |
| | | label-width="140px" |
| | | > |
| | | <el-form-item label="市公司审批人"> |
| | | <el-select v-model="param.aa" class="w400" placeholder="请选择,多选"> |
| | | <el-option></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="市公司日作业量"> |
| | | <el-input v-model="param.bbb" class="w400" placeholder="请输入"></el-input> |
| | | <span>万支</span> |
| | | </el-form-item> |
| | | <el-form-item label="物流车预约指南"> |
| | | <Editor v-if="param.content" v-model="param.content" :defaultConfig="{ readOnly : true }" /> |
| | | </el-form-item> |
| | | <el-form-item label="物流车园区导览图"> |
| | | <Editor v-if="param.content" v-model="param.content" :defaultConfig="{ readOnly : true }" /> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { Editor } from '@wangeditor/editor-for-vue' |
| | | export default { |
| | | components: { |
| | | Editor |
| | | }, |
| | | data () { |
| | | return { |
| | | param: {}, |
| | | rules: {} |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |
| | |
| | | <template> |
| | | <div class="main_app"> |
| | | <QueryForm |
| | | v-model="filters" |
| | | :query-form-config="queryFormConfig" |
| | | @handleQuery="getList(1)" |
| | | @clear="clear" |
| | | /> |
| | | <div class="mb20 mt20"> |
| | | <el-button type="primary" @click="handleEdit()">新增</el-button> |
| | | </div> |
| | | <el-table v-loading="loading" :data="list" stripe> |
| | | <el-table-column |
| | | prop="name" |
| | | label="月台组" |
| | | min-width="100" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | prop="name" |
| | | label="入园事由" |
| | | min-width="100" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | prop="name" |
| | | label="操作" |
| | | min-width="80" |
| | | show-overflow-tooltip |
| | | > |
| | | <template v-slot="scope"> |
| | | <el-button type="text" @click="handleEdit(scope.row)">编辑</el-button> |
| | | <el-button type="text" class="red" @click="handleDel(scope.row)" |
| | | >删除</el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="getList" |
| | | :pagination="pagination" |
| | | /> |
| | | <el-dialog |
| | | :title="param.id ? '编辑月台' : '新增月台'" |
| | | :visible.sync="isShowEdit" |
| | | width="800px" |
| | | > |
| | | <el-form |
| | | :model="param" |
| | | :rules="rules" |
| | | label-suffix=":" |
| | | ref="ruleForm" |
| | | label-width="120px" |
| | | > |
| | | <el-form-item label="月台组名称"> |
| | | <el-input v-model="param.aaa" class="w300" disabled></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="关联入园事由"> |
| | | <el-checkbox-group v-model="param.checkList"> |
| | | <el-checkbox label="0">安泰装货</el-checkbox> |
| | | <el-checkbox label="0">安泰卸货</el-checkbox> |
| | | <el-checkbox label="0">市公司卸货</el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | <el-form-item label="关联月台"> |
| | | <el-transfer |
| | | filterable |
| | | filter-placeholder="搜索" |
| | | :titles="['待添加月台', '已添加月台']" |
| | | v-model="param.sel" |
| | | :data="data" |
| | | |
| | | > |
| | | </el-transfer> |
| | | </el-form-item> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="isShowEdit = false">取消</el-button> |
| | | <el-button type="primary" @click="handleSub">确定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import Pagination from '@/components/common/Pagination' |
| | | import QueryForm from '@/components/common/QueryForm' |
| | | export default { |
| | | components: { |
| | | Pagination, |
| | | QueryForm |
| | | }, |
| | | data () { |
| | | return { |
| | | filters: {}, |
| | | loading: false, |
| | | queryFormConfig: { |
| | | formItems: [ |
| | | { |
| | | filed: 'name', |
| | | type: 'input', |
| | | label: '月台组' |
| | | } |
| | | ], |
| | | online: true |
| | | }, |
| | | pagination: { |
| | | capacity: 10, |
| | | page: 1 |
| | | }, |
| | | list: [{}], |
| | | total: 0, |
| | | isShowEdit: false, |
| | | param: { |
| | | sel: [] |
| | | }, |
| | | rules: {}, |
| | | |
| | | data: [ |
| | | { key: '1', label: '上海' }, |
| | | { key: '2', label: '上海' }, |
| | | { key: '3', label: '上海' }, |
| | | { key: '4', label: '上海' }, |
| | | { key: '5', label: '上海' } |
| | | ] |
| | | } |
| | | }, |
| | | methods: { |
| | | getList (page) { }, |
| | | clear () { }, |
| | | handleEdit (row) { |
| | | this.isShowEdit = true |
| | | }, |
| | | handleDel () { }, |
| | | handleSizeChange (capacity) { |
| | | this.pagination.capacity = capacity |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |
| | |
| | | <template> |
| | | <div class="main_app"> |
| | | <QueryForm |
| | | v-model="filters" |
| | | :query-form-config="queryFormConfig" |
| | | @handleQuery="getList(1)" |
| | | @clear="clear" |
| | | /> |
| | | <el-table v-loading="loading" :data="list" stripe> |
| | | <el-table-column |
| | | prop="name" |
| | | label="月台名称" |
| | | min-width="100" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | prop="name" |
| | | label="工作时间" |
| | | min-width="100" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | prop="name" |
| | | label="同时作业报警时间" |
| | | min-width="100" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | prop="name" |
| | | label="叫号等待时间(分钟)" |
| | | min-width="80" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | prop="name" |
| | | label="月台作业效率(万支/小时)" |
| | | min-width="120" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | prop="name" |
| | | label="停用/启用" |
| | | min-width="80" |
| | | show-overflow-tooltip |
| | | > |
| | | <template v-slot="scope"> |
| | | <el-switch |
| | | v-model="scope.row.status" |
| | | active-value="1" |
| | | inactive-value="0" |
| | | > |
| | | </el-switch> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="操作" |
| | | min-width="80" |
| | | show-overflow-tooltip |
| | | > |
| | | <template v-slot="scope"> |
| | | <el-button type="text" @click="handleEdit(scope.row)">编辑</el-button> |
| | | <el-button type="text" class="red" @click="handleDel(scope.row)" |
| | | >删除</el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="getList" |
| | | :pagination="pagination" |
| | | /> |
| | | <el-dialog |
| | | :title="param.id ? '编辑月台配置' : '新增月台配置'" |
| | | :visible.sync="isShowEdit" |
| | | width="600px" |
| | | > |
| | | <el-form |
| | | :model="param" |
| | | :rules="rules" |
| | | label-suffix=":" |
| | | ref="ruleForm" |
| | | label-width="140px" |
| | | > |
| | | <el-form-item label="月台名称"> |
| | | <el-input v-model="param.aaa" class="w300" disabled></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="工作时间"> |
| | | <el-time-picker |
| | | is-range |
| | | class="w300" |
| | | v-model="param.val" |
| | | range-separator="至" |
| | | value-format="HH:mm" |
| | | format="HH:mm" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="同时作业车辆数"> |
| | | <el-input v-model="param.aaa" class="w300"></el-input> |
| | | <span class="ml10">个</span> |
| | | </el-form-item> |
| | | <el-form-item label="停留超时报警时间"> |
| | | <el-input |
| | | v-model="param.aaa" |
| | | placeholder="请输入" |
| | | class="w300" |
| | | ></el-input> |
| | | <span class="ml10">分钟</span> |
| | | </el-form-item> |
| | | <el-form-item label="叫号等待时间" prop="name"> |
| | | <el-input |
| | | v-model="param.aaa" |
| | | placeholder="请输入" |
| | | class="w300" |
| | | ></el-input> |
| | | <span class="ml10">分钟</span> |
| | | </el-form-item> |
| | | <el-form-item label="月台作业效率" placeholder="请输入" prop="name"> |
| | | <el-input |
| | | v-model="param.ccc" |
| | | class="w300" |
| | | placeholder="请输入" |
| | | oninput="value=value.replace(/^(0+)|[^\d]+/g, '').slice(0, 7)" |
| | | /> |
| | | <span class="ml10">万支/小时</span> |
| | | </el-form-item> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="isShowEdit = false">取消</el-button> |
| | | <el-button type="primary" @click="handleSub">确定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import Pagination from '@/components/common/Pagination' |
| | | import QueryForm from '@/components/common/QueryForm' |
| | | export default { |
| | | components: { |
| | | Pagination, |
| | | QueryForm |
| | | }, |
| | | data () { |
| | | return { |
| | | filters: {}, |
| | | loading: false, |
| | | queryFormConfig: { |
| | | formItems: [ |
| | | { |
| | | filed: 'name', |
| | | type: 'input', |
| | | label: '月台名称' |
| | | } |
| | | ], |
| | | online: true |
| | | }, |
| | | pagination: { |
| | | capacity: 10, |
| | | page: 1 |
| | | }, |
| | | list: [{}], |
| | | total: 0, |
| | | isShowEdit: false, |
| | | param: {}, |
| | | rules: {} |
| | | } |
| | | }, |
| | | methods: { |
| | | getList (page) { }, |
| | | handleSub () { }, |
| | | clear () { }, |
| | | handleEdit (row) { |
| | | this.isShowEdit = true |
| | | }, |
| | | handleDel () { }, |
| | | handleSizeChange (capacity) { |
| | | this.pagination.capacity = capacity |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |