diff --git a/Caddyfile b/Caddyfile index f0d9ded..1cfa33e 100644 --- a/Caddyfile +++ b/Caddyfile @@ -5,7 +5,7 @@ :4173 { handle_path /api/* { - reverse_proxy 192.168.0.201:1618 + reverse_proxy http://101.34.131.16:1618 } handle { root * "/Volumes/iMac Doc/WebstormProjects/cas_cloud_admin/dist" diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue index af1bf9e..4550d45 100644 --- a/src/components/ImageUpload/index.vue +++ b/src/components/ImageUpload/index.vue @@ -190,8 +190,8 @@ function listToString(list, separator) { separator = separator || ","; for (let i in list) { if (undefined !== list[i].url && list[i].url.indexOf("blob:") !== 0) { - strs += list[i].url.replace(baseUrl, "") + separator; - // strs += list[i].url + separator; + // strs += list[i].url.replace(baseUrl, "") + separator; + strs += list[i].url + separator; } } return strs != "" ? strs.substr(0, strs.length - 1) : ""; diff --git a/src/constant/dict.js b/src/constant/dict.js index d836ea9..7b88f76 100644 --- a/src/constant/dict.js +++ b/src/constant/dict.js @@ -2,17 +2,17 @@ export const auditStatusDict = [ { value: "0", - label: "审核中", + label: "待审核", elTagType: "primary", }, { value: "1", - label: "审核通过", + label: "已通过", elTagType: "success", }, { value: "2", - label: "审核拒绝", + label: "已驳回", elTagType: "danger", }, ]; diff --git a/src/song.json b/src/song.json new file mode 100644 index 0000000..7d1b335 --- /dev/null +++ b/src/song.json @@ -0,0 +1,266 @@ +[ + { + "id": 1, + "title": "Shake It Off", + "artist": "Taylor Swift", + "album": "1989", + "genre": "Pop", + "releaseDate": "2014-08-18", + "price": 1.29, + "duration": 219, + "cover": "https://upload.wikimedia.org/wikipedia/en/f/f6/Taylor_Swift_-_1989.png", + "rating": 4.5 + }, + { + "id": 2, + "title": "Blank Space", + "artist": "Taylor Swift", + "album": "1989", + "genre": "Pop", + "releaseDate": "2014-11-10", + "price": 1.29, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/f/f6/Taylor_Swift_-_1989.png", + "rating": 4.5 + }, + { + "id": 3, + "title": "Style", + "artist": "Taylor Swift", + "album": "1989", + "genre": "Pop", + "releaseDate": "2015-02-09", + "price": 1.29, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/f/f6/Taylor_Swift_-_1989.png", + "rating": 4.5 + }, + { + "id": 4, + "title": "Bad Blood", + "artist": "Taylor Swift", + "album": "1989", + "genre": "Pop", + "releaseDate": "2015-05-17", + "price": 1.29, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/f/f6/Taylor_Swift_-_1989.png", + "rating": 4.5 + }, + { + "id": 5, + "title": "Wildest Dreams", + "artist": "Taylor Swift", + "album": "1989", + "genre": "Pop", + "releaseDate": "2015-08-31", + "price": 1.29, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/f/f6/Taylor_Swift_-_1989.png", + "rating": 4.5 + }, + { + "id": 6, + "title": "Out of the Woods", + "artist": "Taylor Swift", + "album": "1989", + "genre": "Pop", + "releaseDate": "2015-10-14", + "price": 1.29, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/f/f6/Taylor_Swift_-_1989.png", + "rating": 4.5 + }, + { + "id": 7, + "title": "New Romantics", + "artist": "Taylor Swift", + "album": "1989", + "genre": "Pop", + "releaseDate": "2016-02-23", + "price": 1.29, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/f/f6/Taylor_Swift_-_1989.png", + "rating": 4.5 + }, + { + "id": 8, + "title": "Look What You Made Me Do", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2017-08-24", + "price": 1.29, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 9, + "title": "Ready For It", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2017-09-03", + "price": 1.29, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 10, + "title": "End Game", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2017-11-14", + "price": 1.29, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 11, + "title": "Delicate", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2018-03-12", + "price": 1, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 12, + "title": "Gorgeous", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2018-10-20", + "price": 1, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 13, + "title": "Getaway Car", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2018-11-20", + "price": 1, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 14, + "title": "Call It What You Want", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2018-12-20", + "price": 1, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 15, + "title": "King of My Heart", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2018-12-20", + "price": 1, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 16, + "title": "Dancing With Our Hands Tied", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2018-12-20", + "price": 1, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 17, + "title": "Dress", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2018-12-20", + "price": 1, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 18, + "title": "This Is Why We Can't Have Nice Things", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2018-12-20", + "price": 1, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 19, + "title": "So It Goes...", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2018-12-20", + "price": 1, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 20, + "title": "Getaway Car", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2018-12-20", + "price": 1, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/5/5f/Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 21, + "title": "Getaway Car", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2019-12-20", + "price": 1, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/thumb/5/5f/Taylor_Swift_-_Reputation.png/220px-Taylor_Swift_-_Reputation.png", + "rating": 4.5 + }, + { + "id": 22, + "title": "Getaway Car", + "artist": "Taylor Swift", + "album": "Reputation", + "genre": "Pop", + "releaseDate": "2020-12-20", + "price": 1, + "duration": 231, + "cover": "https://upload.wikimedia.org/wikipedia/en/thumb/5/5f/Taylor_Swift_-_Reputation.png/220px-Taylor_Swift_-_Reputation.png", + "rating": 4.5 + } +] diff --git a/src/views/dataAuditList/demand/index.vue b/src/views/dataAuditList/demand/index.vue index 21284ab..59798ff 100644 --- a/src/views/dataAuditList/demand/index.vue +++ b/src/views/dataAuditList/demand/index.vue @@ -199,6 +199,7 @@ const getList = async () => { dataList.value = resp.rows; total.value = resp.total; }; + const approval = (row) => { demandForm.value = cloneDeep(row); if (!row.kinds) { @@ -207,9 +208,6 @@ const approval = (row) => { if (!row.wants) { demandForm.value.wants = row.want?.split(",") ?? []; } - // if (!row.industrys) { - // demandForm.value.industrys = row.; - // } isShow.value = true; }; @@ -283,6 +281,11 @@ const handleAppointBroker = (row) => { showAppointBroker.value = true; }; +/** + * 指派经纪人 + * @param value + * @return {Promise} + */ const handleConfirmAppointBroker = async (value) => { await dataReviewAppointBroker( appointDemandId.value, diff --git a/src/views/dataList/agent/index.vue b/src/views/dataList/agent/index.vue index d1d04b6..2ff2223 100644 --- a/src/views/dataList/agent/index.vue +++ b/src/views/dataList/agent/index.vue @@ -54,7 +54,7 @@ - + --> - +