Commit df5f3990 authored by zhengke's avatar zhengke

支付优化, 颜色列表优化

parent 2ecb9a50
......@@ -3,7 +3,8 @@
<div class="CloudDisk-L">
<div class="row CloudDisk-L-inquire">
<el-input v-model="GName"
placeholder="搜索分组名称" @keyup.enter="querySearchGroup">
placeholder="搜索分组名称" @keyup.enter="querySearchGroup"
@change="SearchGroup">
</el-input>
<el-button type="primary" @click="addEditGroup">添加</el-button>
</div>
......@@ -288,7 +289,9 @@ const deleteGroup = (item:any) => {
}
const SearchGroup = () => {
if(GName.value=='') querySearchGroup()
}
const querySearchGroup = async () =>{
try {
let datasRes = await CloudDiskService.GetPPTCloudList(GName.value);
......
......@@ -169,12 +169,13 @@
size="small">广告</el-tag>
</template>
</el-table-column>
<!-- <el-table-column label="创建人/时间" width="150">
<el-table-column label="修改时间" width="150">
<template #default="scope">
{{scope.row.CreateByName}}<br/>
<span class="text-info">{{scope.row.CreateTime}}</span>
<!-- {{scope.row.CreateByName}}<br/> -->
<!-- <span class="text-info">{{scope.row.CreateTime}}</span> -->
<span class="text-info">{{scope.row.UpdateTime}}</span>
</template>
</el-table-column> -->
</el-table-column>
<el-table-column label="操作" width="120">
<template #default="scope">
<el-button type="default" link :icon="Edit" size="small" @click="goToTemplate(scope.row)">编辑</el-button>
......
......@@ -51,12 +51,12 @@
:selectable="selectable" :reserve-selection="true"/>
<el-table-column label="颜色分类">
<template #default="scope">
<span v-html="queryObj.Name!=''&&scope.row.Name?(scope.row.Name.replaceAll(queryObj.Name,`<span class='text-waring'>${queryObj.Name}</span>`)):scope.row.Name"></span>
<span v-if="!scope.row.Code" v-html="queryObj.Name!=''&&scope.row.Name?(scope.row.Name.replaceAll(queryObj.Name,`<span class='text-waring'>${queryObj.Name}</span>`)):scope.row.Name"></span>
</template>
</el-table-column>
<el-table-column label="颜色名称">
<template #default="scope">
<div v-html="queryObj.Name!=''&&scope.row.Name?(scope.row.Name.replaceAll(queryObj.Name,`<span class='text-waring'>${queryObj.Name}</span>`)):scope.row.Name"></div>
<div v-if="scope.row.Code" v-html="queryObj.Name!=''&&scope.row.Name?(scope.row.Name.replaceAll(queryObj.Name,`<span class='text-waring'>${queryObj.Name}</span>`)):scope.row.Name"></div>
</template>
</el-table-column>
<el-table-column label="色值">
......
......@@ -197,10 +197,10 @@ const setPaymentQrCode = async ()=>{
}
const response = await OrderService.CreateTempOrderPaymentAsync(parameters)
if(response.data.resultCode==ApiResult.SUCCESS){
beginTimerHandler()
qrCode.value = response.data.data.qr
orderNum.value = response.data.data.no
countValue.value = Date.now() + 1000 * 60 * 30
beginTimerHandler()
}else{
qrCode.value='none'
}
......
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