diff --git a/src/views/finance/expense/DialogAdd.vue b/src/views/finance/expense/DialogAdd.vue new file mode 100644 index 0000000..ff2280a --- /dev/null +++ b/src/views/finance/expense/DialogAdd.vue @@ -0,0 +1,82 @@ + + + + + diff --git a/src/views/finance/expense/DialogAudit.vue b/src/views/finance/expense/DialogAudit.vue new file mode 100644 index 0000000..358434c --- /dev/null +++ b/src/views/finance/expense/DialogAudit.vue @@ -0,0 +1,72 @@ + + + + + diff --git a/src/views/finance/expense/DialogDetail.vue b/src/views/finance/expense/DialogDetail.vue new file mode 100644 index 0000000..faa9f15 --- /dev/null +++ b/src/views/finance/expense/DialogDetail.vue @@ -0,0 +1,49 @@ + + + + + diff --git a/src/views/finance/expense/RightPane.vue b/src/views/finance/expense/RightPane.vue new file mode 100644 index 0000000..1ec7e46 --- /dev/null +++ b/src/views/finance/expense/RightPane.vue @@ -0,0 +1,97 @@ + + + + + diff --git a/src/views/finance/expense/SearchForm.vue b/src/views/finance/expense/SearchForm.vue new file mode 100644 index 0000000..de0bc5f --- /dev/null +++ b/src/views/finance/expense/SearchForm.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/src/views/finance/expense/columns.js b/src/views/finance/expense/columns.js new file mode 100644 index 0000000..51fda07 --- /dev/null +++ b/src/views/finance/expense/columns.js @@ -0,0 +1,24 @@ +export const defaultColumns = { + 1: [ + { key: 0, prop: 'spotName', label: `报名点`, visible: true }, + { key: 1, prop: 'expenseType', label: `报销款项`, visible: true }, + { key: 2, prop: 'expenseTotal', label: `报销金额`, visible: true }, + { key: 3, prop: 'applyUser', label: `申请人`, visible: true }, + { key: 4, prop: 'applyDate', label: `申请时间`, visible: true }, + { key: 5, prop: 'applyRemark', label: `申请备注`, visible: true }, + { key: 6, prop: 'auditStatus', label: `审批状态`, visible: true }, + { key: 7, prop: 'auditUser', label: `审批人`, visible: true }, + { key: 8, prop: 'auditDate', label: `审批时间`, visible: true } + ], + 2: [ + { key: 0, prop: 'stuName', label: `成交学员`, visible: true }, + { key: 1, prop: 'expenseType', label: `报销款项`, visible: true }, + { key: 2, prop: 'expenseTotal', label: `报销金额`, visible: true }, + { key: 3, prop: 'applyUser', label: `申请人`, visible: true }, + { key: 4, prop: 'applyDate', label: `申请时间`, visible: true }, + { key: 5, prop: 'applyRemark', label: `申请备注`, visible: true }, + { key: 6, prop: 'auditStatus', label: `审批状态`, visible: true }, + { key: 7, prop: 'auditUser', label: `审批人`, visible: true }, + { key: 8, prop: 'auditDate', label: `审批时间`, visible: true } + ] +}; diff --git a/src/views/finance/expense/index.vue b/src/views/finance/expense/index.vue index e69de29..8ac39c0 100644 --- a/src/views/finance/expense/index.vue +++ b/src/views/finance/expense/index.vue @@ -0,0 +1,29 @@ + + + + + diff --git a/vue.config.js b/vue.config.js index c0b1787..6c78ce1 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,8 +35,8 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - // target: `http://118.31.23.45/duima/`, - target: `http://localhost:8086`, + target: `http://118.31.23.45/duima/`, + // target: `http://localhost:8086`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' @@ -97,10 +97,12 @@ module.exports = { config .plugin('ScriptExtHtmlWebpackPlugin') .after('html') - .use('script-ext-html-webpack-plugin', [{ - // `runtime` must same as runtimeChunk name. default is `runtime` - inline: /runtime\..*\.js$/ - }]) + .use('script-ext-html-webpack-plugin', [ + { + // `runtime` must same as runtimeChunk name. default is `runtime` + inline: /runtime\..*\.js$/ + } + ]) .end(); config.optimization.splitChunks({ chunks: 'all',