33f69c89 by jiaozeping@pashanhoo.com
2 parents 0e8209b7 ca8401d1
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
66 key: 0, 66 key: 0,
67 dialogVisible: false, 67 dialogVisible: false,
68 fullscreen: false, 68 fullscreen: false,
69 scrollerHeight: '', 69 scrollerHeight: '520px',
70 } 70 }
71 }, 71 },
72 watch: { 72 watch: {
......
...@@ -157,6 +157,11 @@ div:focus { ...@@ -157,6 +157,11 @@ div:focus {
157 cursor: pointer; 157 cursor: pointer;
158 } 158 }
159 159
160 .move {
161 color: #409EFF;
162 font-size: 24px;
163 }
164
160 .inlineBlock { 165 .inlineBlock {
161 display: block; 166 display: block;
162 } 167 }
......
...@@ -132,8 +132,8 @@ export default { ...@@ -132,8 +132,8 @@ export default {
132 render: (h, scope) => { 132 render: (h, scope) => {
133 return ( 133 return (
134 <div> 134 <div>
135 <i class="el-icon-top pointer" disabled={scope.$index == 0} style="color:#409EFF" onClick={() => { this.moveUpward(scope.$index, scope.row) }}></i> 135 <i class="el-icon-top pointer move" disabled={scope.$index == 0} onClick={() => { this.moveUpward(scope.$index, scope.row) }}></i>
136 <i class="el-icon-bottom pointer" disabled={(scope.$index + 1) == this.tableData.length} style="color:#409EFF" onClick={() => { this.moveDown(scope.$index, scope.row) }}></i> 136 <i class="el-icon-bottom pointer move" disabled={(scope.$index + 1) == this.tableData.length} onClick={() => { this.moveDown(scope.$index, scope.row) }}></i>
137 </div> 137 </div>
138 ) 138 )
139 } 139 }
...@@ -170,7 +170,9 @@ export default { ...@@ -170,7 +170,9 @@ export default {
170 } 170 }
171 ) 171 )
172 }, 172 },
173 handleMinus () { }, 173 handleMinus (index, row) {
174 this.tableData.splice(index, 1)
175 },
174 // 上移下移 176 // 上移下移
175 moveUpward (index, row) { 177 moveUpward (index, row) {
176 upward(index, this.tableData) 178 upward(index, this.tableData)
......
...@@ -127,8 +127,8 @@ export default { ...@@ -127,8 +127,8 @@ export default {
127 render: (h, scope) => { 127 render: (h, scope) => {
128 return ( 128 return (
129 <div> 129 <div>
130 <i class="el-icon-top pointer" disabled={scope.$index == 0} style="color:#409EFF" onClick={() => { this.moveUpward(scope.$index, scope.row) }}></i> 130 <i class="el-icon-top pointer move" disabled={scope.$index == 0} onClick={() => { this.moveUpward(scope.$index, scope.row) }}></i>
131 <i class="el-icon-bottom pointer" disabled={(scope.$index + 1) == this.tableData.length} style="color:#409EFF" onClick={() => { this.moveDown(scope.$index, scope.row) }}></i> 131 <i class="el-icon-bottom pointer move" disabled={(scope.$index + 1) == this.tableData.length} onClick={() => { this.moveDown(scope.$index, scope.row) }}></i>
132 </div> 132 </div>
133 ) 133 )
134 } 134 }
...@@ -170,7 +170,9 @@ export default { ...@@ -170,7 +170,9 @@ export default {
170 } 170 }
171 ) 171 )
172 }, 172 },
173 handleMinus () { }, 173 handleMinus (index, row) {
174 this.tableData.splice(index, 1)
175 },
174 // 上移下移 176 // 上移下移
175 moveUpward (index, row) { 177 moveUpward (index, row) {
176 upward(index, this.tableData) 178 upward(index, this.tableData)
......
...@@ -33,11 +33,11 @@ ...@@ -33,11 +33,11 @@
33 <ul class="screen-list"> 33 <ul class="screen-list">
34 <li v-for="(item, index) in dataList.screenList" :key="index"> 34 <li v-for="(item, index) in dataList.screenList" :key="index">
35 <div class="screen-list-left"> 35 <div class="screen-list-left">
36 <el-switch v-model="item.checked"> 36 <el-switch v-model="item.checked" @change="handleSelect(item)">
37 </el-switch> 37 </el-switch>
38 {{ item.name }} 38 {{ item.name }}
39 </div> 39 </div>
40 <el-radio-group v-model="item.radio"> 40 <el-radio-group v-model="item.radio" :disabled="!item.checked">
41 <el-radio :label="1">正在办理</el-radio> 41 <el-radio :label="1">正在办理</el-radio>
42 <el-radio :label="2">未办理</el-radio> 42 <el-radio :label="2">未办理</el-radio>
43 </el-radio-group> 43 </el-radio-group>
...@@ -123,13 +123,18 @@ export default { ...@@ -123,13 +123,18 @@ export default {
123 } 123 }
124 }, 124 },
125 methods: { 125 methods: {
126 handleSelect (item) {
127 if (!item.checked) {
128 item.radio = 0
129 }
130 },
126 handleSelectall () { 131 handleSelectall () {
127 this.qlxxList.forEach(item => { 132 this.dataList.qlxxList.forEach(item => {
128 item.checked = true 133 item.checked = true
129 }) 134 })
130 }, 135 },
131 handleInvert () { 136 handleInvert () {
132 this.qlxxList.forEach(item => { 137 this.dataList.qlxxList.forEach(item => {
133 item.checked = false 138 item.checked = false
134 }) 139 })
135 } 140 }
......
1 <template> 1 <template>
2 <dialogBox title="申请业务规则配置" @submitForm="submitForm" isMain @closeDialog="closeDialog" v-model="value"> 2 <dialogBox title="申请业务规则配置" @submitForm="submitForm" @closeDialog="closeDialog" v-model="value">
3 <div class="sqywgz-edit"> 3 <div class="sqywgz-edit">
4 <ul class="sqywgz-edit-left"> 4 <ul class="sqywgz-edit-left">
5 <li v-for="(item, index) in leftList" :key="index" :class="{ active: index == n }" @click="hanldeItem(index)">{{ 5 <li v-for="(item, index) in leftList" :key="index" :class="{ active: index == n }" @click="hanldeItem(index)">{{
...@@ -287,7 +287,7 @@ export default { ...@@ -287,7 +287,7 @@ export default {
287 @include flex-center; 287 @include flex-center;
288 background-color: #E4E7ED; 288 background-color: #E4E7ED;
289 border-bottom-right-radius: 5px; 289 border-bottom-right-radius: 5px;
290 padding: 10px 5px; 290 padding: 15px;
291 cursor: pointer; 291 cursor: pointer;
292 292
293 &:hover { 293 &:hover {
......