refector: 修改名称,增加companyname字段

This commit is contained in:
caoqianming 2023-05-15 10:35:13 +08:00
parent f32316e7fa
commit 57bb0e55eb
6 changed files with 28 additions and 21 deletions

View File

@ -10,7 +10,7 @@ function get_api_url(){
if(process.env.ENV === 'development' || (process.env.ENV === 'production' && window.location.host.indexOf('localhost') > -1)){ if(process.env.ENV === 'development' || (process.env.ENV === 'production' && window.location.host.indexOf('localhost') > -1)){
return process.env.VUE_APP_BASE_API return process.env.VUE_APP_BASE_API
} }
return 'http://' + window.location.host + '/api' return 'https://' + window.location.host + '/api'
} }
// // 如果生产模式就合并动态的APP_CONFIG // // 如果生产模式就合并动态的APP_CONFIG
// // public/config.js // // public/config.js

View File

@ -24,7 +24,7 @@ export default {
}, },
data() { data() {
return { return {
title: '辐射学堂后台管理', title: '小程序后台管理',
logo: 'https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png' logo: 'https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png'
} }
} }

View File

@ -311,21 +311,21 @@ export const asyncRoutes = [
] ]
}, },
{ // {
path: '/qtest', // path: '/qtest',
component: Layout, // component: Layout,
redirect: '/qtest/consult', // redirect: '/qtest/consult',
name: 'Qtest', // name: 'Qtest',
meta: { title: '铅当量检测', icon: '', perms: ['qtest_view']}, // meta: { title: '铅当量检测', icon: '', perms: ['qtest_view']},
children: [ // children: [
{ // {
path: 'consult', // path: 'consult',
name: 'Consult', // name: 'Consult',
component: () => import('@/views/qtest/consult.vue'), // component: () => import('@/views/qtest/consult.vue'),
meta: { title: '铅当量检测', icon: 'eye-open', perms: ['qtest_view'] } // meta: { title: '铅当量检测', icon: 'eye-open', perms: ['qtest_view'] }
}, // },
] // ]
}, // },
{ {
path: '/system', path: '/system',
component: Layout, component: Layout,

View File

@ -1,6 +1,6 @@
module.exports = { module.exports = {
title: '中科辐射', title: '小程序',
/** /**
* @type {boolean} true | false * @type {boolean} true | false

View File

@ -209,8 +209,12 @@
<el-table-column label="单位" sortable="custom" prop="company"> <el-table-column label="单位" sortable="custom" prop="company">
<template <template
slot-scope="scope" slot-scope="scope"
v-if="scope.row.company_name != null" >
>{{ scope.row.company_name }}</template> <span v-if="scope.row.company_name">{{ scope.row.company_name }}</span>
<span v-else>
<span v-if="scope.row.companyname">{{ scope.row.companyname }}</span>
</span>
</template>
</el-table-column> </el-table-column>
<el-table-column label="工作类别" sortable="custom" prop="workscope"> <el-table-column label="工作类别" sortable="custom" prop="workscope">
<template slot-scope="scope"> <template slot-scope="scope">
@ -297,6 +301,9 @@
<el-button slot="append" icon="el-icon-search" @click="choose()"></el-button> <el-button slot="append" icon="el-icon-search" @click="choose()"></el-button>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="单位(自填)" prop="companyname">
<el-input v-model="consumer.companyname" placeholder="单位" />
</el-form-item>
<el-form-item label="缴费学科" prop="subjects"> <el-form-item label="缴费学科" prop="subjects">
<el-select v-model="consumer.subjects" placeholder="缴费学科" style="width:100%" multiple> <el-select v-model="consumer.subjects" placeholder="缴费学科" style="width:100%" multiple>
<el-option <el-option

View File

@ -12,7 +12,7 @@
<!-- <img class="logo" src="../../assets/logo.png" /> --> <!-- <img class="logo" src="../../assets/logo.png" /> -->
</div> </div>
<div class="title-container"> <div class="title-container">
<h3 class="title">辐射学堂后台管理</h3> <h3 class="title">小程序后台管理</h3>
</div> </div>
<el-form-item prop="username"> <el-form-item prop="username">
<span class="svg-container"> <span class="svg-container">