ソースを参照

修改项目周期人员选择器参数问题

ljb 9 ヶ月 前
コミット
cb1d0fe122

+ 1 - 2
src/components/project-person-select/index.vue

@@ -78,10 +78,9 @@ export default {
         return;
         return;
       }
       }
       this.personList = [];
       this.personList = [];
-      getListByProDate(1, 99999, this.startDate, this.startDate).then(({ data }) => {
+      getListByProDate(this.startDate, this.startDate).then(({ data }) => {
         if (data.success) {
         if (data.success) {
           this.currPerson = this.value;
           this.currPerson = this.value;
-          console.log(this.currPerson)
           this.personList = data.data.records.map(item => {
           this.personList = data.data.records.map(item => {
             let nameArr = [item.name, item.number || '-', item.idCard || '-'];
             let nameArr = [item.name, item.number || '-', item.idCard || '-'];
             return {
             return {

+ 109 - 0
src/page/index/feedback/index.vue

@@ -0,0 +1,109 @@
+<template>
+  <avue-crud
+    :option="option">
+    <template slot="menuLeft">
+      <el-button type="primary"
+        size="small"
+        icon="el-icon-plus"
+        @click="handleAdd"
+      >
+        提交反馈
+      </el-button>
+    </template>
+    <template slot="menu">
+      <el-button type="text">回复</el-button>
+    </template>
+  </avue-crud>
+</template>
+
+<script>
+const TYPE_DICTS = [{
+  label: '建议意见',
+  value: 1
+}, {
+  label: '技术服务问题',
+  value: 2
+}, {
+  label: '系统应用问题',
+  value: 3
+}, {
+  label: '其他',
+  value: 4
+}];
+
+export default {
+  name: "SystemFeedback",
+  data() {
+    return {
+      option: {
+        addBtn: false,
+        border: true,
+        index: true,
+        menuWidth: 90,        
+        headerAlign: "center",
+        column: [
+          {
+            label: "反馈类型",
+            prop: "type",
+            type: "select",
+            width: 110,
+            align: "center",
+            search: true,
+            dicData: TYPE_DICTS
+          },
+          {
+            label: "详细描述",
+            minWidth: 360,
+            prop: "desc",
+            overHidden: true
+          },
+          {
+            label: "截图证明",
+            prop: "message",
+            minWidth: 300
+          },
+          {
+            label: "反馈用户",
+            prop: "createUser",
+            search: true,
+            width: 120,
+          },
+          {
+            label: "反馈公司",
+            prop: "createUser",
+            search: true,
+            width: 190,
+          },
+          {
+            label: "反馈时间",
+            align: "center",
+            type: "date",
+            prop: "createDate",
+            search: true,
+            width: 160
+          },
+          {
+            label: "状态",
+            align: "center",
+            type: 'select',
+            search: true,
+            width: 120
+          }
+        ]
+      }
+    };
+  },
+  methods: {
+  }
+};
+</script>
+
+<style lang="scss" scoped>
+.code {
+  font-size: 12px;
+  display: block;
+  font-family: monospace;
+  white-space: pre;
+  margin: 1em 0px;
+}
+</style>

+ 3 - 0
src/page/index/top/index.vue

@@ -19,6 +19,7 @@
       </span>
       </span>
     </div>
     </div>
     <div class="top-bar__right">
     <div class="top-bar__right">
+      <top-feedback></top-feedback>
       <el-tooltip v-if="showColor"
       <el-tooltip v-if="showColor"
                   effect="dark"
                   effect="dark"
                   :content="$t('navbar.color')"
                   :content="$t('navbar.color')"
@@ -107,6 +108,7 @@
   import {resetRouter} from '@/router/router'
   import {resetRouter} from '@/router/router'
   import {mapGetters, mapState} from "vuex";
   import {mapGetters, mapState} from "vuex";
   import {fullscreenToggel, listenfullscreen} from "@/util/util";
   import {fullscreenToggel, listenfullscreen} from "@/util/util";
+  import topFeedback from "./top-feedback.vue";
   import topLock from "./top-lock";
   import topLock from "./top-lock";
   import topMenu from "./top-menu";
   import topMenu from "./top-menu";
   import topSearch from "./top-search";
   import topSearch from "./top-search";
@@ -118,6 +120,7 @@
 
 
   export default {
   export default {
     components: {
     components: {
+      topFeedback,
       topLock,
       topLock,
       topMenu,
       topMenu,
       topSearch,
       topSearch,

+ 40 - 0
src/page/index/top/top-feedback.vue

@@ -0,0 +1,40 @@
+<template>
+  <div style="margin-right: 10px;">
+    <el-link style="color: #fff;" @click="handleOpen">问题反馈</el-link>
+    <el-dialog title="反馈记录"
+      :visible.sync="box"
+      fullscreen
+      width="100%"
+      append-to-body>
+      <feedback></feedback>
+    </el-dialog>
+  </div>
+</template>
+
+<script>
+import { mapGetters } from "vuex";
+import feedback from "@/page/index/feedback";
+export default {
+  name: "top-feedback",
+  components: { feedback },
+  data() {
+    return {
+      box: false
+    };
+  },
+  created() {},
+  mounted() {},
+  computed: {
+    ...mapGetters(["logsFlag", "logsLen"])
+  },
+  props: [],
+  methods: {
+    handleOpen() {
+      this.box = true;
+    }
+  }
+};
+</script>
+
+<style lang="scss" scoped>
+</style>

+ 1 - 1
src/views/yf-cost-manage/basic-data-setting/atten-info.vue

@@ -114,7 +114,7 @@ export default window.$crudCommon({
           type: 'number',
           type: 'number',
           precision: 1,
           precision: 1,
           min: 0,
           min: 0,
-          width: 45,
+          width: 50,
           align: 'center',
           align: 'center',
           isWorkDay: ChineseHoliday.isWorkday(item.dateString),
           isWorkDay: ChineseHoliday.isWorkday(item.dateString),
           showOverflowTooltip: true,
           showOverflowTooltip: true,

+ 2 - 2
src/views/yf-cost-manage/basic-data-setting/dev-work-hours-register.vue

@@ -37,7 +37,7 @@
         >
         >
           导出
           导出
         </el-button>
         </el-button>
-        <print-table-btn @click="printTable" />
+        <!-- <print-table-btn @click="printTable" /> -->
         
         
         <div style="display: flex; align-items: center;">
         <div style="display: flex; align-items: center;">
           <year-month-select v-model="params.yearAndMonth" :showAllYear="false"></year-month-select>
           <year-month-select v-model="params.yearAndMonth" :showAllYear="false"></year-month-select>
@@ -123,7 +123,7 @@ export default window.$crudCommon({
           type: 'number',
           type: 'number',
           precision: 1,
           precision: 1,
           min: 0,
           min: 0,
-          width: 45,
+          width: 50,
           align: 'center',
           align: 'center',
           isWorkDay: ChineseHoliday.isWorkday(item.dateString),
           isWorkDay: ChineseHoliday.isWorkday(item.dateString),
           showOverflowTooltip: true,
           showOverflowTooltip: true,