Commit 01f3c2d8 authored by Mac's avatar Mac

微店内容

parent bede319b
......@@ -93,11 +93,11 @@
<img @click="pending(scope.row,2)" v-if="scope.row.AuditStatus==1" class="app-order-icon"
src="../../../assets/img/userman/nopass.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="添加备注" placement="top-start" v-if="scope.row.AuditStatus==2">
<img @click="openRemark(5,scope.row)" style="width:32px;height:32px" src="../../../assets/img/userman/add_remark.png" alt="" v-if="scope.row.AuditStatus==2">
<el-tooltip class="item" effect="dark" content="修改备注" placement="top-start" v-if="scope.row.AuditStatus==2">
<img @click="pending(scope.row,3)" style="width:32px;height:32px" src="../../../assets/img/userman/add_remark.png" alt="" v-if="scope.row.AuditStatus==2">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top-start" v-if="scope.row.AuditStatus==2">
<img @click="Delete(3,scope.row)" style="width:32px;height:32px" src="../../../assets/img/userman/del.png" alt="" v-if="scope.row.AuditStatus==2">
<img @click="pending(scope.row,4)" style="width:32px;height:32px" src="../../../assets/img/userman/del.png" alt="" v-if="scope.row.AuditStatus==2">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="修改微店佣金" placement="top-start" v-if="scope.row.AuditStatus==2">
<img @click="openYongjin(scope.row)" style="width:32px;height:32px" src="../../../assets/img/userman/edit.png" alt="" v-if="scope.row.AuditStatus==2">
......@@ -131,6 +131,19 @@
<el-button size="small" type="primary" @click="setCommission">确 定</el-button>
</span>
</el-dialog>
<!-- 修改备注 -->
<el-dialog title="提示" :visible.sync="reasonDig" width="500px">
<el-form :model="RemarkMsg" ref="RemarkMsg" label-width="0">
<p style="margin-bottom:10px">请输入备注</p>
<el-form-item>
<el-input size="small" v-model="RemarkMsg.Remark" type="textarea" :rows="3"></el-input>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="reasonDig = false">取 消</el-button>
<el-button size="small" type="primary" @click="czsubmitForm()" :loading="tjloading">确 定</el-button>
</span>
</el-dialog>
</div>
</div>
</template>
......@@ -140,6 +153,8 @@
return {
loading:false,
yjDialog:false,
reasonDig:false,
tjloading:false,
value:'',
options:[],
tableData:[],
......@@ -160,7 +175,8 @@
Commission:0
},
yjNickName:'',
TotalCommission:''
TotalCommission:'',
RemarkMsg:{},
};
},
created() {
......@@ -206,6 +222,7 @@
this.yjMsg.Commission=row.Commission?row.Commission:0.00;
this.yjDialog=true;
},
//修改佣金
setCommission(){
this.apipost("/api/SmallShops/SetSmallShopsCommission",this.yjMsg, res => {
......@@ -228,8 +245,16 @@
text = '同意审核!'
}else if(type==2){
text = '拒绝审核!'
}else if(type == 4){
text = '是否删除当前微店!'
}
let that=this;
if(type ==3){
msg.Remark = row.Remark;
that.RemarkMsg = msg
that.reasonDig = true;
}else {
that.$confirm(text, {
confirmButtonText: '确定',
cancelButtonText: '取消',
......@@ -249,8 +274,26 @@
}).catch(() => {
});
}
},
czsubmitForm(){
this.tjloading= true;
this.apipost('/api/SmallShops/SetSmallShopsAudit',this.RemarkMsg,
res => {
this.tjloading= false
if (res.data.resultCode === 1) {
this.reasonDig= false
this.getList();
this.Success(res.data.message)
} else {
this.Error(res.data.message);
}
},
null
);
}
},
mounted() {
......
This diff is collapsed.
This diff is collapsed.
......@@ -323,6 +323,18 @@ export default new Router({
name: 'wdExamine',
component: resolve => require(['@/components/UserMan/tinyMerchant/wdExamine'], resolve),
},
// 用户管理 微店订单
{
path: '/wdOrder',
name: 'wdOrder',
component: resolve => require(['@/components/UserMan/tinyMerchant/wdOrder'], resolve),
},
// 用户管理 微店提现
{
path: '/wdWithdrawal',
name: 'wdWithdrawal',
component: resolve => require(['@/components/UserMan/tinyMerchant/wdWithdrawal'], resolve),
},
// 商品管理 素材管理
{
path: '/materialMan',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment