فهرست منبع

Merge branch 'dev' into feat_theme

zhouyuhao 11 ماه پیش
والد
کامیت
d6c3638a14
2فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 3 1
      src/components/ScoringGrade/src/ScoringGrade.vue
  2. 3 1
      src/views/Dashboard/src/components/ScoringSystem.vue

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

@@ -202,12 +202,14 @@ const changeSmileRadio = (val: any) => {
 }
 // 提交details
 const submitDetails = (val: any) => {
+  const username = localStorage.getItem('account') ? localStorage.getItem('account') : ''
   if (angryCheckbox.value.length) {
     $api
       .scoringgrade({
         suggestion: angryCheckbox.value,
         proposal: val,
-        expression: checkexpression.value
+        expression: checkexpression.value,
+        username: username
       })
       .then((res: any) => {
         if (res.code == 200) {

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

@@ -235,12 +235,14 @@ const changeSmileRadio = (title: any, value: any) => {
 }
 // 提交details
 const submitDetails = (val: any) => {
+  const username = localStorage.getItem('account') ? localStorage.getItem('account') : ''
   if (checkboxGroup1.value.length) {
     $api
       .scoringgrade({
         suggestion: checkboxGroup1.value,
         proposal: val,
-        expression: checkexpression.value
+        expression: checkexpression.value,
+        username: username
       })
       .then((res: any) => {
         if (res.code == 200) {