MrShi
4 天以前 3889b8ad1c2b71dd2bdca200aca7063742bd83bf
提交
已修改6个文件
30 ■■■■ 文件已修改
admin/.env.development 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/.env.production 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/components/business/OperaCategoryJkBannerWindow.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/components/business/OperaJkVersionWindow.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/business/jkSketch.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/business/jkVersion.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/.env.development
@@ -3,9 +3,9 @@
# 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'
admin/.env.production
@@ -1,7 +1,9 @@
# 生产环境配置
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'
admin/src/components/business/OperaCategoryJkBannerWindow.vue
@@ -70,6 +70,7 @@
    },
    open (title, target) {
      this.title = title
      this.form.imgurlFull = ''
      this.visible = true
      // 新建组织
      if (target == null) {
admin/src/components/business/OperaJkVersionWindow.vue
@@ -7,7 +7,10 @@
    @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">
@@ -61,13 +64,17 @@
        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' }
        ],
admin/src/views/business/jkSketch.vue
@@ -115,6 +115,11 @@
      '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: {
admin/src/views/business/jkVersion.vue
@@ -28,7 +28,8 @@
        :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>