Commit 0c104ee7 by 蒋勇

d

parent 1f96f992

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

#!/bin/bash
FROM registry.cn-beijing.aliyuncs.com/hantang/node105:v2
MAINTAINER jy "jiangyong@gongsibao.com"
ADD embed_applications /apps/embed_applications/
WORKDIR /apps/embed_applications/
ADD jiaxiya /apps/jiaxiya/
WORKDIR /apps/jiaxiya/
RUN cnpm install -S
CMD ["node","/apps/embed_applications/main.js"]
CMD ["node","/apps/jiaxiya/main.js"]
......
var APIBase =require("../../api.base");
var system=require("../../../system");
class TestAPI extends APIBase{
constructor(){super();}
async test(pobj,query){
return system.getResult2({hello:"ok"});
}
initClassDoc(){
this.descClass("test","测试类")
this.descMethod("test method","test","post param","pobj","map",null,"test.rtn","map");
console.log(this.apiDoc);
}
}
module.exports=TestAPI;
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
var System = require("../../../system");
var settings = require("../../../../config/settings");
const ApiBase = require("../../api.base");
class GsbIcSearchApi extends ApiBase {
constructor() {
super();
this.iccompanynameSearchUrl = settings.apiconfig.iccompanynameSearchUrl(settings.env);
this.phonesearch = System.getObject("api.tmquery.phonesearch");
};
async getConvertSemiangleStr(str) {
var result = "";
str = str.replace(/\s+/g, "");
var len = str.length;
for (var i = 0; i < len; i++) {
var cCode = str.charCodeAt(i);
//全角与半角相差(除空格外):65248(十进制)
cCode = (cCode >= 0xFF01 && cCode <= 0xFF5E) ? (cCode - 65248) : cCode;
//处理空格
cCode = (cCode == 0x03000) ? 0x0020 : cCode;
result += String.fromCharCode(cCode);
}
return result;
};
async companyonesearch(obj) {
var self = this;
var isVerify = obj.isVerify || 1;
if (isVerify == 1) {
var data = await this.checkKey(obj.appKey);
if (data && data.status && data.status == -1) {
return data;
}
}
var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = 1;
if (obj.currentPage == null) {
var from = 0;
} else {
var from = Number((obj.currentPage - 1) * obj.pageSize);
}
var reqUrl = this.iccompanynameSearchUrl;
var params = {
"query": {
"bool": {
"must": [
{
"term": {
"company_name.raw": companyName
}
}
]
}
},
"from": from,
"size": pageSize,
"_source": [
"company_id",
"company_province",
"company_domain",
"legal_person",
"reg_status",
"reg_unit",
"reg_capital",
"estibish_time",
"credit_code",
"reg_number",
"org_number",
"company_type",
"reg_institute",
"reg_location",
"business_scope",
"approved_time",
"from_time",
"to_time",
"reg_unit"
]
};
var rc = System.getObject("util.execClient");
var rtn = null;
try {
rtn = await rc.execPost(params, reqUrl);
var j = JSON.parse(rtn.stdout);
var sources = [];
var data = {
"result": 1,
"totalSize": j.hits.total,
"pageSize": 1,
"currentPage": obj.currentPage - 1, "list": sources
};
for (var k = 0; k < j.hits.hits.length; k++) {
var c = j.hits.hits[k];
if (c._source.approved_time != null) {
var time3 = new Date(c._source.approved_time * 1000);
c._source.approved_time = time3.toLocaleDateString();
}
if (c._source.from_time != null) {
var time3 = new Date(c._source.from_time * 1000);
c._source.from_time = time3.toLocaleDateString();
}
if (c._source.to_time != null) {
var time3 = new Date(c._source.to_time * 1000);
c._source.to_time = time3.toLocaleDateString();
}
if (c._source.estibish_time != null) {
var time3 = new Date(c._source.estibish_time * 1000);
c._source.estibish_time = time3.toLocaleDateString();
}
if (c._source.company_domain) {
var pobj = {
appKey: obj.appKey,
companyName: c._source.company_domain
}
var phones = await self.phonesearch.phoneNameSearch(pobj);
if (phones.status == 0 && phones.data.list.length > 0) {
c._source.tel_info = phones.data.list[0]._doc.phone_number;
c._source.email_info = phones.data.list[0]._doc.email;
}
}
if (c._source.reg_unit == null) {
c._source.reg_unit = "万人民币";
}
if (c._source.reg_capital == null) {
c._source.reg_capital = "未公开";
c._source.reg_unit = "";
}
var source = {
name: c._source.company_domain,
legalRepresentative: c._source.legal_person,
managementState: c._source.reg_status,
registeredCapital: c._source.reg_capital + c._source.reg_unit,
foundedTime: c._source.estibish_time,
creditCode: c._source.credit_code,
registrID: c._source.reg_number,
organizationCode: c._source.org_number,
companyType: c._source.company_type,
registerOffice: c._source.reg_institute,
businessAddress: c._source.reg_location,
scope: c._source.business_scope,
dateIssue: c._source.approved_time,
businessTerm: c._source.from_time + "至" + c._source.to_time,
tel_info: c._source.tel_info,
};
sources.push(source);
}
var a = { status: 0, msg: "操作成功", data: data };
return a;
} catch (e) {
return { status: -1, msg: "操作失败", data: null };
}
};
}
module.exports = GsbIcSearchApi;
// var capi=new GsbTmSearchApi();
// capi.xzSearch({}).then(function(result){
// console.log((result));
// }).catch(function(e){
// console.log(e);
// });
mongoose = require('mongoose');
var Schema = mongoose.Schema({
company_name: { type: String},
})
const ad = mongoose.model('taierphones', Schema);
//导出模型
module.exports =ad;
var System = require("../../../system");
var settings = require("../../../../config/settings");
const ApiBase = require("../../api.base");
var mongoose = require('mongoose');
var Schema = mongoose.Schema({
company_name: { type: String},
})
const ad = mongoose.model('taierphones', Schema);
const logCtl = System.getObject("web.common.oplogCtl");
class GsbMgSearchApi extends ApiBase {
constructor() {
super();
this.mgdbModel = System.getObject("db.tmquery.mgconnection").getModel("taierphones");
};
async getConvertSemiangleStr(str) {
var result = "";
str = str.replace(/\s+/g, "");
var len = str.length;
for (var i = 0; i < len; i++) {
var cCode = str.charCodeAt(i);
//全角与半角相差(除空格外):65248(十进制)
cCode = (cCode >= 0xFF01 && cCode <= 0xFF5E) ? (cCode - 65248) : cCode;
//处理空格
cCode = (cCode == 0x03000) ? 0x0020 : cCode;
result += String.fromCharCode(cCode);
}
return result;
};
async phoneNameSearch(obj) {
// var data = await this.checkKey(obj.appKey);
// if (data && data.status && data.status == -1) {
// return data;
// }
var companyName = obj.companyName == null ? "" : obj.companyName;
companyName = await this.getConvertSemiangleStr(companyName);
var pageSize = obj.pageSize == null ? 15 : obj.pageSize;
if (obj.currentPage == null) {
var from = 0;
} else {
var from = Number((obj.currentPage - 1) * obj.pageSize);
}
var skipnum = (obj.currentPage - 1) * pageSize;
var params = {
"company_name": companyName
}
var opt = { "_id": 0 };
var rtn = null;
var list = {}
var phone = []
list.company_name = companyName
try {
rtn = await this.mgdbModel.find(params, opt).skip(skipnum).limit(pageSize).exec()
var data = {
"result": 1,
"totalSize": rtn.length,
"pageSize": pageSize,
"currentPage": obj.currentPage - 1, "list": rtn
};
var a = { status: 0, msg: "操作成功", data: data };
return a;
} catch (e) {
//日志记录
logCtl.error({
optitle: "mg操作失败,通过公司名称查电话-error",
op: "base/api/impl/phonesearch/phoneNameSearch",
content: e.stack,
clientIp: ""
});
// console.log(e.stack, "mg操作失败");
return { status: -1, msg: "操作失败", data: null };
}
}
}
module.exports = GsbMgSearchApi;
This source diff could not be displayed because it is too large. You can view the blob instead.
const system=require("../system");
const settings=require("../../config/settings");
class CtlBase{
constructor(gname,sname){
this.serviceName=sname;
this.service=system.getObject("service."+gname+"."+sname);
this.cacheManager=system.getObject("db.common.cacheManager");
this.md5 = require("MD5");
}
encryptPasswd(passwd) {
if (!passwd) {
throw new Error("请输入密码");
}
var md5 = this.md5(passwd + "_" + settings.salt);
return md5.toString().toLowerCase();
}
notify(req,msg){
if(req.session){
req.session.bizmsg=msg;
}
}
async findOne(queryobj,qobj){
var rd=await this.service.findOne(qobj);
return system.getResult2(rd,null);
}
async findAndCountAll(queryobj,obj,req){
obj.codepath=req.codepath;
if(req.session.user){
obj.uid=req.session.user.id;
obj.appid=req.session.user.app_id;
obj.onlyCode=req.session.user.unionId;
obj.account_id=req.session.user.account_id;
obj.ukstr=req.session.user.app_id+"¥"+req.session.user.id+"¥"+req.session.user.nickName+"¥"+req.session.user.headUrl;
}
var apps=await this.service.findAndCountAll(obj);
return system.getResult2(apps,null);
}
async refQuery(queryobj,qobj){
var rd=await this.service.refQuery(qobj);
return system.getResult2(rd,null);
}
async bulkDelete(queryobj,ids){
var rd=await this.service.bulkDelete(ids);
return system.getResult2(rd,null);
}
async delete(queryobj,qobj){
var rd=await this.service.delete(qobj);
return system.getResult2(rd,null);
}
async create(queryobj,qobj,req){
if(req && req.session && req.session.app){
qobj.app_id=req.session.app.id;
qobj.onlyCode=req.session.user.unionId;
if(req.codepath){
qobj.codepath=req.codepath;
}
}
var rd=await this.service.create(qobj);
return system.getResult2(rd,null);
}
async update(queryobj,qobj,req){
if(req && req.session && req.session.user){
qobj.onlyCode=req.session.user.unionId;
}
if(req.codepath){
qobj.codepath=req.codepath;
}
var rd=await this.service.update(qobj);
return system.getResult2(rd,null);
}
static getServiceName(ClassObj){
return ClassObj["name"].substring(0,ClassObj["name"].lastIndexOf("Ctl")).toLowerCase()+"Sve";
}
async initNewInstance(queryobj,req){
return system.getResult2({},null);
}
async findById(oid){
var rd=await this.service.findById(oid);
return system.getResult2(rd,null);
}
async timestampConvertDate(time){
if(time==null){
return "";
}
var date = new Date(Number(time*1000));
var y = 1900+date.getYear();
var m = "0"+(date.getMonth()+1);
var d = "0"+date.getDate();
return y+"-"+m.substring(m.length-2,m.length)+"-"+d.substring(d.length-2,d.length);
}
async universalTimeConvertLongDate(time){
if(time==null){
return "";
}
var d = new Date(time);
return d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + d.getDate() + ' ' + d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds();
}
async universalTimeConvertShortDate(time){
if(time==null){
return "";
}
var d = new Date(time);
return d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + d.getDate();
}
async doexec(methodname,pobj,query,req){
try{
var rtn= await this[methodname](pobj,query,req);
return rtn;
}catch(e){
console.log(e.stack);
return system.getResult2(null,null,"ok","出现异常,请联系管理员");
}
}
}
module.exports=CtlBase;
var System = require("../../../system");
var settings = require("../../../../config/settings");
const logCtl = System.getObject("web.common.oplogCtl");
const CtlBase = require("../../ctl.base");
class bytmmonitCtl extends CtlBase {
constructor() {
super("tmquery",CtlBase.getServiceName(bytmmonitCtl));
this.gsbicsearch = System.getObject("api.tmquery.gsbicsearch");
}
async getCompanyInfoNoUser(queryobj, qobj, req) {
var result = {
code: 1,
message: "success",
data: null
};
try {
var tCompanyName = qobj.company_name || "";
if (!tCompanyName || tCompanyName == "undefined") {
result.code = -102;
result.message = "company_name参数有误";
return result;
}
var query = { isVerify: -1, companyName: tCompanyName };
var tResult = await this.gsbicsearch.companyonesearch(query);
console.log("------------------------------");
console.log(tResult);
if (tResult.status == 0 && tResult.data.list.length > 0) {
result.data = tResult.data.list[0];
}
return result;
} catch (e) {
//日志记录
logCtl.error({
optitle: "获取标眼查商标监控工商信息Error",
op: "base/controller/impl/bytmmonitCtl/getCompanyInfo",
content: e.stack,
clientIp: req.clientIp
});
result.code = -200;
result.message = "操作异常";
return result;
}
}
}
module.exports = bytmmonitCtl;
var System = require("../../../system")
const crypto = require('crypto');
var xlsx = require('node-xlsx');
var fs = require("fs");
var accesskey = 'DHmRtFlw2Zr3KaRwUFeiu7FWATnmla';
var accessKeyId = 'LTAIyAUK8AD04P5S';
const CtlBase = require("../../ctl.base");
class ToolCtl extends CtlBase {
constructor() {
super("tmquery", CtlBase.getServiceName(ToolCtl));
this.ossClient = System.getObject("util.ossClient");
this.appKey = "a95ad36efc064343aff200d18be6637dsy";
this.igirlUrl = "http://igirl.gongsibao.com";
this.apiGetTokenUrl = "http://115.28.188.38:8888/auth/gettoken";
this.apiGetCompany = "http://115.28.188.38:8888/api/tCompany/all";
this.apiCompanyUrl = "http://bigdata.gongsibao.com/api/gsbicsearch/companynameonesearch";
this.apiKey = "a95ad36efc064343aff200d18be6637d";
this.restS = System.getObject("util.restClient");
}
async aiadive(pobj, obj) {
var rc = System.getObject("util.execClient");
var rtn = null;
try {
rtn = await rc.execPost(obj, "http://zhichan.gongsibao.com/api/bytmsearch/aiadive");
var j = JSON.parse(rtn.stdout);
return j;
} catch (e) {
return {
"status": -1,
"msg": "操作失败",
"errdata": e.stack
};
}
}
async getUidStr(len, radix) {
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
var uuid = [], i;
radix = radix || chars.length;
if (len) {
for (i = 0; i < len; i++) uuid[i] = chars[0 | Math.random() * radix];
} else {
var r;
uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
uuid[14] = '4';
for (i = 0; i < 36; i++) {
if (!uuid[i]) {
r = 0 | Math.random() * 16;
uuid[i] = chars[(i == 19) ? (r & 0x3) | 0x8 : r];
}
}
}
return uuid.join('');
}
async writeFile(filePath, dataBuffer) {
var promise = new Promise(function (resv, rej) {
fs.writeFile(filePath, dataBuffer, function (err, data) {
if (err) {
rej(err);
// console.log(err);
} else {
resv("success");
}
});
});
return promise;
}
async getCropperPic(qobj, obj, req) {
var that = this;
var base64 = obj.base64;
if (base64) {
if (base64.indexOf(";base64,") > 0) {
base64 = base64.split(";base64,")[1];
}
var img = base64;
var uid = await this.getUidStr(6, 60);
try {
var fileName = "zc_cropper" + new Date().getTime() + uid + ".jpg";
var filePath = '/tmp/' + fileName;
var dataBuffer = new Buffer(img, 'base64');
console.log(dataBuffer);
var result = null;
var r = await this.writeFile(filePath, dataBuffer);
if (r == "success") {
var result = await that.ossClient.upfile(fileName, filePath);
fs.unlink(filePath, e => {
console.log("fail");
});
return result.url;
} else {
return null;
}
} catch (e) {
return null;
}
}
}
async getHotWords(qobj, obj, req) {
var reqUrl = this.igirlUrl + "/api/bytmsearch/getHotWords";
obj.appKey = this.appKey;
return await this.getReqInfo(reqUrl, obj);
}
async getTmNameList(qobj, obj, req) {
var reqUrl = this.igirlUrl + "/api/bytmsearch/getTmNameList";
obj.appKey = this.appKey;
return await this.getReqInfo(reqUrl, obj);
}
async tmPassRate(qobj, obj, req) {
var reqUrl = this.igirlUrl + "/api/bytmsearch/tmPassRate";
obj.appKey = this.appKey;
return await this.getReqInfo(reqUrl, obj);
}
async getCompanyList(qobj, obj, req) {
// console.log(this.convertDate(1568736000000), "time11111");
// console.log(this.convertDate1(1568736000000), "time11111");
// {
// "status": 400,
// "timestamp": "2019-10-22 17:50:41",
// "message": "密码错误"
// }
var self = this;
var tokenResult = await this.restS.execPost({ username: "ibossapi", password: "iboss@api" }, this.apiGetTokenUrl);
if (!tokenResult.stdout) {
return System.getResult2(null, null, null, "获取token信息失败!");
}
if (tokenResult.stdout.indexOf("status") >= 0) {
return System.getResult2(null, null, null, "获取token信息失败!!");
}
var token = tokenResult.stdout;
var companyResult = await this.tokenGetReqInfo(this.apiGetCompany, token)
if (companyResult) {
if (companyResult.status && companyResult.status != 0) {
return companyResult;
}
var tmpComanyList = [];
for (var index = 0; index < companyResult.length; index++) {
var element = companyResult[index];
if (element && element.name) {
var companyInfo = await self.getReqInfo(self.apiCompanyUrl, { appKey: self.apiKey, companyName: element.name });
if (companyInfo && companyInfo.status && companyInfo.status == 0) {
element.regTime = companyInfo.data.foundedTime;
element.regArea = companyInfo.data.base;
}
else {
element.regTime = element.regTime ? self.convertDate(element.regTime) : "---";
element.regArea = "---";
}
}
tmpComanyList.push(element);
}
return System.getResult2(tmpComanyList);
}
return System.getResult2(null, null, null, "数据为空!!");
}
async getReqInfo(reqUrl, params) {
// try {
var result = await this.restS.execPost(params, reqUrl);
var tmpResult = result.stdout;
if (tmpResult) {
var tmp = JSON.parse(tmpResult);
return tmp;
}
return System.getResult2(null, null, null, "数据为空");
// } catch (e) {
// return System.getErrResult2(null,null,"处理数据异常");
// }
}
async tokenGetReqInfo(reqUrl, token) {
// try {
var result = await this.restS.execGetIboss(reqUrl, token);
var tmpResult = result.stdout;
if (tmpResult) {
var tmp = JSON.parse(tmpResult);
return tmp;
}
return System.getResult2(null, null, null, "公司数据为空");
// } catch (e) {
// return System.getErrResult2(null,null,"处理数据异常");
// }
}
convertDate(time) {
if (time == null) {
return "";
}
var date = new Date(time);
var y = 1900 + date.getYear();
var m = "0" + (date.getMonth() + 1);
var d = "0" + date.getDate();
return y + "-" + m.substring(m.length - 2, m.length) + "-" + d.substring(d.length - 2, d.length);
}
}
module.exports = ToolCtl;
// var task = new ToolCtl();
// var obj={
// "seltype":["人工智能", "智能办公"]
// };
// task.aiadive(obj).then(d=>{
// console.log(d);
// })
const system=require("../system")
const settings=require("../../config/settings.js");
class CacheBase{
constructor(){
this.redisClient=system.getObject("util.redisClient");
// this.desc=this.desc();
// this.prefix=this.prefix();
this.cacheCacheKeyPrefix=settings.appKey+"_cachekey";
}
desc(){
throw new Error("子类需要定义desc方法,返回缓存描述");
}
prefix(){
throw new Error("子类需要定义prefix方法,返回本缓存的前缀");
}
async cache(inputkey,val,ex,...items){
const cachekey=this.prefix+inputkey;
var cacheValue=await this.redisClient.get(cachekey);
if(!cacheValue || cacheValue=="undefined" || true){
var objvalstr=await this.buildCacheVal(cachekey,inputkey,val,ex,...items);
if(ex){
await this.redisClient.setWithEx(cachekey,objvalstr,ex);
}else{
await this.redisClient.set(cachekey,objvalstr);
}
//缓存当前应用所有的缓存key及其描述
this.redisClient.sadd(this.cacheCacheKeyPrefix,cachekey+"|"+this.desc);
return JSON.parse(objvalstr);
}else{
return JSON.parse(cacheValue);
}
}
async buildCacheVal(cachekey,inputkey,val,ex,...items){
throw new Error("子类中实现构建缓存值的方法,返回字符串");
}
}
module.exports=CacheBase;
const CacheBase=require("../cache.base");
const system=require("../../system");
//商标大数据缓存--地区top10
class EmbedBigdataTmAreaCache extends CacheBase{
constructor(){
super();
this.prefix="embed_bigdata_tmarea_";
this.redisClient=system.getObject("util.redisClient");
}
async get(k){
var prefix = this.prefix+k;
var result = await this.redisClient.get(key);
var obj = null;
var time = Date.parse(new Date())/1000;
if(result){
obj=JSON.parse(result);
if(!obj.time){
obj = null;
}
}
if(!obj || obj.time<=time){//无缓存 或 缓存令牌失效
return null;
}else{//有缓存 且 未失效
return obj;
}
}
async set(k,obj){
var key = this.prefix+k;
var time = Date.parse(new Date())/1000;
obj["time"]= time+604800;
var objstring=JSON.stringify(obj);
await this.redisClient.set(key,objstring);
return obj;
}
}
module.exports=EmbedBigdataTmAreaCache;
const CacheBase=require("../cache.base");
const system=require("../../system");
//商标大数据缓存---全部
class EmbedBigdataTmCache extends CacheBase{
constructor(){
super();
this.prefix="embed_bigdata_tm_";
this.redisClient=system.getObject("util.redisClient");
}
async get(k){
var key = this.prefix+k;
var result = await this.redisClient.get(key);
var obj = null;
var time = Date.parse(new Date())/1000;
if(result){
obj=JSON.parse(result);
if(!obj.time){
obj = null;
}
}
if(!obj || obj.time<=time){//无缓存 或 缓存令牌失效
return null;
}else{//有缓存 且 未失效
return obj;
}
}
async set(k,obj){
var key = this.prefix+k;
var time = Date.parse(new Date())/1000;
obj["time"]= time+604800;
var objstring=JSON.stringify(obj);
await this.redisClient.set(key,objstring);
return obj;
}
}
module.exports=EmbedBigdataTmCache;
const CacheBase=require("../cache.base");
const system=require("../../system");
//商标大数据缓存---商标总量、商标有效注册量、商标申请次数总量
class EmbedBigdataTmCountCache extends CacheBase{
constructor(){
super();
this.prefix="embed_bigdata_tmcount_";
this.redisClient=system.getObject("util.redisClient");
}
async get(k){
var prefix = this.prefix+k;
var result = await this.redisClient.get(key);
var obj = null;
var time = Date.parse(new Date())/1000;
if(result){
obj=JSON.parse(result);
if(!obj.time){
obj = null;
}
}
if(!obj || obj.time<=time){//无缓存 或 缓存令牌失效
return null;
}else{//有缓存 且 未失效
return obj;
}
}
async set(k,obj){
var key = this.prefix+k;
var time = Date.parse(new Date())/1000;
obj["time"]= time+604800;
var objstring=JSON.stringify(obj);
await this.redisClient.set(key,objstring);
return obj;
}
}
module.exports=EmbedBigdataTmCountCache;
const CacheBase=require("../cache.base");
const system=require("../../system");
//商标大数据缓存----地区排行top10
class EmbedBigdataTmEntCache extends CacheBase{
constructor(){
super();
this.prefix="embed_bigdata_tment_";
this.redisClient=system.getObject("util.redisClient");
}
async get(k){
var prefix = this.prefix+k;
var result = await this.redisClient.get(key);
var obj = null;
var time = Date.parse(new Date())/1000;
if(result){
obj=JSON.parse(result);
if(!obj.time){
obj = null;
}
}
if(!obj || obj.time<=time){//无缓存 或 缓存令牌失效
return null;
}else{//有缓存 且 未失效
return obj;
}
}
async set(k,obj){
var key = this.prefix+k;
var time = Date.parse(new Date())/1000;
obj["time"]= time+604800;
var objstring=JSON.stringify(obj);
await this.redisClient.set(key,objstring);
return obj;
}
}
module.exports=EmbedBigdataTmEntCache;
const CacheBase=require("../cache.base");
const system=require("../../system");
//商标大数据缓存---商标申请企业总量
class EmbedBigdataTmCountCache extends CacheBase{
constructor(){
super();
this.prefix="embed_bigdata_tmentcount_";
this.redisClient=system.getObject("util.redisClient");
}
async get(k){
var prefix = this.prefix+k;
var result = await this.redisClient.get(key);
var obj = null;
var time = Date.parse(new Date())/1000;
if(result){
obj=JSON.parse(result);
if(!obj.time){
obj = null;
}
}
if(!obj || obj.time<=time){//无缓存 或 缓存令牌失效
return null;
}else{//有缓存 且 未失效
return obj;
}
}
async set(k,obj){
var key = this.prefix+k;
var time = Date.parse(new Date())/1000;
obj["time"]= time+604800;
var objstring=JSON.stringify(obj);
await this.redisClient.set(key,objstring);
return obj;
}
}
module.exports=EmbedBigdataTmCountCache;
const CacheBase=require("../cache.base");
const system=require("../../system");
//商标大数据缓存---商标类别申请排名
class EmbedBigdataTmNclCache extends CacheBase{
constructor(){
super();
this.prefix="embed_bigdata_tmncl_";
this.redisClient=system.getObject("util.redisClient");
}
async get(k){
var prefix = this.prefix+k;
var result = await this.redisClient.get(key);
var obj = null;
var time = Date.parse(new Date())/1000;
if(result){
obj=JSON.parse(result);
if(!obj.time){
obj = null;
}
}
if(!obj || obj.time<=time){//无缓存 或 缓存令牌失效
return null;
}else{//有缓存 且 未失效
return obj;
}
}
async set(k,obj){
var key = this.prefix+k;
var time = Date.parse(new Date())/1000;
obj["time"]= time+604800;
var objstring=JSON.stringify(obj);
await this.redisClient.set(key,objstring);
return obj;
}
}
module.exports=EmbedBigdataTmNclCache;
const mongoose = require('mongoose')
class MgDbFactory {
constructor() {
const reqUrl = "mongodb://wdy1:123456@43.247.184.94:27017/phones";
this.mgdb = mongoose.connect(reqUrl, { useNewUrlParser: true });
}
getModel(tabName) {
// let schema = require("./model/" + tabName.replace(/_/g, "."));
let model = mongoose.models[tabName];
if (!model) {
model = mongoose.model(tabName, new mongoose.Schema({
company_name: { type: String }
}), tabName);
}
return model
}
}
module.exports = MgDbFactory;
\ No newline at end of file
module.exports={
"bizName":"accounts",
"list":{
columnMetaData:[
{"width":"100","label":"头像","name":"null","isShowTip":false,"isTmpl":true,"isBtns":false},
{"width":"100","label":"昵称","prop":"nickName","isShowTip":true,"isTmpl":false},
{"width":"200","label":"唯一标识","prop":"unionId","isShowTip":true,"isTmpl":false},
{"width":"100","label":"宝币余额","prop":"baoBalance","isShowTip":true,"isTmpl":false},
{"width":"150","label":"钱包余额","prop":"renBalance","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true}
]
},
"form":[
],
"search":[
{
"title":"昵称",
"ctls":[
{"type":"input","label":"昵称","prop":"nickName","placeHolder":"","style":""},
]
},
],
"auth":{
"add":[
],
"edit":[
],
"delete":[
// {"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"200","label":"公司名称","prop":"companyName","isShowTip":true,"isTmpl":false},
{"width":"200","label":"业务员","prop":"accountName","isShowTip":true,"isTmpl":false},
{"width":"200","label":"日期","prop":"created_at","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"}
]
},
"form":[
],
"search":[
{
"title":"公司名称",
ctls:[
{"type":"input","label":"公司名称","prop":"companyName","placeHolder":"请输入公司名称","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"edit":[
{"icon":"el-icon-edit","title":"查看","type":"default","key":"myedit","isInRow":true},
{"icon":"el-icon-plus","title":"预览","type":"default","key":"rpreview","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"bizName":"allcalctm",
"list":{
columnMetaData:[
{"width":"190","label":"创建时间","prop":"created_at","isShowTip":true,"isTmpl":false},
{"width":"190","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"190","label":"商标名称","prop":"tmName","isShowTip":true,"isTmpl":false},
{"width":"190","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"100","label":"状态","prop":"status","isShowTip":true,"isTmpl":false},
{"width":"150","label":"来源类型","prop":"calcTypeName","isShowTip":true,"isTmpl":false},
{"width":"50","label":"","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"商标申请人",
ctls:[
{"type":"input","label":"商标申请人","prop":"applyName","placeHolder":"商标申请人","style":""},
]
},
{
"title":"商标名称",
ctls:[
{"type":"input","label":"商标名称","prop":"tmName","placeHolder":"商标名称","style":""},
]
},
{
"title":"联系人",
ctls:[
{"type":"input","label":"联系人","prop":"customerContact","placeHolder":"联系人","style":""},
]
},
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"提报单状态",
ctls:[
{"type":"select","dicKey":"ncl_calc_status","prop":"status","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
{"icon":"tool-add","title":"新增","type":"default","key":"mynew","isOnGrid":true},
{"icon":"tool-copy1","title":"复制","type":"default","key":"copy","isOnGrid":true},
{"icon":"tool-Order1","title":"生成订单","type":"default","key":"makeOrder","isOnGrid":true},
{"icon":"el-icon-arrow-up","title":"挂接订单","type":"default","key":"hookorder","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"mysave","isOnForm":true}
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"myedit","isInRow":true},
{"icon":"el-icon-plus","title":"生成委托书","type":"default","key":"createWTS","isInRow":true},
{"icon":"el-icon-cancel","title":"下载委托书","type":"default","key":"downloadWTS","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"mydelete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"detail","isInRow":true},
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"190","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"申请类型","prop":"applierTypeName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"版权类型","prop":"copyrightTypeName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"版权进度","prop":"statusProgressName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"150","label":"状态","prop":"statusName","isShowTip":true,"isTmpl":false},
{"width":"190","label":"创建时间","prop":"created_at","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"申请人",
ctls:[
{"type":"input","label":"申请人","prop":"applyName","placeHolder":"申请人","style":""},
]
},
{
"title":"版权类型",
ctls:[
{"type":"select","dicKey":"copyright_type","prop":"copyrightType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"版权进度",
ctls:[
{"type":"select","dicKey":"statusProgress_status","prop":"statusProgress","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"状态",
ctls:[
{"type":"select","dicKey":"ncl_calc_status","prop":"status","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-edit","title":"修改进度","type":"default","key":"editStatus","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"mysave","isOnForm":true}
// {"icon":"tool-copy1","title":"复制","type":"default","key":"copy","isOnGrid":true},
// {"icon":"tool-copy1","title":"关联订单","type":"default","key":"hookorder","isOnGrid":true},
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"myedit","isInRow":true},
],
"delete":[
// {"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"返回","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"80","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"150","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"80","label":"订单总额","prop":"totalSum","isShowTip":true,"isTmpl":false},
{"width":"80","label":"订单状态","prop":"orderStatusName","isShowTip":true,"isTmpl":false},
{"width":"50","label":"","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"申请人",
ctls:[
{"type":"input","label":"申请人","prop":"applyName","placeHolder":"申请人","style":""},
]
},
{
"title":"客户名称",
ctls:[
{"type":"input","label":"客户名称","prop":"customerContact","placeHolder":"客户名称","style":""},
]
},
{
"title":"客户电话",
ctls:[
{"type":"input","label":"客户电话","prop":"customerMobile","placeHolder":"客户电话","style":""},
]
},
{
"title":"产品名称",
ctls:[
{"type":"input","label":"产品名称","prop":"itemName","placeHolder":"产品名称","style":""},
]
},
{
"title":"订单状态",
ctls:[
{"type":"select","dicKey":"order_status","prop":"orderStatus","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"支付类型",
ctls:[
{"type":"select","dicKey":"paymentPlatformType","prop":"paymentPlatformType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
// {"icon":"el-icon-plus","title":"下单","type":"default","key":"neworder","isOnGrid":true},
// {"icon":"el-icon-plus","title":"开始提报","type":"default","key":"tmsubmit","isInRow":true},
// {"icon":"el-icon-plus","title":"订单取消","type":"default","key":"ordercancel","isInRow":true}
],
"edit":[
{"icon":"el-icon-remove","title":"付款审核","type":"default","key":"audit","isInRow":true},
{"icon":"el-icon-remove","title":"查看附件","type":"default","key":"myfile","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"mydelete","isInRow":true},
],
"common":[
// {"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"160","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"260","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"80","label":"订单总额","prop":"totalSum","isShowTip":true,"isTmpl":false},
{"width":"80","label":"订单状态","prop":"orderStatusName","isShowTip":true,"isTmpl":false},
{"width":"80","label":"支付类型","prop":"paymentPlatform","isShowTip":true,"isTmpl":false},
{"width":"190","label":"日期","prop":"created_at","isShowTip":true,"isTmpl":false},
{"width":"50","label":"更多信息","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"申请人",
ctls:[
{"type":"input","label":"申请人","prop":"applyName","placeHolder":"申请人","style":""},
]
},
{
"title":"客户名称",
ctls:[
{"type":"input","label":"客户名称","prop":"customerContact","placeHolder":"客户名称","style":""},
]
},
{
"title":"客户电话",
ctls:[
{"type":"input","label":"客户电话","prop":"customerMobile","placeHolder":"客户电话","style":""},
]
},
{
"title":"产品名称",
ctls:[
{"type":"input","label":"产品名称","prop":"itemName","placeHolder":"产品名称","style":""},
]
},
{
"title":"订单来源",
ctls:[
{"type":"select","dicKey":"order_source_type","prop":"orderSourceType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"订单状态",
ctls:[
{"type":"select","dicKey":"order_status","prop":"orderStatus","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"支付类型",
ctls:[
{"type":"select","dicKey":"paymentPlatformType","prop":"paymentPlatformType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-edit","title":"修改状态","type":"default","key":"editStatus","isOnGrid":true},
/*{"icon":"el-icon-plus","title":"退款","type":"default","key":"refund","isInRow":true},*/
],
"edit":[
/*{"icon":"el-icon-edit","title":"修改","type":"default","key":"myedit","isInRow":true},*/
{"icon":"el-icon-remove","title":"付款审核","type":"default","key":"audit","isInRow":true},
{"icon":"el-icon-remove","title":"查看附件","type":"default","key":"myfile","isInRow":true},
],
"delete":[
],
"common":[
// {"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
/* {"icon":"el-icon-cancel","title":"发票申请","type":"default","key":"myinvoice","isInRow":true},*/
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"100","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"100","label":"申请类型","prop":"applierTypeName","isShowTip":true,"isTmpl":false},
{"width":"100","label":"专利名称","prop":"patentsName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"专利类型","prop":"patentsTypeName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"专利进度","prop":"statusProgressName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"150","label":"状态","prop":"statusName","isShowTip":true,"isTmpl":false},
{"width":"190","label":"创建时间","prop":"created_at","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"申请人",
ctls:[
{"type":"input","label":"申请人","prop":"applyName","placeHolder":"申请人","style":""},
]
},
{
"title":"客户名称",
ctls:[
{"type":"input","label":"客户名称","prop":"customerContact","placeHolder":"客户名称","style":""},
]
},
{
"title":"客户电话",
ctls:[
{"type":"input","label":"客户电话","prop":"customerMobile","placeHolder":"客户电话","style":""},
]
},
{
"title":"订单状态",
ctls:[
{"type":"select","dicKey":"order_status","prop":"orderStatus","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-edit","title":"修改进度","type":"default","key":"editStatus","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"mysave","isOnForm":true}
// {"icon":"tool-copy1","title":"复制","type":"default","key":"copy","isOnGrid":true},
// {"icon":"tool-copy1","title":"关联订单","type":"default","key":"hookorder","isOnGrid":true},
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"myedit","isInRow":true},
],
"delete":[
// {"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"返回","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"80","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"150","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"80","label":"订单总额","prop":"totalSum","isShowTip":true,"isTmpl":false},
{"width":"80","label":"订单状态","prop":"orderStatusName","isShowTip":true,"isTmpl":false},
{"width":"50","label":"","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"申请人",
ctls:[
{"type":"input","label":"申请人","prop":"applyName","placeHolder":"申请人","style":""},
]
},
{
"title":"客户名称",
ctls:[
{"type":"input","label":"客户名称","prop":"customerContact","placeHolder":"客户名称","style":""},
]
},
{
"title":"客户电话",
ctls:[
{"type":"input","label":"客户电话","prop":"customerMobile","placeHolder":"客户电话","style":""},
]
},
{
"title":"产品名称",
ctls:[
{"type":"input","label":"产品名称","prop":"itemName","placeHolder":"产品名称","style":""},
]
},
{
"title":"订单状态",
ctls:[
{"type":"select","dicKey":"order_status","prop":"orderStatus","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"支付类型",
ctls:[
{"type":"select","dicKey":"paymentPlatformType","prop":"paymentPlatformType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
// {"icon":"el-icon-plus","title":"下单","type":"default","key":"neworder","isOnGrid":true},
// {"icon":"el-icon-plus","title":"开始提报","type":"default","key":"tmsubmit","isInRow":true},
// {"icon":"el-icon-plus","title":"订单取消","type":"default","key":"ordercancel","isInRow":true}
],
"edit":[
{"icon":"el-icon-remove","title":"付款审核","type":"default","key":"audit","isInRow":true},
{"icon":"el-icon-remove","title":"查看附件","type":"default","key":"myfile","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"mydelete","isInRow":true},
],
"common":[
// {"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"80","label":"订单来源","prop":"orderSourceTypeName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"150","label":"客户昵称","prop":"nickName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"客户电话","prop":"customerMobile","isShowTip":true,"isTmpl":false},
{"width":"150","label":"产品名称","prop":"itemName","isShowTip":true,"isTmpl":false},
{"width":"50","label":"件数","prop":"itemOrderNum","isShowTip":true,"isTmpl":false},
{"width":"80","label":"订单总额","prop":"totalSum","isShowTip":true,"isTmpl":false},
{"width":"80","label":"订单状态","prop":"orderStatusName","isShowTip":true,"isTmpl":false},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"确定挂接","type":"default","key":"selorderok","isOnGrid":true},
],
"edit":[
],
"delete":[
],
"common":[
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"160","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"220","label":"代理号","prop":"proxyCode","isShowTip":true,"isTmpl":false},
{"width":"230","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"100","label":"商标号","prop":"tmRegistNum","isShowTip":true,"isTmpl":false},
{"width":"150","label":"商标名称","prop":"tmName","isShowTip":true,"isTmpl":false},
{"width":"80","label":"商标类型","prop":"tmFormTypeName","isShowTip":true,"isTmpl":false},
{"width":"80","label":"大类","prop":"nclOneCodes","isShowTip":true,"isTmpl":false},
{"width":"110","label":"状态","prop":"tmStatusName","isShowTip":true,"isTmpl":false},
{"width":"110","label":"来源","prop":"tmSourceTypeName","isShowTip":true,"isTmpl":false},
// {"width":"190","label":"日期","prop":"created_at","isShowTip":true,"isTmpl":false},
{"width":"50","label":"更多信息","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"代理号",
ctls:[
{"type":"input","label":"代理号","prop":"proxyCode","placeHolder":"代理号","style":""},
]
},
{
"title":"商标号",
ctls:[
{"type":"input","label":"商标号","prop":"tmRegistNum","placeHolder":"商标号","style":""},
]
},
{
"title":"商标名称",
ctls:[
{"type":"input","label":"商标名称","prop":"tmName","placeHolder":"商标名称","style":""},
]
},
{
"title":"申请人",
ctls:[
{"type":"input","label":"申请人","prop":"applyName","placeHolder":"申请人","style":""},
]
},
{
"title":"商标状态",
ctls:[
{"type":"select","dicKey":"tm_submit_status","prop":"tmStatus","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"商标来源",
ctls:[
{"type":"select","dicKey":"tmSourceType","prop":"tmSourceType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
{"icon":"tool-upload","title":"审核","type":"default","key":"awte","isOnGrid":true},
{"icon":"tool-upload","title":"退回","type":"default","key":"atoback","isOnGrid":true},
{"icon":"tool-upload","title":"人工审核不予通过","type":"default","key":"repulses","isOnGrid":true},
{"icon":"tool-upload","title":"特殊处理","type":"default","key":"tscl","isOnGrid":true},
{"icon":"tool-upload","title":"上传回执","type":"default","key":"tmhzuploadlist","isOnGrid":true},
{"icon":"el-icon-cancel","title":"审核","type":"default","key":"wte","isInRow":true},
{"icon":"el-icon-cancel","title":"退回","type":"default","key":"toback","isInRow":true},
{"icon":"el-icon-cancel","title":"人工审核不予通过","type":"default","key":"repulse","isInRow":true},
{"icon":"tool-look1","title":"查看回执","type":"default","key":"tmhzlook","isOnGrid":true},
{"icon":"el-icon-cancel","title":"营业执照","type":"default","key":"yyzz","isInRow":true},
{"icon":"el-icon-cancel","title":"商标图样","type":"default","key":"sbty","isInRow":true},
{"icon":"el-icon-cancel","title":"委托书","type":"default","key":"wts","isInRow":true},
{"icon":"el-icon-cancel","title":"身份证明","type":"default","key":"sfz","isInRow":true},
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"detail","isInRow":true},
],
"edit":[
],
"delete":[
],
"common":[
// {"icon":"el-icon-cancel","title":"订单详情","type":"default","key":"orderdetail","isInRow":true},
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"190","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"220","label":"代理号","prop":"proxyCode","isShowTip":true,"isTmpl":false},
{"width":"300","label":"作品名称","prop":"name","isShowTip":true,"isTmpl":false},
{"width":"100","label":"作品类别","prop":"compositionTypeName","isShowTip":true,"isTmpl":false},
{"width":"100","label":"发表状态","prop":"publishStatusName","isShowTip":true,"isTmpl":false},
{"width":"110","label":"进展状态","prop":"statusProgressName","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"代理号",
ctls:[
{"type":"input","label":"代理号","prop":"proxyCode","placeHolder":"代理号","style":""},
]
},
{
"title":"作品名称",
ctls:[
{"type":"input","label":"软件全称","prop":"softwareName","placeHolder":"作品名称","style":""},
]
},
{
"title":"作品类别",
ctls:[
{"type":"select","dicKey":"composition_type","prop":"compositionType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"进展状态",
ctls:[
{"type":"select","dicKey":"statusProgress_status","prop":"statusProgress","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-cancel","title":"修改","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
],
"edit":[
],
"delete":[
],
"common":[
],
}
}
module.exports={
"bizName":"appdetail",
"list":{
columnMetaData:[
{"width":"500","label":"路径名称","prop":"detailPath","isShowTip":true,"isTmpl":false},
{"width":"200","label":"调用次数","prop":"detailCount","isShowTip":true,"isTmpl":false},
{"width":"200","label":"金额","prop":"detailAmount","isShowTip":true,"isTmpl":false},
]
},
"form":[
],
"search":[
],
"auth":{
}
}
module.exports={
"bizName":"apps",
"list":{
columnMetaData:[
{"width":"100","label":"应用名称","prop":"name","isShowTip":true,"isTmpl":false},
{"width":"200","label":"应用标识","prop":"appid","isShowTip":true,"isTmpl":false},
{"width":"200","label":"应用标识","prop":"secret","isShowTip":true,"isTmpl":false},
{"width":"200","label":"认证页面","prop":"authPage","isShowTip":true,"isTmpl":false},
{"width":"200","label":"跳转页面","prop":"homePage","isShowTip":true,"isTmpl":false},
{"width":"200","label":"API调用次数","prop":"apiCallCount","isShowTip":true,"isTmpl":false},
{"width":"200","label":"API应收余额","prop":"amount","isShowTip":true,"isTmpl":false},
{"width":"100","label":"logo","prop":"logoUrl","isShowTip":false,"isTmpl":true,"isBtns":false},
{"width":"100","label":"应用图形","prop":"appimgUrl","isShowTip":false,"isTmpl":true,"isBtns":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
{
"title":"应用名称",
"validProp":"name",
"rule": [
{ "required": true, "message": '请输入应用名称', "trigger": 'blur' },
],
ctls:[
{"type":"input","label":"应用名称","prop":"name","placeHolder":"应用名称","style":""},
]
},
{
"title":"应用ID",
"ctls":[
{"type":"input","label":"应用ID","prop":"appid","disabled":true,"placeHolder":"","style":""},
]
},
{
"title":"密钥",
"ctls":[
{"type":"input","label":"应用ID","prop":"secret","disabled":false,"placeHolder":"","style":""},
]
},
{
"title":"认证页面",
"ctls":[
{"type":"input","label":"认证页面","prop":"authPage","disabled":false,"placeHolder":"","style":""},
]
},
{
"title":"跳转页面",
"ctls":[
{"type":"input","label":"跳转页面","prop":"homePage","disabled":false,"placeHolder":"","style":""},
]
},
{
"title":"logo",
"ctls":[
{"type":"upload","label":"logo","prop":"logoUrl","placeHolder":"请输入标题","style":""},
]
},
{
"title":"应用图形",
"ctls":[
{"type":"upload","label":"右图","prop":"appimgUrl","placeHolder":"请输入标题","style":""},
]
},
],
"search":[
{
"title":"应用名称",
ctls:[
{"type":"input","label":"应用名称","prop":"name","placeHolder":"应用名称","style":""},
]
},
{
"title":"应用KEY",
"ctls":[
{"type":"input","label":"应用ID","prop":"appid","placeHolder":"","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"edit","isInRow":true},
{"icon":"el-icon-edit","title":"详情","type":"default","key":"detail","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"bizName":"article",
"list":{
columnMetaData:[
{"width":"200","label":"编码","prop":"code","isShowTip":true,"isTmpl":false},
{"width":"200","label":"次续","prop":"orderNo","isShowTip":true,"isTmpl":false},
{"width":"200","label":"用途","prop":"usageType","isShowTip":true,"isTmpl":false},
{"width":"200","label":"媒体类型","prop":"mediaType","isShowTip":true,"isTmpl":false},
{"width":"100","label":"频道","prop":"newschannel.title","isShowTip":true,"isTmpl":false},
{"width":"100","label":"标题","prop":"title","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
{
"title":"次续",
ctls:[
{"type":"number","prop":"orderNo","placeHolder":"请输入(整数数字)","style":""},
]
},
{
"title":"编码",
"validProp":"code",
"rule": [
{ "required": true, "message": '请输入编码', "trigger": 'blur' },
],
ctls:[
{"type":"input","label":"编码","prop":"code","placeHolder":"请输入编码","style":""},
]
},
{
"title":"频道",
ctls:[
{"type":"select","refModel":"newschannel","isMulti":false,"label":"频道","prop":"newschannel_id","labelField":"title","valueField":"id","style":""},
]
},
{
"title":"用途",
"validProp":"usageType",
"rule": [
{ "required": true, "message": '用途', "trigger": 'blur' },
],
"ctls":[
{"type":"select","dicKey":"usageType","prop":"usageType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"媒体类型",
"validProp":"mediaType",
"rule": [
{ "required": true, "message": '媒体类型', "trigger": 'blur' },
],
"ctls":[
{"type":"select","dicKey":"mediaType","prop":"mediaType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"标题",
"ctls":[
{"type":"input","label":"标题","prop":"title","disabled":false,"placeHolder":"请输入标题","style":""},
]
},
{
"title":"标题缩略图",
"ctls":[
{"type":"upload","label":"标题缩略图","prop":"listimg","placeHolder":"请输入标题","style":""},
]
},
{
"title":"视频",
"ctls":[
{"type":"upload","label":"视频","prop":"videourl","placeHolder":"请输入标题","style":""},
]
},
{
"title":"概要",
"ctls":[
{"type":"textarea","label":"概要","prop":"desc","placeHolder":"请输入概要","style":""},
]
},
{
"title":"文章内容",
"ctls":[
{"type":"html","label":"标题","prop":"content","height":"500px","disabled":false,"placeHolder":"请输入标题","style":""},
]
},
],
"search":[
{
"title":"频道",
ctls:[
{"type":"select","refModel":"newschannel","isMulti":false,"label":"频道","prop":"newschannel_id","labelField":"title","valueField":"id","style":""},
]
},
{
"title":"标题",
ctls:[
{"type":"input","label":"标题","prop":"title","placeHolder":"请输入标题","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"edit","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"190","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"220","label":"代理号","prop":"proxyCode","isShowTip":true,"isTmpl":false},
{"width":"300","label":"软件全称","prop":"softwareName","isShowTip":true,"isTmpl":false},
{"width":"100","label":"版本号","prop":"softwareVersion","isShowTip":true,"isTmpl":false},
{"width":"100","label":"发表状态","prop":"isPublish","isShowTip":true,"isTmpl":false},
{"width":"110","label":"进展状态","prop":"statusProgressName","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"代理号",
ctls:[
{"type":"input","label":"代理号","prop":"proxyCode","placeHolder":"代理号","style":""},
]
},
{
"title":"软件全称",
ctls:[
{"type":"input","label":"软件全称","prop":"softwareName","placeHolder":"软件全称","style":""},
]
},
{
"title":"进展状态",
ctls:[
{"type":"select","dicKey":"statusProgress_status","prop":"statusProgress","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-cancel","title":"修改","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
],
"edit":[
],
"delete":[
],
"common":[
],
}
}
\ No newline at end of file
module.exports={
"list":{
columnMetaData:[
{"width":"150","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"150","label":"客户名称","prop":"customerContact","isShowTip":true,"isTmpl":false},
{"width":"150","label":"服务名称","prop":"itemName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"服务类型","prop":"itemType","isShowTip":true,"isTmpl":false},
{"width":"80","label":"订单总额","prop":"totalSum","isShowTip":true,"isTmpl":false},
{"width":"80","label":"订单状态","prop":"orderStatusName","isShowTip":true,"isTmpl":false},
{"width":"50","label":"","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"服务类型",
ctls:[
{"type":"select","dicKey":"autoSubmitProductCata","prop":"itemType","labelField":"label","valueField":"value","style":""},
]
},
// {
// "title":"申请人",
// ctls:[
// {"type":"input","label":"申请人","prop":"applyName","placeHolder":"申请人","style":""},
// ]
// },
{
"title":"客户名称",
ctls:[
{"type":"input","label":"客户名称","prop":"customerContact","placeHolder":"客户名称","style":""},
]
},
{
"title":"客户电话",
ctls:[
{"type":"input","label":"客户电话","prop":"customerMobile","placeHolder":"客户电话","style":""},
]
},
{
"title":"产品名称",
ctls:[
{"type":"input","label":"产品名称","prop":"itemName","placeHolder":"产品名称","style":""},
]
},
{
"title":"订单状态",
ctls:[
{"type":"select","dicKey":"order_status","prop":"orderStatus","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"订单取消","type":"default","key":"ordercancel","isInRow":true},
{"icon":"el-icon-remove","title":"删除","type":"default","key":"mydelete","isInRow":true},
{"icon":"el-icon-cancel","title":"修改","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"去支付","type":"default","key":"topay","isInRow":true},
],
"edit":[
],
"delete":[
],
"common":[
],
}
}
\ No newline at end of file
module.exports={
"list":{
columnMetaData:[
{"width":"190","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"190","label":"渠道订单号","prop":"channelOrderNum","isShowTip":true,"isTmpl":false},
{"width":"190","label":"代理号","prop":"proxyCode","isShowTip":true,"isTmpl":false},
{"width":"150","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"100","label":"商标号","prop":"tmRegistNum","isShowTip":true,"isTmpl":false},
{"width":"100","label":"商标名称","prop":"tmName","isShowTip":true,"isTmpl":false},
{"width":"80","label":"商标类型","prop":"tmFormTypeName","isShowTip":true,"isTmpl":false},
{"width":"50","label":"大类","prop":"nclOneCodes","isShowTip":true,"isTmpl":false},
{"width":"110","label":"状态","prop":"tmStatusName","isShowTip":true,"isTmpl":false},
{"width":"80","label":"","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"渠道订单号",
ctls:[
{"type":"input","label":"渠道订单号","prop":"channelOrderNum","placeHolder":"渠道订单号","style":""},
]
},
{
"title":"代理号",
ctls:[
{"type":"input","label":"代理号","prop":"proxyCode","placeHolder":"代理号","style":""},
]
},
{
"title":"商标号",
ctls:[
{"type":"input","label":"商标号","prop":"tmRegistNum","placeHolder":"商标号","style":""},
]
},
{
"title":"商标名称",
ctls:[
{"type":"input","label":"商标名称","prop":"tmName","placeHolder":"商标名称","style":""},
]
},
{
"title":"申请人",
ctls:[
{"type":"input","label":"申请人","prop":"applyName","placeHolder":"申请人","style":""},
]
},
{
"title":"商标状态",
ctls:[
{"type":"select","dicKey":"tm_submit_status","prop":"tmStatus","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
// {"icon":"tool-upload","title":"上传回执","type":"default","key":"tmhzuploadlist","isOnGrid":true},
{"icon":"tool-look1","title":"查看回执","type":"default","key":"tmhzlook","isOnGrid":true},
{"icon":"el-icon-cancel","title":"营业执照","type":"default","key":"yyzz","isInRow":true},
{"icon":"el-icon-cancel","title":"商标图样","type":"default","key":"sbty","isInRow":true},
{"icon":"el-icon-cancel","title":"委托书","type":"default","key":"wts","isInRow":true},
{"icon":"el-icon-cancel","title":"身份证明","type":"default","key":"sfz","isInRow":true},
{"icon":"el-icon-cancel","title":"修改","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
],
"edit":[
],
"delete":[
],
"common":[
],
}
}
\ No newline at end of file
module.exports={
"list":{
columnMetaData:[
{"width":"190","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"190","label":"代理号","prop":"proxyCode","isShowTip":true,"isTmpl":false},
{"width":"150","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"100","label":"商标号","prop":"tmRegistNum","isShowTip":true,"isTmpl":false},
{"width":"100","label":"商标名称","prop":"tmName","isShowTip":true,"isTmpl":false},
{"width":"80","label":"商标类型","prop":"tmFormTypeName","isShowTip":true,"isTmpl":false},
{"width":"50","label":"大类","prop":"nclOneCodes","isShowTip":true,"isTmpl":false},
{"width":"110","label":"状态","prop":"tmStatusName","isShowTip":true,"isTmpl":false},
{"width":"80","label":"","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"代理号",
ctls:[
{"type":"input","label":"代理号","prop":"proxyCode","placeHolder":"代理号","style":""},
]
},
{
"title":"商标号",
ctls:[
{"type":"input","label":"商标号","prop":"tmRegistNum","placeHolder":"商标号","style":""},
]
},
{
"title":"商标名称",
ctls:[
{"type":"input","label":"商标名称","prop":"tmName","placeHolder":"商标名称","style":""},
]
},
{
"title":"申请人",
ctls:[
{"type":"input","label":"申请人","prop":"applyName","placeHolder":"申请人","style":""},
]
},
{
"title":"商标状态",
ctls:[
{"type":"select","dicKey":"tm_submit_status","prop":"tmStatus","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
// {"icon":"tool-upload","title":"上传回执","type":"default","key":"tmhzuploadlist","isOnGrid":true},
{"icon":"tool-look1","title":"查看回执","type":"default","key":"tmhzlook","isOnGrid":true},
{"icon":"el-icon-cancel","title":"营业执照","type":"default","key":"yyzz","isInRow":true},
{"icon":"el-icon-cancel","title":"商标图样","type":"default","key":"sbty","isInRow":true},
{"icon":"el-icon-cancel","title":"委托书","type":"default","key":"wts","isInRow":true},
{"icon":"el-icon-cancel","title":"身份证明","type":"default","key":"sfz","isInRow":true},
{"icon":"el-icon-cancel","title":"修改","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
],
"edit":[
],
"delete":[
],
"common":[
],
}
}
\ No newline at end of file
module.exports={
"list":{
columnMetaData:[
// {"width":"150","label":"渠道名称","prop":"channelName","isShowTip":true,"isTmpl":false},
{"width":"100","label":"渠道编码","prop":"channelCode","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"商机类型","prop":"chanceTypeName","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"服务编码","prop":"serviceItem_code","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"服务名称","prop":"serviceItem_name","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"负责人","prop":"user.userName","isShowTip":false,"isTmpl":false,},
{"width":"200","label":"负责人手机","prop":"mobile","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"发布者姓名","prop":"publisherName","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"发布人手机","prop":"publisherMobile","isShowTip":false,"isTmpl":false,},
{"width":"200","label":"发布人备注","prop":"publisherNotes","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"状态","prop":"statusName","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"分配时间","prop":"created_at","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"操作时间","prop":"updated_at","isShowTip":false,"isTmpl":false,},
]
},
"form":[
],
"search":[
{
"title":"负责人手机",
ctls:[
{"type":"input","label":"负责人手机","prop":"mobile","placeHolder":"请输入负责人手机","style":""},
]
},
{
"title":"渠道",
"rule": [
{ "required": true, "message": '请选择渠道', "trigger": 'blur' },
],
ctls:[
{"type":"select","refModel":"channel","isMulti":false,"label":"渠道","prop":"channelCode","labelField":"channelName","valueField":"channelCode","style":""},
]
},
{
"title":"商机类型",
ctls:[
{"type":"select","dicKey":"chanceType","prop":"chanceType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"状态",
ctls:[
{"type":"select","dicKey":"businessallowstatus","prop":"status","labelField":"label","valueField":"value","style":""},
]
},
],
"auth":{
"add":[
// {"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
// {"icon":"el-icon-save","title":"保存","type":"default","key":"mysave","isOnForm":true},
],
"edit":[
// {"icon":"el-icon-edit","title":"修改","type":"default","key":"edit","isInRow":true},
],
"delete":[
// {"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
// {"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"bizName":"businesschance",
"list":{
columnMetaData:[
{"width":"100","label":"发布者姓名","prop":"publisherName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"发布者手机号","prop":"publisherMobile","isShowTip":true,"isTmpl":false},
{"width":"150","label":"发布者所在省份","prop":"province","isShowTip":true,"isTmpl":false},
{"width":"150","label":"发布者所在城市","prop":"city","isShowTip":true,"isTmpl":false},
{"width":"100","label":"需求类型","prop":"chanceTypeName","isShowTip":true,"isTmpl":false},
{"width":"200","label":"产品名称","prop":"serviceItem_name","isShowTip":true,"isTmpl":false},
{"width":"100","label":"渠道编码","prop":"channelCode","isShowTip":true,"isTmpl":false},
{"width":"100","label":"状态","prop":"chanceStatusName","isShowTip":true,"isTmpl":false},
{"width":"200","label":"发布时间","prop":"created_at","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
],
"search":[
{
"title":"状态",
ctls:[
{"type":"select","dicKey":"chance_status","prop":"chanceStatus","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"需求类型",
ctls:[
{"type":"select","dicKey":"chanceType","prop":"chanceType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"渠道编码",
ctls:[
{"type":"input","label":"渠道编码","prop":"channelCode","placeHolder":"请输入渠道编码","style":""},
]
},
],
"auth":{
"add":[
// {"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
// {"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"edit":[
// {"icon":"el-icon-edit","title":"修改","type":"default","key":"edit","isInRow":true},
],
"delete":[
// {"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
// {"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"300","label":"企业名称","prop":"companyName","isShowTip":true,"isTmpl":false},
{"width":"200","label":"申请号","prop":"regNum","isShowTip":true,"isTmpl":false},
{"width":"200","label":"不予受理时间","prop":"noAcceptDay","isShowTip":true,"isTmpl":false},
{"width":"200","label":"不予受理期号","prop":"noAccepyIssue","isShowTip":true,"isTmpl":false},
{"width":"200","label":"不予受理页码","prop":"noAcceptPageNum","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
{
"title":"企业名称",
ctls:[
{"type":"input","label":"企业名称","prop":"companyName","placeHolder":"企业名称","style":""},
]
},
{
"title":"所在地址",
ctls:[
{"type":"input","label":"所在地址","prop":"companyAddr","placeHolder":"所在地址","style":""},
]
},
{
"title":"联系方式",
ctls:[
{"type":"input","label":"联系方式","prop":"phone","placeHolder":"联系方式","style":""},
]
},
{
"title":"邮箱",
ctls:[
{"type":"input","label":"邮箱","prop":"email","placeHolder":"邮箱","style":""},
]
},
],
"search":[
{
"title":"企业名称",
ctls:[
{"type":"input","label":"企业名称","prop":"companyName","placeHolder":"企业名称","style":""},
]
},
],
"auth":{
"add":[
],
"edit":[
],
"delete":[
],
"common":[
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"detail","isInRow":true},
{"icon":"el-icon-cancel","title":"关闭","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"bizName":"cachearches",
"list":{
columnMetaData:[
{"width":"300","label":"缓存键","prop":"name","isShowTip":true,"isTmpl":false},
{"width":"300","label":"缓存说明","prop":"val","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
],
"search":[
{
"title":"键名称",
ctls:[
{"type":"input","label":"键名称","prop":"name","placeHolder":"键名称","style":""},
]
},
],
"auth":{
"add":[
],
"edit":[
{"icon":"el-icon-edit","title":"清空所有缓存","type":"default","key":"clearAll","isOnGrid":true},
{"icon":"el-icon-edit","title":"使失效","type":"default","key":"invalidate","isInRow":true},
],
"delete":[
],
"common":[
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"190","label":"创建时间","prop":"created_at","isShowTip":true,"isTmpl":false},
{"width":"190","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"190","label":"商标名称","prop":"tmName","isShowTip":true,"isTmpl":false},
{"width":"190","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"100","label":"状态","prop":"status","isShowTip":true,"isTmpl":false},
{"width":"150","label":"来源类型","prop":"calcTypeName","isShowTip":true,"isTmpl":false},
{"width":"50","label":"","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"商标申请人",
ctls:[
{"type":"input","label":"商标申请人","prop":"applyName","placeHolder":"商标申请人","style":""},
]
},
{
"title":"商标名称",
ctls:[
{"type":"input","label":"商标名称","prop":"tmName","placeHolder":"商标名称","style":""},
]
},
{
"title":"联系人",
ctls:[
{"type":"input","label":"联系人","prop":"customerContact","placeHolder":"联系人","style":""},
]
},
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"提报单状态",
ctls:[
{"type":"select","dicKey":"ncl_calc_status","prop":"status","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
{"icon":"tool-add","title":"新增","type":"default","key":"mynew","isOnGrid":true},
{"icon":"tool-copy1","title":"复制","type":"default","key":"copy","isOnGrid":true},
{"icon":"tool-Order1","title":"生成订单","type":"default","key":"makeOrder","isOnGrid":true},
{"icon":"el-icon-arrow-up","title":"挂接订单","type":"default","key":"hookorder","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"mysave","isOnForm":true}
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"myedit","isInRow":true},
{"icon":"el-icon-plus","title":"生成委托书","type":"default","key":"createWTS","isInRow":true},
{"icon":"el-icon-cancel","title":"下载委托书","type":"default","key":"downloadWTS","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"mydelete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"detail","isInRow":true},
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"200","label":"创建时间","prop":"created_at","isShowTip":true,"isTmpl":false},
{"width":"300","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"250","label":"商标名称","prop":"tmName","isShowTip":true,"isTmpl":false},
]
},
"form":[
],
"search":[
{
"title":"商标申请人",
ctls:[
{"type":"input","label":"商标申请人","prop":"applyName","placeHolder":"商标申请人","style":""},
]
},
{
"title":"商标名称",
ctls:[
{"type":"input","label":"商标名称","prop":"tmName","placeHolder":"商标名称","style":""},
]
}
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"生成订单","type":"default","key":"createorder","isOnGrid":true},
],
"edit":[
],
"delete":[
],
"common":[
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"150","label":"渠道名称","prop":"channel.channelName","isShowTip":true,"isTmpl":false},
{"width":"100","label":"渠道编码","prop":"channelCode","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"商机类型","prop":"chanceTypeName","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"负责人","prop":"businessOwner","isShowTip":false,"isTmpl":false,},
{"width":"200","label":"负责人手机","prop":"mobile","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"启用状态","prop":"isEnabled","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"分配权重","prop":"weight","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"是否接单","prop":"isOrderReceiving","isShowTip":false,"isTmpl":false,},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
{
"title":"渠道",
"rule": [
{ "required": true, "message": '请选择渠道', "trigger": 'blur' },
],
ctls:[
{"type":"select","refModel":"channel","isMulti":false,"label":"渠道","prop":"channel_id","labelField":"channelName","valueField":"id","style":""},
]
},
{
"title":"是否启用",
"ctls":[
{"type":"switch","prop":"isEnabled","acText":"启用","inactText":"不启用","placeHolder":" ","style":""},
]
},
{
"title":"是否接单",
"ctls":[
{"type":"switch","prop":"isOrderReceiving","acText":"接单","inactText":"不接单","placeHolder":" ","style":""},
]
},
{
"title":"商机类型",
"validProp":"chanceType",
"rule": [
{ "required": true, "message": '商机类型', "trigger": 'blur' },
],
"ctls":[
{"type":"select","dicKey":"chanceType","prop":"chanceType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"通知类型",
"validProp":"noticeType",
"rule": [
{ "required": true, "message": '通知类型', "trigger": 'blur' },
],
"ctls":[
{"type":"select","dicKey":"noticeType","prop":"noticeType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"负责人电话",
"validProp":"mobile",
"rule": [
{ "required": true, "message": '请输入负责人电话', "trigger": 'blur' },
{ "validator":"validatex","trigger": 'blur' },
],
"ctls":[
{"type":"input","label":"负责人电话","prop":"mobile","placeHolder":"请输入负责人电话","style":""},
]
},
{
"title":"领导手机",
"validProp":"leaderMobile",
"rule": [
{ "required": true, "message": '请输入领导手机', "trigger": 'blur' },
{ "validator":"validatex","trigger": 'blur' },
],
"ctls":[
{"type":"input","label":"领导手机","prop":"leaderMobile","placeHolder":"请输入领导手机","style":""},
]
},
],
"search":[
{
"title":"渠道",
ctls:[
{"type":"select","refModel":"channel","isMulti":false,"label":"渠道","prop":"channel_id","labelField":"channelName","valueField":"id","style":""},
]
},
{
"title":"负责人",
ctls:[
{"type":"input","label":"负责人","prop":"businessOwner","placeHolder":"请输入负责人姓名","style":""},
]
},
{
"title":"负责人手机",
ctls:[
{"type":"input","label":"负责人手机","prop":"mobile","placeHolder":"请输入负责人手机","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"mysave","isOnForm":true},
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"edit","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"100","label":"渠道名称","prop":"channelName","isShowTip":true,"isTmpl":false},
{"width":"100","label":"渠道编码","prop":"channelCode","isShowTip":false,"isTmpl":false,},
{"width":"100","label":"APPKEY","prop":"wxAppId","isShowTip":true,"isTmpl":false},
{"width":"150","label":"渠道分成模式","prop":"profitType","isShowTip":true,"isTmpl":false},
{"width":"200","label":"渠道分成","prop":"everySingleProfit","isShowTip":true,"isTmpl":false},
{"width":"100","label":"角色","prop":"Roles","isShowTip":true,"isTmpl":false},
{"width":"200","label":"是否发布","prop":"isPubed","isShowTip":true,"isTmpl":false},
{"width":"50","label":"","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
{
"title":"次续",
ctls:[
{"type":"number","prop":"sort","placeHolder":"请输入(整数数字)","style":""},
]
},
{
"title":"渠道名称",
ctls:[
{"type":"input","label":"渠道名称","prop":"channelName","placeHolder":"渠道名称","style":""},
]
},
{
"title":"渠道编码",
ctls:[
{"type":"input","label":"渠道编码","prop":"channelCode","placeHolder":"渠道编码","style":""},
]
},
{
"title":"APPKEY",
ctls:[
{"type":"input","label":"项目操作码","prop":"wxAppId","placeHolder":"项目操作码","style":""},
]
},
{
"title":"",
ctls:[
{"type":"switch","prop":"moreShop","acText":"支持多店","inactText":"否","placeHolder":"请输入单次使用消耗的宝币数","style":""},
]
},
{
"title":"",
ctls:[
{"type":"switch","prop":"isEnabled","acText":"分享时是否渠道店铺名称","inactText":"否","placeHolder":"请输入单次使用消耗的宝币数","style":""},
]
},
{
"title":"渠道店铺名称",
ctls:[
{"type":"input","label":"渠道店铺名称","prop":"channelShopName","placeHolder":"渠道店铺名称","style":""},
]
},
{
"title":"渠道分成模式",
ctls:[
{"type":"select","dicKey":"channelProfitType","prop":"profitType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"渠道分成(率/元)",
ctls:[
{"type":"input","label":"渠道分成","prop":"everySingleProfit","placeHolder":"渠道分成","style":""},
]
},
{
"title":"角色",
ctls:[
{"type":"select","refModel":"role","isMulti":true,"label":"角色","prop":"roles","labelField":"name","valueField":"id","style":""},
]
},
{
"title":"",
ctls:[
{"type":"switch","prop":"isPubed","acText":"发布","inactText":"关闭","placeHolder":"","style":""},
]
},
{
"title":"渠道图标",
ctls:[
{"type":"upload","label":"渠道图标","prop":"icon","placeHolder":"渠道图标","style":""},
]
},
{
"title":"图标链接",
"ctls":[
{"type":"input","label":"渠道链接","prop":"iconLink","placeHolder":"渠道链接","style":""},
]
},
],
"search":[
{
"title":"渠道名称",
ctls:[
{"type":"input","label":"渠道名称","prop":"channelName","placeHolder":"请输入渠道名称","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"edit","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
{"icon":"el-icon-edit","title":"停用","type":"default","key":"stopUser","isInRow":true,"boolProp":"isEnabled","falseText":"启用"},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"bizName":"article",
"list":{
columnMetaData:[
{"width":"","label":"","prop":"code","isShowTip":true,"pos":"left","isTmpl":true,"isOther":true},
]
},
"form":[
{
"title":"编码",
"validProp":"code",
"rule": [
{ "required": true, "message": '请输入编码', "trigger": 'blur' },
],
ctls:[
{"type":"input","label":"编码","prop":"code","placeHolder":"请输入编码","style":""},
]
},
{
"title":"频道",
ctls:[
{"type":"select","refModel":"newschannel","isMulti":false,"label":"频道","prop":"newschannel_id","labelField":"title","valueField":"id","style":""},
]
},
{
"title":"标题",
"ctls":[
{"type":"input","label":"标题","prop":"title","disabled":false,"placeHolder":"请输入标题","style":""},
]
},
{
"title":"标题缩略图",
"ctls":[
{"type":"upload","label":"标题缩略图","prop":"listimg","placeHolder":"请输入标题","style":""},
]
},
{
"title":"概要",
"ctls":[
{"type":"textarea","label":"概要","prop":"desc","placeHolder":"请输入概要","style":""},
]
},
{
"title":"文章内容",
"ctls":[
{"type":"html","label":"标题","prop":"content","height":"500px","disabled":false,"placeHolder":"请输入标题","style":""},
]
},
],
"search":[
{
"title":"频道",
ctls:[
{"type":"select","refModel":"newschannel","isMulti":false,"label":"频道","prop":"newschannel_id","labelField":"title","valueField":"id","style":""},
]
},
{
"title":"标题",
ctls:[
{"type":"input","label":"标题","prop":"title","placeHolder":"请输入标题","style":""},
]
},
],
"auth":{
"add":[
],
"edit":[
],
"delete":[
],
"common":[
],
}
}
module.exports={
"bizName":"codes",
"list":{
columnMetaData:[
{"width":"100","label":"代码名称","prop":"name","isShowTip":true,"isTmpl":false},
{"width":"200","label":"代码地址","prop":"gitaddress","isShowTip":true,"isTmpl":false},
{"width":"200","label":"版本号","prop":"versions_num","isShowTip":true,"isTmpl":false},
{"width":"200","label":"镜像库地址","prop":"docker_repo_addr","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
{
"title":"代码名称",
"validProp":"name",
"rule": [
{ "required": true, "message": '请输入代码名称', "trigger": 'blur' },
],
ctls:[
{"type":"input","label":"代码名称","prop":"name","placeHolder":"代码名称","style":""},
]
},
{
"title":"代码地址",
"ctls":[
{"type":"input","label":"代码地址","prop":"gitaddress","disabled":false,"placeHolder":"","style":""},
]
},
{
"title":"版本号",
"ctls":[
{"type":"input","label":"版本号","prop":"versions_num","disabled":false,"placeHolder":"","style":""},
]
},
{
"title":"镜像库地址",
"ctls":[
{"type":"input","label":"镜像库地址","prop":"docker_repo_addr","disabled":false,"placeHolder":"","style":""},
]
},
],
"search":[
{
"title":"代码名称",
ctls:[
{"type":"input","label":"代码名称","prop":"name","placeHolder":"代码名称","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"edit":[
{"icon":"el-icon-edit","title":"创建镜像","type":"default","key":"createRepoAddr","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"bizName":"containerarchs",
"list":{
columnMetaData:[
{"width":"100","label":"容器名称","prop":"name","isShowTip":true,"isTmpl":false},
{"width":"100","label":"镜像名称","prop":"mirrorinfo.name","isShowTip":true,"isTmpl":false},
{"width":"100","label":"机器名称","prop":"machine.name","isShowTip":true,"isTmpl":false},
{"width":"200","label":"容器状态","prop":"status","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
{
"title":"容器名称",
"validProp":"name",
"rule": [
{ "required": true, "message": '请输入容器名称', "trigger": 'blur' },
],
ctls:[
{"type":"input","label":"容器名称","prop":"name","placeHolder":"容器名称","style":""},
]
},
],
"search":[
{
"title":"容器名称",
ctls:[
{"type":"input","label":"容器名称","prop":"name","placeHolder":"应用名称","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"delete":[
{"icon":"el-icon-edit","title":"停用","type":"default","key":"stopUser","isInRow":true,"boolProp":"status","falseText":"启用"},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"190","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"申请类型","prop":"applierTypeName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"版权类型","prop":"copyrightTypeName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"版权进度","prop":"statusProgressName","isShowTip":true,"isTmpl":false},
{"width":"150","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"150","label":"状态","prop":"statusName","isShowTip":true,"isTmpl":false},
{"width":"190","label":"创建时间","prop":"created_at","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"申请人",
ctls:[
{"type":"input","label":"申请人","prop":"applyName","placeHolder":"申请人","style":""},
]
},
{
"title":"版权类型",
ctls:[
{"type":"select","dicKey":"copyright_type","prop":"copyrightType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"版权进度",
ctls:[
{"type":"select","dicKey":"statusProgress_status","prop":"statusProgress","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"状态",
ctls:[
{"type":"select","dicKey":"ncl_calc_status","prop":"status","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
{"icon":"tool-add","title":"新增","type":"default","key":"mynew","isOnGrid":true},
{"icon":"tool-copy1","title":"复制","type":"default","key":"copy","isOnGrid":true},
{"icon":"tool-copy1","title":"关联订单","type":"default","key":"hookorder","isOnGrid":true},
{"icon":"tool-copy1","title":"审核","type":"default","key":"mycheck","isOnGrid":true},
{"icon":"tool-copy1","title":"撤销","type":"default","key":"myBack","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"mysave","isOnForm":true}
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"myedit","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"申请表模板下载","type":"default","key":"doc1","isInRow":true},
{"icon":"el-icon-cancel","title":"返回","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"80","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"150","label":"申请人","prop":"applyName","isShowTip":true,"isTmpl":false},
{"width":"80","label":"订单总额","prop":"totalSum","isShowTip":true,"isTmpl":false},
{"width":"80","label":"订单状态","prop":"orderStatusName","isShowTip":true,"isTmpl":false},
{"width":"50","label":"","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"订单号","style":""},
]
},
{
"title":"申请人",
ctls:[
{"type":"input","label":"申请人","prop":"applyName","placeHolder":"申请人","style":""},
]
},
{
"title":"客户名称",
ctls:[
{"type":"input","label":"客户名称","prop":"customerContact","placeHolder":"客户名称","style":""},
]
},
{
"title":"客户电话",
ctls:[
{"type":"input","label":"客户电话","prop":"customerMobile","placeHolder":"客户电话","style":""},
]
},
{
"title":"产品名称",
ctls:[
{"type":"input","label":"产品名称","prop":"itemName","placeHolder":"产品名称","style":""},
]
},
{
"title":"订单状态",
ctls:[
{"type":"select","dicKey":"order_status","prop":"orderStatus","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"创建时间",
ctls:[
{"type":"datetimespan","label":"创建时间","prop":"created_at","placeHolder":"创建时间","style":""},
]
},
],
"auth":{
"add":[
// {"icon":"el-icon-plus","title":"下单","type":"default","key":"neworder","isOnGrid":true},
// {"icon":"el-icon-plus","title":"开始提报","type":"default","key":"tmsubmit","isInRow":true},
// {"icon":"el-icon-plus","title":"订单取消","type":"default","key":"ordercancel","isInRow":true}
],
"edit":[
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"mydelete","isInRow":true},
],
"common":[
// {"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"","label":"版权申报内容","prop":"code","isShowTip":true,"pos":"left","isTmpl":true,"isOther":true},
]
},
"form":[
],
"search":[
{
"title":"版权类型",
ctls:[
{"type":"select","dicKey":"copyright_type","prop":"copyrightType","labelField":"label","valueField":"value","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-save","title":"保存","type":"default","key":"mysave","isOnForm":true}
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"myedit","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"mydetail","isInRow":true},
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"bizName":"apps",
"list":{
columnMetaData:[
{"width":"200","label":"公司名称","prop":"name","isShowTip":true,"isTmpl":false},
{"width":"200","label":"发包方","prop":"nameA","isShowTip":true,"isTmpl":false},
{"width":"200","label":"是否启用","prop":"isEnabled","isShowTip":true,"isTmpl":false},
{"width":"200","label":"是否静默签","prop":"isQuiet","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
{
"title":"公司名称",
"validProp":"name",
"rule": [
{ "required": true, "message": '请输入应用名称', "trigger": 'blur' },
],
ctls:[
{"type":"input","label":"公司名称","prop":"name","placeHolder":"公司名称","style":""},
]
},
{
"title":"发包方",
"validProp":"nameA",
"rule": [
{ "required": true, "message": '请输入发包方', "trigger": 'blur' },
],
ctls:[
{"type":"input","label":"发包方","prop":"nameA","placeHolder":"发包方","style":""},
]
},
{
"title":"是否启用",
"ctls":[
{"type":"switch","prop":"isEnabled","acText":"启用","inactText":"不启用","placeHolder":" ","style":""},
]
},
{
"title":"推送地址",
"validProp":"posturl",
ctls:[
{"type":"input","label":"推送地址","prop":"posturl","placeHolder":"请输入推送地址","style":""},
]
},
{
"title":"加密key",
"validProp":"encryptkey",
ctls:[
{"type":"input","label":"加密key","prop":"encryptkey","placeHolder":"请输入加密key","style":""},
]
},
{
"title":"是否静默签",
"ctls":[
{"type":"switch","prop":"isQuiet","acText":"静默","inactText":"不静默","placeHolder":" ","style":""},
]
}
],
"search":[
{
"title":"公司名称",
ctls:[
{"type":"input","label":"公司名称","prop":"name","placeHolder":"公司名称","style":""},
]
}
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"edit","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"bizName":"apps",
"list":{
columnMetaData:[
{"width":"200","label":"合同名称","prop":"name","isShowTip":true,"isTmpl":false},
{"width":"200","label":"公司名称","prop":"ecompany.name","isShowTip":true,"isTmpl":false},
{"width":"200","label":"模板名称","prop":"etemplate.name","isShowTip":true,"isTmpl":false},
{"width":"200","label":"用户名称","prop":"user.userName","isShowTip":true,"isTmpl":false},
{"width":"200","label":"用户手机","prop":"user.mobile","isShowTip":true,"isTmpl":false},
{"width":"200","label":"签署id","prop":"eflowid","isShowTip":true,"isTmpl":false},
{"width":"200","label":"签署状态","prop":"eflowstatusname","isShowTip":true,"isTmpl":false},
{"width":"190","label":"创建时间","prop":"created_at","isShowTip":true,"isTmpl":false},
{"width":"190","label":"结束时间","prop":"completed_at","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"}
]
},
"form":[
{
"title":"合同名称",
ctls:[
{"type":"input","label":"合同名称","prop":"name","placeHolder":"公司名称","style":"","disabled":true},
]
}
],
"search":[
{
"title":"合同名称",
ctls:[
{"type":"input","label":"合同名称","prop":"name","placeHolder":"合同名称","style":""},
]
},
// {
// "title":"所属企业",
// ctls:[
// {"type":"select","refModel":"ecompany","isMulti":false,"label":"所属企业","prop":"`ecompany_id`","labelField":"name","valueField":"id","style":""},
// ]
// },
// {
// "title":"所属用户",
// ctls:[
// {"type":"select","refModel":"user","isMulti":false,"label":"所属用户","prop":"user_id","labelField":"userName","valueField":"id","style":""},
// ]
// },
{
"title":"合同状态",
ctls:[
{"type":"select","dicKey":"eflowstatus","prop":"eflowstatus","labelField":"label","valueField":"value","style":""},
]
}
],
"auth":{
"add":[
],
"edit":[
],
"delete":[
],
"common":[
],
}
}
module.exports={
"bizName":"apps",
"list":{
columnMetaData:[
{"width":"100","label":"模板名称","prop":"name","isShowTip":true,"isTmpl":false},
{"width":"200","label":"所属企业","prop":"ecompany.name","isShowTip":true,"isTmpl":false},
{"width":"200","label":"是否启用","prop":"isEnabled","isShowTip":true,"isTmpl":false},
{"width":"200","label":"e签宝模板key","prop":"filekey","isShowTip":true,"isTmpl":false},
{"width":"50","label":"","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
{
"title":"模板名称",
"validProp":"name",
"rule": [
{ "required": true, "message": '请输入模板名称', "trigger": 'blur' },
],
ctls:[
{"type":"input","label":"模板名称","prop":"name","placeHolder":"模板名称","style":""},
]
},
{
"title":"所属企业",
"rule": [
{ "required": true, "message": '请选择所属企业', "trigger": 'blur' },
],
ctls:[
{"type":"select","refModel":"ecompany","isMulti":false,"label":"所属企业","placeHolder":"请输入关键字查询","prop":"ecompany_id","labelField":"name","valueField":"id","style":"","autoComplete":"true","isFilter":"true"},
]
},
{
"title":"是否启用",
"ctls":[
{"type":"switch","prop":"isEnabled","acText":"启用","inactText":"不启用","placeHolder":" ","style":""},
]
},
{
"title":"模板文件",
"validProp":"filepath",
"rule": [
{ "required": true, "message": '请上传模板', "trigger": 'blur' },
],
ctls:[
{"type":"upload","label":"模板文件","prop":"filepath","placeHolder":"模板文件","style":""},
]
},
{
"title":"模板占位信息",
"ctls":[
{"type":"textarea","label":"模板占位信息","prop":"placeholderkey","placeHolder":"模板占位信息","style":""},
]
},
{
"title":"e签宝模板key",
ctls:[
{"type":"input","label":"模板名称","prop":"filekey","placeHolder":"模板名称","style":"","disabled":true},
]
}
],
"search":[
{
"title":"模板名称",
ctls:[
{"type":"input","label":"模板名称","prop":"name","placeHolder":"模板名称","style":""},
]
},
{
"title":"所属企业",
ctls:[
{"type":"select","refModel":"ecompany","isMulti":false,"label":"项目渠道","prop":"ecompany_id","labelField":"name","valueField":"id","style":""},
]
}
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"mysave","isOnForm":true},
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"edit","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"bizName":"formtomail",
"list":{
columnMetaData:[
{"width":"200","label":"项目操作码","prop":"code","isShowTip":true,"isTmpl":false},
{"width":"200","label":"材料类型","prop":"typename","isShowTip":true,"isTmpl":false},
{"width":"200","label":"材料名称","prop":"name","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
{
"title":"编码",
"validProp":"code",
"rule": [
{ "required": true, "message": '请输入编码', "trigger": 'blur' },
],
"ctls":[
{"type":"input","label":"项目操作码","prop":"code","placeHolder":"请输入编码","style":""},
]
},
{
"title":"材料类型",
"validProp":"fileType",
"rule": [
{ "required": true, "message": '请选择类型', "trigger": 'blur' },
],
"ctls":[
{"type":"select","dicKey":"productCata","prop":"fileType","labelField":"label","valueField":"value","style":""},
]
},
{
"title":"附件名称",
"validProp":"name",
"rule": [
{ "required": true, "message": '请输入附件名称', "trigger": 'blur' },
],
"ctls":[
{"type":"input","label":"项目操作码","prop":"name","placeHolder":"请输入附件名称","style":""},
]
},
{
"title":"文件路径",
"ctls":[
{"type":"upload","label":"文件路径","prop":"filepath","placeHolder":"请输入文件附件路径","style":""},
]
},
],
"search":[
{
"title":"项目名称",
ctls:[
{"type":"input","label":"项目名称","prop":"name","placeHolder":"请输入项目名称","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"edit","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
//财务人员中的交易记录
"list":{
columnMetaData:[
{"width":"200","label":"时间","prop":"tradeDate","isShowTip":true,"isTmpl":false},
{"width":"100","label":"昵称","prop":"username","isShowTip":true,"isTmpl":false},
{"width":"100","label":"交易类型","prop":"desc","isShowTip":true,"isTmpl":false},
{"width":"150","label":"交易宝币(枚)","prop":"baoAmount","isShowTip":true,"isTmpl":false},
{"width":"150","label":"交易现金(元)","prop":"renAmount","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
{
"title":"昵称",
ctls:[
{"type":"input","label":"昵称","prop":"nickName","placeHolder":"昵称","style":""},
]
},
],
"search":[
{
"title":"交易时间",
ctls:[
{"type":"datetimespan","label":"交易时间","prop":"tradeDate","placeHolder":"请输入昵称","style":""},
]
},
{
"title":"RRR交易类型TTT",
ctls:[
{"type":"select","dicKey":"tradeType","prop":"tradeType","labelField":"label","valueField":"value","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"edit":[
],
"delete":[
],
"common":[
{"icon":"el-icon-cancel","title":"关闭","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"","label":"商标申报内容","prop":"code","isShowTip":true,"pos":"left","isTmpl":true,"isOther":true},
]
},
"form":[
],
"search":[
{
"title":"商标名称",
ctls:[
{"type":"input","label":"商标名称","prop":"tmName","placeHolder":"商标名称","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-save","title":"保存","type":"default","key":"mysave","isOnForm":true}
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"myedit","isInRow":true},
{"icon":"el-icon-plus","title":"生成委托书","type":"default","key":"createWTS","isInRow":true},
{"icon":"el-icon-cancel","title":"下载委托书","type":"default","key":"downloadWTS","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"mydelete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"detail","isInRow":true},
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"bizName":"imagearchs",
"list":{
columnMetaData:[
{"width":"100","label":"镜像名称","prop":"name","isShowTip":true,"isTmpl":false},
{"width":"100","label":"代码名称","prop":"code.name","isShowTip":true,"isTmpl":false},
{"width":"100","label":"代码版本","prop":"versions_num","isShowTip":true,"isTmpl":false},
{"width":"200","label":"镜像库地址","prop":"docker_repo_addr","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
{
"title":"镜像名称",
"validProp":"name",
"rule": [
{ "required": true, "message": '请输入镜像名称', "trigger": 'blur' },
],
ctls:[
{"type":"input","label":"镜像名称","prop":"name","placeHolder":"镜像名称","style":""},
]
},
{
"title":"镜像库地址",
"ctls":[
{"type":"input","label":"docker镜像地址","prop":"docker_repo_addr","disabled":false,"placeHolder":"","style":""},
]
},
],
"search":[
{
"title":"镜像名称",
ctls:[
{"type":"input","label":"镜像名称","prop":"name","placeHolder":"镜像名称","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"edit":[
{"icon":"el-icon-edit","title":"创建容器","type":"default","key":"createContainer","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"list":{
columnMetaData:[
{"width":"200","label":"商标","name":"null","isShowTip":false,"isTmpl":true,"isBtns":false},
{"width":"120","label":"商标号","prop":"sbzch","isShowTip":true,"isTmpl":false},
{"width":"180","label":"商标名称","prop":"sbmc","isShowTip":true,"isTmpl":false},
{"width":"100","label":"国际分类","prop":"gjfl","isShowTip":true,"isTmpl":false},
{"width":"150","label":"商标状态","prop":"sbzt","isShowTip":true,"isTmpl":false},
{"width":"150","label":"注册日期","prop":"zcrq","isShowTip":true,"isTmpl":false},
{"width":"280","label":"注册人","prop":"zcr","isShowTip":true,"isTmpl":false},
{"width":"100","label":"相似度","prop":"xsd","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
]
},
"form":[
],
"search":[
],
"auth":{
"add":[
],
"edit":[
],
"delete":[
],
"common":[
{"icon":"el-icon-cancel","title":"详情","type":"default","key":"detail","isInRow":true},
{"icon":"el-icon-cancel","title":"关闭","type":"default","key":"cancel","isOnForm":true},
],
}
}
// module.exports={
// "list":{
// columnMetaData:[
// {"width":"200","label":"商标","name":"null","isShowTip":false,"isTmpl":true,"isBtns":false},
// {"width":"120","label":"商标号","prop":"sbzch","isShowTip":true,"isTmpl":false},
// {"width":"180","label":"商标名称","prop":"sbmc","isShowTip":true,"isTmpl":false},
// {"width":"100","label":"国际分类","prop":"gjfl","isShowTip":true,"isTmpl":false},
// {"width":"150","label":"商标状态","prop":"sbzt","isShowTip":true,"isTmpl":false},
// {"width":"150","label":"注册日期","prop":"zcrq","isShowTip":true,"isTmpl":false},
// {"width":"280","label":"注册人","prop":"zcr","isShowTip":true,"isTmpl":false},
// {"width":"100","label":"相似度","prop":"xsd","isShowTip":true,"isTmpl":false},
// {"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
// ]
// },
// "form":[
//
// ],
// "search":[
//
// ],
// "auth":{
// "add":[
//
// ],
// "edit":[
//
// ],
// "delete":[
//
// ],
// "common":[
// {"icon":"el-icon-cancel","title":"详情","type":"default","key":"detail","isInRow":true},
// {"icon":"el-icon-cancel","title":"关闭","type":"default","key":"cancel","isOnForm":true},
// ],
// }
// }
module.exports={
"bizName":"invoice",
"list":{
columnMetaData:[
{"width":"200","label":"订单号","prop":"orderNum","isShowTip":true,"isTmpl":false},
{"width":"100","label":"发票类型","prop":"invoiceType","isShowTip":true,"isTmpl":false},
{"width":"200","label":"发票抬头","prop":"invoiceHeadUp","isShowTip":true,"isTmpl":false},
{"width":"150","label":"发票金额","prop":"totalSum","isShowTip":true,"isTmpl":false},
{"width":"150","label":"收票人手机号","prop":"mobile","isShowTip":true,"isTmpl":false},
{"width":"100","label":"发票状态","prop":"statusName","isShowTip":true,"isTmpl":false},
{"width":"200","label":"发票申请日期","prop":"created_at","isShowTip":true,"isTmpl":false},
{"width":"150","label":"发票详情","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
],
"search":[
{
"title":"订单号",
ctls:[
{"type":"input","label":"订单号","prop":"orderNum","placeHolder":"请输入订单号","style":""},
]
},
{
"title":"发票抬头",
ctls:[
{"type":"input","label":"发票抬头","prop":"invoiceHeadUp","placeHolder":"请输入发票抬头","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"mynew","isOnGrid":true},
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"myedit","isInRow":true},
{"icon":"el-icon-edit","title":"查看发票","type":"default","key":"myinvoice","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"bizName":"article",
"list":{
columnMetaData:[
{"width":"100","label":"编码","prop":"code","isShowTip":true,"isTmpl":false},
{"width":"100","label":"续号","prop":"orderNo","isShowTip":true,"isTmpl":false},
{"width":"100","label":"标题","prop":"title","isShowTip":true,"isTmpl":false},
{"width":"100","label":"渠道码","prop":"channelCode","isShowTip":true,"isTmpl":false},
{"width":"100","label":"左图","prop":"leftimg","isShowTip":false,"isTmpl":true,"isBtns":false},
{"width":"100","label":"右图","prop":"rightimg","isShowTip":false,"isTmpl":true,"isBtns":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
{
"title":"续号",
ctls:[
{"type":"number","prop":"orderNo","placeHolder":"请输入续号","style":""},
]
},
{
"title":"编码",
"validProp":"code",
"rule": [
{ "required": true, "message": '请输入编码', "trigger": 'blur' },
],
ctls:[
{"type":"input","label":"编码","prop":"code","placeHolder":"请输入编码","style":""},
]
},
{
"title":"标题",
"ctls":[
{"type":"input","label":"标题","prop":"title","disabled":false,"placeHolder":"请输入标题","style":""},
]
},
{
"title":"渠道",
ctls:[
{"type":"select","refModel":"channel","isMulti":false,"label":"渠道","prop":"channelCode","labelField":"channelName","valueField":"channelCode","style":""},
]
},
{
"title":"左图",
"ctls":[
{"type":"upload","label":"左图","prop":"leftimg","placeHolder":"请输入标题","style":""},
]
},
{
"title":"右图",
"ctls":[
{"type":"upload","label":"右图","prop":"rightimg","placeHolder":"请输入标题","style":""},
]
},
],
"search":[
{
"title":"标题",
ctls:[
{"type":"input","label":"标题","prop":"title","placeHolder":"请输入标题","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"edit","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
module.exports={
"bizName":"machines",
"list":{
columnMetaData:[
{"width":"100","label":"机器名称","prop":"name","isShowTip":true,"isTmpl":false},
{"width":"200","label":"IP地址","prop":"ipaddress","isShowTip":true,"isTmpl":false},
{"width":"200","label":"端口","prop":"port","isShowTip":true,"isTmpl":false},
{"width":"200","label":"用户名","prop":"username","isShowTip":true,"isTmpl":false},
{"width":"200","label":"密码","prop":"password","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
]
},
"form":[
{
"title":"机器名称",
"validProp":"name",
"rule": [
{ "required": true, "message": '请输入机器名称', "trigger": 'blur' },
],
ctls:[
{"type":"input","label":"机器名称","prop":"name","placeHolder":"机器名称","style":""},
]
},
{
"title":"IP地址",
"ctls":[
{"type":"input","label":"IP地址","prop":"ipaddress","disabled":false,"placeHolder":"","style":""},
]
},
{
"title":"端口",
"ctls":[
{"type":"input","label":"端口","prop":"port","disabled":false,"placeHolder":"","style":""},
]
},
{
"title":"用户名",
"ctls":[
{"type":"input","label":"用户名","prop":"username","disabled":false,"placeHolder":"","style":""},
]
},
{
"title":"密码",
"ctls":[
{"type":"input","label":"密码","prop":"password","disabled":false,"placeHolder":"","style":""},
]
},
],
"search":[
{
"title":"机器名称",
ctls:[
{"type":"input","label":"机器名称","prop":"name","placeHolder":"应用名称","style":""},
]
},
{
"title":"IP地址",
"ctls":[
{"type":"input","label":"IP地址","prop":"ipaddress","placeHolder":"","style":""},
]
},
],
"auth":{
"add":[
{"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
{"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
],
"edit":[
{"icon":"el-icon-edit","title":"修改","type":"default","key":"edit","isInRow":true},
],
"delete":[
{"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
],
"common":[
{"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
],
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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