Explorar el Código

dialog尺寸规范

zhengnaiwen_citu hace 3 meses
padre
commit
c86b2714af

+ 1 - 1
src/views/salary/solution/salarySolution/salarySolutionRules.vue

@@ -1,5 +1,5 @@
 <template>
-  <m-dialog ref="dialog" title="规则配置" width="1000px" @sure="onSure">
+  <m-dialog ref="dialog" title="规则配置" width="1200px" @sure="onSure">
     <el-form v-loading="loading" label-width="100px">
       <el-form-item label="名称">
         <el-tag color="primary">{{ itemData.title }}</el-tag>

+ 4 - 3
src/views/sandbox/sandboxHistory.vue

@@ -1,5 +1,5 @@
 <template>
-  <m-dialog title="测算历史" v-bind="$attrs" ref="dialog">
+  <m-dialog title="测算历史" v-bind="$attrs" ref="dialog" width="1200px">
     <m-table
       shadow="never"
       clearHeader
@@ -44,11 +44,12 @@ export default {
         { label: '测算时间', prop: 'time' },
         { label: '规则名称', prop: 'name' },
         { label: '绩效汇总', prop: 'performance' },
+        { label: '数据月份', prop: 'dataTime' },
         { label: '操作', prop: 'actions' }
       ],
       items: [
-        { id: 0, time: '2020-01-01 12:00:00', name: '规则1', performance: '100' },
-        { id: 1, time: '2020-01-01 12:00:00', name: '规则2', performance: '100' },
+        { id: 0, time: '2020-01-01 12:00:00', name: '规则1', performance: '100', dataTime: '2020-01' },
+        { id: 1, time: '2020-01-01 12:00:00', name: '规则2', performance: '100', dataTime: '2020-01' },
         { id: 2, time: '2020-01-01 12:00:00', name: '规则3' },
         { id: 3, time: '2020-01-01 12:00:00', name: '规则4' },
         { id: 4, time: '2020-01-01 12:00:00', name: '规则5' },

+ 1 - 1
src/views/welfare/welfareRules/welfareRules.vue

@@ -1,5 +1,5 @@
 <template>
-  <m-dialog ref="dialog" title="规则配置" width="1000px" @sure="onSure">
+  <m-dialog ref="dialog" title="规则配置" width="1200px" @sure="onSure">
     <el-form ref="form" :model="formQuery" v-loading="loading">
       <el-form-item label="福利名称">
         <el-tag>{{ itemData.subsidy?.subsidyName }}</el-tag>