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