天府星配置
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user