|
@@ -32,8 +32,13 @@
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template> -->
|
|
</template> -->
|
|
|
<template #slot-resetPay="{ scope }">
|
|
<template #slot-resetPay="{ scope }">
|
|
|
- <el-button v-if="showResetPay(scope.row)" type="text" size="mini"
|
|
|
|
|
- @click="switchResetPay(scope.row)">重置付费</el-button>
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-if="showResetPay(scope.row)"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ @click="switchResetPay(scope.row)"
|
|
|
|
|
+ >重置付费</el-button
|
|
|
|
|
+ >
|
|
|
</template>
|
|
</template>
|
|
|
<!-- <template #slot-payFailed="{ scope }">
|
|
<!-- <template #slot-payFailed="{ scope }">
|
|
|
<el-button v-if="showResetPay(scope.row)" type="text" size="mini"
|
|
<el-button v-if="showResetPay(scope.row)" type="text" size="mini"
|
|
@@ -44,7 +49,12 @@
|
|
|
@click="switchResetPay(scope.row)">未付费</el-button>
|
|
@click="switchResetPay(scope.row)">未付费</el-button>
|
|
|
</template> -->
|
|
</template> -->
|
|
|
<template #slot-incomplete="{ scope }">
|
|
<template #slot-incomplete="{ scope }">
|
|
|
- <el-button v-if="showPage(scope.row)" type="warning" size="mini" @click="switchPage(scope.row)">原因填写
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-if="showPage(scope.row)"
|
|
|
|
|
+ type="warning"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ @click="switchPage(scope.row)"
|
|
|
|
|
+ >原因填写
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</cl-table>
|
|
</cl-table>
|
|
@@ -55,7 +65,12 @@
|
|
|
<cl-pagination />
|
|
<cl-pagination />
|
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
|
|
- <cl-upsert v-model="form" v-bind="upsert" :on-info="onInfoSubmit" :on-submit="onUpsertSubmit">
|
|
|
|
|
|
|
+ <cl-upsert
|
|
|
|
|
+ v-model="form"
|
|
|
|
|
+ v-bind="upsert"
|
|
|
|
|
+ :on-info="onInfoSubmit"
|
|
|
|
|
+ :on-submit="onUpsertSubmit"
|
|
|
|
|
+ >
|
|
|
<!-- 动态增减表单验证 -->
|
|
<!-- 动态增减表单验证 -->
|
|
|
<template #slot-validate="{}">
|
|
<template #slot-validate="{}">
|
|
|
<el-button @click="addCardMsg()">添加卡号</el-button>
|
|
<el-button @click="addCardMsg()">添加卡号</el-button>
|
|
@@ -73,7 +88,12 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="2" v-if="cardList.length !== 1">
|
|
<el-col :span="2" v-if="cardList.length !== 1">
|
|
|
- <el-button @click="deleteCardMsg(index)" class="el-icon-delete" size="mini" circle>
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ @click="deleteCardMsg(index)"
|
|
|
|
|
+ class="el-icon-delete"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ circle
|
|
|
|
|
+ >
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
@@ -86,54 +106,86 @@
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-form-item label="警告:" prop="task_id">
|
|
<el-form-item label="警告:" prop="task_id">
|
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
|
- <p style="color:red;font-size: larger;">当日目标未完成,请于次日9点以后填写原因说明,否则无效</p>
|
|
|
|
|
|
|
+ <p style="color: red; font-size: larger">
|
|
|
|
|
+ 当日目标未完成,请于次日9点以后填写原因说明,否则无效
|
|
|
|
|
+ </p>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-form-item label="任务ID" prop="task_id">
|
|
<el-form-item label="任务ID" prop="task_id">
|
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
|
- <el-input v-model="reasonForm.task_id" placeholder="任务ID" disabled="true"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="reasonForm.task_id"
|
|
|
|
|
+ placeholder="任务ID"
|
|
|
|
|
+ disabled="true"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="任务名称" prop="task_name">
|
|
<el-form-item label="任务名称" prop="task_name">
|
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
|
- <el-input v-model="reasonForm.task_name" placeholder="任务名称" disabled="true"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="reasonForm.task_name"
|
|
|
|
|
+ placeholder="任务名称"
|
|
|
|
|
+ disabled="true"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-form-item label="负责人" prop="directorName">
|
|
<el-form-item label="负责人" prop="directorName">
|
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
|
- <el-input v-model="reasonForm.directorName" placeholder="任务名称" disabled="true"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="reasonForm.directorName"
|
|
|
|
|
+ placeholder="任务名称"
|
|
|
|
|
+ disabled="true"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="任务日期" prop="new_date">
|
|
<el-form-item label="任务日期" prop="new_date">
|
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
|
- <el-input v-model="reasonForm.new_date" placeholder="任务名称" disabled="true"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="reasonForm.new_date"
|
|
|
|
|
+ placeholder="任务日期"
|
|
|
|
|
+ disabled="true"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<el-form-item label="问题类型" prop="type_id">
|
|
<el-form-item label="问题类型" prop="type_id">
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
|
- <demo-problem-type-select v-model="reasonForm.type_id"></demo-problem-type-select>
|
|
|
|
|
|
|
+ <demo-problem-type-select
|
|
|
|
|
+ v-model="reasonForm.type_id"
|
|
|
|
|
+ ></demo-problem-type-select>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="未完原因" prop="reason">
|
|
<el-form-item label="未完原因" prop="reason">
|
|
|
<el-col :span="20">
|
|
<el-col :span="20">
|
|
|
- <el-input v-model="reasonForm.reason" type="textarea" placeholder="未完原因"
|
|
|
|
|
- :autosize="{ minRows: 4, maxRows: 4 }" :style="{ width: '100%' }"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="reasonForm.reason"
|
|
|
|
|
+ type="textarea"
|
|
|
|
|
+ placeholder="未完原因"
|
|
|
|
|
+ :autosize="{ minRows: 4, maxRows: 4 }"
|
|
|
|
|
+ :style="{ width: '100%' }"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="解决方案" prop="solution">
|
|
<el-form-item label="解决方案" prop="solution">
|
|
|
<el-col :span="20">
|
|
<el-col :span="20">
|
|
|
- <el-input v-model="reasonForm.solution" type="textarea" placeholder="解决方案"
|
|
|
|
|
- :autosize="{ minRows: 4, maxRows: 4 }" :style="{ width: '100%' }"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="reasonForm.solution"
|
|
|
|
|
+ type="textarea"
|
|
|
|
|
+ placeholder="解决方案"
|
|
|
|
|
+ :autosize="{ minRows: 4, maxRows: 4 }"
|
|
|
|
|
+ :style="{ width: '100%' }"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
<el-form-item>
|
|
|
<el-button size="small" @click="visible = false">取消</el-button>
|
|
<el-button size="small" @click="visible = false">取消</el-button>
|
|
|
- <el-button type="primary" size="small" @click="updateReason(reasonForm)">提交</el-button>
|
|
|
|
|
|
|
+ <el-button type="primary" size="small" @click="updateReason(reasonForm)"
|
|
|
|
|
+ >提交</el-button
|
|
|
|
|
+ >
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</cl-dialog>
|
|
</cl-dialog>
|
|
@@ -141,13 +193,18 @@
|
|
|
<el-form ref="elForm" :model="payAccount" size="medium" label-width="100px">
|
|
<el-form ref="elForm" :model="payAccount" size="medium" label-width="100px">
|
|
|
<el-form-item label="类型" prop="type">
|
|
<el-form-item label="类型" prop="type">
|
|
|
<el-col :span="20">
|
|
<el-col :span="20">
|
|
|
- <p style="color:red;font-size: larger;">{{ payAccount.type }}</p>
|
|
|
|
|
|
|
+ <p style="color: red; font-size: larger">{{ payAccount.type }}</p>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="账号" prop="account">
|
|
<el-form-item label="账号" prop="account">
|
|
|
<el-col :span="20">
|
|
<el-col :span="20">
|
|
|
- <el-input v-model="payAccount.account" type="textarea" placeholder=""
|
|
|
|
|
- :autosize="{ minRows: 20, maxRows: 20 }" :style="{ width: '100%' }"></el-input>
|
|
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-model="payAccount.account"
|
|
|
|
|
+ type="textarea"
|
|
|
|
|
+ placeholder=""
|
|
|
|
|
+ :autosize="{ minRows: 20, maxRows: 20 }"
|
|
|
|
|
+ :style="{ width: '100%' }"
|
|
|
|
|
+ ></el-input>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
<el-form-item>
|
|
@@ -155,17 +212,38 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</cl-dialog>
|
|
</cl-dialog>
|
|
|
- <el-dialog title="今日可付费账号获取" v-model="visible_can_pay" :center="true" :close-on-click-modal="false"
|
|
|
|
|
- :close-on-press-escape="false" width="50%">
|
|
|
|
|
- <p style="color:red;font-size: larger;margin-bottom: 10px;">{{ payAccount.type }}</p>
|
|
|
|
|
|
|
+ <el-dialog
|
|
|
|
|
+ title="今日可付费账号获取"
|
|
|
|
|
+ v-model="visible_can_pay"
|
|
|
|
|
+ :center="true"
|
|
|
|
|
+ :close-on-click-modal="false"
|
|
|
|
|
+ :close-on-press-escape="false"
|
|
|
|
|
+ width="50%"
|
|
|
|
|
+ >
|
|
|
|
|
+ <p style="color: red; font-size: larger; margin-bottom: 10px">{{ payAccount.type }}</p>
|
|
|
<!--付费金额填写-->
|
|
<!--付费金额填写-->
|
|
|
<div v-if="rowTask.login_modeId == 2">
|
|
<div v-if="rowTask.login_modeId == 2">
|
|
|
<span>加币金额</span>
|
|
<span>加币金额</span>
|
|
|
- <el-input-number v-model="pay_price" :precision="0" :step="1" :max="10" :min="1" size="small"
|
|
|
|
|
- style="margin-left: 20px;margin-bottom: 10px;" controls-position="right" step-strictly />
|
|
|
|
|
|
|
+ <el-input-number
|
|
|
|
|
+ v-model="pay_price"
|
|
|
|
|
+ :precision="0"
|
|
|
|
|
+ :step="1"
|
|
|
|
|
+ :max="10"
|
|
|
|
|
+ :min="1"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ style="margin-left: 20px; margin-bottom: 10px"
|
|
|
|
|
+ controls-position="right"
|
|
|
|
|
+ step-strictly
|
|
|
|
|
+ />
|
|
|
</div>
|
|
</div>
|
|
|
- <el-table :data="accountList" border style="width: 100%;" max-height="500">
|
|
|
|
|
- <el-table-column prop="account" label="账号" align="left" min-width="50" header-align="left" />
|
|
|
|
|
|
|
+ <el-table :data="accountList" border style="width: 100%" max-height="500">
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ prop="account"
|
|
|
|
|
+ label="账号"
|
|
|
|
|
+ align="left"
|
|
|
|
|
+ min-width="50"
|
|
|
|
|
+ header-align="left"
|
|
|
|
|
+ />
|
|
|
<!-- <el-table-column prop="account" label="账号" align="left" min-width="200" header-align="left">
|
|
<!-- <el-table-column prop="account" label="账号" align="left" min-width="200" header-align="left">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<el-button size="small">
|
|
<el-button size="small">
|
|
@@ -173,17 +251,39 @@
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column> -->
|
|
</el-table-column> -->
|
|
|
- <el-table-column prop="password" label="密码" align="left" min-width="50" header-align="left" />
|
|
|
|
|
- <el-table-column fixed="right" label="操作" width="110" align="center" header-align="center">
|
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ prop="password"
|
|
|
|
|
+ label="密码"
|
|
|
|
|
+ align="left"
|
|
|
|
|
+ min-width="50"
|
|
|
|
|
+ header-align="left"
|
|
|
|
|
+ />
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ fixed="right"
|
|
|
|
|
+ label="操作"
|
|
|
|
|
+ width="110"
|
|
|
|
|
+ align="center"
|
|
|
|
|
+ header-align="center"
|
|
|
|
|
+ >
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
- <el-button v-permission="service.shuyouGameTarget.permission.handAddPayMz"
|
|
|
|
|
- v-if="rowTask.login_modeId == 2" size="small" type="warning" plain
|
|
|
|
|
- @click="handAddPayMz(scope.row)">
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-permission="service.shuyouGameTarget.permission.handAddPayMz"
|
|
|
|
|
+ v-if="rowTask.login_modeId == 2"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ type="warning"
|
|
|
|
|
+ plain
|
|
|
|
|
+ @click="handAddPayMz(scope.row)"
|
|
|
|
|
+ >
|
|
|
魅族加币
|
|
魅族加币
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column fixed="right" label="信息展示" align="center" header-align="center">
|
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ fixed="right"
|
|
|
|
|
+ label="信息展示"
|
|
|
|
|
+ align="center"
|
|
|
|
|
+ header-align="center"
|
|
|
|
|
+ >
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<span>{{ scope.row.msg }}</span>
|
|
<span>{{ scope.row.msg }}</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -191,30 +291,39 @@
|
|
|
</el-table>
|
|
</el-table>
|
|
|
<div v-if="rowTask.login_modeId == 2">
|
|
<div v-if="rowTask.login_modeId == 2">
|
|
|
<el-divider>
|
|
<el-divider>
|
|
|
- <span style="color:#FF0080">↓任意账号强制加币,谨慎使用↓</span>
|
|
|
|
|
|
|
+ <span style="color: #ff0080">↓任意账号强制加币,谨慎使用↓</span>
|
|
|
</el-divider>
|
|
</el-divider>
|
|
|
- <el-row :gutter="24" style="margin-top:20px">
|
|
|
|
|
|
|
+ <el-row :gutter="24" style="margin-top: 20px">
|
|
|
<el-col :span="10">
|
|
<el-col :span="10">
|
|
|
- <span style="color:red">如果加不上币,提示额度不足等需要强制加币请联系王梳霖</span>
|
|
|
|
|
|
|
+ <span style="color: red"
|
|
|
|
|
+ >如果加不上币,提示额度不足等需要强制加币请联系王梳霖</span
|
|
|
|
|
+ >
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
- <el-row :gutter="24" style="margin-top:20px"
|
|
|
|
|
- v-permission="service.shuyouGameTarget.permission.forceAddPayMz">
|
|
|
|
|
|
|
+ <el-row
|
|
|
|
|
+ :gutter="24"
|
|
|
|
|
+ style="margin-top: 20px"
|
|
|
|
|
+ v-permission="service.shuyouGameTarget.permission.forceAddPayMz"
|
|
|
|
|
+ >
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
|
<el-input v-model="force_add.force_account" size="small" />
|
|
<el-input v-model="force_add.force_account" size="small" />
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="5">
|
|
<el-col :span="5">
|
|
|
- <el-button class="el-icon-plus" type="danger" plain size="small" @click="forceAddPayMz()">
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ class="el-icon-plus"
|
|
|
|
|
+ type="danger"
|
|
|
|
|
+ plain
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ @click="forceAddPayMz()"
|
|
|
|
|
+ >
|
|
|
强制加币
|
|
强制加币
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="10">
|
|
<el-col :span="10">
|
|
|
- <span style="color:red">{{ force_add.msg }}</span>
|
|
|
|
|
|
|
+ <span style="color: red">{{ force_add.msg }}</span>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
</cl-crud>
|
|
</cl-crud>
|
|
|
</template>
|
|
</template>
|
|
@@ -252,11 +361,11 @@ export default defineComponent({
|
|
|
let accountList = ref<any[]>([]);
|
|
let accountList = ref<any[]>([]);
|
|
|
const pay_price = ref<number>(6);
|
|
const pay_price = ref<number>(6);
|
|
|
const force_add = reactive<any>({
|
|
const force_add = reactive<any>({
|
|
|
- force_account: '',
|
|
|
|
|
- force_msg: ''
|
|
|
|
|
|
|
+ force_account: "",
|
|
|
|
|
+ force_msg: ""
|
|
|
});
|
|
});
|
|
|
const rowTask = reactive<any>({
|
|
const rowTask = reactive<any>({
|
|
|
- xjf_id: '',
|
|
|
|
|
|
|
+ xjf_id: "",
|
|
|
login_modeId: 0
|
|
login_modeId: 0
|
|
|
});
|
|
});
|
|
|
let cardList = ref<any[]>([]);
|
|
let cardList = ref<any[]>([]);
|
|
@@ -489,11 +598,11 @@ export default defineComponent({
|
|
|
{
|
|
{
|
|
|
label: "其他支付方式",
|
|
label: "其他支付方式",
|
|
|
prop: "other_pay_hand",
|
|
prop: "other_pay_hand",
|
|
|
- value: '',
|
|
|
|
|
|
|
+ value: "",
|
|
|
span: 6,
|
|
span: 6,
|
|
|
group: "complete",
|
|
group: "complete",
|
|
|
hidden: ({ scope }: any) => {
|
|
hidden: ({ scope }: any) => {
|
|
|
- return (scope.pay_mode_hand != 4 || scope.is_pay_hand != 0);
|
|
|
|
|
|
|
+ return scope.pay_mode_hand != 4 || scope.is_pay_hand != 0;
|
|
|
},
|
|
},
|
|
|
component: {
|
|
component: {
|
|
|
name: "el-input"
|
|
name: "el-input"
|
|
@@ -529,7 +638,7 @@ export default defineComponent({
|
|
|
span: 6,
|
|
span: 6,
|
|
|
group: "complete",
|
|
group: "complete",
|
|
|
hidden: ({ scope }: any) => {
|
|
hidden: ({ scope }: any) => {
|
|
|
- return (scope.is_pay_hand != 0 || scope.is_pay_hand != 0);
|
|
|
|
|
|
|
+ return scope.is_pay_hand != 0 || scope.is_pay_hand != 0;
|
|
|
},
|
|
},
|
|
|
component: {
|
|
component: {
|
|
|
name: "el-input"
|
|
name: "el-input"
|
|
@@ -542,7 +651,7 @@ export default defineComponent({
|
|
|
span: 6,
|
|
span: 6,
|
|
|
group: "complete",
|
|
group: "complete",
|
|
|
hidden: ({ scope }: any) => {
|
|
hidden: ({ scope }: any) => {
|
|
|
- return (scope.is_same_hand != 0 || scope.is_pay_hand != 0);
|
|
|
|
|
|
|
+ return scope.is_same_hand != 0 || scope.is_pay_hand != 0;
|
|
|
},
|
|
},
|
|
|
component: {
|
|
component: {
|
|
|
name: "el-input"
|
|
name: "el-input"
|
|
@@ -578,7 +687,7 @@ export default defineComponent({
|
|
|
prop: "account_hand",
|
|
prop: "account_hand",
|
|
|
label: "账号记录",
|
|
label: "账号记录",
|
|
|
group: "complete",
|
|
group: "complete",
|
|
|
- value: '',
|
|
|
|
|
|
|
+ value: "",
|
|
|
span: 20,
|
|
span: 20,
|
|
|
component: {
|
|
component: {
|
|
|
name: "cl-editor-quill",
|
|
name: "cl-editor-quill",
|
|
@@ -640,7 +749,7 @@ export default defineComponent({
|
|
|
rows: 10
|
|
rows: 10
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- },
|
|
|
|
|
|
|
+ }
|
|
|
]
|
|
]
|
|
|
});
|
|
});
|
|
|
|
|
|
|
@@ -660,7 +769,7 @@ export default defineComponent({
|
|
|
return {
|
|
return {
|
|
|
label: scope.task_name,
|
|
label: scope.task_name,
|
|
|
disabled: true
|
|
disabled: true
|
|
|
- }
|
|
|
|
|
|
|
+ };
|
|
|
},
|
|
},
|
|
|
"refresh",
|
|
"refresh",
|
|
|
"update",
|
|
"update",
|
|
@@ -856,30 +965,30 @@ export default defineComponent({
|
|
|
}
|
|
}
|
|
|
//编辑打开时的钩子
|
|
//编辑打开时的钩子
|
|
|
function onInfoSubmit(data: any, { next, done, close }: any) {
|
|
function onInfoSubmit(data: any, { next, done, close }: any) {
|
|
|
- service.info
|
|
|
|
|
- done(data)
|
|
|
|
|
- cardList.value = data.card_list
|
|
|
|
|
|
|
+ service.info;
|
|
|
|
|
+ done(data);
|
|
|
|
|
+ cardList.value = data.card_list;
|
|
|
// console.log(data)
|
|
// console.log(data)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//查询当前付费失败的账号
|
|
//查询当前付费失败的账号
|
|
|
async function payFailed(scope: any) {
|
|
async function payFailed(scope: any) {
|
|
|
- const task_id = scope.task_id
|
|
|
|
|
|
|
+ const task_id = scope.task_id;
|
|
|
service.shuyouUtils
|
|
service.shuyouUtils
|
|
|
.payFailed({ task_id: task_id })
|
|
.payFailed({ task_id: task_id })
|
|
|
.then((data) => {
|
|
.then((data) => {
|
|
|
// console.log(data.code)
|
|
// console.log(data.code)
|
|
|
visible_pay.value = true;
|
|
visible_pay.value = true;
|
|
|
- payAccount.type = '付费失败的账号'
|
|
|
|
|
|
|
+ payAccount.type = "付费失败的账号";
|
|
|
if (data.code == 1) {
|
|
if (data.code == 1) {
|
|
|
- if (data.message == 'null') {
|
|
|
|
|
- payAccount.account = '暂无账号'
|
|
|
|
|
|
|
+ if (data.message == "null") {
|
|
|
|
|
+ payAccount.account = "暂无账号";
|
|
|
} else {
|
|
} else {
|
|
|
- let arr = ''
|
|
|
|
|
- data.message.forEach(e => {
|
|
|
|
|
- arr += e.account + '----' + e.password + '\n'
|
|
|
|
|
|
|
+ let arr = "";
|
|
|
|
|
+ data.message.forEach((e) => {
|
|
|
|
|
+ arr += e.account + "----" + e.password + "\n";
|
|
|
});
|
|
});
|
|
|
- payAccount.account = arr
|
|
|
|
|
|
|
+ payAccount.account = arr;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
@@ -889,25 +998,24 @@ export default defineComponent({
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function addCardMsg() {
|
|
function addCardMsg() {
|
|
|
- let hasFlag = false
|
|
|
|
|
|
|
+ let hasFlag = false;
|
|
|
for (let i = 0; i < cardList.value.length; i++) {
|
|
for (let i = 0; i < cardList.value.length; i++) {
|
|
|
- if (cardList.value[i].card_account == '' || cardList.value[i].card_balance == '') {
|
|
|
|
|
- hasFlag = true
|
|
|
|
|
|
|
+ if (cardList.value[i].card_account == "" || cardList.value[i].card_balance == "") {
|
|
|
|
|
+ hasFlag = true;
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if (hasFlag == true) {
|
|
if (hasFlag == true) {
|
|
|
- ElMessage.error('有未填写项');
|
|
|
|
|
|
|
+ ElMessage.error("有未填写项");
|
|
|
} else {
|
|
} else {
|
|
|
cardList.value.push({
|
|
cardList.value.push({
|
|
|
- card_account: '',
|
|
|
|
|
- card_balance: ''
|
|
|
|
|
|
|
+ card_account: "",
|
|
|
|
|
+ card_balance: ""
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
function deleteCardMsg(index: number) {
|
|
function deleteCardMsg(index: number) {
|
|
|
- cardList.value.splice(index, 1)
|
|
|
|
|
|
|
+ cardList.value.splice(index, 1);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 权限service.shuyouGameTarget.permission.forceAddPayMz
|
|
// 权限service.shuyouGameTarget.permission.forceAddPayMz
|
|
@@ -916,26 +1024,30 @@ export default defineComponent({
|
|
|
|
|
|
|
|
//查询今日可付费账号
|
|
//查询今日可付费账号
|
|
|
async function unpaid(scope: any) {
|
|
async function unpaid(scope: any) {
|
|
|
- const task_id = scope.task_id
|
|
|
|
|
- rowTask.xjf_id = scope.xjf_id
|
|
|
|
|
- rowTask.login_modeId = scope.login_modeId
|
|
|
|
|
- accountList.value = []
|
|
|
|
|
|
|
+ const task_id = scope.task_id;
|
|
|
|
|
+ rowTask.xjf_id = scope.xjf_id;
|
|
|
|
|
+ rowTask.login_modeId = scope.login_modeId;
|
|
|
|
|
+ accountList.value = [];
|
|
|
service.shuyouUtils
|
|
service.shuyouUtils
|
|
|
.unpaid({ task_id: task_id })
|
|
.unpaid({ task_id: task_id })
|
|
|
.then((data) => {
|
|
.then((data) => {
|
|
|
visible_can_pay.value = true;
|
|
visible_can_pay.value = true;
|
|
|
- payAccount.type = '( ' + scope.task_name + ' ) - ' + '当日可付费账号,仅展示100个,如需更多,请联系国亮哥获取'
|
|
|
|
|
|
|
+ payAccount.type =
|
|
|
|
|
+ "( " +
|
|
|
|
|
+ scope.task_name +
|
|
|
|
|
+ " ) - " +
|
|
|
|
|
+ "当日可付费账号,仅展示100个,如需更多,请联系国亮哥获取";
|
|
|
if (data.code == 1) {
|
|
if (data.code == 1) {
|
|
|
- if (data.message == 'null') {
|
|
|
|
|
- payAccount.type = '暂无账号'
|
|
|
|
|
|
|
+ if (data.message == "null") {
|
|
|
|
|
+ payAccount.type = "暂无账号";
|
|
|
} else {
|
|
} else {
|
|
|
- data.message.forEach(e => {
|
|
|
|
|
|
|
+ data.message.forEach((e) => {
|
|
|
let obj = {
|
|
let obj = {
|
|
|
account: e.account,
|
|
account: e.account,
|
|
|
password: e.password,
|
|
password: e.password,
|
|
|
- msg: ''
|
|
|
|
|
- }
|
|
|
|
|
- accountList.value.push(obj)
|
|
|
|
|
|
|
+ msg: ""
|
|
|
|
|
+ };
|
|
|
|
|
+ accountList.value.push(obj);
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -945,60 +1057,65 @@ export default defineComponent({
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
async function handAddPayMz(row: any) {
|
|
async function handAddPayMz(row: any) {
|
|
|
- ElMessageBox.confirm(
|
|
|
|
|
- "确定要手动加币吗,请谨慎操作!!!",
|
|
|
|
|
- '账号: ' + row.account,
|
|
|
|
|
- {
|
|
|
|
|
- dangerouslyUseHTMLString: true,
|
|
|
|
|
- type: "warning"
|
|
|
|
|
- }
|
|
|
|
|
- ).then(() => {
|
|
|
|
|
- service.shuyouGameTarget
|
|
|
|
|
- .handAddPayMz({ xjf_id: rowTask.xjf_id, account: row.account, pay_price: pay_price.value })
|
|
|
|
|
- .then((data) => {
|
|
|
|
|
- // console.log(data)
|
|
|
|
|
- if (data.code == 1) {
|
|
|
|
|
- ElMessage.success(data.message);
|
|
|
|
|
- } else {
|
|
|
|
|
- ElMessage.error(data.message);
|
|
|
|
|
- }
|
|
|
|
|
- row.msg = data.message
|
|
|
|
|
- })
|
|
|
|
|
- .catch((err: string) => {
|
|
|
|
|
- ElMessage.error(err);
|
|
|
|
|
- });
|
|
|
|
|
- }).catch(() => null);
|
|
|
|
|
-
|
|
|
|
|
|
|
+ ElMessageBox.confirm("确定要手动加币吗,请谨慎操作!!!", "账号: " + row.account, {
|
|
|
|
|
+ dangerouslyUseHTMLString: true,
|
|
|
|
|
+ type: "warning"
|
|
|
|
|
+ })
|
|
|
|
|
+ .then(() => {
|
|
|
|
|
+ service.shuyouGameTarget
|
|
|
|
|
+ .handAddPayMz({
|
|
|
|
|
+ xjf_id: rowTask.xjf_id,
|
|
|
|
|
+ account: row.account,
|
|
|
|
|
+ pay_price: pay_price.value
|
|
|
|
|
+ })
|
|
|
|
|
+ .then((data) => {
|
|
|
|
|
+ // console.log(data)
|
|
|
|
|
+ if (data.code == 1) {
|
|
|
|
|
+ ElMessage.success(data.message);
|
|
|
|
|
+ } else {
|
|
|
|
|
+ ElMessage.error(data.message);
|
|
|
|
|
+ }
|
|
|
|
|
+ row.msg = data.message;
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch((err: string) => {
|
|
|
|
|
+ ElMessage.error(err);
|
|
|
|
|
+ });
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(() => null);
|
|
|
}
|
|
}
|
|
|
async function forceAddPayMz() {
|
|
async function forceAddPayMz() {
|
|
|
- force_add.msg = ''
|
|
|
|
|
|
|
+ force_add.msg = "";
|
|
|
ElMessageBox.confirm(
|
|
ElMessageBox.confirm(
|
|
|
"确定要强制给账号加币吗,请谨慎操作!!!",
|
|
"确定要强制给账号加币吗,请谨慎操作!!!",
|
|
|
- '账号: ' + force_add.force_account,
|
|
|
|
|
|
|
+ "账号: " + force_add.force_account,
|
|
|
{
|
|
{
|
|
|
dangerouslyUseHTMLString: true,
|
|
dangerouslyUseHTMLString: true,
|
|
|
type: "error"
|
|
type: "error"
|
|
|
}
|
|
}
|
|
|
- ).then(() => {
|
|
|
|
|
- service.shuyouGameTarget
|
|
|
|
|
- .handAddPayMz({ xjf_id: rowTask.xjf_id, account: force_add.force_account, pay_price: pay_price.value })
|
|
|
|
|
- .then((data) => {
|
|
|
|
|
- // console.log(data)
|
|
|
|
|
- if (data.code == 1) {
|
|
|
|
|
- ElMessage.success(data.message);
|
|
|
|
|
- } else {
|
|
|
|
|
- ElMessage.error(data.message);
|
|
|
|
|
- }
|
|
|
|
|
- force_add.msg = data.message
|
|
|
|
|
- })
|
|
|
|
|
- .catch((err: string) => {
|
|
|
|
|
- ElMessage.error(err);
|
|
|
|
|
- });
|
|
|
|
|
- }).catch(() => null);
|
|
|
|
|
-
|
|
|
|
|
|
|
+ )
|
|
|
|
|
+ .then(() => {
|
|
|
|
|
+ service.shuyouGameTarget
|
|
|
|
|
+ .handAddPayMz({
|
|
|
|
|
+ xjf_id: rowTask.xjf_id,
|
|
|
|
|
+ account: force_add.force_account,
|
|
|
|
|
+ pay_price: pay_price.value
|
|
|
|
|
+ })
|
|
|
|
|
+ .then((data) => {
|
|
|
|
|
+ // console.log(data)
|
|
|
|
|
+ if (data.code == 1) {
|
|
|
|
|
+ ElMessage.success(data.message);
|
|
|
|
|
+ } else {
|
|
|
|
|
+ ElMessage.error(data.message);
|
|
|
|
|
+ }
|
|
|
|
|
+ force_add.msg = data.message;
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch((err: string) => {
|
|
|
|
|
+ ElMessage.error(err);
|
|
|
|
|
+ });
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(() => null);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
// crud 加载
|
|
// crud 加载
|
|
|
async function onLoad({ ctx, app }: CrudLoad) {
|
|
async function onLoad({ ctx, app }: CrudLoad) {
|
|
|
// console.log(service);
|
|
// console.log(service);
|
|
@@ -1012,28 +1129,27 @@ export default defineComponent({
|
|
|
ElMessageBox.confirm(aa.message, "数据查询失败", {
|
|
ElMessageBox.confirm(aa.message, "数据查询失败", {
|
|
|
type: "error"
|
|
type: "error"
|
|
|
})
|
|
})
|
|
|
- .then(() => { })
|
|
|
|
|
|
|
+ .then(() => {})
|
|
|
.catch(() => null);
|
|
.catch(() => null);
|
|
|
|
|
|
|
|
// ctx.service(service.shuyouGameTarget).done();
|
|
// ctx.service(service.shuyouGameTarget).done();
|
|
|
// app.refresh();
|
|
// app.refresh();
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function showPage(row: any) {
|
|
function showPage(row: any) {
|
|
|
- var ret = false
|
|
|
|
|
- if (row.is_complete == 0 && dayjs(new Date()).format('YYYY-MM-DD') != row.new_date) {
|
|
|
|
|
- ret = true
|
|
|
|
|
|
|
+ var ret = false;
|
|
|
|
|
+ if (row.is_complete == 0 && dayjs(new Date()).format("YYYY-MM-DD") != row.new_date) {
|
|
|
|
|
+ ret = true;
|
|
|
}
|
|
}
|
|
|
- return ret
|
|
|
|
|
|
|
+ return ret;
|
|
|
}
|
|
}
|
|
|
function showResetPay(row: any) {
|
|
function showResetPay(row: any) {
|
|
|
- var ret = false
|
|
|
|
|
- if (dayjs(new Date()).format('YYYY-MM-DD') == row.new_date) {
|
|
|
|
|
- ret = true
|
|
|
|
|
|
|
+ var ret = false;
|
|
|
|
|
+ if (dayjs(new Date()).format("YYYY-MM-DD") == row.new_date) {
|
|
|
|
|
+ ret = true;
|
|
|
}
|
|
}
|
|
|
- return ret
|
|
|
|
|
|
|
+ return ret;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 表单值
|
|
// 表单值
|
|
@@ -1084,7 +1200,7 @@ export default defineComponent({
|
|
|
.catch((err: string) => {
|
|
.catch((err: string) => {
|
|
|
ElMessage.error(err);
|
|
ElMessage.error(err);
|
|
|
});
|
|
});
|
|
|
- };
|
|
|
|
|
|
|
+ }
|
|
|
async function switchResetPay(xxx) {
|
|
async function switchResetPay(xxx) {
|
|
|
ElMessageBox.confirm(
|
|
ElMessageBox.confirm(
|
|
|
"确定要重新下发今日付费未成功的账号以及重置留存账号吗?!!",
|
|
"确定要重新下发今日付费未成功的账号以及重置留存账号吗?!!",
|
|
@@ -1093,22 +1209,23 @@ export default defineComponent({
|
|
|
dangerouslyUseHTMLString: true,
|
|
dangerouslyUseHTMLString: true,
|
|
|
type: "info"
|
|
type: "info"
|
|
|
}
|
|
}
|
|
|
- ).then(() => {
|
|
|
|
|
- service.shuyouGameTarget
|
|
|
|
|
- .resetPay({ id: xxx.task_id })
|
|
|
|
|
- .then((data) => {
|
|
|
|
|
- // console.log(data)
|
|
|
|
|
- if (data.code == 1) {
|
|
|
|
|
- ElMessage.success(data.message);
|
|
|
|
|
- } else {
|
|
|
|
|
- ElMessage.error(data.message);
|
|
|
|
|
- }
|
|
|
|
|
- refs.value.crud.refresh();
|
|
|
|
|
- })
|
|
|
|
|
- .catch((err: string) => {
|
|
|
|
|
- ElMessage.error(err);
|
|
|
|
|
- });
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ )
|
|
|
|
|
+ .then(() => {
|
|
|
|
|
+ service.shuyouGameTarget
|
|
|
|
|
+ .resetPay({ id: xxx.task_id })
|
|
|
|
|
+ .then((data) => {
|
|
|
|
|
+ // console.log(data)
|
|
|
|
|
+ if (data.code == 1) {
|
|
|
|
|
+ ElMessage.success(data.message);
|
|
|
|
|
+ } else {
|
|
|
|
|
+ ElMessage.error(data.message);
|
|
|
|
|
+ }
|
|
|
|
|
+ refs.value.crud.refresh();
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch((err: string) => {
|
|
|
|
|
+ ElMessage.error(err);
|
|
|
|
|
+ });
|
|
|
|
|
+ })
|
|
|
.catch(() => null);
|
|
.catch(() => null);
|
|
|
}
|
|
}
|
|
|
|
|
|