diff --git a/src/views/astatistics/index.vue b/src/views/astatistics/index.vue index de115ba..06ec98b 100644 --- a/src/views/astatistics/index.vue +++ b/src/views/astatistics/index.vue @@ -191,7 +191,7 @@ import { onMounted } from "vue" import { reactive, ref } from "vue" import { usePaging } from '@/hooks/usePaging' import { apiProjectPreSalesMembersLists, } from '@/api/project_pre_sales_members' -// 分页相关 + const { pager, getLists, resetParams, resetPage } = usePaging({ fetchFun: apiProjectPreSalesMembersLists, // params: queryParams @@ -236,8 +236,6 @@ const customLists = reactive([ value: 3 }, ]) - - var app = {}; const posList = [ 'left', @@ -392,75 +390,7 @@ var option = { }; -let customoption = { - tooltip: { - trigger: 'axis', - axisPointer: { - type: 'shadow' - } - }, - legend: { - data: ['Forest', 'Steppe', 'Desert', 'Wetland'] - }, - toolbox: { - show: true, - orient: 'vertical', - left: 'right', - top: 'center', - }, - xAxis: [ - { - type: 'category', - axisTick: { show: false }, - data: ['2012', '2013', '2014', '2015', '2016', '2012', '2013', '2014', '2015', '2016'] - } - ], - yAxis: [ - { - type: 'value' - } - ], - series: [ - { - name: '名称', - type: 'bar', - barGap: 0, - label: labelOption, - emphasis: { - focus: 'series' - }, - data: [320, 332, 301, 334, 390] - }, - // { - // name: 'Steppe', - // type: 'bar', - // label: labelOption, - // emphasis: { - // focus: 'series' - // }, - // data: [220, 182, 191, 234, 290] - // }, - // { - // name: 'Desert', - // type: 'bar', - // label: labelOption, - // emphasis: { - // focus: 'series' - // }, - // data: [150, 232, 201, 154, 190] - // }, - // { - // name: 'Wetland', - // type: 'bar', - // label: labelOption, - // emphasis: { - // focus: 'series' - // }, - // data: [98, 77, 101, 99, 40] - // } - ] -}; var option4 = { tooltip: { trigger: 'axis', @@ -691,8 +621,6 @@ let option3 = { ] }; - - // 获取柱状图option const setHistogramOption = (legend, xAxisData, series) => { return { @@ -769,15 +697,12 @@ const setHistogramOption = (legend, xAxisData, series) => { } - - - - const initChart = (id, opt) => { var chartDom = document.getElementById(id); var myChart = echarts.init(chartDom); myChart.setOption(opt); } + onMounted(() => { initChart("customNum", setHistogramOption({ data: ['名称'] }, ['2012', '2013', '2014', '2015', '2016', '2012', '2013', '2014', '2015', '2016'], [{ name: '名称', diff --git a/src/views/competitor/edit.vue b/src/views/competitor/edit.vue index a241f3c..668bf53 100644 --- a/src/views/competitor/edit.vue +++ b/src/views/competitor/edit.vue @@ -76,10 +76,12 @@ +
+ + + +
- - - diff --git a/src/views/customer_demand_solution/detail.vue b/src/views/customer_demand_solution/detail.vue index c053c78..00ef4d8 100644 --- a/src/views/customer_demand_solution/detail.vue +++ b/src/views/customer_demand_solution/detail.vue @@ -5,35 +5,46 @@ - {{ formData.org_name }} - {{ formData.dept_name }} - {{ formData.custom_name }} - {{ formData.project_name }} - {{ formData.project_code }} + {{ + formData.org_name }} + {{ + formData.dept_name }} + {{ + formData.custom_name }} + {{ + formData.project_name }} + {{ + formData.project_code }} {{ formData.customer_demand_name }} {{ formData.theme }} - {{ formData.submission_time + {{ + formData.submission_time }} - {{ formData.solution_content + {{ + formData.solution_content }} - {{ formData.add_user_name + {{ + formData.add_user_name }} - {{ formData.create_time + {{ + formData.create_time }} - {{ formData.update_user_name + {{ + formData.update_user_name }} - {{ formData.update_time + {{ + formData.update_time @@ -41,9 +52,10 @@ -
+
- 文件{{ index + 1 }}查看 + 文件{{ index + 1 }}查看
@@ -134,13 +146,11 @@ defineExpose({ getDetail }) - +} diff --git a/src/views/customer_demand_solution/edit.vue b/src/views/customer_demand_solution/edit.vue index bc3185f..6e67e7a 100644 --- a/src/views/customer_demand_solution/edit.vue +++ b/src/views/customer_demand_solution/edit.vue @@ -53,9 +53,12 @@ - - - +
+ + + +
+
diff --git a/src/views/customer_demand_solution/index.vue b/src/views/customer_demand_solution/index.vue index b4d6447..28d8e08 100644 --- a/src/views/customer_demand_solution/index.vue +++ b/src/views/customer_demand_solution/index.vue @@ -12,7 +12,8 @@ - + 查询 @@ -27,7 +28,8 @@ 新增 - + 删除
@@ -56,10 +58,12 @@ diff --git a/src/views/test/index.vue b/src/views/test/index.vue deleted file mode 100644 index 008a5a1..0000000 --- a/src/views/test/index.vue +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - - \ No newline at end of file