From 07791509f03c0099ba6e57f57bca8bccc30069b7 Mon Sep 17 00:00:00 2001 From: xbx <1827135378@qq.com> Date: Sat, 25 Nov 2023 23:18:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=A0=E5=BD=A2=E8=B5=84?= =?UTF-8?q?=E4=BA=A7=E6=B8=85=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/IndexChart.vue | 36 +- .../rms/FurnitureList/RmsFurnitureList.vue | 223 ++++++------ .../rms/InstrumentList/RmsInstrumentList.vue | 84 ++--- .../rms/IntangibleList/RmsIntangibleList.vue | 327 ++++++++++++++++++ .../modules/RmsIntangibleForm.vue | 268 ++++++++++++++ .../RmsIntangibleModal.Style#Drawer.vue | 84 +++++ .../modules/RmsIntangibleModal.vue | 60 ++++ 7 files changed, 869 insertions(+), 213 deletions(-) create mode 100644 src/views/rms/IntangibleList/RmsIntangibleList.vue create mode 100644 src/views/rms/IntangibleList/modules/RmsIntangibleForm.vue create mode 100644 src/views/rms/IntangibleList/modules/RmsIntangibleModal.Style#Drawer.vue create mode 100644 src/views/rms/IntangibleList/modules/RmsIntangibleModal.vue diff --git a/src/views/dashboard/IndexChart.vue b/src/views/dashboard/IndexChart.vue index 504759e..80dca1f 100644 --- a/src/views/dashboard/IndexChart.vue +++ b/src/views/dashboard/IndexChart.vue @@ -15,7 +15,7 @@ - + @@ -25,7 +25,7 @@ - + @@ -55,24 +55,6 @@ export default { data() { return { loading: true, - cardCount: { - sll: 100, - bjl: 87, - isll: 15, - ibjl: 9 - }, - - todaySll: 60, - todayBjl: 54, - todayISll: 13, - todayIBjl: 7, - - chartData: { - sll: [], - bjl: [], - isll: [], - ibjl: [] - }, PieChartData: [], ChartData: [], ChartDataSum: 0, @@ -116,20 +98,10 @@ export default { }) }, - getSum() { - for (let i = 0; i < this.ChartData.length; i++) { - this.ChartDataSum += this.ChartData[i]; - } - console.log(this.ChartDataSum); - }, + drawChart() { // 基于准备好的dom,初始化echarts实例 这个和上面的main对应 let myChart = this.$echarts.init(document.getElementById("main")); - // 计算资产总数 - for (let i = 0; i < this.ChartData.length; i++) { - this.ChartDataSum += this.ChartData[i]; - } - console.log(this.ChartDataSum); // 指定图表的配置项和数据 let option = { title: { @@ -216,7 +188,7 @@ export default { this.getFurnitureCount(); this.getInstrumentAmount(); this.getFurnitureAmount(); - this.getSum(); // 调用 getSum 方法 + // this.getSum(); }, } diff --git a/src/views/rms/FurnitureList/RmsFurnitureList.vue b/src/views/rms/FurnitureList/RmsFurnitureList.vue index 32be8ec..4b89eee 100644 --- a/src/views/rms/FurnitureList/RmsFurnitureList.vue +++ b/src/views/rms/FurnitureList/RmsFurnitureList.vue @@ -1,98 +1,90 @@ diff --git a/src/views/rms/InstrumentList/RmsInstrumentList.vue b/src/views/rms/InstrumentList/RmsInstrumentList.vue index b13b6f3..7420186 100644 --- a/src/views/rms/InstrumentList/RmsInstrumentList.vue +++ b/src/views/rms/InstrumentList/RmsInstrumentList.vue @@ -2,17 +2,16 @@ - +
- - - - + + @@ -23,8 +22,6 @@
- -
新增 @@ -33,9 +30,6 @@ @change="handleImportExcel"> 导入 - - 删除 @@ -43,7 +37,6 @@ 批量操作
-
@@ -57,21 +50,6 @@ :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" class="j-table-force-nowrap" @change="handleTableChange"> - - - - 编辑 @@ -85,7 +63,6 @@
- @@ -93,12 +70,11 @@ diff --git a/src/views/rms/IntangibleList/RmsIntangibleList.vue b/src/views/rms/IntangibleList/RmsIntangibleList.vue new file mode 100644 index 0000000..b2939ea --- /dev/null +++ b/src/views/rms/IntangibleList/RmsIntangibleList.vue @@ -0,0 +1,327 @@ + + + + \ No newline at end of file diff --git a/src/views/rms/IntangibleList/modules/RmsIntangibleForm.vue b/src/views/rms/IntangibleList/modules/RmsIntangibleForm.vue new file mode 100644 index 0000000..c2cfe7f --- /dev/null +++ b/src/views/rms/IntangibleList/modules/RmsIntangibleForm.vue @@ -0,0 +1,268 @@ + + + \ No newline at end of file diff --git a/src/views/rms/IntangibleList/modules/RmsIntangibleModal.Style#Drawer.vue b/src/views/rms/IntangibleList/modules/RmsIntangibleModal.Style#Drawer.vue new file mode 100644 index 0000000..e098971 --- /dev/null +++ b/src/views/rms/IntangibleList/modules/RmsIntangibleModal.Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/src/views/rms/IntangibleList/modules/RmsIntangibleModal.vue b/src/views/rms/IntangibleList/modules/RmsIntangibleModal.vue new file mode 100644 index 0000000..60f8ee5 --- /dev/null +++ b/src/views/rms/IntangibleList/modules/RmsIntangibleModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file