From d06096f5a4df11a5ebcb3082813cacc9049689c4 Mon Sep 17 00:00:00 2001 From: lisl <1223762861@qq.com> Date: Wed, 15 Sep 2021 16:59:23 +0800 Subject: [PATCH] =?UTF-8?q?update:=E6=9B=B4=E6=96=B0=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontCode1/vue/config/webpack.config.js | 24 +++ FrontCode2/sunshine_levy/src/views/index.vue | 192 +++++++++++------- .../sunshine_levy/src/views/pdf/pdf.vue | 1 + .../src/views/report/compensate.vue | 7 +- 4 files changed, 149 insertions(+), 75 deletions(-) create mode 100644 FrontCode1/vue/config/webpack.config.js diff --git a/FrontCode1/vue/config/webpack.config.js b/FrontCode1/vue/config/webpack.config.js new file mode 100644 index 0000000..8ed6ca2 --- /dev/null +++ b/FrontCode1/vue/config/webpack.config.js @@ -0,0 +1,24 @@ +const path = require('path') //调用node.js中的路径 +const VueLoaderPlugin = require('vue-loader/lib/plugin') +module.exports = { + entry: { + index: './src/main.js', //需要打包的文件 + }, + output: { + filename: '[name].js', //输入的文件名是什么,生成的文件名也是什么 + path: path.resolve(__dirname, '../dist'), //指定生成的文件目录 + }, + mode: 'development', //开发模式,没有对js等文件压缩,默认生成的是压缩文件 + module: { + rules: [ + // postcss-loader解决一些浏览器不兼容css代码的问题 + { test: /\.css$/, use: ['style-loader', 'css-loader', 'postcss-loader'] }, + // 配置less加载器 + { test: /\.less$/, use: ['style-loader', 'css-loader', 'less-loader'] }, + //exclude为排除项,意思是不要处理node_modules中的js文件 + { test: /\.js$/, use: 'babel-loader', exclude: /node_modules/ }, + { test: /\.vue$/, loader: 'vue-loader' }, + ], + }, + plugins: [new VueLoaderPlugin()], +} \ No newline at end of file diff --git a/FrontCode2/sunshine_levy/src/views/index.vue b/FrontCode2/sunshine_levy/src/views/index.vue index 761b8d5..3f07e99 100644 --- a/FrontCode2/sunshine_levy/src/views/index.vue +++ b/FrontCode2/sunshine_levy/src/views/index.vue @@ -7,19 +7,28 @@
- + 被征收人姓名: {{ data.userName }}
- + 身份证号码: {{ data.idCard }}
- +
- +
- + {{ item.name }}
- + {{ item.currentState }}
@@ -90,9 +108,7 @@ /> 征收决定号: - {{ - item.zsjdh - }} + {{ item.zsjdh }}
@@ -100,7 +116,10 @@
- + 分户评估结果
-
+
评估报告编号: - {{ assess.assessmentNo }} + {{ + assess.assessmentNo + }}
- 被征收房屋地址: + 被征收房屋地址: - {{ - assess.houseAddress - }} + {{ assess.houseAddress }}
评估总金额: - ¥{{ assess.countValue }} + ¥{{ assess.countValue }}
- + 补偿协议
-
+
协议编号: {{ protocol.xyNo }}
- 被征收房屋地址: + 被征收房屋地址: - {{ - protocol.houseAddress - }} + {{ protocol.houseAddress }}
补偿方式: - {{ - protocol.switchProductionWay - }} + {{ protocol.switchProductionWay }}
合计补偿资金: - ¥{{ protocol.summationShouldCompensateMoney }} + ¥{{ protocol.summationShouldCompensateMoney }}
@@ -172,15 +203,17 @@
- +
征收政策
- 共{{ data.policiesRegulationsLists.totalCount }}条 + 共{{ data.policiesRegulationsLists.totalCount }}条