| | |
| | | |
| | | # VUE_APP_API_URL = 'https://atwl.ahzyssl.com/zhyq_interface' |
| | | |
| | | # VUE_APP_API_URL = 'http://192.168.1.45:10010' |
| | | VUE_APP_API_URL = 'http://192.168.1.45:10010' |
| | | |
| | | VUE_APP_API_URL = 'http://192.168.0.212/system_gateway' |
| | | # VUE_APP_API_URL = 'http://192.168.0.212/system_gateway' |
| | | |
| | | # VUE_APP_API_URL = 'http://localhost:10010' |
| | | |
| | |
| | | # 生产环境配置 |
| | | NODE_ENV = 'production' |
| | | |
| | | VUE_APP_API_URL = 'http://192.168.0.212/system_gateway' |
| | | # VUE_APP_API_URL = 'http://192.168.0.212/system_gateway' |
| | | VUE_APP_API_URL = 'http://192.168.0.7/system_gateway' |
| | | # VUE_APP_API_URL = 'http://10.49.39.23/system_gateway' |
| | | |
| | | VUE_APP_AMAP_KEY='045542fc5f436b75e6c911c5c84ff8cd' |
| | | |
| | |
| | | }, |
| | | open (title, target) { |
| | | this.title = title |
| | | this.form.imgurlFull = '' |
| | | this.visible = true |
| | | // 新建组织 |
| | | if (target == null) { |
| | |
| | | @confirm="confirm" |
| | | > |
| | | <el-form :model="form" ref="form" :rules="rules"> |
| | | <el-form-item label="版本号" prop="versionInfo"> |
| | | <el-form-item label="版本号" prop="versionNum"> |
| | | <el-input v-model="form.versionNum" type="number" placeholder="请输入版本号" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="版本名称" prop="versionInfo"> |
| | | <el-input v-model="form.versionInfo" placeholder="请输入版本号" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="安装包" prop="fileUrl"> |
| | |
| | | content: '', |
| | | fileSize: '', |
| | | name: '', |
| | | isForce: 1 |
| | | isForce: 1, |
| | | versionNum: '' |
| | | }, |
| | | // 验证规则 |
| | | rules: { |
| | | versionInfo: [ |
| | | versionNum: [ |
| | | { required: true, message: '请输入版本号', trigger: 'blur' } |
| | | ], |
| | | versionInfo: [ |
| | | { required: true, message: '请输入版本名称', trigger: 'blur' } |
| | | ], |
| | | fileUrl: [ |
| | | { required: true, message: '请上传安装包', trigger: 'blur' } |
| | | ], |
| | |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | | const now = new Date(); |
| | | const year = now.getFullYear(); |
| | | const month = now.getMonth() + 1; // 月份从0开始,需要加1 |
| | | const day = now.getDate(); |
| | | this.searchForm.dateInfo = `${year}-${month}-${day}` |
| | | this.search() |
| | | }, |
| | | methods: { |
| | |
| | | :data="tableData.list" |
| | | stripe |
| | | > |
| | | <el-table-column prop="versionInfo" label="版本号" min-width="100px"></el-table-column> |
| | | <el-table-column prop="versionNum" label="版本号" min-width="100px"></el-table-column> |
| | | <el-table-column prop="versionInfo" label="版本名称" min-width="100px"></el-table-column> |
| | | <el-table-column label="平台类型" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span v-if="row.type === 0">Android</span> |