b56af25e by 蔡俊立
2 parents 8e24c190 1d3c7e3a
...@@ -97,7 +97,7 @@ loadingDirective.install = Vue => { ...@@ -97,7 +97,7 @@ loadingDirective.install = Vue => {
97 const mask = new Mask({ 97 const mask = new Mask({
98 el: document.createElement('div'), 98 el: document.createElement('div'),
99 data: { 99 data: {
100 text: vm && vm[textExr] || textExr, 100 text: vm && vm[textExr] || textExr || '正在加载中...',
101 spinner: vm && vm[spinnerExr] || spinnerExr, 101 spinner: vm && vm[spinnerExr] || spinnerExr,
102 background: vm && vm[backgroundExr] || backgroundExr, 102 background: vm && vm[backgroundExr] || backgroundExr,
103 customClass: vm && vm[customClassExr] || customClassExr, 103 customClass: vm && vm[customClassExr] || customClassExr,
......
...@@ -3,10 +3,6 @@ ...@@ -3,10 +3,6 @@
3 <div v-show="visible" class="el-loading-mask" :style="{ backgroundColor: background || '' }" 3 <div v-show="visible" class="el-loading-mask" :style="{ backgroundColor: background || '' }"
4 :class="[customClass, { 'is-fullscreen': fullscreen }]"> 4 :class="[customClass, { 'is-fullscreen': fullscreen }]">
5 <div class="el-loading-spinner"> 5 <div class="el-loading-spinner">
6 <!-- <svg v-if="!spinner" class="circular" viewBox="25 25 50 50">
7 <circle class="path" cx="50" cy="50" r="20" fill="none" />
8 </svg>
9 <i v-else :class="spinner"></i> -->
10 <img class="img" src="../../../image/progress.gif" alt=""> 6 <img class="img" src="../../../image/progress.gif" alt="">
11 <p v-if="text" class="el-loading-text">{{ text }}</p> 7 <p v-if="text" class="el-loading-text">{{ text }}</p>
12 </div> 8 </div>
......
...@@ -3,10 +3,6 @@ ...@@ -3,10 +3,6 @@
3 <div v-show="visible" class="el-loading-mask" :style="{ backgroundColor: background || '' }" 3 <div v-show="visible" class="el-loading-mask" :style="{ backgroundColor: background || '' }"
4 :class="[customClass, { 'is-fullscreen': fullscreen }]"> 4 :class="[customClass, { 'is-fullscreen': fullscreen }]">
5 <div class="el-loading-spinner"> 5 <div class="el-loading-spinner">
6 <!-- <svg v-if="!spinner" class="circular" viewBox="25 25 50 50">
7 <circle class="path" cx="50" cy="50" r="20" fill="none" />
8 </svg>
9 <i v-else :class="spinner"></i> -->
10 <img class="img" src="../../../image/progress.gif" alt=""> 6 <img class="img" src="../../../image/progress.gif" alt="">
11 <p v-if="text" class="el-loading-text">{{ text }}</p> 7 <p v-if="text" class="el-loading-text">{{ text }}</p>
12 </div> 8 </div>
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
93 <i class="el-icon-s-unfold pointer"></i> 93 <i class="el-icon-s-unfold pointer"></i>
94 </div> 94 </div>
95 <ul> 95 <ul>
96 <li v-for="(item, index) in doneList.slice(0, 10)" :key="index" class="flexst dynamicInfo"> 96 <li v-for="(item, index) in doneList.slice(0, 13)" :key="index" class="flexst dynamicInfo">
97 <p class="right15">{{ item.dealTime.substring(0, 10) }}</p> 97 <p class="right15">{{ item.dealTime.substring(0, 10) }}</p>
98 <p class="list-title">{{ item.dealBusiness }} ({{ item.dealStep + '环节' }})</p> 98 <p class="list-title">{{ item.dealBusiness }} ({{ item.dealStep + '环节' }})</p>
99 </li> 99 </li>
......
1 <template> 1 <template>
2 <dialogBox title="常用意见" width="60%" isMain v-model="value" @closeDialog="closeDialog" :isButton="false"> 2 <div>
3 <div> 3 <dialogBox title="常用意见" :fullscreen="false" width="60%" isMain v-model="value" @closeDialog="closeDialog"
4 <el-button type="primary" native-type="submit" @click="openDialog()">新增常用</el-button> 4 :isButton="false">
5 <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total" 5 <el-button type="primary" native-type="submit" @click="openDialog()">新增常用</el-button>
6 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="columns" 6 <lb-table :page-size="pageData.size" heightNumSetting :current-page.sync="pageData.current"
7 :data="tableData.data"> 7 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
8 </lb-table> 8 :column="columns" :data="tableData.data">
9 <el-dialog title="新增意见" :visible.sync="addDialog" width="50%" :modal="false" top="30vh"> 9 </lb-table>
10 <el-form ref="form" :model="form" :rules="rules" label-width="80px"> 10 <div style="height:15px"></div>
11 <el-form-item prop="commonOpinion">
12 <div class="invalid-reson">常用意见:</div>
13 <el-input v-model="form.commonOpinion" placeholder="请输入常用意见" type="textarea" :rows="4"></el-input>
14 </el-form-item>
15 <el-form-item>
16 <div class="dialog-footer">
17 <el-button @click="closeaddDiglog()">取 消</el-button>
18 <el-button type="primary" @click="addOpinion()">确 定</el-button>
19 </div>
20 </el-form-item>
21 </el-form>
22 <!-- <div class="invalid-reson">常用意见:</div>
23 <el-input v-model="commonOpinion" placeholder="请输入常用意见" type="textarea" :rows="4"></el-input>
24 <div class="dialog-footer">
25 <el-button @click="closeaddDiglog()">取 消</el-button>
26 <el-button type="primary" @click="addOpinion()">确 定</el-button>
27 </div> -->
28 </el-dialog>
29 </div>
30 </dialogBox> 11 </dialogBox>
12 <el-dialog title="新增意见" custom-class="dialogBox" :visible.sync="addDialog" width="50%" :append-to-body="true"
13 :modal="false">
14 <el-form ref="form" :model="form" :rules="rules" label-width="80px">
15 <el-form-item prop="commonOpinion">
16 <div class="invalid-reson">常用意见:</div>
17 <el-input v-model="form.commonOpinion" placeholder="请输入常用意见" type="textarea" :rows="4"></el-input>
18 </el-form-item>
19 <el-form-item>
20 <div class="dialog-footer">
21 <el-button @click="closeaddDiglog">取 消</el-button>
22 <el-button type="primary" @click="addOpinion">确 定</el-button>
23 </div>
24 </el-form-item>
25 </el-form>
26 </el-dialog>
27 </div>
31 </template> 28 </template>
32 <script> 29 <script>
33 import table from "@/utils/mixin/table"; 30 import table from "@/utils/mixin/table";
34 import { getUserCommonOpinion,addUserCommonOpinion,delUserCommonOpinion } from "@/api/fqsq.js" 31 import { getUserCommonOpinion, addUserCommonOpinion, delUserCommonOpinion } from "@/api/fqsq.js"
35 export default { 32 export default {
36 components: {}, 33 components: {},
37 mixins: [table], 34 mixins: [table],
38 props: { 35 props: {
39 value: { type: Boolean, default: false }, 36 value: { type: Boolean, default: false },
40 }, 37 },
41 data () { 38 data () {
42 return { 39 return {
...@@ -72,33 +69,33 @@ export default { ...@@ -72,33 +69,33 @@ export default {
72 }, 69 },
73 rules: { 70 rules: {
74 commonOpinion: [ 71 commonOpinion: [
75 { required: true, message: '请输入常用意见', trigger: 'blur' }, 72 { required: true, message: '请输入常用意见', trigger: 'blur' },
76 ], 73 ],
77 }, 74 },
78 addDialog: false, 75 addDialog: false,
79 } 76 }
80 }, 77 },
81 mounted() { 78 mounted () {
82 this.queryClick () 79 this.queryClick()
83 }, 80 },
84 methods: { 81 methods: {
85 queryClick (){ 82 queryClick () {
86 getUserCommonOpinion(this.pageData).then(res => { 83 getUserCommonOpinion(this.pageData).then(res => {
87 let { total, records } = res.result 84 let { total, records } = res.result
88 this.tableData.total = total; 85 this.tableData.total = total;
89 this.tableData.data = records ? records : [] 86 this.tableData.data = records ? records : []
90 }) 87 })
91 }, 88 },
92 //新增常用意见 89 //新增常用意见
93 addOpinion(){ 90 addOpinion () {
94 this.$refs.form.validate(valid => { 91 this.$refs.form.validate(valid => {
95 if (valid) { 92 if (valid) {
96 addUserCommonOpinion({commonOpinion: this.form.commonOpinion}).then(res => { 93 addUserCommonOpinion({ commonOpinion: this.form.commonOpinion }).then(res => {
97 if(res.code == 200){ 94 if (res.code == 200) {
98 this.closeaddDiglog(); 95 this.closeaddDiglog();
99 this.queryList() 96 this.queryList()
100 }else{ 97 } else {
101 this.$message.error(res.message) 98 this.$message.error(res.message)
102 } 99 }
103 }) 100 })
104 } else { 101 } else {
...@@ -108,35 +105,35 @@ export default { ...@@ -108,35 +105,35 @@ export default {
108 }); 105 });
109 }, 106 },
110 //打开新增弹窗 107 //打开新增弹窗
111 openDialog() { 108 openDialog () {
112 this.addDialog = true 109 this.addDialog = true
113 }, 110 },
114 //关闭新增弹窗 111 //关闭新增弹窗
115 closeaddDiglog() { 112 closeaddDiglog () {
116 this.addDialog = false; 113 this.addDialog = false;
117 this.form.commonOpinion = ""; 114 this.$refs['form'].resetFields();
118 }, 115 },
119 //使用常用意见 116 //使用常用意见
120 useCommonOpinion(item){ 117 useCommonOpinion (item) {
121 this.$parent.useOpinion(item.opinion); 118 this.$parent.useOpinion(item.opinion);
122 this.$emit("input", false); 119 this.$emit("input", false);
123 }, 120 },
124 //删除常用意见 121 //删除常用意见
125 deleteOpinion(item){ 122 deleteOpinion (item) {
126 this.$confirm("确定要删除吗, 是否继续?", "提示", { 123 this.$confirm("确定要删除吗, 是否继续?", "提示", {
127 confirmButtonText: "确定", 124 confirmButtonText: "确定",
128 cancelButtonText: "取消", 125 cancelButtonText: "取消",
129 type: "warning", 126 type: "warning",
130 }).then(() => { 127 }).then(() => {
131 delUserCommonOpinion({bsmOpinion: item.bsmOpinion}).then(res => { 128 delUserCommonOpinion({ bsmOpinion: item.bsmOpinion }).then(res => {
132 if(res.code == 200){ 129 if (res.code == 200) {
133 this.$message.success("删除成功") 130 this.$message.success("删除成功")
134 this.queryClick() 131 this.queryClick()
135 }else{ 132 } else {
136 this.$message.error(res.message) 133 this.$message.error(res.message)
137 } 134 }
138 })
139 }) 135 })
136 })
140 .catch(() => { 137 .catch(() => {
141 this.$message({ 138 this.$message({
142 type: "info", 139 type: "info",
...@@ -153,12 +150,16 @@ export default { ...@@ -153,12 +150,16 @@ export default {
153 } 150 }
154 </script> 151 </script>
155 <style scoped lang='scss'> 152 <style scoped lang='scss'>
156 .invalid-reson { 153 @import "~@/styles/mixin.scss";
157 margin-bottom: 10px; 154 @import "~@/styles/dialogBox.scss";
158 } 155
159 .dialog-footer { 156 .invalid-reson {
160 margin-top: 10px; 157 margin-bottom: 10px;
161 display: flex; 158 }
162 justify-content: flex-end; 159
163 } 160 .dialog-footer {
161 margin-top: 10px;
162 display: flex;
163 justify-content: flex-end;
164 }
164 </style> 165 </style>
...\ No newline at end of file ...\ No newline at end of file
......
1 <template> 1 <template>
2 <div class="from-clues loadingtext" v-Loading="loading" style="height:720px"> 2 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px">
3 <!-- 表单部分 --> 3 <!-- 表单部分 -->
4 <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length > 1"> 4 <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length > 1">
5 <el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bsmBdcqz" 5 <el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bsmBdcqz"
......
1 <template> 1 <template>
2 <!-- 受理信息 --> 2 <!-- 受理信息 -->
3 <div class="slxx"> 3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 4 <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''"
5 label-width="140px"> 5 :inline="flag" label-width="140px">
6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
7 <div class="slxx_title title-block"> 7 <div class="slxx_title title-block">
8 受理信息 8 受理信息
...@@ -107,7 +107,6 @@ ...@@ -107,7 +107,6 @@
107 <el-row :gutter="10"> 107 <el-row :gutter="10">
108 <el-col :span="8"> 108 <el-col :span="8">
109 <el-form-item label="抵押方式:"> 109 <el-form-item label="抵押方式:">
110 <!-- <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input> -->
111 <el-radio-group disabled v-model="ruleForm.diyaq.dyfs"> 110 <el-radio-group disabled v-model="ruleForm.diyaq.dyfs">
112 <el-radio label="1">一般抵押</el-radio> 111 <el-radio label="1">一般抵押</el-radio>
113 <el-radio label="2">最高额抵押</el-radio> 112 <el-radio label="2">最高额抵押</el-radio>
...@@ -150,8 +149,6 @@ ...@@ -150,8 +149,6 @@
150 </el-form-item> 149 </el-form-item>
151 </el-col> 150 </el-col>
152 </el-row> 151 </el-row>
153
154
155 <el-row> 152 <el-row>
156 <el-col :span="24"> 153 <el-col :span="24">
157 <el-form-item label="担保范围:"> 154 <el-form-item label="担保范围:">
...@@ -249,15 +246,17 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; ...@@ -249,15 +246,17 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
249 import { Init, saveData } from "@/api/workflow/diyaqFlow.js"; 246 import { Init, saveData } from "@/api/workflow/diyaqFlow.js";
250 import { mapGetters } from "vuex"; 247 import { mapGetters } from "vuex";
251 export default { 248 export default {
252 async created () { 249 mounted () {
253 this.propsParam = this.$attrs; 250 this.propsParam = this.$attrs;
254 var formdata = new FormData(); 251 var formdata = new FormData();
252 this.$startLoading();
255 formdata.append("bsmSldy", this.propsParam.bsmSldy); 253 formdata.append("bsmSldy", this.propsParam.bsmSldy);
256 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 254 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
257 formdata.append("djlx", this.propsParam.djlx); 255 formdata.append("djlx", this.propsParam.djlx);
258 Init(formdata).then((res) => { 256 Init(formdata).then((res) => {
259 if (res.code === 200 && res.result) { 257 if (res.code === 200 && res.result) {
260 this.ruleForm = res.result; 258 this.ruleForm = res.result;
259 this.$endLoading();
261 this.ruleForm.diyaq.sfczjzhxz = "0"; 260 this.ruleForm.diyaq.sfczjzhxz = "0";
262 } 261 }
263 }) 262 })
......
1 <template> 1 <template>
2 <!-- 受理信息 --> 2 <!-- 受理信息 -->
3 <div class="slxx"> 3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 4 <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''"
5 label-width="140px"> 5 :inline="flag" label-width="140px">
6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
7 <div class="slxx_title title-block"> 7 <div class="slxx_title title-block">
8 受理信息 8 受理信息
...@@ -243,15 +243,17 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; ...@@ -243,15 +243,17 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
243 import { Init, saveData } from "@/api/workflow/diyaqFlow.js"; 243 import { Init, saveData } from "@/api/workflow/diyaqFlow.js";
244 import { mapGetters } from "vuex"; 244 import { mapGetters } from "vuex";
245 export default { 245 export default {
246 async created () { 246 mounted () {
247 this.propsParam = this.$attrs; 247 this.propsParam = this.$attrs;
248 var formdata = new FormData(); 248 var formdata = new FormData();
249 this.$startLoading();
249 formdata.append("bsmSldy", this.propsParam.bsmSldy); 250 formdata.append("bsmSldy", this.propsParam.bsmSldy);
250 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 251 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
251 formdata.append("djlx", this.propsParam.djlx); 252 formdata.append("djlx", this.propsParam.djlx);
252 Init(formdata).then((res) => { 253 Init(formdata).then((res) => {
253 if (res.code === 200 && res.result) { 254 if (res.code === 200 && res.result) {
254 this.ruleForm = res.result; 255 this.ruleForm = res.result;
256 this.$endLoading();
255 this.ruleForm.diyaq.sfczjzhxz = "0"; 257 this.ruleForm.diyaq.sfczjzhxz = "0";
256 } 258 }
257 }); 259 });
......
1 <template> 1 <template>
2 <!-- 受理信息 --> 2 <!-- 受理信息 -->
3 <div class="slxx"> 3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 4 <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''"
5 label-width="120px"> 5 :inline="flag" label-width="120px">
6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
7 <div class="slxx_title title-block"> 7 <div class="slxx_title title-block">
8 受理信息 8 受理信息
...@@ -186,14 +186,16 @@ import { mapGetters } from "vuex"; ...@@ -186,14 +186,16 @@ import { mapGetters } from "vuex";
186 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 186 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
187 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; 187 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
188 export default { 188 export default {
189 async created () { 189 mounted () {
190 this.propsParam = this.$attrs; 190 this.propsParam = this.$attrs;
191 var formdata = new FormData(); 191 var formdata = new FormData();
192 this.$startLoading();
192 formdata.append("bsmSldy", this.propsParam.bsmSldy); 193 formdata.append("bsmSldy", this.propsParam.bsmSldy);
193 formdata.append("djlx", this.propsParam.djlx); 194 formdata.append("djlx", this.propsParam.djlx);
194 Init(formdata).then((res) => { 195 Init(formdata).then((res) => {
195 if (res.code === 200 && res.result) { 196 if (res.code === 200 && res.result) {
196 this.ruleForm = res.result; 197 this.ruleForm = res.result;
198 this.$endLoading();
197 } 199 }
198 }); 200 });
199 }, 201 },
......
1 <template> 1 <template>
2 <!-- 受理信息 --> 2 <!-- 受理信息 -->
3 <div class="slxx"> 3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 4 <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''"
5 label-width="120px"> 5 :inline="flag" label-width="120px">
6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
7 <div class="slxx_title title-block"> 7 <div class="slxx_title title-block">
8 受理信息 8 受理信息
...@@ -237,14 +237,16 @@ import { Init, saveData } from "@/api/workflow/nydsyqFlow.js" ...@@ -237,14 +237,16 @@ import { Init, saveData } from "@/api/workflow/nydsyqFlow.js"
237 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" 237 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"
238 import JtcyTable from "@/views/workflow/components/JtcyTable" 238 import JtcyTable from "@/views/workflow/components/JtcyTable"
239 export default { 239 export default {
240 created () { 240 mounted () {
241 this.ableOperation = this.$parent.currentSelectTab.ableOperation 241 this.ableOperation = this.$parent.currentSelectTab.ableOperation
242 this.propsParam = this.$attrs; 242 this.propsParam = this.$attrs;
243 this.$startLoading();
243 var formdata = new FormData(); 244 var formdata = new FormData();
244 formdata.append("bsmSldy", this.propsParam.bsmSldy); 245 formdata.append("bsmSldy", this.propsParam.bsmSldy);
245 formdata.append("djlx", this.propsParam.djlx); 246 formdata.append("djlx", this.propsParam.djlx);
246 Init(formdata).then((res) => { 247 Init(formdata).then((res) => {
247 this.ruleForm = res.result; 248 this.ruleForm = res.result;
249 this.$endLoading();
248 if (res.code === 200) { 250 if (res.code === 200) {
249 } 251 }
250 else { 252 else {
......
1 <template> 1 <template>
2 <!-- 受理信息 --> 2 <!-- 受理信息 -->
3 <div class="slxx"> 3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 4 <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''"
5 label-width="120px"> 5 :inline="flag" label-width="120px">
6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
7 <div class="slxx_title title-block"> 7 <div class="slxx_title title-block">
8 受理信息 8 受理信息
...@@ -243,13 +243,15 @@ import { Init, saveData } from "@/api/workflow/nydsyqFlow.js" ...@@ -243,13 +243,15 @@ import { Init, saveData } from "@/api/workflow/nydsyqFlow.js"
243 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" 243 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"
244 import JtcyTable from "@/views/workflow/components/JtcyTable" 244 import JtcyTable from "@/views/workflow/components/JtcyTable"
245 export default { 245 export default {
246 created () { 246 mounted () {
247 this.propsParam = this.$attrs; 247 this.propsParam = this.$attrs;
248 var formdata = new FormData(); 248 var formdata = new FormData();
249 this.$startLoading();
249 formdata.append("bsmSldy", this.propsParam.bsmSldy); 250 formdata.append("bsmSldy", this.propsParam.bsmSldy);
250 formdata.append("djlx", this.propsParam.djlx); 251 formdata.append("djlx", this.propsParam.djlx);
251 Init(formdata).then((res) => { 252 Init(formdata).then((res) => {
252 this.ruleForm = res.result; 253 this.ruleForm = res.result;
254 this.$endLoading();
253 if (res.code === 200) { 255 if (res.code === 200) {
254 } 256 }
255 else { 257 else {
......
1 <template> 1 <template>
2 <!-- 受理信息 --> 2 <!-- 受理信息 -->
3 <div class="slxx"> 3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 4 <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''"
5 label-width="120px"> 5 :inline="flag" label-width="120px">
6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
7 <div class="slxx_title title-block"> 7 <div class="slxx_title title-block">
8 受理信息 8 受理信息
...@@ -177,14 +177,15 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; ...@@ -177,14 +177,15 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
177 import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; 177 import { Init, saveData } from "@/api/workflow/ygdjFlow.js";
178 import { mapGetters } from "vuex"; 178 import { mapGetters } from "vuex";
179 export default { 179 export default {
180 async created () { 180 mounted () {
181 //this.propsParam = this.$attrs; 181 this.$startLoading();
182 var formdata = new FormData(); 182 var formdata = new FormData();
183 formdata.append("bsmSldy", this.propsParam.bsmSldy); 183 formdata.append("bsmSldy", this.propsParam.bsmSldy);
184 formdata.append("djlx", this.propsParam.djlx); 184 formdata.append("djlx", this.propsParam.djlx);
185 185
186 Init(formdata).then(res => { 186 Init(formdata).then(res => {
187 if (res.code === 200 && res.result) { 187 if (res.code === 200 && res.result) {
188 this.$endLoading();
188 this.ruleForm = res.result; 189 this.ruleForm = res.result;
189 } 190 }
190 }) 191 })
......
1 <template> 1 <template>
2 <!-- 受理信息 --> 2 <!-- 受理信息 -->
3 <div class="slxx"> 3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 4 <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''"
5 label-width="120px"> 5 :inline="flag" label-width="120px">
6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
7 <div class="slxx_title title-block"> 7 <div class="slxx_title title-block">
8 受理信息 8 受理信息
...@@ -180,13 +180,15 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; ...@@ -180,13 +180,15 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
180 import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; 180 import { Init, saveData } from "@/api/workflow/ygdjFlow.js";
181 import { mapGetters } from "vuex"; 181 import { mapGetters } from "vuex";
182 export default { 182 export default {
183 async created () { 183 mounted () {
184 this.propsParam = this.$attrs; 184 this.propsParam = this.$attrs;
185 var formdata = new FormData(); 185 var formdata = new FormData();
186 this.$startLoading();
186 formdata.append("bsmSldy", this.propsParam.bsmSldy); 187 formdata.append("bsmSldy", this.propsParam.bsmSldy);
187 formdata.append("djlx", this.propsParam.djlx); 188 formdata.append("djlx", this.propsParam.djlx);
188 Init(formdata).then((res) => { 189 Init(formdata).then((res) => {
189 if (res.code === 200 && res.result) { 190 if (res.code === 200 && res.result) {
191 this.$endLoading();
190 this.ruleForm = res.result; 192 this.ruleForm = res.result;
191 } 193 }
192 }); 194 });
......
1 <template> 1 <template>
2 <!-- 受理信息 --> 2 <!-- 受理信息 -->
3 <div class="slxx"> 3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 4 <el-form :model="ruleForm" :rules="rules" v-Loading="loading" ref="ruleForm" :label-position="flag ? 'top' : ''"
5 label-width="120px"> 5 :inline="flag" label-width="120px">
6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
7 <div class="slxx_title title-block"> 7 <div class="slxx_title title-block">
8 受理信息 8 受理信息
...@@ -184,15 +184,20 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; ...@@ -184,15 +184,20 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
184 import { Init, saveData } from "@/api/workflow/ygdyFlow.js"; 184 import { Init, saveData } from "@/api/workflow/ygdyFlow.js";
185 import { mapGetters } from "vuex"; 185 import { mapGetters } from "vuex";
186 export default { 186 export default {
187 async created () { 187 created () {
188 this.propsParam = this.$attrs; 188 this.propsParam = this.$attrs;
189 var formdata = new FormData(); 189 var formdata = new FormData();
190 let that = this
191 this.loading = true
190 formdata.append("bsmSldy", this.propsParam.bsmSldy); 192 formdata.append("bsmSldy", this.propsParam.bsmSldy);
191 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 193 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
192 formdata.append("djlx", this.propsParam.djlx); 194 formdata.append("djlx", this.propsParam.djlx);
193 Init(formdata).then((res) => { 195 Init(formdata).then((res) => {
194 if (res.code === 200 && res.result) { 196 if (res.code === 200 && res.result) {
195 this.ruleForm = res.result; 197 that.ruleForm = res.result;
198 setTimeout(() => {
199 that.loading = false
200 }, 300)
196 } 201 }
197 }); 202 });
198 }, 203 },
...@@ -202,6 +207,7 @@ export default { ...@@ -202,6 +207,7 @@ export default {
202 }, 207 },
203 data () { 208 data () {
204 return { 209 return {
210 loading: false,
205 disabled: true, 211 disabled: true,
206 tdytOption: [], 212 tdytOption: [],
207 czrOptions: [], 213 czrOptions: [],
...@@ -220,7 +226,6 @@ export default { ...@@ -220,7 +226,6 @@ export default {
220 upDateYwrxxList (val) { 226 upDateYwrxxList (val) {
221 this.ruleForm.ywrList = _.cloneDeep(val); 227 this.ruleForm.ywrList = _.cloneDeep(val);
222 }, 228 },
223
224 onSubmit () { 229 onSubmit () {
225 saveData(this.ruleForm).then((res) => { 230 saveData(this.ruleForm).then((res) => {
226 if (res.code === 200) { 231 if (res.code === 200) {
...@@ -243,76 +248,5 @@ export default { ...@@ -243,76 +248,5 @@ export default {
243 </script> 248 </script>
244 <style scoped lang='scss'> 249 <style scoped lang='scss'>
245 @import "~@/styles/public.scss"; 250 @import "~@/styles/public.scss";
246 251 @import "~@/styles/slxx/slxx.scss";
247 /deep/.el-form {
248 display: flex;
249 flex-direction: column;
250 height: calc(100vh - 130px);
251 }
252
253 /deep/.el-form-item__label {
254 padding: 0;
255 }
256
257 /deep/.el-radio {
258 margin-right: 10px;
259 }
260
261 /deep/.el-select {
262 width: 100%;
263 }
264
265 /deep/.el-form-item {
266 margin-bottom: 8px;
267 }
268
269 .marginBot0 {
270 margin-bottom: 0 !important;
271 }
272
273 .slxx {
274 box-sizing: border-box;
275 }
276
277 .slxx_con {
278 flex: 1;
279 height: 100%;
280 background-color: #ffffff;
281 overflow-y: auto;
282 padding-right: 3px;
283 overflow-x: hidden;
284 }
285
286 .submit_btn {
287 height: 50px;
288 }
289
290 .slxx_title {
291 border-bottom: 1px solid $borderColor;
292 padding-left: 10px;
293 padding-bottom: 5px;
294 margin-bottom: 10px;
295 margin-top: 5px;
296 font-size: 16px;
297 font-weight: 500;
298 color: #4a4a4a;
299 }
300
301 .btn {
302 text-align: center;
303 padding-top: 10px;
304 height: 36px;
305 background-color: #ffffff;
306 padding: 5px 0;
307 }
308
309 .textArea {
310 /deep/.el-textarea__inner {
311 min-height: 90px !important;
312 }
313 }
314
315 /deep/.el-form-item__label {
316 padding-bottom: 0px;
317 }
318 </style> 252 </style>
......
1 <template> 1 <template>
2 <!-- 受理信息 --> 2 <!-- 受理信息 -->
3 <div class="slxx"> 3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 4 <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''"
5 label-width="140px"> 5 :inline="flag" label-width="140px">
6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
7 <div class="slxx_title title-block"> 7 <div class="slxx_title title-block">
8 受理信息 8 受理信息
...@@ -249,15 +249,17 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; ...@@ -249,15 +249,17 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
249 import { Init, saveData } from "@/api/workflow/zjgcdyFlow.js"; 249 import { Init, saveData } from "@/api/workflow/zjgcdyFlow.js";
250 import { mapGetters } from "vuex"; 250 import { mapGetters } from "vuex";
251 export default { 251 export default {
252 async created () { 252 mounted () {
253 this.propsParam = this.$attrs; 253 this.propsParam = this.$attrs;
254 var formdata = new FormData(); 254 var formdata = new FormData();
255 this.$startLoading();
255 formdata.append("bsmSldy", this.propsParam.bsmSldy); 256 formdata.append("bsmSldy", this.propsParam.bsmSldy);
256 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 257 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
257 formdata.append("djlx", this.propsParam.djlx); 258 formdata.append("djlx", this.propsParam.djlx);
258 Init(formdata).then((res) => { 259 Init(formdata).then((res) => {
259 if (res.code === 200 && res.result) { 260 if (res.code === 200 && res.result) {
260 this.ruleForm = res.result; 261 this.ruleForm = res.result;
262 this.$endLoading();
261 this.ruleForm.diyaq.sfczjzhxz = "0"; 263 this.ruleForm.diyaq.sfczjzhxz = "0";
262 } 264 }
263 }) 265 })
......