Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
13 changed files
with
255 additions
and
94 deletions
| ... | @@ -450,4 +450,33 @@ aside { | ... | @@ -450,4 +450,33 @@ aside { |
| 450 | top: 0; | 450 | top: 0; |
| 451 | right: 0; | 451 | right: 0; |
| 452 | transform: rotate(-90deg); | 452 | transform: rotate(-90deg); |
| 453 | } | ||
| 454 | |||
| 455 | // 正在注销 | ||
| 456 | .zhuxiaoIcon { | ||
| 457 | position: relative; | ||
| 458 | |||
| 459 | .icon { | ||
| 460 | position: absolute; | ||
| 461 | top: 9px; | ||
| 462 | right: 5px; | ||
| 463 | transform: rotate(45deg); | ||
| 464 | color: #fff; | ||
| 465 | font-size: 12px; | ||
| 466 | z-index: 10; | ||
| 467 | } | ||
| 468 | } | ||
| 469 | |||
| 470 | .zhuxiaoIcon::after { | ||
| 471 | content: ""; | ||
| 472 | display: block; | ||
| 473 | width: 0; | ||
| 474 | height: 0; | ||
| 475 | border-width: 0px 0px 55px 55px; | ||
| 476 | border-style: none solid solid; | ||
| 477 | border-color: transparent transparent red; | ||
| 478 | position: absolute; | ||
| 479 | top: 0; | ||
| 480 | right: 0; | ||
| 481 | transform: rotate(-90deg); | ||
| 453 | } | 482 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
This diff is collapsed.
Click to expand it.
| ... | @@ -22,19 +22,32 @@ | ... | @@ -22,19 +22,32 @@ |
| 22 | :class="[ | 22 | :class="[ |
| 23 | row.qszt == '2' ? 'lishi' : '', | 23 | row.qszt == '2' ? 'lishi' : '', |
| 24 | row.qszt == '0' ? 'linshi' : '', | 24 | row.qszt == '0' ? 'linshi' : '', |
| 25 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 25 | |
| 26 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 26 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 27 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', | ||
| 28 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 29 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 30 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 27 | ]"> | 31 | ]"> |
| 28 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 32 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 33 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 30 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 34 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 31 | </div> | 35 | </div> |
| 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 36 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 33 | 正在办理 | 37 | 失效 |
| 34 | </div> | 38 | </div> |
| 35 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 39 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 36 | 有效 | 40 | 有效 |
| 37 | </div> | 41 | </div> |
| 42 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 43 | 正在补录 | ||
| 44 | </div> | ||
| 45 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 46 | 正在申请 | ||
| 47 | </div> | ||
| 48 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 49 | 正在注销 | ||
| 50 | </div> | ||
| 38 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> | 51 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> |
| 39 | 52 | ||
| 40 | <span v-else>{{ row[item.prop] }}</span> | 53 | <span v-else>{{ row[item.prop] }}</span> | ... | ... |
| ... | @@ -24,8 +24,11 @@ | ... | @@ -24,8 +24,11 @@ |
| 24 | :class="[ | 24 | :class="[ |
| 25 | row.qszt == '2' ? 'lishi' : '', | 25 | row.qszt == '2' ? 'lishi' : '', |
| 26 | row.qszt == '0' ? 'linshi' : '', | 26 | row.qszt == '0' ? 'linshi' : '', |
| 27 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 27 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 28 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 28 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 29 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 30 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 31 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 29 | ]"> | 32 | ]"> |
| 30 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 33 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 31 | <el-button | 34 | <el-button |
| ... | @@ -37,12 +40,21 @@ | ... | @@ -37,12 +40,21 @@ |
| 37 | icon="el-icon-edit-outline" | 40 | icon="el-icon-edit-outline" |
| 38 | @click="editDialog(row, 'D')">删除</el-button> | 41 | @click="editDialog(row, 'D')">删除</el-button> |
| 39 | </div> | 42 | </div> |
| 40 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 41 | 正在办理 | 44 | 失效 |
| 42 | </div> | 45 | </div> |
| 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 46 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 44 | 有效 | 47 | 有效 |
| 45 | </div> | 48 | </div> |
| 49 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 50 | 正在补录 | ||
| 51 | </div> | ||
| 52 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 53 | 正在申请 | ||
| 54 | </div> | ||
| 55 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 56 | 正在注销 | ||
| 57 | </div> | ||
| 46 | <span v-if="item.prop == 'qszt'"> | 58 | <span v-if="item.prop == 'qszt'"> |
| 47 | {{ getQsztName(row[item.prop]) }} | 59 | {{ getQsztName(row[item.prop]) }} |
| 48 | </span> | 60 | </span> | ... | ... |
| ... | @@ -24,19 +24,31 @@ | ... | @@ -24,19 +24,31 @@ |
| 24 | :class="[ | 24 | :class="[ |
| 25 | row.qszt == '2' ? 'lishi' : '', | 25 | row.qszt == '2' ? 'lishi' : '', |
| 26 | row.qszt == '0' ? 'linshi' : '', | 26 | row.qszt == '0' ? 'linshi' : '', |
| 27 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 27 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 28 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 28 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 29 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 30 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 31 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 29 | ]"> | 32 | ]"> |
| 30 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 33 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 31 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 34 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 32 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 35 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 33 | </div> | 36 | </div> |
| 34 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 37 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 35 | 正在办理 | 38 | 失效 |
| 36 | </div> | 39 | </div> |
| 37 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 40 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 38 | 有效 | 41 | 有效 |
| 39 | </div> | 42 | </div> |
| 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 44 | 正在补录 | ||
| 45 | </div> | ||
| 46 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 47 | 正在申请 | ||
| 48 | </div> | ||
| 49 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 50 | 正在注销 | ||
| 51 | </div> | ||
| 40 | <span v-if="item.prop == 'qszt'"> | 52 | <span v-if="item.prop == 'qszt'"> |
| 41 | {{ getQsztName(row[item.prop]) }} | 53 | {{ getQsztName(row[item.prop]) }} |
| 42 | </span> | 54 | </span> | ... | ... |
| ... | @@ -19,19 +19,31 @@ | ... | @@ -19,19 +19,31 @@ |
| 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 20 | row.qszt == '2' ? 'lishi' : '', | 20 | row.qszt == '2' ? 'lishi' : '', |
| 21 | row.qszt == '0' ? 'linshi' : '', | 21 | row.qszt == '0' ? 'linshi' : '', |
| 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 24 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 25 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 26 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '' | ||
| 24 | ]"> | 27 | ]"> |
| 25 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 28 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 27 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 30 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 28 | </div> | 31 | </div> |
| 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 30 | 正在办理 | 33 | 失效 |
| 31 | </div> | 34 | </div> |
| 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 35 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 33 | 有效 | 36 | 有效 |
| 34 | </div> | 37 | </div> |
| 38 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 39 | 正在补录 | ||
| 40 | </div> | ||
| 41 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 42 | 正在申请 | ||
| 43 | </div> | ||
| 44 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 45 | 正在注销 | ||
| 46 | </div> | ||
| 35 | <span v-if="item.prop == 'qszt'"> | 47 | <span v-if="item.prop == 'qszt'"> |
| 36 | {{ getQsztName(row[item.prop]) }} | 48 | {{ getQsztName(row[item.prop]) }} |
| 37 | </span> | 49 | </span> |
| ... | @@ -71,11 +83,12 @@ | ... | @@ -71,11 +83,12 @@ |
| 71 | }, | 83 | }, |
| 72 | methods: { | 84 | methods: { |
| 73 | loadData () { | 85 | loadData () { |
| 74 | if(this.$parent.addRepairRecord){ | 86 | if (this.$parent.addRepairRecord) { |
| 75 | this.columns.unshift({prop:"cz", | 87 | this.columns.unshift({ |
| 76 | label:"操作" | 88 | prop: "cz", |
| 77 | }) | 89 | label: "操作" |
| 78 | } | 90 | }) |
| 91 | } | ||
| 79 | getJsydsyqList({ | 92 | getJsydsyqList({ |
| 80 | bdcdyid: this.propsParam.bdcdyid, | 93 | bdcdyid: this.propsParam.bdcdyid, |
| 81 | qllx: this.propsParam.qllx, | 94 | qllx: this.propsParam.qllx, |
| ... | @@ -113,14 +126,14 @@ | ... | @@ -113,14 +126,14 @@ |
| 113 | } | 126 | } |
| 114 | return name; | 127 | return name; |
| 115 | }, | 128 | }, |
| 116 | // 新增一条补录信息 | 129 | // 新增一条补录信息 |
| 117 | editDialog(row,del){ | 130 | editDialog (row, del) { |
| 118 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 131 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
| 119 | confirmButtonText: '确定', | 132 | confirmButtonText: '确定', |
| 120 | cancelButtonText: '取消', | 133 | cancelButtonText: '取消', |
| 121 | type: 'warning' | 134 | type: 'warning' |
| 122 | }).then(() => { | 135 | }).then(() => { |
| 123 | this.$parent.addRepairRecord(row,del) | 136 | this.$parent.addRepairRecord(row, del) |
| 124 | 137 | ||
| 125 | this.$message({ | 138 | this.$message({ |
| 126 | type: 'success', | 139 | type: 'success', | ... | ... |
| ... | @@ -24,8 +24,11 @@ | ... | @@ -24,8 +24,11 @@ |
| 24 | :class="[ | 24 | :class="[ |
| 25 | row.qszt == '2' ? 'lishi' : '', | 25 | row.qszt == '2' ? 'lishi' : '', |
| 26 | row.qszt == '0' ? 'linshi' : '', | 26 | row.qszt == '0' ? 'linshi' : '', |
| 27 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 27 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 28 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 28 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 29 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 30 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 31 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 29 | ]"> | 32 | ]"> |
| 30 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 33 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 31 | <el-button | 34 | <el-button |
| ... | @@ -37,12 +40,21 @@ | ... | @@ -37,12 +40,21 @@ |
| 37 | icon="el-icon-edit-outline" | 40 | icon="el-icon-edit-outline" |
| 38 | @click="editDialog(row, 'D')">删除</el-button> | 41 | @click="editDialog(row, 'D')">删除</el-button> |
| 39 | </div> | 42 | </div> |
| 40 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 41 | 正在办理 | 44 | 失效 |
| 42 | </div> | 45 | </div> |
| 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 46 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 44 | 有效 | 47 | 有效 |
| 45 | </div> | 48 | </div> |
| 49 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 50 | 正在补录 | ||
| 51 | </div> | ||
| 52 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 53 | 正在申请 | ||
| 54 | </div> | ||
| 55 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 56 | 正在注销 | ||
| 57 | </div> | ||
| 46 | <span v-if="item.prop == 'qszt'"> | 58 | <span v-if="item.prop == 'qszt'"> |
| 47 | {{ getQsztName(row[item.prop]) }} | 59 | {{ getQsztName(row[item.prop]) }} |
| 48 | </span> | 60 | </span> | ... | ... |
| ... | @@ -19,19 +19,31 @@ | ... | @@ -19,19 +19,31 @@ |
| 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 20 | row.qszt == '2' ? 'lishi' : '', | 20 | row.qszt == '2' ? 'lishi' : '', |
| 21 | row.qszt == '0' ? 'linshi' : '', | 21 | row.qszt == '0' ? 'linshi' : '', |
| 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 24 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 25 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 26 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 24 | ]"> | 27 | ]"> |
| 25 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 28 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 27 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 30 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 28 | </div> | 31 | </div> |
| 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 30 | 正在办理 | 33 | 失效 |
| 31 | </div> | 34 | </div> |
| 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 35 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 33 | 有效 | 36 | 有效 |
| 34 | </div> | 37 | </div> |
| 38 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 39 | 正在补录 | ||
| 40 | </div> | ||
| 41 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 42 | 正在申请 | ||
| 43 | </div> | ||
| 44 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 45 | 正在注销 | ||
| 46 | </div> | ||
| 35 | <span v-if="item.prop == 'qszt'"> | 47 | <span v-if="item.prop == 'qszt'"> |
| 36 | {{ getQsztName(row[item.prop]) }} | 48 | {{ getQsztName(row[item.prop]) }} |
| 37 | </span> | 49 | </span> |
| ... | @@ -72,11 +84,12 @@ | ... | @@ -72,11 +84,12 @@ |
| 72 | methods: { | 84 | methods: { |
| 73 | loadData () { | 85 | loadData () { |
| 74 | 86 | ||
| 75 | if(this.$parent.addRepairRecord){ | 87 | if (this.$parent.addRepairRecord) { |
| 76 | this.columns.unshift({prop:"cz", | 88 | this.columns.unshift({ |
| 77 | label:"操作" | 89 | prop: "cz", |
| 78 | }) | 90 | label: "操作" |
| 79 | } | 91 | }) |
| 92 | } | ||
| 80 | getJsydsyqList({ | 93 | getJsydsyqList({ |
| 81 | bdcdyid: this.propsParam.bdcdyid, | 94 | bdcdyid: this.propsParam.bdcdyid, |
| 82 | qllx: this.propsParam.qllx, | 95 | qllx: this.propsParam.qllx, |
| ... | @@ -114,14 +127,14 @@ | ... | @@ -114,14 +127,14 @@ |
| 114 | } | 127 | } |
| 115 | return name; | 128 | return name; |
| 116 | }, | 129 | }, |
| 117 | // 新增一条补录信息 | 130 | // 新增一条补录信息 |
| 118 | editDialog(row,del){ | 131 | editDialog (row, del) { |
| 119 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 132 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
| 120 | confirmButtonText: '确定', | 133 | confirmButtonText: '确定', |
| 121 | cancelButtonText: '取消', | 134 | cancelButtonText: '取消', |
| 122 | type: 'warning' | 135 | type: 'warning' |
| 123 | }).then(() => { | 136 | }).then(() => { |
| 124 | this.$parent.addRepairRecord(row,del) | 137 | this.$parent.addRepairRecord(row, del) |
| 125 | 138 | ||
| 126 | this.$message({ | 139 | this.$message({ |
| 127 | type: 'success', | 140 | type: 'success', | ... | ... |
| ... | @@ -19,19 +19,31 @@ | ... | @@ -19,19 +19,31 @@ |
| 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 20 | row.qszt == '2' ? 'lishi' : '', | 20 | row.qszt == '2' ? 'lishi' : '', |
| 21 | row.qszt == '0' ? 'linshi' : '', | 21 | row.qszt == '0' ? 'linshi' : '', |
| 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | row.qlzt == '3' ? 'linshiIcon' : '', |
| 24 | row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 25 | row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 26 | row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 24 | ]"> | 27 | ]"> |
| 25 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 28 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 27 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 30 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 28 | </div> | 31 | </div> |
| 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 32 | <div class="icon" v-if="row.qlzt == '0'"> |
| 30 | 正在办理 | 33 | 失效 |
| 31 | </div> | 34 | </div> |
| 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 35 | <div class="icon" v-if="row.qlzt == '1'"> |
| 33 | 有效 | 36 | 有效 |
| 34 | </div> | 37 | </div> |
| 38 | <div class="icon" v-if="row.qlzt == '2'"> | ||
| 39 | 正在补录 | ||
| 40 | </div> | ||
| 41 | <div class="icon" v-if="row.qlzt == '3'"> | ||
| 42 | 正在申请 | ||
| 43 | </div> | ||
| 44 | <div class="icon" v-if="row.qlzt == '4'"> | ||
| 45 | 正在注销 | ||
| 46 | </div> | ||
| 35 | <span v-if="item.prop == 'qszt'"> | 47 | <span v-if="item.prop == 'qszt'"> |
| 36 | {{ getQsztName(row[item.prop]) }} | 48 | {{ getQsztName(row[item.prop]) }} |
| 37 | </span> | 49 | </span> |
| ... | @@ -50,15 +62,27 @@ | ... | @@ -50,15 +62,27 @@ |
| 50 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 62 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 51 | row.qszt == '2' ? 'lishi' : '', | 63 | row.qszt == '2' ? 'lishi' : '', |
| 52 | row.qszt == '0' ? 'linshi' : '', | 64 | row.qszt == '0' ? 'linshi' : '', |
| 53 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 65 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 54 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 66 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 67 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 68 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 69 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 55 | ]"> | 70 | ]"> |
| 56 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 71 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 57 | 正在办理 | 72 | 失效 |
| 58 | </div> | 73 | </div> |
| 59 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 74 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 60 | 有效 | 75 | 有效 |
| 61 | </div> | 76 | </div> |
| 77 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 78 | 正在补录 | ||
| 79 | </div> | ||
| 80 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 81 | 正在申请 | ||
| 82 | </div> | ||
| 83 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 84 | 正在注销 | ||
| 85 | </div> | ||
| 62 | <span v-if="item.prop == 'qszt'"> | 86 | <span v-if="item.prop == 'qszt'"> |
| 63 | {{ getQsztName(row[item.prop]) }} | 87 | {{ getQsztName(row[item.prop]) }} |
| 64 | </span> | 88 | </span> | ... | ... |
| ... | @@ -19,19 +19,31 @@ | ... | @@ -19,19 +19,31 @@ |
| 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 20 | row.qszt == '2' ? 'lishi' : '', | 20 | row.qszt == '2' ? 'lishi' : '', |
| 21 | row.qszt == '0' ? 'linshi' : '', | 21 | row.qszt == '0' ? 'linshi' : '', |
| 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 22 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 23 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 24 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 25 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 26 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 24 | ]"> | 27 | ]"> |
| 25 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 28 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 27 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 30 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 28 | </div> | 31 | </div> |
| 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 30 | 正在办理 | 33 | 失效 |
| 31 | </div> | 34 | </div> |
| 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 35 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 33 | 有效 | 36 | 有效 |
| 34 | </div> | 37 | </div> |
| 38 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 39 | 正在补录 | ||
| 40 | </div> | ||
| 41 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 42 | 正在申请 | ||
| 43 | </div> | ||
| 44 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 45 | 正在注销 | ||
| 46 | </div> | ||
| 35 | <span v-if="item.prop == 'qszt'"> | 47 | <span v-if="item.prop == 'qszt'"> |
| 36 | {{ getQsztName(row[item.prop]) }} | 48 | {{ getQsztName(row[item.prop]) }} |
| 37 | </span> | 49 | </span> |
| ... | @@ -72,11 +84,12 @@ | ... | @@ -72,11 +84,12 @@ |
| 72 | methods: { | 84 | methods: { |
| 73 | loadData () { | 85 | loadData () { |
| 74 | 86 | ||
| 75 | if(this.$parent.addRepairRecord){ | 87 | if (this.$parent.addRepairRecord) { |
| 76 | this.columns.unshift({prop:"cz", | 88 | this.columns.unshift({ |
| 77 | label:"操作" | 89 | prop: "cz", |
| 78 | }) | 90 | label: "操作" |
| 79 | } | 91 | }) |
| 92 | } | ||
| 80 | getTdsyqList({ | 93 | getTdsyqList({ |
| 81 | bdcdyid: this.propsParam.bdcdyid, | 94 | bdcdyid: this.propsParam.bdcdyid, |
| 82 | qllx: this.propsParam.qllx, | 95 | qllx: this.propsParam.qllx, |
| ... | @@ -114,14 +127,14 @@ | ... | @@ -114,14 +127,14 @@ |
| 114 | } | 127 | } |
| 115 | return name; | 128 | return name; |
| 116 | }, | 129 | }, |
| 117 | // 新增一条补录信息 | 130 | // 新增一条补录信息 |
| 118 | editDialog(row,del){ | 131 | editDialog (row, del) { |
| 119 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 132 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
| 120 | confirmButtonText: '确定', | 133 | confirmButtonText: '确定', |
| 121 | cancelButtonText: '取消', | 134 | cancelButtonText: '取消', |
| 122 | type: 'warning' | 135 | type: 'warning' |
| 123 | }).then(() => { | 136 | }).then(() => { |
| 124 | this.$parent.addRepairRecord(row,del) | 137 | this.$parent.addRepairRecord(row, del) |
| 125 | 138 | ||
| 126 | this.$message({ | 139 | this.$message({ |
| 127 | type: 'success', | 140 | type: 'success', | ... | ... |
| ... | @@ -18,19 +18,31 @@ | ... | @@ -18,19 +18,31 @@ |
| 18 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 18 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 19 | row.qszt == '2' ? 'lishi' : '', | 19 | row.qszt == '2' ? 'lishi' : '', |
| 20 | row.qszt == '0' ? 'linshi' : '', | 20 | row.qszt == '0' ? 'linshi' : '', |
| 21 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 21 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 22 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 22 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 23 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 24 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 25 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 23 | ]"> | 26 | ]"> |
| 24 | <div class="setbut" v-if="item.prop == 'cz'"> | 27 | <div class="setbut" v-if="item.prop == 'cz'"> |
| 25 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 28 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 27 | </div> | 30 | </div> |
| 28 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 31 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 29 | 正在办理 | 32 | 失效 |
| 30 | </div> | 33 | </div> |
| 31 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 34 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 32 | 有效 | 35 | 有效 |
| 33 | </div> | 36 | </div> |
| 37 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 38 | 正在补录 | ||
| 39 | </div> | ||
| 40 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 41 | 正在申请 | ||
| 42 | </div> | ||
| 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 44 | 正在注销 | ||
| 45 | </div> | ||
| 34 | <span v-if="item.prop == 'qszt'"> | 46 | <span v-if="item.prop == 'qszt'"> |
| 35 | {{ getQsztName(row[item.prop]) }} | 47 | {{ getQsztName(row[item.prop]) }} |
| 36 | </span> | 48 | </span> | ... | ... |
| ... | @@ -18,19 +18,31 @@ | ... | @@ -18,19 +18,31 @@ |
| 18 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 18 | <td v-for="(row, index) in tableData" :key="index" :class="[ |
| 19 | row.qszt == '2' ? 'lishi' : '', | 19 | row.qszt == '2' ? 'lishi' : '', |
| 20 | row.qszt == '0' ? 'linshi' : '', | 20 | row.qszt == '0' ? 'linshi' : '', |
| 21 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | 21 | item.prop == 'qszt' && row.qlzt == '0' ? 'zhuxiaoIcon' : '', |
| 22 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | 22 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', |
| 23 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
| 24 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
| 25 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '', | ||
| 23 | ]"> | 26 | ]"> |
| 24 | <div class="setbut" v-if="item.prop == 'cz'"> | 27 | <div class="setbut" v-if="item.prop == 'cz'"> |
| 25 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 28 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
| 27 | </div> | 30 | </div> |
| 28 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | 31 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '0'"> |
| 29 | 正在办理 | 32 | 失效 |
| 30 | </div> | 33 | </div> |
| 31 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | 34 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> |
| 32 | 有效 | 35 | 有效 |
| 33 | </div> | 36 | </div> |
| 37 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | ||
| 38 | 正在补录 | ||
| 39 | </div> | ||
| 40 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | ||
| 41 | 正在申请 | ||
| 42 | </div> | ||
| 43 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | ||
| 44 | 正在注销 | ||
| 45 | </div> | ||
| 34 | <span v-if="item.prop == 'qszt'"> | 46 | <span v-if="item.prop == 'qszt'"> |
| 35 | {{ getQsztName(row[item.prop]) }} | 47 | {{ getQsztName(row[item.prop]) }} |
| 36 | </span> | 48 | </span> | ... | ... |
-
Please register or sign in to post a comment