Browse Source

页面title

wyx
mk 3 months ago
parent
commit
5995267ebd
  1. 2
      .env.development
  2. 2
      .env.production
  3. 4
      .env.staging
  4. 2
      package.json
  5. 6
      src/views/components/CommonReminder.vue
  6. 12
      src/views/records/checkin/index.vue

2
.env.development

@ -4,7 +4,7 @@ VUE_APP_TITLE = 青岛免租金住房服务平台
# 开发环境配置 # 开发环境配置
ENV = 'development' ENV = 'development'
# 人力发展集团管理系统/开发环境 # 青岛市免租金住宿保障平台/开发环境
VUE_APP_BASE_API = 'http://192.168.1.144:8080/api' VUE_APP_BASE_API = 'http://192.168.1.144:8080/api'
# 路由懒加载 # 路由懒加载

2
.env.production

@ -5,5 +5,5 @@ VUE_APP_TITLE = 青岛免租金住房服务平台
# 生产环境配置 # 生产环境配置
ENV = 'production' ENV = 'production'
# 人力发展集团管理系统/生产环境 # 青岛市免租金住宿保障平台/生产环境
VUE_APP_BASE_API = 'http://192.168.1.144:8080/api' VUE_APP_BASE_API = 'http://192.168.1.144:8080/api'

4
.env.staging

@ -1,10 +1,10 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 人力发展集团管理系统 VUE_APP_TITLE = 青岛市免租金住宿保障平台
NODE_ENV = production NODE_ENV = production
# 测试环境配置 # 测试环境配置
ENV = 'staging' ENV = 'staging'
# 人力发展集团管理系统/测试环境 # 青岛市免租金住宿保障平台/测试环境
VUE_APP_BASE_API = 'http://192.168.1.144:8088/api' VUE_APP_BASE_API = 'http://192.168.1.144:8088/api'

2
package.json

@ -1,7 +1,7 @@
{ {
"name": "ruoyi", "name": "ruoyi",
"version": "3.8.8", "version": "3.8.8",
"description": "人力发展集团管理系统", "description": "青岛市免租金住宿保障平台",
"author": "人力发展集团", "author": "人力发展集团",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {

6
src/views/components/CommonReminder.vue

@ -112,7 +112,7 @@
<el-button <el-button
type="primary" type="primary"
size="mini" size="mini"
@click="handleAction(action, scope.row)" @click="handleAction( scope.row)"
> >
入住办理 入住办理
</el-button> </el-button>
@ -171,8 +171,8 @@ export default {
this.getList() this.getList()
}, },
// //
handleAction(action, row) { handleAction( row) {
this.$router.push({ path: '/residence/check_in', query: { idCard: row.idCard } });
}, },
} }
}; };

12
src/views/records/checkin/index.vue

@ -726,6 +726,18 @@ export default {
deptName(val) { deptName(val) {
this.$refs.tree.filter(val); this.$refs.tree.filter(val);
}, },
$route:{
handler: function (newVal, oldVal) {
console.log(newVal);
if (newVal.query) {
this.queryParams.idCard = newVal.query.idCard;
this.handleQuery()
}
},
immediate: true,
deep: true,
}
}, },
created() { created() {
this.getList(); this.getList();

Loading…
Cancel
Save