Commit 33d2f7f3 authored by liwei's avatar liwei

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/views/monitor/errorLog/index.vue
#	src/views/monitor/operLog/index.vue
parents 19cf1ebd 3155e425
...@@ -81,21 +81,21 @@ export const constantRoutes = [ ...@@ -81,21 +81,21 @@ export const constantRoutes = [
meta: { title: '修改密码', icon: 'dashboard' } meta: { title: '修改密码', icon: 'dashboard' }
}] }]
}, },
{ // {
path: '/formManage', // path: '/formManage',
component: Layout, // component: Layout,
name: 'formManage', // name: 'formManage',
redirect: '/formManage/imgForm', // redirect: '/formManage/imgForm',
meta: { title: '表单管理', icon: 'dashboard' }, // meta: { title: '表单管理', icon: 'dashboard' },
showFather: 'true', // showFather: 'true',
children: [{ // children: [{
path: '/formManage/imgForm', // path: '/formManage/imgForm',
name: 'imgForm', // name: 'imgForm',
component: () => import('@/views/formManage/imgForm'), // component: () => import('@/views/formManage/imgForm'),
meta: { title: '图片菜单', icon: 'dashboard' } // meta: { title: '图片菜单', icon: 'dashboard' }
} // }
] // ]
}, // },
{ {
path: '/onlyOffice', path: '/onlyOffice',
component: (resolve) => require(['@/views/onlyOffice.vue'], resolve), component: (resolve) => require(['@/views/onlyOffice.vue'], resolve),
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -295,7 +295,7 @@ export default { ...@@ -295,7 +295,7 @@ export default {
getList() { getList() {
this.loading = true this.loading = true
list(this.addDateRange(this.queryParams, this.dateRange)).then(response => { list(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
if (response.rows !== undefined){ if (response.rows !== undefined) {
this.list = response.rows.map(item => { this.list = response.rows.map(item => {
const title = item.title const title = item.title
if (title) { if (title) {
......
...@@ -340,21 +340,21 @@ export default { ...@@ -340,21 +340,21 @@ export default {
getList() { getList() {
this.loading = true this.loading = true
list(this.addDateRange(this.queryParams, this.dateRange)).then(response => { list(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
if (response.rows !== undefined) { if (response.rows !== undefined) {
this.list = response.rows.map(item => { this.list = response.rows.map(item => {
const title = item.title const title = item.title
if (title) { if (title) {
const temp = title.split('-') const temp = title.split('-')
const systemMode = temp.filter((item, index) => { return index < temp.length - 1 }).join('-') const systemMode = temp.filter((item, index) => { return index < temp.length - 1 }).join('-')
item.systemMode = systemMode item.systemMode = systemMode
item.optionName = temp[temp.length - 1] item.optionName = temp[temp.length - 1]
} else { } else {
item.systemMode = undefined item.systemMode = undefined
item.optionName = undefined item.optionName = undefined
} }
return item return item
}) })
} }
this.total = response.total this.total = response.total
this.loading = false this.loading = false
} }
......
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button class="cancelBtn" @click="cancel">取 消</el-button> <el-button class="cancelBtn" @click="cancel">取 消</el-button>
<el-button class="submitBtn" type="primary" @click="submitForm">确 定</el-button> <el-button class="submitBtn" type="primary" @click="submitForm">确 定</el-button>
</div> </div>
...@@ -447,7 +447,7 @@ export default { ...@@ -447,7 +447,7 @@ export default {
isProcess: '1', isProcess: '1',
flag: '0' flag: '0'
} }
this.resetForm('form') // this.resetForm('form')
}, },
/** 查询按钮操作 */ /** 查询按钮操作 */
handleQuery() { handleQuery() {
......
...@@ -61,7 +61,8 @@ module.exports = { ...@@ -61,7 +61,8 @@ module.exports = {
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
// target: `http://49.232.167.247:20014/`, // target: `http://49.232.167.247:20014/`,
// target: `http://192.168.10.185:8084/`, // target: `http://192.168.10.185:8084/`,
target: `http://106.3.97.198:20062/`, // target: `http://106.3.97.198:20062/`,
target: `http://localhost:8082/`,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment