diff --git a/src/components/DMCheckbox/index.vue b/src/components/DMCheckbox/index.vue new file mode 100644 index 0000000..e4dff52 --- /dev/null +++ b/src/components/DMCheckbox/index.vue @@ -0,0 +1,94 @@ + + + + + diff --git a/src/components/DMRadio/index.vue b/src/components/DMRadio/index.vue new file mode 100644 index 0000000..9b78282 --- /dev/null +++ b/src/components/DMRadio/index.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/src/views/finance/administration/components/SearchForm.vue b/src/views/finance/administration/components/SearchForm.vue index e69de29..129a816 100644 --- a/src/views/finance/administration/components/SearchForm.vue +++ b/src/views/finance/administration/components/SearchForm.vue @@ -0,0 +1,48 @@ + + + + + diff --git a/src/views/finance/administration/index.vue b/src/views/finance/administration/index.vue index f63f3de..3f82bb3 100644 --- a/src/views/finance/administration/index.vue +++ b/src/views/finance/administration/index.vue @@ -1,7 +1,8 @@ @@ -18,6 +19,14 @@ export default { pageSize: 20 } }; + }, + methods: { + getTableList() { + const tempForm = this.$refs.SearchForm.searchForm; + const params = { ...this.searchForm, ...tempForm }; + console.log(params); + // api.list(params) + } } }; diff --git a/vue.config.js b/vue.config.js index 32fcc1a..37dd7fa 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,7 +35,7 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://192.168.2.39:8086`, + target: `http://192.168.1.114:8086`, // target: `http://vue.ruoyi.vip/prod-api/`, changeOrigin: true, pathRewrite: { @@ -105,10 +105,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',