Prechádzať zdrojové kódy

feat:调整详情中的padding

AlieLee 3 rokov pred
rodič
commit
01b9388769

+ 1 - 1
src/views/demandmanage/Detail.vue

@@ -305,7 +305,7 @@ export default {
     &>div {
       display: flex;
       align-items: center;
-      padding-left: 30px;
+      padding-left: 20px;
     }
     &>div:first-child{
       padding-left: 0px;

+ 7 - 1
src/views/demandmanage/Draft.vue

@@ -114,7 +114,12 @@ export default {
       matchingCond: '', // 模糊匹配 - 编码、主题
       productCond: [1, 2, 3], // 产线条件
       stateCond: [], // 状态条件
-      orders: [],
+      orders: [
+        {
+          column: 'modifiedTime',
+          asc: false
+        }
+      ],
       line: { 1: '业务', 2: '研发', 3: '实施' },
       state: { 1: '待回复', 2: '已接受', 3: '已拒绝', 4: '待完善', 5: '论证中' },
       header: [
@@ -172,6 +177,7 @@ export default {
     },
     async DetailSave (detail) {
       await this.$axios.post(this.$api.demandSave, detail)
+      this.getTableData()
     },
     // 触发 新增需求弹窗
     addDemand () {

+ 4 - 4
src/views/demandmanage/editor.vue

@@ -100,10 +100,10 @@ export default {
       productCond: [1, 2, 3], // 产线条件
       stateCond: [1, 5], // 状态条件
       orders: [
-        // {
-        //   column: 'submitTime',
-        //   asc: true
-        // }
+        {
+          column: 'modifiedTime',
+          asc: false
+        }
       ],
       line: { 1: '业务', 2: '研发', 3: '实施' },
       state: { 1: '待回复', 2: '已接受', 3: '已拒绝', 4: '待完善', 5: '论证中' },

+ 4 - 4
src/views/demandmanage/user.vue

@@ -129,10 +129,10 @@ export default {
       productCond: [1, 2, 3], // 产线条件
       stateCond: [1, 2, 3, 4, 5], // 状态条件
       orders: [
-        // {
-        //   column: 'submitTime',
-        //   asc: true
-        // }
+        {
+          column: 'modifiedTime',
+          asc: false
+        }
       ],
       draft: {
         data: [],