Merge branch 'dev' of http://git.xayunmei.com/SH-Arbitrate/Mediation-Frontend into hcb
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<el-form :model="ruleForm" label-position="left" :rules="rules" ref="ruleForm" label-width="90px"
|
<el-form :model="ruleForm" label-position="left" :rules="rules" ref="ruleForm" label-width="90px"
|
||||||
class="demo-ruleForm">
|
class="demo-ruleForm">
|
||||||
<el-form-item label="节点名称" prop="nodeName">
|
<el-form-item label="节点名称" prop="nodeName">
|
||||||
<el-select v-model="ruleForm.nodeName" placeholder="请选择" @change="changenodeName">
|
<el-select v-model="ruleForm.nodeName" placeholder="请选择">
|
||||||
<el-option v-for="dict in dict.type.case_flow_node" :key="dict.value" :label="dict.label"
|
<el-option v-for="dict in dict.type.case_flow_node" :key="dict.value" :label="dict.label"
|
||||||
:value="dict.value"></el-option>
|
:value="dict.value"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -97,13 +97,14 @@ export default {
|
|||||||
addvisiable(val) {
|
addvisiable(val) {
|
||||||
if (val) {
|
if (val) {
|
||||||
this.ruleForm = this.editData;
|
this.ruleForm = this.editData;
|
||||||
console.log(this.ruleForm,'this.ruleForm');
|
|
||||||
this.getRoles();
|
this.getRoles();
|
||||||
this.getbackflowArr();
|
this.getbackflowArr();
|
||||||
if (this.ruleForm && this.ruleForm.fileName) {
|
if (this.ruleForm && this.ruleForm.fileName) {
|
||||||
this.imgSvgUrl = process.env.VUE_APP_BASE_API + this.ruleForm.fileName;
|
this.imgSvgUrl = process.env.VUE_APP_BASE_API + this.ruleForm.fileName;
|
||||||
|
this.imageUrl = process.env.VUE_APP_BASE_API + this.ruleForm.fileName
|
||||||
} else {
|
} else {
|
||||||
this.imgSvgUrl = ''
|
this.imgSvgUrl = ''
|
||||||
|
this.imageUrl = ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -121,9 +122,6 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
changenodeName(val) {
|
|
||||||
console.log(val, 'changeval');
|
|
||||||
},
|
|
||||||
// 获取驳回节点数据
|
// 获取驳回节点数据
|
||||||
getbackflowArr() {
|
getbackflowArr() {
|
||||||
let queryParams2 = {
|
let queryParams2 = {
|
||||||
@@ -161,13 +159,10 @@ export default {
|
|||||||
// 图标上传
|
// 图标上传
|
||||||
handleAvatarSuccess(res, file) {
|
handleAvatarSuccess(res, file) {
|
||||||
this.fileName = ''
|
this.fileName = ''
|
||||||
console.log(file.response.fileName,'上传成功的file');
|
|
||||||
this.imageUrl = URL.createObjectURL(file.raw);
|
this.imageUrl = URL.createObjectURL(file.raw);
|
||||||
this.fileName = file.response.fileName
|
this.fileName = file.response.fileName
|
||||||
console.log(this.imageUrl,'上传成功的this.imageUrl');
|
|
||||||
},
|
},
|
||||||
beforeAvatarUpload(file) {
|
beforeAvatarUpload(file) {
|
||||||
console.log(file,'file');
|
|
||||||
const isSvg = file.type === 'image/svg+xml';
|
const isSvg = file.type === 'image/svg+xml';
|
||||||
if (!isSvg) {
|
if (!isSvg) {
|
||||||
this.$message.error('上传图片只能是 SVG 格式!');
|
this.$message.error('上传图片只能是 SVG 格式!');
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ export default {
|
|||||||
position: relative;
|
position: relative;
|
||||||
margin-right: 38px;
|
margin-right: 38px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
.badge {
|
.badge {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
|
|||||||
Reference in New Issue
Block a user