Columns.ts 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. export const ProductColumns = [
  2. { type: 'checkbox', width: 50, align: 'center', fixed: 'left' },
  3. {
  4. field: 'is_monitor', title: '监控管理', width: 90, align: 'center', fixed: 'left',
  5. slots: { default: 'is_monitor' }
  6. },
  7. {
  8. field: 'product_info', title: '商品信息', minWidth: 260, align: 'center', fixed: 'left',
  9. slots: { default: 'product_info' }
  10. },
  11. {
  12. field: 'sku', title: 'SKU', width: 'auto', align: 'center',
  13. slots: { default: 'sku' }
  14. },
  15. {
  16. field: 'platform_number', title: '平台编号', width: 'auto', align: 'center',
  17. slots: { default: 'platform_number' }
  18. },
  19. {
  20. field: 'country_code', title: '国 家', width: 'auto', align: 'center',
  21. slots: { default: 'country_code' }
  22. },
  23. {
  24. field: 'brand', title: '品 牌', width: 'auto', align: 'center',
  25. slots: { default: 'brand' }
  26. },
  27. {
  28. field: 'shop_name', title: '店 铺', minWidth: 'auto', align: 'center',
  29. slots: { default: 'shop_name' }
  30. },
  31. {
  32. field: 'tag', title: '分 组', minWidth: 'auto', align: 'center',
  33. slots: { default: 'tag' }
  34. },
  35. {
  36. field: 'price_info', title: '价 格', width: 'auto', align: 'left',
  37. slots: { default: 'price_info' }
  38. },
  39. {
  40. field: 'show_price', title: '指导价格', width: 'auto', align: 'left',
  41. slots: { default: 'show_price' }
  42. },
  43. {
  44. field: 'launch_date', title: '上架日期', width: 'auto', align: 'center', sortable: true,
  45. slots: { default: 'launch_date' }
  46. },
  47. {
  48. field: 'category', title: '类 目', width: 'auto', align: 'center',
  49. slots: { default: 'category' }
  50. },
  51. {
  52. field: 'status', title: '状 态', width: 'auto', align: 'center',
  53. slots: { default: 'status' }
  54. },
  55. {
  56. field: 'update_datetime', title: '更新时间', width: 'auto', align: 'center',
  57. slots: { default: 'update_datetime' }
  58. },
  59. {
  60. field: 'create_datetime', title: '创建时间', width: 'auto', align: 'center',
  61. slots: { default: 'create_datetime' }
  62. },
  63. {
  64. field: 'operate', title: '操 作', minWidth: 90, align: 'center', fixed: 'right',
  65. slots: { default: 'operate' }
  66. }
  67. ];
  68. export const ProductMonitorColumns = [
  69. { type: 'checkbox', minWidth: 50, align: 'center', fixed: 'left' },
  70. {
  71. field: 'product_info', title: '商品信息', minWidth: 260, align: 'center', fixed: 'left',
  72. slots: { default: 'product_info' }
  73. },
  74. {
  75. field: 'sku', title: 'SKU', width: 'auto', align: 'center',
  76. slots: { default: 'sku' }
  77. },
  78. {
  79. field: 'platform_number', title: '平台编号', width: 'auto', align: 'center',
  80. slots: { default: 'platform_number' }
  81. },
  82. {
  83. field: 'country_code', title: '国 家', width: 'auto', align: 'center',
  84. slots: { default: 'country_code' }
  85. },
  86. {
  87. field: 'brand', title: '品 牌', width: 'auto', align: 'center',
  88. slots: { default: 'brand' }
  89. },
  90. {
  91. field: 'shop_name', title: '店 铺', width: 'auto', align: 'center',
  92. slots: { default: 'shop_name' }
  93. },
  94. {
  95. field: 'tag', title: '分 组', width: 'auto', align: 'center',
  96. slots: { default: 'tag' }
  97. },
  98. {
  99. field: 'score', title: '子ASIN计算评分', width: 'auto', align: 'center', sortable: true,
  100. slots: { default: 'score' }
  101. },
  102. {
  103. field: 'all_score', title: '亚马逊显示评分', width: 'auto', align: 'center', sortable: true,
  104. slots: { default: 'all_score' }
  105. },
  106. {
  107. field: 'stars', title: '子ASIN星级分布', width: 'auto', headerAlign: 'center', align: 'center',
  108. slots: { default: 'stars' }
  109. },
  110. {
  111. field: 'all_stars', title: '亚马逊星级分布', width: 'auto', headerAlign: 'center', align: 'center',
  112. slots: { default: 'all_stars' }
  113. },
  114. {
  115. field: 'price_info', title: '价 格', width: 'auto', align: 'left',
  116. slots: { default: 'price_info' }
  117. },
  118. {
  119. field: 'show_price', title: '指导价格', width: 'auto', align: 'left',
  120. slots: { default: 'show_price' }
  121. },
  122. {
  123. field: 'ratings', title: '子ASIN评分人数', width: 'auto', align: 'center', sortable: true,
  124. slots: { default: 'ratings' }
  125. },
  126. {
  127. field: 'all_ratings', title: '亚马逊显示评分人数', width: 'auto', align: 'center', sortable: true,
  128. slots: { default: 'all_ratings' }
  129. },
  130. {
  131. field: 'reviews', title: '子ASIN评论人数', width: 'auto', align: 'center', sortable: true,
  132. slots: { default: 'reviews' }
  133. },
  134. {
  135. field: 'all_reviews', title: '亚马逊显示评论人数', width: 'auto', align: 'center', sortable: true,
  136. slots: { default: 'all_reviews' }
  137. },
  138. {
  139. field: 'launch_date', title: '上架日期', width: 'auto', align: 'center', sortable: true,
  140. slots: { default: 'launch_date' }
  141. },
  142. {
  143. field: 'category', title: '类 目', width: 'auto', align: 'center',
  144. slots: { default: 'category' }
  145. },
  146. {
  147. field: 'status', title: '状 态', width: 'auto', align: 'center',
  148. slots: { default: 'status' }
  149. },
  150. {
  151. field: 'update_datetime', title: '更新时间', width: 'auto', align: 'center',
  152. slots: { default: 'update_datetime' }
  153. },
  154. {
  155. field: 'create_datetime', title: '创建时间', width: 'auto', align: 'center',
  156. slots: { default: 'create_datetime' }
  157. },
  158. {
  159. field: 'operate', title: '操 作', minWidth: 90, align: 'center', fixed: 'right',
  160. slots: { default: 'operate' }
  161. }
  162. ];
  163. export const CompetitorMonitorColumns = [
  164. { type: 'checkbox', minWidth: 50, align: 'center', fixed: 'left' },
  165. {
  166. field: 'product_info', title: '商品信息', minWidth: 260, align: 'center', fixed: 'left',
  167. slots: { default: 'product_info' }
  168. },
  169. {
  170. field: 'country_code', title: '国 家', width: 'auto', align: 'center',
  171. slots: { default: 'country_code' }
  172. },
  173. {
  174. field: 'brand', title: '品 牌', width: 'auto', align: 'center',
  175. slots: { default: 'brand' }
  176. },
  177. {
  178. field: 'shop_name', title: '店 铺', width: 'auto', align: 'center',
  179. slots: { default: 'shop_name' }
  180. },
  181. {
  182. field: 'tag', title: '分 组', width: 'auto', align: 'center',
  183. slots: { default: 'tag' }
  184. },
  185. {
  186. field: 'score', title: '子ASIN计算评分', width: 'auto', align: 'center', sortable: true,
  187. slots: { default: 'score' }
  188. },
  189. {
  190. field: 'all_score', title: '亚马逊显示评分', width: 'auto', align: 'center', sortable: true,
  191. slots: { default: 'all_score' }
  192. },
  193. {
  194. field: 'stars', title: '子ASIN星级分布', width: 'auto', headerAlign: 'center', align: 'center',
  195. slots: { default: 'stars' }
  196. },
  197. {
  198. field: 'all_stars', title: '亚马逊星级分布', width: 'auto', headerAlign: 'center', align: 'center',
  199. slots: { default: 'all_stars' }
  200. },
  201. {
  202. field: 'price_info', title: '价 格', width: 'auto', align: 'left',
  203. slots: { default: 'price_info' }
  204. },
  205. {
  206. field: 'ratings', title: '子ASIN评分人数', width: 'auto', align: 'center', sortable: true,
  207. slots: { default: 'ratings' }
  208. },
  209. {
  210. field: 'all_ratings', title: '亚马逊显示评分人数', width: 'auto', align: 'center', sortable: true,
  211. slots: { default: 'all_ratings' }
  212. },
  213. {
  214. field: 'reviews', title: '子ASIN评论人数', width: 'auto', align: 'center', sortable: true,
  215. slots: { default: 'reviews' }
  216. },
  217. {
  218. field: 'all_reviews', title: '亚马逊显示评论人数', width: 'auto', align: 'center', sortable: true,
  219. slots: { default: 'all_reviews' }
  220. },
  221. {
  222. field: 'launch_date', title: '上架日期', width: 'auto', align: 'center', sortable: true,
  223. slots: { default: 'launch_date' }
  224. },
  225. {
  226. field: 'category', title: '类 目', width: 'auto', align: 'center',
  227. slots: { default: 'category' }
  228. },
  229. {
  230. field: 'status', title: '状 态', width: 'auto', align: 'center',
  231. slots: { default: 'status' }
  232. },
  233. {
  234. field: 'update_datetime', title: '更新时间', width: 'auto', align: 'center', showOverflow: true,
  235. slots: { default: 'update_datetime' }
  236. },
  237. {
  238. field: 'create_datetime', title: '创建时间', width: 'auto', align: 'center', showOverflow: true,
  239. slots: { default: 'create_datetime' }
  240. },
  241. {
  242. field: 'operate', title: '操 作', minWidth: 90, align: 'center', fixed: 'right',
  243. slots: { default: 'operate' }
  244. }
  245. ];
  246. export const HistoricalColumns = [
  247. {
  248. field: 'create_datetime', title: '时 间', align: 'center', fixed: 'left',
  249. slots: { default: 'create_datetime' }
  250. },
  251. {
  252. field: 'field', title: '变更项', align: 'center',
  253. slots: { default: 'field' }
  254. },
  255. {
  256. field: 'old_val', title: '原 值', align: 'center',
  257. slots: { default: 'old_val' }
  258. },
  259. {
  260. field: 'new_val', title: '现 值', align: 'center',
  261. slots: { default: 'new_val' }
  262. },
  263. ]
  264. export const CompetitorMonitorCommentColumns = [
  265. {
  266. field: 'country_code', title: '国 家', width: 90, align: 'center',
  267. slots: { default: 'country_code' }
  268. },
  269. {
  270. field: 'title', title: '标 题', minWidth: 130, align: 'center',
  271. slots: { default: 'title' }
  272. },
  273. {
  274. field: 'reviewer_name', title: '用户昵称', minWidth: 110, align: 'center',
  275. slots: { default: 'reviewer_name' }
  276. },
  277. {
  278. field: 'review_date', title: '评论日期', width: 130, align: 'center',
  279. slots: { default: 'review_date' }
  280. },
  281. {
  282. field: 'content', title: '评论内容', minWidth: 400, align: 'center',
  283. slots: { default: 'content' }
  284. },
  285. {
  286. field: 'score', title: '用户评分', minWidth: 145, align: 'center',
  287. slots: { default: 'score' }
  288. },
  289. {
  290. field: 'tiv', title: '评论类型', width: 100, align: 'center',
  291. slots: { default: 'tiv' }
  292. },
  293. {
  294. field: 'helpful', title: '评论有用人数', width: 95, align: 'center',
  295. slots: { default: 'helpful' }
  296. },
  297. {
  298. field: 'verified', title: '认证购买', width: 90, align: 'center',
  299. slots: { default: 'verified' }
  300. },
  301. {
  302. field: 'create_datetime', title: '创建时间', width: 158, align: 'center',
  303. slots: { default: 'create_datetime' }
  304. },
  305. {
  306. field: 'operate', title: '操 作', width: 100, align: 'center', fixed: 'right',
  307. slots: { default: 'operate' }
  308. }
  309. ]
  310. export const NegativeLabelColumns = [
  311. {type:'seq', title: '序号', width:48, align: 'center'},
  312. {field:'raw_label',title: '原始标签',minWidth: 120,align: 'center',},
  313. {field:'kind',title: '类别',minWidth: 76,align: 'center',},
  314. {field:'update_datetime',title: '更新时间',minWidth:96,align: 'center',},
  315. {field:'create_datetime',title: '创建时间',minWidth:96,align: 'center',},
  316. {field:'operate',title: '操作',align: 'center',slots: { default: 'operate' }}
  317. ]