ef2ec596 by 任超

styleelement

1 parent 54f2a388
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
30 "babel-plugin-dynamic-import-node": "2.3.3", 30 "babel-plugin-dynamic-import-node": "2.3.3",
31 "chalk": "2.4.2", 31 "chalk": "2.4.2",
32 "connect": "3.6.6", 32 "connect": "3.6.6",
33 "element-ui": "^2.15.7", 33 "element-ui": "^2.15.6",
34 "html-webpack-plugin": "3.2.0", 34 "html-webpack-plugin": "3.2.0",
35 "runjs": "4.3.2", 35 "runjs": "4.3.2",
36 "sass-loader": "8.0.2", 36 "sass-loader": "8.0.2",
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
38 {{ item.sxzdmc }} 38 {{ item.sxzdmc }}
39 </div> 39 </div>
40 <el-radio-group v-model="item.selected" :disabled="!item.checked"> 40 <el-radio-group v-model="item.selected" :disabled="!item.checked">
41 <el-radio :label="obj.sxzdz" v-for="(obj, index) in item.children">{{ obj.sxzdmc }}</el-radio> 41 <el-radio :label="obj.sxzdz" v-for="(obj, index) in item.children" :key="index">{{ obj.sxzdmc }}</el-radio>
42 </el-radio-group> 42 </el-radio-group>
43 </li> 43 </li>
44 </ul> 44 </ul>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
11 </el-col> 11 </el-col>
12 <el-col :span="8"> 12 <el-col :span="8">
13 <el-form-item label="人库时间"> 13 <el-form-item label="人库时间">
14 <el-date-picker v-model="ruleForm.rksj" type="datetimerange" range-separator="至" start-placeholder="开始日期" 14 <el-date-picker v-model="value" type="daterange" range-separator="至" start-placeholder="开始日期"
15 end-placeholder="结束日期"> 15 end-placeholder="结束日期">
16 </el-date-picker> 16 </el-date-picker>
17 </el-form-item> 17 </el-form-item>
...@@ -46,6 +46,7 @@ export default { ...@@ -46,6 +46,7 @@ export default {
46 }, 46 },
47 data () { 47 data () {
48 return { 48 return {
49 value: '',
49 ruleForm: { 50 ruleForm: {
50 rkbh: "", 51 rkbh: "",
51 rksj: "" 52 rksj: ""
...@@ -56,13 +57,10 @@ export default { ...@@ -56,13 +57,10 @@ export default {
56 data: [ 57 data: [
57 { 58 {
58 slsj: "2022-5-12", 59 slsj: "2022-5-12",
59 }, 60 }
60 { 61 ]
61 slsj: "2022-5-13", 62 }
62 }, 63 }
63 ],
64 },
65 };
66 }, 64 },
67 methods: { 65 methods: {
68 // 初始化数据 66 // 初始化数据
......
...@@ -117,11 +117,6 @@ export default { ...@@ -117,11 +117,6 @@ export default {
117 props: { 117 props: {
118 value: { type: Boolean, default: false }, 118 value: { type: Boolean, default: false },
119 }, 119 },
120 watch: {
121 value (val) {
122 this.myValue = val
123 },
124 },
125 data () { 120 data () {
126 return { 121 return {
127 myValue: this.value, 122 myValue: this.value,
...@@ -144,6 +139,11 @@ export default { ...@@ -144,6 +139,11 @@ export default {
144 } 139 }
145 } 140 }
146 }, 141 },
142 watch: {
143 value (val) {
144 this.myValue = val
145 },
146 },
147 methods: { 147 methods: {
148 closeDialog () { 148 closeDialog () {
149 this.$emit('input', false) 149 this.$emit('input', false)
......
...@@ -45,8 +45,7 @@ class data extends filter { ...@@ -45,8 +45,7 @@ class data extends filter {
45 }, 45 },
46 { 46 {
47 prop: "slsj", 47 prop: "slsj",
48 label: "受理时间", 48 label: "受理时间"
49 sortable: 'custom'
50 }, 49 },
51 { 50 {
52 prop: "zrsj", 51 prop: "zrsj",
......