天府星配置
This commit is contained in:
		| @@ -32,7 +32,6 @@ | ||||
|             <el-input placeholder="积分" :maxlength="4" v-model="dialogInfo.endIntegral" style="width:100px;"></el-input> | ||||
|           </el-form-item> | ||||
|         </el-form-item> | ||||
|          | ||||
|       </el-form> | ||||
|     </ai-dialog> | ||||
|   </div> | ||||
| @@ -93,7 +92,7 @@ export default { | ||||
|           if(Number(this.dialogInfo.beginIntegral) >= Number(this.dialogInfo.endIntegral)) { | ||||
|             return this.$message.error('请输入正确的积分范围') | ||||
|           } | ||||
|           this.instance.post(`/appintegrallevel/addOrUpdate`, {...this.dialogInfo}).then(res => { | ||||
|           this.instance.post(`api/appintegrallevel/addOrUpdate`, {...this.dialogInfo}).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|               this.$message.success('等级修改成功') | ||||
|               this.visible = false | ||||
| @@ -104,7 +103,7 @@ export default { | ||||
|       }) | ||||
|     }, | ||||
|     getList() { | ||||
|       this.instance.post(`/appintegrallevel/list`, null, { | ||||
|       this.instance.post(`api/appintegrallevel/list`, null, { | ||||
|         params: { | ||||
|           ...this.page, | ||||
|         }, | ||||
|   | ||||
| @@ -30,12 +30,12 @@ | ||||
|           width="720px" | ||||
|           @onConfirm="onConfirm" | ||||
|           @closed="form={}"> | ||||
|         <el-form ref="form" :model="form" :rules="rules" label-width="80px"> | ||||
|           <el-form-item label="发放积分" prop="integral"> | ||||
|             <el-input v-model.trim="form.integral" placeholder="请输入正数" size="small"></el-input> | ||||
|           </el-form-item> | ||||
|         </el-form> | ||||
|       </ai-dialog> | ||||
|           <el-form ref="form" :model="form" :rules="rules" label-width="80px"> | ||||
|             <el-form-item label="发放积分" prop="integral"> | ||||
|               <el-input v-model.trim="form.integral" placeholder="请输入正数" size="small"></el-input> | ||||
|             </el-form-item> | ||||
|           </el-form> | ||||
|         </ai-dialog> | ||||
|       </template> | ||||
|     </ai-list> | ||||
|   </section> | ||||
| @@ -80,7 +80,7 @@ export default { | ||||
|         {prop: "createTime", label: "上传时间", align: "center"}, | ||||
|         {prop: "status", label: "状态", align: "center"}, | ||||
|         {prop: "auditUserName", label: "处理人", align: "center"}, | ||||
|         {slot: "options", }, | ||||
|         {slot: "options"}, | ||||
|       ] | ||||
|     }, | ||||
|     rules() { | ||||
| @@ -95,7 +95,7 @@ export default { | ||||
|       this.$refs.form.validate((valid)=> { | ||||
|         if(valid) { | ||||
|           this.flag = true | ||||
|           this.instance.post(`/appwechatescalation/examine?id=${this.form.id}&pass=1&integral=${this.form.integral}`).then(res => { | ||||
|           this.instance.post(`api/appwechatescalation/examine?id=${this.form.id}&pass=1&integral=${this.form.integral}`).then(res => { | ||||
|             if(res?.code == 0) { | ||||
|               this.$message.success('审核成功') | ||||
|               setTimeout(() =>{ | ||||
| @@ -117,7 +117,7 @@ export default { | ||||
|     }, | ||||
|     refuse(row) { | ||||
|       this.$confirm('确定拒绝该任务?').then(() => { | ||||
|         this.instance.post(`/appwechatescalation/examine?id=${row.id}&pass=0`).then(res => { | ||||
|         this.instance.post(`api/appwechatescalation/examine?id=${row.id}&pass=0`).then(res => { | ||||
|           if (res.code == 0) { | ||||
|             this.$message.success('审核成功') | ||||
|             this.getList() | ||||
| @@ -126,7 +126,7 @@ export default { | ||||
|       }) | ||||
|     }, | ||||
|     getList() { | ||||
|       this.instance.post(`/appwechatescalation/list`,null,{ | ||||
|       this.instance.post(`api/appwechatescalation/list`,null,{ | ||||
|         params: { | ||||
|           ...this.page, | ||||
|           ...this.search, | ||||
|   | ||||
| @@ -130,7 +130,7 @@ export default { | ||||
|  | ||||
|     }, | ||||
|     getList() { | ||||
|       this.instance.post(`/appwechatuser/list`,null,{ | ||||
|       this.instance.post(`api/appwechatuser/list`,null,{ | ||||
|         params: { | ||||
|           ...this.page, | ||||
|           ...this.search, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user