Commit 8755e7aa by 西瓜

提示

parent 7d444c1c
......@@ -823,6 +823,7 @@
propBottonType="Xdzl"
:isdisabledXdzl="isdisabledXdzl"
class="navxshc"
:rule='rules'
>
<span slot="button" v-if="!isdisabledXdzl">提交</span>
<span slot="button" v-else>已提交</span>
......@@ -1308,6 +1309,7 @@ export default {
isShowNav: false,
navDialog: false,
dialogTitle: "",
rules: {},
formFieldXdzl: [
{
name: "转办类型:",
......@@ -1403,7 +1405,7 @@ export default {
name: "可见范围:",
id: "sfjjsrkjPdbz",
ids: "sfjjsrkjPdbz",
// prop: "checkEmpty",
prop: "checkEmpty",
type: "radio",
value: "1",
placeholder: "",
......@@ -2400,9 +2402,15 @@ export default {
addXdzlgn(params).then((res) => {
this.xdzlFlag = false;
if (res.code == "200") {
self.$message.success("提交成功");
self.navDialog = false;
self.$parent.getblgg();
// self.$message.success("提交成功");
this.$alert('提交成功!', '提示', {
confirmButtonText: '确定',
type: 'success',
callback: () => {
self.navDialog = false;
self.$parent.getblgg();
}
})
if (this.$route.name == "sxjDetail") {
self.$parent.getXdzl();
self.$parent.getNav();
......@@ -2413,7 +2421,11 @@ export default {
// this.$router.go(0);
} else {
// self.$refs.formCommons.selectChanged()
self.$message.success("提交失败");
// self.$message.success("提交失败");
this.$alert('提交失败!', '提示', {
confirmButtonText: '确定',
type: 'error'
})
}
});
}
......@@ -2737,6 +2749,16 @@ export default {
},
},
watch: {
'formLabelAlignXdzl.tb': {
handler: function (val, oldval) {
if (val == '1') {
this.rules['sfjjsrkjPdbz'] = this.$rules.checkEmpty
} else {
this.rules['sfjjsrkjPdbz'] = null
}
},
deep: true
},
showHcfkshTable: {
handler(newName, oldName) {
this.showHcfkshTable = newName;
......@@ -3058,7 +3080,7 @@ export default {
#xsDet {
.active {
color: #fff !important;
border-left: 5px solid #0070f4;
border-left: 2px solid #0070f4;
background-color: #2a2e32 !important;
font-weight: bold !important;
}
......
......@@ -4679,6 +4679,7 @@ export default {
</script>
<style lang="scss" scoped>
.xsDetail {
}
.xsform {
......
......@@ -23,6 +23,7 @@
v-for="(item, index) in propFormField"
:key="index"
:class="'item' + item.col"
:rules="rules[item.id]"
>
<!--输入框-->
<el-input
......@@ -1267,6 +1268,8 @@ export default {
self.rules = self.rule
} else if (self.propSt == 'xs') {
self.rules = self.rule
}else if (self.propSt == 'hczljs') {
self.rules = self.rule
}
self.initFields()
},
......
......@@ -10,7 +10,7 @@
<div class="content">
<!--左侧导航-->
<div class="leftMenu" style="background:#343A3F">
<div class="leftMenu" style="background:#343A3F" >
<div
style="position: relative; left:44px ; top: px;float: right;text-align:center;cursor: pointer;line-height:23px;z-index: 99"
:title="isCollapse == true ? '展开' : '收缩'"
......
......@@ -3678,7 +3678,7 @@ export default {
.then(res => {
if (res.code == 200 && res.success == true) {
// self.$message.success('删除成功')
this.$alert('新增成功!', '提示', {
this.$alert('删除成功!', '提示', {
confirmButtonText: '确定',
type: 'success'
})
......
......@@ -224,7 +224,7 @@ body {
padding-top: 20px;
.el-menu {
width: 71px;
// width: 71px;
height: 100%;
background: #343A3F; // height: calc(100% - 456px);
......
......@@ -11,7 +11,7 @@
.main .leftMenu .el-menu .el-menu-item.is-active {
border-right: none !important;
border-left: 5px solid #0070f4;
border-left: 2px solid #0070f4;
background-color: #2a2e32 !important;
font-weight: bold;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment