修改系統管理及业务规则
Showing
5 changed files
with
175 additions
and
78 deletions
| ... | @@ -26,8 +26,8 @@ | ... | @@ -26,8 +26,8 @@ |
| 26 | <b class="title">权利人</b> | 26 | <b class="title">权利人</b> |
| 27 | <personInfoTable @getInfoList="handleGetQlList" :dataList="qldataList" /> | 27 | <personInfoTable @getInfoList="handleGetQlList" :dataList="qldataList" /> |
| 28 | <div class="submit-button"> | 28 | <div class="submit-button"> |
| 29 | <el-button type="primary" @click="queryChick">查询</el-button> | ||
| 30 | <el-button @click="resetClick">重置</el-button> | 29 | <el-button @click="resetClick">重置</el-button> |
| 30 | <el-button type="primary" @click="queryChick">查询</el-button> | ||
| 31 | </div> | 31 | </div> |
| 32 | <b class="title" v-show="isSearch">查询结果</b> | 32 | <b class="title" v-show="isSearch">查询结果</b> |
| 33 | <lb-table :column="searchData.columns" v-if="isSearch" :data="searchData.data" :maxHeight="200" heightNumSetting | 33 | <lb-table :column="searchData.columns" v-if="isSearch" :data="searchData.data" :maxHeight="200" heightNumSetting |
| ... | @@ -89,8 +89,8 @@ export default { | ... | @@ -89,8 +89,8 @@ export default { |
| 89 | 89 | ||
| 90 | addJtfc: { | 90 | addJtfc: { |
| 91 | djSqcxDO: {}, | 91 | djSqcxDO: {}, |
| 92 | sqxx: [], | 92 | sqrList: [], |
| 93 | qlrxx: [], | 93 | qlrList: [], |
| 94 | } | 94 | } |
| 95 | } | 95 | } |
| 96 | }, | 96 | }, |
| ... | @@ -99,16 +99,16 @@ export default { | ... | @@ -99,16 +99,16 @@ export default { |
| 99 | this.myValue = val | 99 | this.myValue = val |
| 100 | this.qldataList = _.cloneDeep(this.dataList) | 100 | this.qldataList = _.cloneDeep(this.dataList) |
| 101 | this.sqdataList = _.cloneDeep(this.dataList) | 101 | this.sqdataList = _.cloneDeep(this.dataList) |
| 102 | this.addJtfc.sqxx = _.cloneDeep(this.dataList) | 102 | this.addJtfc.sqrList = _.cloneDeep(this.dataList) |
| 103 | this.addJtfc.qlrxx = _.cloneDeep(this.dataList) | 103 | this.addJtfc.qlrList = _.cloneDeep(this.dataList) |
| 104 | }, | 104 | }, |
| 105 | 'ruleForm.ycyrgx' (val) { | 105 | 'ruleForm.ycyrgx' (val) { |
| 106 | if (val != 1) { | 106 | if (val != 1) { |
| 107 | this.qldataList = _.cloneDeep(this.dataList) | 107 | this.qldataList = _.cloneDeep(this.dataList) |
| 108 | this.addJtfc.qlrxx = _.cloneDeep(this.dataList) | 108 | this.addJtfc.qlrList = _.cloneDeep(this.dataList) |
| 109 | } else { | 109 | } else { |
| 110 | this.qldataList = this.addJtfc.sqxx | 110 | this.qldataList = this.addJtfc.sqrList |
| 111 | this.addJtfc.qlrxx = this.addJtfc.sqxx | 111 | this.addJtfc.qlrList = this.addJtfc.sqrList |
| 112 | } | 112 | } |
| 113 | } | 113 | } |
| 114 | }, | 114 | }, |
| ... | @@ -119,20 +119,19 @@ export default { | ... | @@ -119,20 +119,19 @@ export default { |
| 119 | handleGetSqList (val) { | 119 | handleGetSqList (val) { |
| 120 | if (!_.isEqual(val, this.dataList) && this.ruleForm.ycyrgx == 1) { | 120 | if (!_.isEqual(val, this.dataList) && this.ruleForm.ycyrgx == 1) { |
| 121 | this.qldataList = val | 121 | this.qldataList = val |
| 122 | this.addJtfc.qlrxx = val | 122 | this.addJtfc.qlrList = val |
| 123 | } else | 123 | } else |
| 124 | this.addJtfc.sqxx = val | 124 | this.addJtfc.sqrList = val |
| 125 | }, | 125 | }, |
| 126 | handleGetQlList (val) { | 126 | handleGetQlList (val) { |
| 127 | if (this.ruleForm.ycyrgx != 1) { | 127 | if (this.ruleForm.ycyrgx != 1) { |
| 128 | this.addJtfc.qlrxx = val | 128 | this.addJtfc.qlrList = val |
| 129 | } | 129 | } |
| 130 | }, | 130 | }, |
| 131 | queryChick () { | 131 | queryChick () { |
| 132 | this.addJtfc.djSqcxDO = { ...this.ruleForm } | 132 | this.addJtfc.djSqcxDO = { ...this.ruleForm } |
| 133 | addJtfcCxjgXx(this.addJtfc).then(res => { | 133 | addJtfcCxjgXx(this.addJtfc).then(res => { |
| 134 | this.searchData.data = res.result; | 134 | this.searchData.data = res.result; |
| 135 | console.log(res); | ||
| 136 | this.isSearch = true | 135 | this.isSearch = true |
| 137 | }) | 136 | }) |
| 138 | }, | 137 | }, | ... | ... |
| ... | @@ -16,7 +16,17 @@ | ... | @@ -16,7 +16,17 @@ |
| 16 | </el-input> | 16 | </el-input> |
| 17 | </el-form-item> | 17 | </el-form-item> |
| 18 | </el-col> | 18 | </el-col> |
| 19 | <el-col :span="14" class="btnColRight"> | 19 | <el-col :span="10"> |
| 20 | <el-form-item label="查询时间"> | ||
| 21 | <el-date-picker v-model="queryForm.sqr" :picker-options="pickerOptionsStart" type="date" | ||
| 22 | placeholder="开始日期" value-format="yyyy-MM-dd" clearable> | ||
| 23 | </el-date-picker> 至 | ||
| 24 | <el-date-picker v-model="queryForm.sqr" :picker-options="pickerOptionsStart" type="date" | ||
| 25 | placeholder="结束日期" value-format="yyyy-MM-dd" clearable> | ||
| 26 | </el-date-picker> | ||
| 27 | </el-form-item> | ||
| 28 | </el-col> | ||
| 29 | <el-col :span="4" class="btnColRight"> | ||
| 20 | <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> | 30 | <el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button> |
| 21 | <el-button type="primary" @click="handleAdd">新增</el-button> | 31 | <el-button type="primary" @click="handleAdd">新增</el-button> |
| 22 | </el-col> | 32 | </el-col> | ... | ... |
| ... | @@ -8,16 +8,16 @@ class data extends filter { | ... | @@ -8,16 +8,16 @@ class data extends filter { |
| 8 | constructor() { | 8 | constructor() { |
| 9 | super() | 9 | super() |
| 10 | } | 10 | } |
| 11 | djqxCol () { | 11 | djqxCol() { |
| 12 | return [ | 12 | return [ |
| 13 | { | 13 | { |
| 14 | width: '60', | 14 | width: '60', |
| 15 | renderHeader: (h, scope) => { | 15 | renderHeader: (h, scope) => { |
| 16 | return <i class="el-icon-plus pointer" onClick={() => { vm.handleAdd() }} style="color:#409EFF"></i> | 16 | return <i class="el-icon-plus pointer" onClick={() => { vm.addDjqx() }} style="color:#409EFF"></i> |
| 17 | }, | 17 | }, |
| 18 | render: (h, scope) => { | 18 | render: (h, scope) => { |
| 19 | return ( | 19 | return ( |
| 20 | <i class="el-icon-minus pointer" onClick={() => { vm.handleMinus(scope.$index, scope.row) }}></i> | 20 | <i class="el-icon-minus pointer" onClick={() => { vm.removeDjqx(scope.$index, scope.row) }}></i> |
| 21 | ) | 21 | ) |
| 22 | } | 22 | } |
| 23 | }, | 23 | }, |
| ... | @@ -27,14 +27,26 @@ class data extends filter { | ... | @@ -27,14 +27,26 @@ class data extends filter { |
| 27 | type: 'index' | 27 | type: 'index' |
| 28 | }, | 28 | }, |
| 29 | { | 29 | { |
| 30 | label: '是否启用登记情形', | ||
| 31 | prop: 'enabled', | ||
| 32 | width: '141', | ||
| 33 | render: (h, scope) => { | ||
| 34 | return ( | ||
| 35 | <el-radio-group value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}> | ||
| 36 | <el-radio label={'1'}>启用</el-radio> | ||
| 37 | <el-radio label={'0'}>禁用</el-radio> | ||
| 38 | </el-radio-group> | ||
| 39 | ) | ||
| 40 | } | ||
| 41 | }, | ||
| 42 | { | ||
| 30 | prop: 'nodecode', | 43 | prop: 'nodecode', |
| 31 | width: '105', | 44 | width: '105', |
| 32 | label: '登记情形编码', | 45 | label: '登记情形编码', |
| 33 | render: (h, scope) => { | 46 | render: (h, scope) => { |
| 34 | return ( | 47 | return ( |
| 35 | <div> | 48 | <div> |
| 36 | <el-input placeholder="登记情形编码" class={{ repeat: scope.row.repeat }} disabled={scope.row.sftsdjqx == '1'} | 49 | <el-input placeholder="登记情形编码" class={{ repeat: scope.row.repeat }} value={scope.row[scope.column.property]} |
| 37 | value={scope.row[scope.column.property]} | ||
| 38 | onInput={(val) => { scope.row[scope.column.property] = val }} onBlur={() => { vm.nodecodeBlur(scope.$index, scope.row) }} maxlength="8"> | 50 | onInput={(val) => { scope.row[scope.column.property] = val }} onBlur={() => { vm.nodecodeBlur(scope.$index, scope.row) }} maxlength="8"> |
| 39 | </el-input> | 51 | </el-input> |
| 40 | </div> | 52 | </div> |
| ... | @@ -47,19 +59,18 @@ class data extends filter { | ... | @@ -47,19 +59,18 @@ class data extends filter { |
| 47 | render: (h, scope) => { | 59 | render: (h, scope) => { |
| 48 | return ( | 60 | return ( |
| 49 | <div> | 61 | <div> |
| 50 | <el-input placeholder="登记情形名称" disabled={scope.row.sftsdjqx == '1'} | 62 | <el-input placeholder="登记情形名称" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> |
| 51 | value={scope.row[scope.column.property]} | ||
| 52 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | ||
| 53 | </div> | 63 | </div> |
| 54 | ) | 64 | ) |
| 55 | } | 65 | } |
| 56 | }, | 66 | }, |
| 57 | { | 67 | { |
| 58 | label: '是否启用登记情形', | 68 | prop: 'sfqydjyymb', |
| 59 | width: '141', | 69 | label: '是否启用模板', |
| 70 | width: '140', | ||
| 60 | render: (h, scope) => { | 71 | render: (h, scope) => { |
| 61 | return ( | 72 | return ( |
| 62 | <el-radio-group v-model={scope.row.enabled} disabled={scope.row.sftsdjqx == '1'} onChange={(val) => { scope.row[scope.column.property] = val }}> | 73 | <el-radio-group value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}> |
| 63 | <el-radio label={'1'}>启用</el-radio> | 74 | <el-radio label={'1'}>启用</el-radio> |
| 64 | <el-radio label={'0'}>禁用</el-radio> | 75 | <el-radio label={'0'}>禁用</el-radio> |
| 65 | </el-radio-group> | 76 | </el-radio-group> |
| ... | @@ -72,26 +83,13 @@ class data extends filter { | ... | @@ -72,26 +83,13 @@ class data extends filter { |
| 72 | render: (h, scope) => { | 83 | render: (h, scope) => { |
| 73 | return ( | 84 | return ( |
| 74 | <div> | 85 | <div> |
| 75 | <el-input placeholder="登记原因模板" disabled={scope.row.sftsdjqx == '1'} value={scope.row[scope.column.property]} | 86 | <el-input placeholder="登记原因模板" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> |
| 76 | onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> | ||
| 77 | </div> | 87 | </div> |
| 78 | 88 | ||
| 79 | ) | 89 | ) |
| 80 | } | 90 | } |
| 81 | }, | 91 | }, |
| 82 | { | 92 | { |
| 83 | label: '是否启用模板', | ||
| 84 | width: '140', | ||
| 85 | render: (h, scope) => { | ||
| 86 | return ( | ||
| 87 | <el-radio-group v-model={scope.row.sfqydjyymb} disabled={scope.row.sftsdjqx == '1'} onChange={(val) => { scope.row[scope.column.property] = val }}> | ||
| 88 | <el-radio label={'1'}>启用</el-radio> | ||
| 89 | <el-radio label={'0'}>禁用</el-radio> | ||
| 90 | </el-radio-group> | ||
| 91 | ) | ||
| 92 | } | ||
| 93 | }, | ||
| 94 | { | ||
| 95 | label: '移动', | 93 | label: '移动', |
| 96 | width: '100', | 94 | width: '100', |
| 97 | render: (h, scope) => { | 95 | render: (h, scope) => { |
| ... | @@ -106,16 +104,16 @@ class data extends filter { | ... | @@ -106,16 +104,16 @@ class data extends filter { |
| 106 | ] | 104 | ] |
| 107 | } | 105 | } |
| 108 | 106 | ||
| 109 | clxxCol () { | 107 | clxxCol() { |
| 110 | return [ | 108 | return [ |
| 111 | { | 109 | { |
| 112 | width: '60', | 110 | width: '60', |
| 113 | renderHeader: (h, scope) => { | 111 | renderHeader: (h, scope) => { |
| 114 | return <i class="el-icon-plus pointer" onClick={() => { vm.handleAdd() }} style="color:#409EFF"></i> | 112 | return <i class="el-icon-plus pointer" onClick={() => { vm.addClxx() }} style="color:#409EFF"></i> |
| 115 | }, | 113 | }, |
| 116 | render: (h, scope) => { | 114 | render: (h, scope) => { |
| 117 | return ( | 115 | return ( |
| 118 | <i class="el-icon-minus pointer" onClick={() => { vm.handleMinus(scope.$index, scope.row) }}></i> | 116 | <i class="el-icon-minus pointer" onClick={() => { vm.removeClxx(scope.$index, scope.row) }}></i> |
| 119 | ) | 117 | ) |
| 120 | } | 118 | } |
| 121 | }, | 119 | }, |
| ... | @@ -181,10 +179,11 @@ class data extends filter { | ... | @@ -181,10 +179,11 @@ class data extends filter { |
| 181 | }, | 179 | }, |
| 182 | { | 180 | { |
| 183 | label: '是否公共材料', | 181 | label: '是否公共材料', |
| 182 | prop: 'sfggcl', | ||
| 184 | width: '110', | 183 | width: '110', |
| 185 | render: (h, scope) => { | 184 | render: (h, scope) => { |
| 186 | return ( | 185 | return ( |
| 187 | <el-radio-group v-model={scope.row.sfggcl} onChange={(val) => { scope.row[scope.column.property] = val; vm.handleSelectGgcl(scope.row) }}> | 186 | <el-radio-group value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}> |
| 188 | <el-radio label={'1'}>是</el-radio> | 187 | <el-radio label={'1'}>是</el-radio> |
| 189 | <el-radio label={'0'}>否</el-radio> | 188 | <el-radio label={'0'}>否</el-radio> |
| 190 | </el-radio-group> | 189 | </el-radio-group> | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <el-dialog :title="sqqlRule.nodename" custom-class="dialogBox contentCenter" width="80%" top="0" | 2 | <el-dialog |
| 3 | :visible.sync="dialogVisible" :before-close="cancelDialog"> | 3 | :title="sqqlRule.nodename" |
| 4 | custom-class="dialogBox contentCenter" | ||
| 5 | width="80%" | ||
| 6 | top="0" | ||
| 7 | :visible.sync="dialogVisible" | ||
| 8 | :before-close="cancelDialog" | ||
| 9 | > | ||
| 4 | <ul class="edit-title-list" v-if="djlxList.length > 0"> | 10 | <ul class="edit-title-list" v-if="djlxList.length > 0"> |
| 5 | <li v-for="(item, index) in djlxList" @click="handleTitleSelct(item, index)" :key="index" | 11 | <li |
| 6 | :class="{ active: index == tn }"> | 12 | v-for="(item, index) in djlxList" |
| 13 | @click="handleTitleSelct(item, index)" | ||
| 14 | :key="index" | ||
| 15 | :class="{ active: index == tn }" | ||
| 16 | > | ||
| 7 | {{ item.nodename }} | 17 | {{ item.nodename }} |
| 8 | </li> | 18 | </li> |
| 9 | </ul> | 19 | </ul> |
| ... | @@ -12,8 +22,18 @@ | ... | @@ -12,8 +22,18 @@ |
| 12 | <el-row> | 22 | <el-row> |
| 13 | <el-col :span="8"> | 23 | <el-col :span="8"> |
| 14 | <el-form-item label="申请分类"> | 24 | <el-form-item label="申请分类"> |
| 15 | <el-select v-model="form.ywDetail.sqfl" disabled placeholder="请选择" class="width100"> | 25 | <el-select |
| 16 | <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"> | 26 | v-model="form.ywDetail.sqfl" |
| 27 | disabled | ||
| 28 | placeholder="请选择" | ||
| 29 | class="width100" | ||
| 30 | > | ||
| 31 | <el-option | ||
| 32 | v-for="item in options" | ||
| 33 | :key="item.value" | ||
| 34 | :label="item.label" | ||
| 35 | :value="item.value" | ||
| 36 | > | ||
| 17 | </el-option> | 37 | </el-option> |
| 18 | </el-select> | 38 | </el-select> |
| 19 | </el-form-item> | 39 | </el-form-item> |
| ... | @@ -32,8 +52,18 @@ | ... | @@ -32,8 +52,18 @@ |
| 32 | <el-row> | 52 | <el-row> |
| 33 | <el-col :span="8"> | 53 | <el-col :span="8"> |
| 34 | <el-form-item label="发起业务单元类型"> | 54 | <el-form-item label="发起业务单元类型"> |
| 35 | <el-select v-model="form.ywDetail.fqywdylx" disabled placeholder="请选择" class="width100"> | 55 | <el-select |
| 36 | <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"> | 56 | v-model="form.ywDetail.fqywdylx" |
| 57 | disabled | ||
| 58 | placeholder="请选择" | ||
| 59 | class="width100" | ||
| 60 | > | ||
| 61 | <el-option | ||
| 62 | v-for="item in options" | ||
| 63 | :key="item.value" | ||
| 64 | :label="item.label" | ||
| 65 | :value="item.value" | ||
| 66 | > | ||
| 37 | </el-option> | 67 | </el-option> |
| 38 | </el-select> | 68 | </el-select> |
| 39 | </el-form-item> | 69 | </el-form-item> |
| ... | @@ -64,20 +94,42 @@ | ... | @@ -64,20 +94,42 @@ |
| 64 | </el-col> | 94 | </el-col> |
| 65 | <el-col :span="8"> | 95 | <el-col :span="8"> |
| 66 | <el-form-item label="登记情形及材料"> | 96 | <el-form-item label="登记情形及材料"> |
| 67 | <el-input v-model="form.ywDetail.djqxcl" placeholder="仅支持execl文件导入"></el-input> | 97 | <el-input |
| 98 | v-model="form.ywDetail.djqxcl" | ||
| 99 | placeholder="仅支持execl文件导入" | ||
| 100 | ></el-input> | ||
| 68 | </el-form-item> | 101 | </el-form-item> |
| 69 | </el-col> | 102 | </el-col> |
| 70 | <el-col :span="1"> | 103 | <el-col :span="1"> |
| 71 | <el-upload ref="upload" :action="imgUploadUrl" :limit="1" accept=".xls, .xlsx" :show-file-list="false" | 104 | <el-upload |
| 72 | :disabled="requested" :file-list="fileList" :before-upload="uploadRecord" :on-success="handleSuccess"> | 105 | ref="upload" |
| 73 | <el-button type="primary" icon="el-icon-upload" :loading="requested">上传材料</el-button> | 106 | :action="imgUploadUrl" |
| 107 | :limit="1" | ||
| 108 | accept=".xls, .xlsx" | ||
| 109 | :show-file-list="false" | ||
| 110 | :disabled="requested" | ||
| 111 | :file-list="fileList" | ||
| 112 | :before-upload="uploadRecord" | ||
| 113 | :on-success="handleSuccess" | ||
| 114 | > | ||
| 115 | <el-button | ||
| 116 | type="primary" | ||
| 117 | icon="el-icon-upload" | ||
| 118 | :loading="requested" | ||
| 119 | >上传材料</el-button | ||
| 120 | > | ||
| 74 | </el-upload> | 121 | </el-upload> |
| 75 | </el-col> | 122 | </el-col> |
| 76 | </el-row> | 123 | </el-row> |
| 77 | <el-row> | 124 | <el-row> |
| 78 | <el-col :span="24"> | 125 | <el-col :span="24"> |
| 79 | <el-form-item label="登记原因模板" prop="djyy"> | 126 | <el-form-item label="登记原因模板" prop="djyy"> |
| 80 | <el-input type="textarea" :rows="4" placeholder="请输入内容" v-model="form.ywDetail.djyy"> | 127 | <el-input |
| 128 | type="textarea" | ||
| 129 | :rows="4" | ||
| 130 | placeholder="请输入内容" | ||
| 131 | v-model="form.ywDetail.djyy" | ||
| 132 | > | ||
| 81 | </el-input> | 133 | </el-input> |
| 82 | </el-form-item> | 134 | </el-form-item> |
| 83 | </el-col> | 135 | </el-col> |
| ... | @@ -85,18 +137,35 @@ | ... | @@ -85,18 +137,35 @@ |
| 85 | </el-form> | 137 | </el-form> |
| 86 | <el-collapse accordion> | 138 | <el-collapse accordion> |
| 87 | <el-collapse-item title="登记情形设置" name="1"> | 139 | <el-collapse-item title="登记情形设置" name="1"> |
| 88 | <lb-table :column="djqxCol" border :pagination="false" heightNumSetting :data="form.djqx"> | 140 | <lb-table |
| 141 | :column="djqxCol" | ||
| 142 | border | ||
| 143 | :pagination="false" | ||
| 144 | heightNumSetting | ||
| 145 | :data="form.djqx" | ||
| 146 | > | ||
| 89 | </lb-table> | 147 | </lb-table> |
| 90 | </el-collapse-item> | 148 | </el-collapse-item> |
| 91 | <el-collapse-item title="材料信息设置" name="2"> | 149 | <el-collapse-item title="材料信息设置" name="2"> |
| 92 | <lb-table :column="clxxCol" border heightNumSetting :pagination="false" :data="form.clxx"> | 150 | <lb-table |
| 151 | :column="clxxCol" | ||
| 152 | border | ||
| 153 | heightNumSetting | ||
| 154 | :pagination="false" | ||
| 155 | :data="form.clxx" | ||
| 156 | > | ||
| 93 | </lb-table> | 157 | </lb-table> |
| 94 | </el-collapse-item> | 158 | </el-collapse-item> |
| 95 | <el-collapse-item title="刷选权利设置" name="3" v-if="form.ywDetail.sfsxql == '1'"> | 159 | <el-collapse-item |
| 160 | title="刷选权利设置" | ||
| 161 | name="3" | ||
| 162 | v-if="form.ywDetail.sfsxql == '1'" | ||
| 163 | > | ||
| 96 | <div class="dyztsd-title"> | 164 | <div class="dyztsd-title"> |
| 97 | <b>请勾选需要查询的权利信息</b> | 165 | <b>请勾选需要查询的权利信息</b> |
| 98 | <div> | 166 | <div> |
| 99 | <el-button type="text" @click="handleSelectall">选择全部 | 167 | <el-button type="text" @click="handleSelectall" |
| 168 | >选择全部 | ||
| 100 | </el-button> | 169 | </el-button> |
| 101 | <el-button type="text" @click="handleInvert">清除全部</el-button> | 170 | <el-button type="text" @click="handleInvert">清除全部</el-button> |
| 102 | </div> | 171 | </div> |
| ... | @@ -116,10 +185,6 @@ | ... | @@ -116,10 +185,6 @@ |
| 116 | <div class="screen-list-left"> | 185 | <div class="screen-list-left"> |
| 117 | {{ item.sxzdmc }} : | 186 | {{ item.sxzdmc }} : |
| 118 | <el-checkbox v-model="item.checked">禁止办理</el-checkbox> | 187 | <el-checkbox v-model="item.checked">禁止办理</el-checkbox> |
| 119 | <!-- <el-radio-group v-model="item.selected"> | ||
| 120 | <el-radio label="1">禁止办理</el-radio> | ||
| 121 | <el-radio label="0">忽略</el-radio> | ||
| 122 | </el-radio-group> --> | ||
| 123 | </div> | 188 | </div> |
| 124 | </li> | 189 | </li> |
| 125 | </ul> | 190 | </ul> |
| ... | @@ -155,7 +220,7 @@ export default { | ... | @@ -155,7 +220,7 @@ export default { |
| 155 | }, | 220 | }, |
| 156 | components: {}, | 221 | components: {}, |
| 157 | name: "componentDialog", | 222 | name: "componentDialog", |
| 158 | data () { | 223 | data() { |
| 159 | return { | 224 | return { |
| 160 | tn: 0, | 225 | tn: 0, |
| 161 | n: 0, | 226 | n: 0, |
| ... | @@ -170,12 +235,12 @@ export default { | ... | @@ -170,12 +235,12 @@ export default { |
| 170 | computed: { | 235 | computed: { |
| 171 | ...mapGetters(["dictData"]), | 236 | ...mapGetters(["dictData"]), |
| 172 | }, | 237 | }, |
| 173 | mounted () { | 238 | mounted() { |
| 174 | sendThis(this); | 239 | sendThis(this); |
| 175 | }, | 240 | }, |
| 176 | methods: { | 241 | methods: { |
| 177 | //页面初始化 | 242 | //页面初始化 |
| 178 | init () { | 243 | init() { |
| 179 | this.tn = 0; | 244 | this.tn = 0; |
| 180 | getDjlxInfo(this.sqqlRule.bsmSqyw).then((res) => { | 245 | getDjlxInfo(this.sqqlRule.bsmSqyw).then((res) => { |
| 181 | let { result } = res; | 246 | let { result } = res; |
| ... | @@ -189,13 +254,13 @@ export default { | ... | @@ -189,13 +254,13 @@ export default { |
| 189 | //} | 254 | //} |
| 190 | }, | 255 | }, |
| 191 | //tab选项卡事件 | 256 | //tab选项卡事件 |
| 192 | handleTitleSelct (obj, index) { | 257 | handleTitleSelct(obj, index) { |
| 193 | this.n = 0; | 258 | this.n = 0; |
| 194 | this.tn = index; | 259 | this.tn = index; |
| 195 | this.getDetail(this.djlxList[index].bsmSqyw); | 260 | this.getDetail(this.djlxList[index].bsmSqyw); |
| 196 | }, | 261 | }, |
| 197 | //获取业务具体明细内容 | 262 | //获取业务具体明细内容 |
| 198 | getDetail (bsmSqyw) { | 263 | getDetail(bsmSqyw) { |
| 199 | getSqdjywDetail(bsmSqyw).then((res) => { | 264 | getSqdjywDetail(bsmSqyw).then((res) => { |
| 200 | if (res.code === 200) { | 265 | if (res.code === 200) { |
| 201 | this.form = res.result; | 266 | this.form = res.result; |
| ... | @@ -205,7 +270,7 @@ export default { | ... | @@ -205,7 +270,7 @@ export default { |
| 205 | }); | 270 | }); |
| 206 | }, | 271 | }, |
| 207 | //提交保存数据 | 272 | //提交保存数据 |
| 208 | submit () { | 273 | submit() { |
| 209 | let that = this; | 274 | let that = this; |
| 210 | saveSqdjyw(this.form).then((res) => { | 275 | saveSqdjyw(this.form).then((res) => { |
| 211 | if (res.code == 200) { | 276 | if (res.code == 200) { |
| ... | @@ -218,25 +283,49 @@ export default { | ... | @@ -218,25 +283,49 @@ export default { |
| 218 | }); | 283 | }); |
| 219 | }, | 284 | }, |
| 220 | //修改父组件传过来的值 | 285 | //修改父组件传过来的值 |
| 221 | cancelDialog () { | 286 | cancelDialog() { |
| 222 | this.$emit("update:dialogVisible", false); | 287 | this.$emit("update:dialogVisible", false); |
| 223 | }, | 288 | }, |
| 224 | // 上移下移 | 289 | // 上移下移 |
| 225 | moveUpward (index, row, type) { | 290 | moveUpward(index, row, type) { |
| 226 | if (type == "clxx") { | 291 | if (type == "clxx") { |
| 227 | upward(index, this.form.clxx) | 292 | upward(index, this.form.clxx); |
| 228 | } else { | 293 | } else { |
| 229 | upward(index, this.form.djqx) | 294 | upward(index, this.form.djqx); |
| 230 | } | 295 | } |
| 231 | |||
| 232 | }, | 296 | }, |
| 233 | moveDown (index, row, type) { | 297 | moveDown(index, row, type) { |
| 234 | if (type == "clxx") { | 298 | if (type == "clxx") { |
| 235 | down(index, this.form.clxx) | 299 | down(index, this.form.clxx); |
| 236 | } else { | 300 | } else { |
| 237 | down(index, this.form.djqx) | 301 | down(index, this.form.djqx); |
| 238 | } | 302 | } |
| 239 | }, | 303 | }, |
| 304 | addDjqx() { | ||
| 305 | this.form.djqx.push({ | ||
| 306 | nodecode: "", | ||
| 307 | nodename: "", | ||
| 308 | enabled: "1", | ||
| 309 | djyy: "", | ||
| 310 | sfqydjyymb: "0", | ||
| 311 | }); | ||
| 312 | }, | ||
| 313 | removeDjqx(index, row) { | ||
| 314 | this.form.djqx.splice(index, 1); | ||
| 315 | }, | ||
| 316 | addClxx() { | ||
| 317 | this.form.clxx.push({ | ||
| 318 | isrequired: "1", | ||
| 319 | djqxbm: "", | ||
| 320 | clbm: "", | ||
| 321 | clmc: "", | ||
| 322 | cllx: "", | ||
| 323 | sfggcl: "1", | ||
| 324 | }); | ||
| 325 | }, | ||
| 326 | removeClxx(index, row) { | ||
| 327 | this.form.clxx.splice(index, 1); | ||
| 328 | }, | ||
| 240 | }, | 329 | }, |
| 241 | }; | 330 | }; |
| 242 | </script> | 331 | </script> | ... | ... |
| ... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ |
| 3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
| 4 | <el-tabs v-model="activeName" @tab-click="handleTabClick" v-if="!isJump"> | 4 | <el-tabs v-model="activeName" @tab-click="handleTabClick" v-if="!isJump"> |
| 5 | <el-tab-pane label="自然幢" name="zrz"></el-tab-pane> | 5 | <el-tab-pane label="自然幢" name="zrz"></el-tab-pane> |
| 6 | <el-tab-pane label="户" name="h"></el-tab-pane> | 6 | <el-tab-pane label="多幢" name="h"></el-tab-pane> |
| 7 | </el-tabs> | 7 | </el-tabs> |
| 8 | <el-form :model="queryForm" ref="queryForm" label-width="110px"> | 8 | <el-form :model="queryForm" ref="queryForm" label-width="110px"> |
| 9 | <el-row> | 9 | <el-row> | ... | ... |
-
Please register or sign in to post a comment