Commit 724571e4 authored by Mac's avatar Mac

1

parent 6b2da078
/**
* 所有跟用户相关的接口(TODO:DEMO USER)
*/
import { HttpResponse } from '@/@types'
import Axios from './axios'
/**
* @interface loginParams -登录参数
* @property {string} grant_type -授权类型
* @property {string} email -邮箱
* @property {string} password -用户密码
*/
interface pageMsg{
pageIndex:number,
pageSize:number,
rowsPerPage:number,
}
interface IdName {
Id: number
Name: string
}
class drainageApi {
// 获取客户字段列表
static async getCustomerFiledList(data: pageMsg | IdName): Promise<HttpResponse> {
return Axios('/QYWeChat/GetWeChatMediumGroupPageList', {
method: 'post',
responseType: 'json',
data
})
}
}
export default drainageApi
\ No newline at end of file
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<div style="height: 100%; width: 100%;padding: 16px"> <div style="height: 100%; width: 100%;padding: 16px">
<div class="rightrow" style="margin-top: 0px;"> <div class="rightrow" style="margin-top: 0px;">
<div class="leftwidth">字段名称:</div> <div class="leftwidth">字段名称:</div>
<q-input clearable outlined v-model="addMsg.Name" counter maxlength="8" <q-input clearable outlined v-model="addMsg.Name" counter maxlength="8" placeholder="请输入字段名称"
:rules="[val => !!val || '请输入字段名称']" dense style="width: 400px;" /> :rules="[val => !!val || '请输入字段名称']" dense style="width: 400px;" />
</div> </div>
<div class="rightrow" style="margin-top: 0px;"> <div class="rightrow" style="margin-top: 0px;">
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<div class="rightrow" v-if='tab==1'> <div class="rightrow" v-if='tab==1'>
<div class="leftwidth">字数限制:</div> <div class="leftwidth">字数限制:</div>
<q-input v-model.number="addMsg.WordNum" outlined dense type="number" :max='50' <q-input v-model.number="addMsg.WordNum" outlined dense type="number" :max='50' placeholder="请输入"
:min='0' maxlength="8" style="width: 400px" /> :min='0' maxlength="8" style="width: 400px" />
</div> </div>
<div class="rightrow" v-if='tab==1'> <div class="rightrow" v-if='tab==1'>
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
</div> </div>
<div class="rightrow" v-if='tab==2'> <div class="rightrow" v-if='tab==2'>
<div class="leftwidth">文字字数:</div> <div class="leftwidth">文字字数:</div>
<q-input v-model.number="addMsg.WordNum" outlined dense type="number" :max='2000' <q-input v-model.number="addMsg.WordNum" outlined dense type="number" :max='2000' placeholder="请输入"
:min='0' maxlength="2000" style="width: 400px" /> :min='0' maxlength="2000" style="width: 400px" />
</div> </div>
<div class="rightrow" v-if='tab==3|| tab==4'> <div class="rightrow" v-if='tab==3|| tab==4'>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
<div style="display: flex;margin-bottom: 10px;"> <div style="display: flex;margin-bottom: 10px;">
<i class="iconfont icon-drag" <i class="iconfont icon-drag"
style="font-size: 26px;color: #777;margin-right: 10px;"></i> style="font-size: 26px;color: #777;margin-right: 10px;"></i>
<q-input v-model.number="element.Name" outlined dense clearable <q-input v-model.number="element.Name" outlined dense clearable placeholder="请输入"
style="width: 250px" /> style="width: 250px" />
<div <div
style="display: flex;align-items: center;margin-top: 8px;margin-left: 10px;height: 26px;"> style="display: flex;align-items: center;margin-top: 8px;margin-left: 10px;height: 26px;">
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
clearable clearable
standout="bg-primary text-white" standout="bg-primary text-white"
v-model="data.addMsg.Name" v-model="data.addMsg.Name"
label="标签组名称" placeholder="标签组名称"
:rules="[val => !!val || '请输入分组名称']" :rules="[val => !!val || '请输入分组名称']"
ref="Name" ref="Name"
/> />
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
type="number" type="number"
standout="bg-primary text-white" standout="bg-primary text-white"
v-model="data.addMsg.Sort" v-model="data.addMsg.Sort"
label="标签组排序" placeholder="标签组排序"
:rules="[val => !!val || '请输入分组排序']" :rules="[val => !!val || '请输入分组排序']"
ref="Sort" ref="Sort"
/> />
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
clearable clearable
standout="bg-primary text-white" standout="bg-primary text-white"
v-model="x.Name" v-model="x.Name"
label="输入标签名称" placeholder="输入标签名称"
/> />
</div> </div>
<div class="col-3"> <div class="col-3">
...@@ -148,7 +148,8 @@ ...@@ -148,7 +148,8 @@
filled filled
standout="bg-primary text-white" standout="bg-primary text-white"
v-model="x.Sort" v-model="x.Sort"
label="输入排序"
placeholder="输入排序"
maxlength="20" maxlength="20"
type="number" type="number"
/> />
...@@ -171,6 +172,8 @@ ...@@ -171,6 +172,8 @@
icon="add" icon="add"
style="font-weight:400;color: #3FC4FF;margin-top: 10px;" style="font-weight:400;color: #3FC4FF;margin-top: 10px;"
label="添加标签" label="添加标签"
@click="addbiaoqian()" @click="addbiaoqian()"
/> />
</q-card-section> </q-card-section>
...@@ -205,7 +208,7 @@ ...@@ -205,7 +208,7 @@
clearable clearable
standout="bg-primary text-white" standout="bg-primary text-white"
v-model="data.addMsg.Name" v-model="data.addMsg.Name"
label="标签组名称" placeholder="标签组名称"
:rules="[val => !!val || '请输入分组名称']" :rules="[val => !!val || '请输入分组名称']"
ref="eName" ref="eName"
/> />
...@@ -217,7 +220,7 @@ ...@@ -217,7 +220,7 @@
clearable clearable
standout="bg-primary text-white" standout="bg-primary text-white"
v-model="data.addMsg.Name" v-model="data.addMsg.Name"
label="标签名称" placeholder="标签名称"
:rules="[val => !!val || '请输入标签名称']" :rules="[val => !!val || '请输入标签名称']"
ref="eName" ref="eName"
/> />
...@@ -226,7 +229,8 @@ ...@@ -226,7 +229,8 @@
clearable clearable
standout="bg-primary text-white" standout="bg-primary text-white"
v-model="data.addMsg.Sort" v-model="data.addMsg.Sort"
label="标签组排序" placeholder="标签组排序"
:rules="[val => !!val || '请输入分组排序']" :rules="[val => !!val || '请输入分组排序']"
ref="eSort" ref="eSort"
/> />
......
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