diff --git a/project/oms/apps/AppWechatConfig/components/List.vue b/project/oms/apps/AppWechatConfig/components/List.vue
index 1e595c86..0aa7f9f8 100644
--- a/project/oms/apps/AppWechatConfig/components/List.vue
+++ b/project/oms/apps/AppWechatConfig/components/List.vue
@@ -38,6 +38,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -55,6 +91,17 @@
return {
tableData: [],
isShow: false,
+ form: {
+ name: '',
+ appid: '',
+ secret: '',
+ rate: '',
+ remarks: ''
+ },
+ amountForm: {
+ amount: ''
+ },
+ isShowAmount: false,
colConfigs: [
{ prop: 'content', label: '公众号名称' },
{ prop: 'createUserName', label: 'appid', align: 'center' },
@@ -67,7 +114,8 @@
size: 10,
current: 1
},
- total: 0
+ total: 0,
+ id: ''
}
},
@@ -89,6 +137,54 @@
})
},
+ onClose () {
+ this.id = ''
+ this.form.files = []
+ this.form.videoName = ''
+ this.form.videoIntroduction = ''
+ this.form.videoFileUrl = ''
+ this.form.videoFileId = ''
+ this.form.imageFileUrl = ''
+ this.form.imageFileId = ''
+ this.isShow = false
+ },
+
+ onAmountConfirm () {
+ this.$refs.amountForm.validate((valid) => {
+ if (valid) {
+ this.instance.post(`/app/appvideoinfo/addOrUpdate`, {
+ ...this.amountForm,
+ id: this.id
+ }).then(res => {
+ if (res.code == 0) {
+ this.$message.success('提交成功!')
+ this.isShowAmount = false
+
+ this.getList()
+ }
+ })
+ }
+ })
+ },
+
+ onConfirm () {
+ this.$refs.form.validate((valid) => {
+ if (valid) {
+ this.instance.post(`/app/appvideoinfo/addOrUpdate`, {
+ ...this.form,
+ id: this.id || ''
+ }).then(res => {
+ if (res.code == 0) {
+ this.$message.success('提交成功!')
+ this.isShow = false
+
+ this.getList()
+ }
+ })
+ }
+ })
+ },
+
remove (id) {
this.$confirm('删除后不可恢复,确定删除该数据?').then(() => {
this.instance.post(`/app/applearningquestion/deleteQuestion?id=${id}`).then(res => {