Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_webapp into dev
This commit is contained in:
		| @@ -56,6 +56,11 @@ | ||||
|                       </el-table-column> | ||||
|                     </ai-table> | ||||
|                   </template> | ||||
|                   <template v-else-if="form.type=='wxwork'"> | ||||
|                     <el-form-item label="接口是否单服务"> | ||||
|                       <el-checkbox v-model="form.isSingleService"/> | ||||
|                     </el-form-item> | ||||
|                   </template> | ||||
|                 </template> | ||||
|               </ai-card> | ||||
|             </el-form> | ||||
| @@ -153,9 +158,11 @@ export default { | ||||
|     submit() { | ||||
|       this.$refs.AddForm.validate(v => { | ||||
|         if (v) { | ||||
|           const {tabBar, appId, form: {type}} = this | ||||
|           const {tabBar, form: {type, appId, isSingleService}} = this | ||||
|           if (type == 'mp') { | ||||
|             this.form.extra = {tabBar, appId} | ||||
|           } else if (v == 'wxwork') { | ||||
|             this.form.extra = {isSingleService} | ||||
|           } | ||||
|           this.instance.post("/node/custom/addOrUpdate", this.form).then(res => { | ||||
|             if (res?.code == 0) { | ||||
| @@ -170,6 +177,8 @@ export default { | ||||
|       if (v == 'mp') { | ||||
|         this.form.appId = data.appId | ||||
|         this.tabBar = data?.tabBar || this.tabBar | ||||
|       } else if (v == 'wxwork') { | ||||
|         this.form.isSingleService = data.isSingleService | ||||
|       } | ||||
|     }, | ||||
|     handleTabbarChange(row, {name, label}) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user