Commit 566ae5af authored by 何鹏程's avatar 何鹏程

修改bug

parent 875fd219
......@@ -6,8 +6,8 @@ module.exports = {
assetsPublicPath: '/',
proxyTable: {
'/api': {
// target: 'http://172.16.15.117:8084/', // 开发环境地址
target: 'http://172.16.15.100:801',
target: 'http://172.16.15.117:8084/', // 开发环境地址
// target: 'http://172.16.15.100:801',
// target: 'http://122.51.94.140/teamwork', // 测试环境
changeOrigin: true,
pathRewrite: {
......
......@@ -12,7 +12,7 @@
<!-- 引入阿里云oss-sdk -->
<!-- <script src="https://gosspublic.alicdn.com/aliyun-oss-sdk-4.4.4.min.js"></script> -->
<!-- 引入百度DuGIS -->
<script src="http://40.1.2.251:8219/bmapgl/"></script>
<!-- <script src="http://40.1.2.251:8219/bmapgl/"></script> -->
</head>
<body>
......
......@@ -26,6 +26,7 @@
class="avatar-uploader"
:action="uploadUrl"
:show-file-list="false"
:headers="{ token: token }"
accept="image/jpg, image/jpeg, image/png"
:on-success="handleAvatarSuccess"
:before-upload="beforeAvatarUpload"
......@@ -282,6 +283,7 @@
<el-button
type="primary"
size="small"
:disabled="formDisabled"
@click="submitForm()"
>确 定</el-button>
</span>
......@@ -290,6 +292,7 @@
<script>
import { getDic } from '../../../util/dict'
import { Auth } from '@/util/auth'
import { saveOrUpdateEmergencyCar, queryTeamEmergencyCarInfo } from '@/api/emergencyCar'
export default {
name: 'emergencyCarDialog',
......@@ -327,6 +330,7 @@ export default {
loading: false,
uploadUrl: (process.env.NODE_ENV === 'production' ? process.env.BASE_API : '') + '/api/team/car/uploadEmergencyImage',
formDisabled: false,
token: Auth.getLoginInfo(),
dataForm: {
vehicleUsingUnit: '',
area: '',
......
......@@ -100,7 +100,7 @@
label="操作"
align="left"
width="auto"
min-width="200px"
min-width="230px"
>
<template slot-scope="scope">
<el-link
......
......@@ -96,6 +96,7 @@
<el-button
type="primary"
size="small"
:disabled="formDisabled"
@click="submitForm()"
>确 定</el-button>
</span>
......
......@@ -136,6 +136,7 @@
<el-button
type="primary"
size="small"
:disabled="formDisabled"
@click="submitForm()"
>确 定</el-button>
</span>
......
......@@ -87,6 +87,7 @@
<el-button
type="primary"
size="small"
:disabled="formDisabled"
@click="submitForm()"
>确 定</el-button>
</span>
......
......@@ -106,6 +106,7 @@
<el-button
type="primary"
size="small"
:disabled="formDisabled"
@click="submitForm()"
>确 定</el-button>
</span>
......
......@@ -106,6 +106,7 @@
<el-button
type="primary"
size="small"
:disabled="formDisabled"
@click="submitForm()"
>确 定</el-button>
</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment