Przeglądaj źródła

fix:修改样式和bug

AmandaG 1 rok temu
rodzic
commit
e5e00a65fc

+ 1 - 1
src/components/ScoringGrade/components/DialogColorful.vue

@@ -29,7 +29,7 @@ const submitDetails = (val: any) => {
           style="width: 554px"
           :rows="4"
           type="textarea"
-          placeholder="We look forward to hearing from you.  thank you for helping to build a better customer system"
+          placeholder="We look forward to hearing from you. Thank you for helping to build a better customer system."
         />
         <div class="button_submit">
           <el-button class="submit_button el-button--dark" @click="submitDetails(inputdetails)"

BIN
src/components/ScoringGrade/image/angry_2.png


BIN
src/components/ScoringGrade/image/happy_2.png


BIN
src/components/ScoringGrade/image/hhh_2.png


BIN
src/components/ScoringGrade/image/sad_2.png


BIN
src/components/ScoringGrade/image/score_angry.png


BIN
src/components/ScoringGrade/image/score_happy.png


BIN
src/components/ScoringGrade/image/score_hhh.png


BIN
src/components/ScoringGrade/image/score_sad.png


BIN
src/components/ScoringGrade/image/score_smile.png


BIN
src/components/ScoringGrade/image/smile_2.png


+ 1 - 1
src/components/ScoringGrade/src/ScoringGrade.vue

@@ -367,7 +367,7 @@ const mouseout = (item: any) => {
   box-shadow: -2px 2px 12px rgba(0, 0, 0, 15%);
   z-index: 2013;
   right: 0;
-  bottom: 168px;
+  bottom: 80px;
   display: flex;
   align-items: center;
   justify-content: center;

+ 7 - 2
src/views/Dashboard/src/DashboardView.vue

@@ -10,6 +10,7 @@ import ScoringSystem from './components/ScoringSystem.vue'
 import TopMap from './components/TopMap.vue'
 import { ElMessageBox } from 'element-plus'
 import { useRouter } from 'vue-router'
+import dayjs from 'dayjs'
 
 const router = useRouter()
 const value = ref('All')
@@ -30,7 +31,6 @@ const checkboxGroup1 = ref(['All'])
 const changeCheckboxGroup2 = ref('ETD')
 const shipper = ref(['All', 'Air', 'Sea', 'Road'])
 const shipper_two = ref(['ETD', 'ETA'])
-const DashDate = ref(['', ''])
 const changeCheckboxGroup1 = (val: any) => {
   if (val.length == 3) {
     checkboxGroup1.value = ['All']
@@ -62,8 +62,13 @@ const handleTabClick = (tab: any) => {
     isShowtitle1.value = false
   }
 }
+const DashDate = ref([dayjs().startOf('month'), dayjs().endOf('month')])
 // 获取首页数据
-let dashboardObj: any = {}
+let dashboardObj: any = {
+  date_start: DashDate.value[0].format('MM/DD/YYYY'),
+  date_end: DashDate.value[1].format('MM/DD/YYYY'),
+  date_type: changeCheckboxGroup2.value
+}
 const GetDashboardData = (value: any, is_default: any) => {
   $api
     .GetDashboardData({

+ 1 - 1
src/views/Dashboard/src/components/ScoringSystem.vue

@@ -360,7 +360,7 @@ const submitDetails = (val: any) => {
               style="width: 592px"
               :rows="4"
               type="textarea"
-              placeholder="We look forward to hearing from you.  thank you for helping to build a better customer system"
+              placeholder="We look forward to hearing from you. Thank you for helping to build a better customer system."
             />
           </div>
           <div class="buttom">

BIN
src/views/Dashboard/src/image/angry_2.png


BIN
src/views/Dashboard/src/image/happy_2.png


BIN
src/views/Dashboard/src/image/hhh_2.png


BIN
src/views/Dashboard/src/image/sad_2.png


BIN
src/views/Dashboard/src/image/score_angry.png


BIN
src/views/Dashboard/src/image/score_happy.png


BIN
src/views/Dashboard/src/image/score_hhh.png


BIN
src/views/Dashboard/src/image/score_sad.png


BIN
src/views/Dashboard/src/image/score_smile.png


BIN
src/views/Dashboard/src/image/smile_2.png