968c0595 by renchao@pashanhoo.com

style:业务流程

1 parent 081031ab
......@@ -54,4 +54,16 @@ export function saveBatchData (data) {
})
}
/**
* @description: 保存
* @param {*} data
* @author: renchao
*/
export function saveData (data) {
return request({
url: SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/saveData",
method: 'post',
data
})
}
......
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2023-05-24 15:19:52
* @LastEditTime: 2023-05-24 16:02:39
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -17,8 +17,8 @@
</div>
<el-menu :default-active="activeIndex" @select="unitClick">
<el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index">
<span class="dot" v-if="item.issave == '0'"></span>
<div>
<p class="dot" v-if="item.issave == '0'"></p>
<div class="menu-con">
<p>{{ item.bdcdyh }}</p>
<p class="title-detail">{{ item.zl }}</p>
</div>
......
......@@ -39,12 +39,20 @@
border-radius: 50%;
}
.menu-con {
width: 87%;
}
.batchDel {
float: right;
position: relative;
top: 3px;
}
.el-icon-delete {
margin-top: 10px;
}
.title-detail {
display: flex;
flex-wrap: wrap;
......@@ -98,8 +106,9 @@
height: calc(100% - 80px);
}
/deep/.el-menu-item {
.el-menu-item {
padding-left: 5px !important;
display: flex;
}
/deep/.el-menu {
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:43:23
* @LastEditTime: 2023-05-24 16:20:34
-->
<template>
<div class="slxx">
......@@ -197,7 +197,7 @@
</el-col>
</el-row>
</div>
<el-row class="btn" v-if="!$route.query.viewtype">
<el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'">
<el-form-item>
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
......@@ -207,7 +207,7 @@
</template>
<script>
import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js";
import { Init, saveData } from "@/api/workflow/fwsyqFlow.js";
import { mapGetters } from "vuex";
export default {
created () {
......@@ -252,7 +252,7 @@
this.ruleForm.ywrList = _.cloneDeep(val);
},
onSubmit () {
saveBatchData(this.ruleForm).then((res) => {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
......@@ -263,13 +263,13 @@
this.$message({
showClose: true,
message: res.message,
type: "error",
});
type: "error"
})
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang='scss'>
@import "~@/styles/public.scss";
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:43:30
* @LastEditTime: 2023-05-24 16:21:13
-->
<template>
<div class="slxx">
......@@ -181,7 +181,7 @@
</el-col>
</el-row>
</div>
<el-row class="btn" v-if="!$route.query.viewtype">
<el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'">
<el-form-item>
<el-button type="primary" @click="onSubmit">保存</el-button>
</el-form-item>
......@@ -191,7 +191,7 @@
</template>
<script>
import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js";
import { Init, saveData } from "@/api/workflow/fwsyqFlow.js";
import { mapGetters } from "vuex";
export default {
async created () {
......@@ -276,7 +276,7 @@
},
onSubmit () {
saveBatchData(this.ruleForm).then((res) => {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
showClose: true,
......
......@@ -89,9 +89,9 @@
<el-col :span="8">
<el-form-item label="取得价格:">
<div style="display:flex">
<el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" :disabled="$route.query.viewtype"
<el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" :disabled="$route.query.viewtype == '1'"
oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
<el-select v-model="ruleForm.jsydsyq.jedw" :disabled="$route.query.viewtype">
<el-select v-model="ruleForm.jsydsyq.jedw" :disabled="$route.query.viewtype == '1'">
<el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
</el-option>
</el-select>
......@@ -121,7 +121,7 @@
<el-row :gutter="10">
<el-col>
<el-form-item label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype"></el-input>
<el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype == '1'"></el-input>
</el-form-item>
</el-col>
</el-row>
......