فهرست منبع

添加清理缓存接口

linweizeng 2 سال پیش
والد
کامیت
090e53f6f3
1فایلهای تغییر یافته به همراه10 افزوده شده و 2 حذف شده
  1. 10 2
      pages/jiance/list/apply.vue

+ 10 - 2
pages/jiance/list/apply.vue

@@ -2,7 +2,7 @@
 	<view>
 		<h3>请求退回说明</h3>
 		<view class="centent">
-			<u-input v-model="value" type="textarea" :border="true" height="200" />
+			<u-input v-model="content" type="textarea" :border="true" height="200" />
 			<u-button type="error" class="btn" @click="getSave">提交申请</u-button>
 		</view>
 	</view>
@@ -28,6 +28,7 @@
 		data() {
 			return {
 				// value: '',
+				content: this.value,
 				userid: '',
 				time: ''
 			}
@@ -53,7 +54,7 @@
 					}],
 					tableName: "t_lhwtsqb",
 					paramCond: {
-						xiu_gai_bei_zhu_: this.value,
+						xiu_gai_bei_zhu_: this.content,
 						update_time_: this.time,
 						update_by_: this.userid
 					}
@@ -62,6 +63,7 @@
 
 				this.$http.post("ibps/business/v3/sys/universal/updateDatasContextTable", data).then(res => {
 					if (res.data.state == 200) {
+						this.getFullAll()
 						uni.showToast({
 							title: '提交成功',
 							icon: 'none',
@@ -78,6 +80,12 @@
 					}
 				});
 
+			},
+			// 清理缓存
+			getFullAll() {
+				this.$http.post("ibps/business/v3/form/cache/system/flushAll", {}).then(res => {
+
+				})
 			}
 		}
 	}