xiaoshushu 3 年之前
父节点
当前提交
d89a99911a

+ 1 - 1
smart-ui/.env.development

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 西藏智慧旅游
+VUE_APP_TITLE = 谢通门智慧旅游
 
 # 开发环境配置
 ENV = 'development'

+ 2 - 2
smart-ui/.env.production

@@ -1,8 +1,8 @@
 # 页面标题
-VUE_APP_TITLE = 西藏智慧旅游
+VUE_APP_TITLE = 谢通门智慧旅游
 
 # 生产环境配置
 ENV = 'production'
 
-# 西藏智慧旅游/生产环境
+# 谢通门智慧旅游/生产环境
 VUE_APP_BASE_API = '/prod-api'

+ 2 - 2
smart-ui/.env.staging

@@ -1,10 +1,10 @@
 # 页面标题
-VUE_APP_TITLE = 西藏智慧旅游
+VUE_APP_TITLE = 谢通门智慧旅游
 
 NODE_ENV = production
 
 # 测试环境配置
 ENV = 'staging'
 
-# 西藏智慧旅游/测试环境
+# 谢通门智慧旅游/测试环境
 VUE_APP_BASE_API = '/stage-api'

+ 2 - 2
smart-ui/package.json

@@ -1,8 +1,8 @@
 {
   "name": "ruoyi",
   "version": "3.6.0",
-  "description": "西藏智慧旅游",
-  "author": "西藏智慧旅游",
+  "description": "谢通门智慧旅游",
+  "author": "谢通门智慧旅游",
   "license": "MIT",
   "scripts": {
     "dev": "vue-cli-service serve",

二进制
smart-ui/src/assets/images/login-background.jpg


+ 1 - 1
smart-ui/src/layout/components/Sidebar/Logo.vue

@@ -35,7 +35,7 @@ export default {
   },
   data() {
     return {
-      title: '西藏智慧旅游',
+      title: '谢通门智慧旅游',
       logo: logoImg
     }
   }

+ 1 - 1
smart-ui/src/views/login.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="login">
     <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
-      <h3 class="title">西藏智慧旅游</h3>
+      <h3 class="title">谢通门智慧旅游</h3>
       <el-form-item prop="username">
         <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
           <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />

+ 18 - 21
smart-ui/src/views/management/marker/index.vue

@@ -29,21 +29,7 @@
       <el-table-column label="类型" align="center" prop="markerType" width="55" :formatter="markerTypeFormat" />
       <el-table-column label="名称" align="center" prop="markerName" />
       <el-table-column label="地址" align="center" prop="address" />
-      <el-table-column label="展示图片" align="center" prop="showPictures">
-        <template slot-scope="scope">
-          <img v-if="scope.row.showPictures" :src="baseUrl + scope.row.showPictures" style="width: 30px; height: 30px" />
-          <span v-else>-</span>
-        </template>
-      </el-table-column>
-      <el-table-column label="icon图片" align="center" prop="iconPictures">
-        <template slot-scope="scope">
-          <img v-if="scope.row.iconPictures" :src="baseUrl + scope.row.iconPictures" style="width: 30px; height: 30px" />
-          <span v-else>-</span>
-        </template>
-      </el-table-column>
-      <el-table-column label="标签" align="center" prop="labelText" />
       <el-table-column label="画图形状" align="center" prop="shapeType" :formatter="shapeTypeFormat" />
-      <el-table-column label="简介" align="center" prop="briefContent" />
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
         <template slot-scope="scope">
           <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['management:marker:edit']">修改</el-button>
@@ -56,8 +42,13 @@
 
     <!-- 添加或修改标记物管理对话框 -->
     <el-dialog :title="title" :visible.sync="open" width="80%" @close="closeDialog" append-to-body>
+      <el-steps :active="1" simple>
+        <el-step title="填写信息" icon="el-icon-edit"></el-step>
+        <el-step title="绘制地图" icon="el-icon-location"></el-step>
+        <el-step title="保存内容" icon="el-icon-check"></el-step>
+      </el-steps>
       <el-form ref="form" :model="form" :rules="rules" label-width="120px">
-        <el-tabs v-model="activeName" @tab-click="handleClick">
+        <el-tabs v-model="activeName" type="border-card" @tab-click="handleClick" style="margin-top: 10px;">
           <el-tab-pane label="基础信息" name="first">
             <el-form-item label="标记物名称" prop="markerName"><el-input v-model="form.markerName" placeholder="请输入标记物名称" /></el-form-item>
             <el-form-item label="标记物地址" prop="address"><el-input v-model="form.address" placeholder="请输入标记物地址" /></el-form-item>
@@ -67,7 +58,7 @@
               </el-select>
             </el-form-item>
             <el-form-item label="所属景区">
-              <el-checkbox-group v-model="contentIdsList" @change="change">
+              <el-checkbox-group v-model="contentIdsList">
                 <el-checkbox v-for="(item, index) in contentList" :key="'jq' + index" :label="item.contentId">{{ item.title }}</el-checkbox>
               </el-checkbox-group>
             </el-form-item>
@@ -153,8 +144,7 @@ export default {
       // 表单校验
       rules: {
         markerName: [{ required: true, message: '请输入标记物名称' }],
-        markerType: [{ required: true, message: '请选择标记物类型' }],
-        contentIdsList: [{ required: true, message: '请选择所属景区' }],
+        markerType: [{ required: true, message: '请选择标记物类型' }]
       },
       activeName: 'first',
       centerLat: 29.4270023,
@@ -227,9 +217,6 @@ export default {
       (this.activeName = 'first'), this.shapeChange();
       this.resetForm('form');
     },
-    change(e){
-      console.log("zx:"+JSON.stringify(e))
-    },
     /** 搜索按钮操作 */
     handleQuery() {
       this.queryParams.pageNum = 1;
@@ -281,6 +268,16 @@ export default {
             this.form.labelText = this.form.labelText.join(',');
           }
           this.form.contentIdsList = this.contentIdsList;
+/*          if (this.form.contentIdsList.length == 0) {
+            this.msgError('请关联所属景区');
+            return;
+          }
+          if (!this.form.locationSet) {
+            this.msgError('请在地图上绘制路线或者建筑物');
+            this.activeName = 'second';
+            this.handleClick();
+            return;
+          } */
           if (this.form.markerId != null) {
             updateMarker(this.form).then(response => {
               this.msgSuccess('修改成功');

+ 1 - 1
smart-ui/src/views/register.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="register">
     <el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
-      <h3 class="title">西藏智慧旅游</h3>
+      <h3 class="title">谢通门智慧旅游</h3>
       <el-form-item prop="username">
         <el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
           <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />

+ 1 - 1
smart-ui/vue.config.js

@@ -5,7 +5,7 @@ function resolve(dir) {
   return path.join(__dirname, dir)
 }
 
-const name = process.env.VUE_APP_TITLE || '西藏智慧旅游' // 网页标题
+const name = process.env.VUE_APP_TITLE || '谢通门智慧旅游' // 网页标题
 
 const port = process.env.port || process.env.npm_config_port || 80 // 端口