dd63d517 by renchao@pashanhoo.com

style:编辑功能的完善

1 parent d344195e
......@@ -64,24 +64,20 @@ class data extends filter {
}
},
{
prop: 'sfqydjyymb',
label: '是否启用模板',
width: '140',
prop: 'djywbm',
label: '登记业务编码',
render: (h, scope) => {
return (
<el-radio-group value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}>
<el-radio label={'1'}>启用</el-radio>
<el-radio label={'0'}>禁用</el-radio>
</el-radio-group>
<el-input placeholder="登记业务编码" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input>
)
}
},
{
prop: 'djyy',
label: '登记原因模板',
prop: 'djywmc',
label: '登记业务名称',
render: (h, scope) => {
return (
<el-input placeholder="登记原因模板" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input>
<el-input placeholder="登记业务名称" value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val; orderNoChange() }}></el-input>
)
}
},
......@@ -189,7 +185,7 @@ class data extends filter {
{
prop: 'djqxbm',
label: '登记情形',
width: '180',
width: '230',
render: (h, scope) => {
return (
<el-select disabled={scope.row.sfggcl == '1'} value={scope.row[scope.column.property]}
......@@ -197,7 +193,7 @@ class data extends filter {
{
vm.form.djqx.map(option => {
return (
<el-option label={option.nodename} value={option.nodecode}></el-option>
<el-option label={option.nodename} value={option.bsmSqyw}></el-option>
)
})
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-17 15:26:20
* @LastEditTime: 2023-10-13 09:14:12
-->
<template>
<div>
......@@ -115,7 +115,7 @@
:pagination="false" :data="form.clxx">
</lb-table>
</el-collapse-item>
<el-collapse-item title="选权利设置" name="3" v-if="form.sqdjyw && form.sqdjyw.sfsxql == '1'">
<el-collapse-item title="选权利设置" name="3" v-if="form.sqdjyw && form.sqdjyw.sfsxql == '1'">
<div class="dyztsd-title">
<b>请勾选需要查询的权利信息</b>
<div>
......@@ -262,17 +262,19 @@
this.tn = index;
this.getDetail(this.djlxList[index].bsmSqyw);
},
//获取业务具体明细内容
/**
* @description: 获取业务具体明细内容
* @param {*} bsmSqyw
* @author: renchao
*/
getDetail (bsmSqyw) {
let _this = this
let that = this
getSqdjywDetail(bsmSqyw).then((res) => {
if (res.code === 200) {
_this.form = res.result;
this.form = res.result;
if (that.formData.sqfl == "2") {
that.form.djqx = that.form.djlx.map(item => ({ nodename: item.djywmc + '+' + item.nodename, bsmSqyw: item.bsmSqyw }))
}
// _this.form.bsmSqyw = res.result.bsmSqyw;
// _this.form.ywDetail = res.result.ywDetail;
// _this.$set(_this.form, 'djqx', res.result.djqx);
......@@ -303,8 +305,17 @@
});
this.$popupCacel()
}
}).catch(() => {
this.loading = false
})
},
// 筛选权利设置
handleSelectall () {
this.form.sxql.forEach(item => item.checked = true)
},
handleInvert () {
this.form.sxql.forEach(item => item.checked = false)
},
/**
* @description: 上移下移
* @param {*} index
......
......@@ -80,7 +80,6 @@
};
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
......@@ -98,7 +97,6 @@
}
);
},
// 修改
/**
* @description: 修改
* @param {*} row
......@@ -106,7 +104,6 @@
*/
editClick (row) {
this.sqqlRule = row;
// this.dialogVisible = true;
this.$popupDialog(row.nodename, "system/sqywgz/sqywDetail", this.sqqlRule, '80%')
}
}
......