|
@@ -18,87 +18,74 @@
|
|
|
<Atarget :reportInfo="reportTarget"></Atarget>
|
|
<Atarget :reportInfo="reportTarget"></Atarget>
|
|
|
<Btarget :reportInfo="reportTarget"></Btarget>
|
|
<Btarget :reportInfo="reportTarget"></Btarget>
|
|
|
</template>
|
|
</template>
|
|
|
- <div class="contentContainer" v-if="reportTarget.isHistory == '0'">
|
|
|
|
|
- <!-- isHistory 是否为历史汇报:0-新汇报 1-历史汇报 -->
|
|
|
|
|
- <reportCustom
|
|
|
|
|
- ref="reportCustom"
|
|
|
|
|
- :disabled="true"
|
|
|
|
|
- :reportCustomData="reportTarget.customTaskList"></reportCustom>
|
|
|
|
|
- </div>
|
|
|
|
|
- <template v-else>
|
|
|
|
|
- <van-collapse-item title="上周工作成果" name="8">
|
|
|
|
|
- <div style="margin-top: -10px">
|
|
|
|
|
- <div v-for="(item2, index2) in reportContentsList2" :key="index2">
|
|
|
|
|
- <div v-if="index2 < 7">
|
|
|
|
|
- <p class="texttitle">
|
|
|
|
|
- <span class="opint"></span
|
|
|
|
|
- ><span v-if="!reportTarget.hideWeekDate">{{
|
|
|
|
|
- weeklyTimeDivision(item2.contentTime, 0)
|
|
|
|
|
- }}</span
|
|
|
|
|
- ><span>{{ weeklyTimeDivision(item2.contentTime, 1) }}</span>
|
|
|
|
|
- </p>
|
|
|
|
|
- <p>
|
|
|
|
|
- <span class="colorbalck">上午:</span
|
|
|
|
|
- >{{ reportContentsList1[index2].weekContentAm }}
|
|
|
|
|
- </p>
|
|
|
|
|
- <p>
|
|
|
|
|
- <span class="colorbalck">下午:</span
|
|
|
|
|
- >{{ reportContentsList1[index2].weekContentPm }}
|
|
|
|
|
- </p>
|
|
|
|
|
- <p class="texttitle texttitle2">实际工作进度</p>
|
|
|
|
|
- <p><span class="colorbalck">上午:</span>{{ item2.weekContentAm }}</p>
|
|
|
|
|
- <p><span class="colorbalck">下午:</span>{{ item2.weekContentPm }}</p>
|
|
|
|
|
- </div>
|
|
|
|
|
- <p v-if="index2 == 7" class="texttitle"><span class="opint"></span>上周工作重点</p>
|
|
|
|
|
- <div v-if="index2 == 7" style="padding: 10px 0" class="contentContainer">
|
|
|
|
|
- <van-field
|
|
|
|
|
- v-model="reportContentsList1[index2].weekContentSummary"
|
|
|
|
|
- rows="4"
|
|
|
|
|
- autosize
|
|
|
|
|
- readonly
|
|
|
|
|
- type="textarea" />
|
|
|
|
|
- </div>
|
|
|
|
|
- <p v-if="index2 == 7" class="texttitle"><span class="opint"></span>上周工作成果</p>
|
|
|
|
|
- <div v-if="index2 == 7" style="padding: 10px 0" class="contentContainer">
|
|
|
|
|
- <van-field
|
|
|
|
|
- v-model="item2.weekContentSummary"
|
|
|
|
|
- rows="4"
|
|
|
|
|
- autosize
|
|
|
|
|
- readonly
|
|
|
|
|
- type="textarea" />
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </van-collapse-item>
|
|
|
|
|
- <van-collapse-item title="本周工作规划" name="9">
|
|
|
|
|
- <div style="margin-top: -10px">
|
|
|
|
|
- <div v-for="(item, index) in reportContentsList3" :key="index">
|
|
|
|
|
- <p v-if="index < 7" class="texttitle">
|
|
|
|
|
|
|
+ <van-collapse-item title="上周工作成果" name="8">
|
|
|
|
|
+ <div style="margin-top: -10px">
|
|
|
|
|
+ <div v-for="(item2, index2) in reportContentsList2" :key="index2">
|
|
|
|
|
+ <div v-if="index2 < 7">
|
|
|
|
|
+ <p class="texttitle">
|
|
|
<span class="opint"></span
|
|
<span class="opint"></span
|
|
|
><span v-if="!reportTarget.hideWeekDate">{{
|
|
><span v-if="!reportTarget.hideWeekDate">{{
|
|
|
- weeklyTimeDivision(item.contentTime, 0)
|
|
|
|
|
|
|
+ weeklyTimeDivision(item2.contentTime, 0)
|
|
|
}}</span
|
|
}}</span
|
|
|
- ><span>{{ weeklyTimeDivision(item.contentTime, 1) }}</span>
|
|
|
|
|
|
|
+ ><span>{{ weeklyTimeDivision(item2.contentTime, 1) }}</span>
|
|
|
</p>
|
|
</p>
|
|
|
- <p v-if="index < 7">
|
|
|
|
|
- <span class="colorbalck">上午:</span>{{ item.weekContentAm }}
|
|
|
|
|
|
|
+ <p>
|
|
|
|
|
+ <span class="colorbalck">上午:</span
|
|
|
|
|
+ >{{ reportContentsList1[index2].weekContentAm }}
|
|
|
</p>
|
|
</p>
|
|
|
- <p v-if="index < 7">
|
|
|
|
|
- <span class="colorbalck">下午:</span>{{ item.weekContentPm }}
|
|
|
|
|
|
|
+ <p>
|
|
|
|
|
+ <span class="colorbalck">下午:</span
|
|
|
|
|
+ >{{ reportContentsList1[index2].weekContentPm }}
|
|
|
</p>
|
|
</p>
|
|
|
- <p v-if="index == 7" class="texttitle"><span class="opint"></span>本周工作重点</p>
|
|
|
|
|
- <div v-if="index == 7" style="padding: 10px 0" class="contentContainer">
|
|
|
|
|
- <van-field
|
|
|
|
|
- v-model="item.weekContentSummary"
|
|
|
|
|
- rows="4"
|
|
|
|
|
- autosize
|
|
|
|
|
- readonly
|
|
|
|
|
- type="textarea" />
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <p class="texttitle texttitle2">实际工作进度</p>
|
|
|
|
|
+ <p><span class="colorbalck">上午:</span>{{ item2.weekContentAm }}</p>
|
|
|
|
|
+ <p><span class="colorbalck">下午:</span>{{ item2.weekContentPm }}</p>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <p v-if="index2 == 7" class="texttitle"><span class="opint"></span>上周工作重点</p>
|
|
|
|
|
+ <div v-if="index2 == 7" style="padding: 10px 0" class="contentContainer">
|
|
|
|
|
+ <van-field
|
|
|
|
|
+ v-model="reportContentsList1[index2].weekContentSummary"
|
|
|
|
|
+ rows="4"
|
|
|
|
|
+ autosize
|
|
|
|
|
+ readonly
|
|
|
|
|
+ type="textarea" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <p v-if="index2 == 7" class="texttitle"><span class="opint"></span>上周工作成果</p>
|
|
|
|
|
+ <div v-if="index2 == 7" style="padding: 10px 0" class="contentContainer">
|
|
|
|
|
+ <van-field
|
|
|
|
|
+ v-model="item2.weekContentSummary"
|
|
|
|
|
+ rows="4"
|
|
|
|
|
+ autosize
|
|
|
|
|
+ readonly
|
|
|
|
|
+ type="textarea" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- </van-collapse-item>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </van-collapse-item>
|
|
|
|
|
+ <van-collapse-item title="本周工作规划" name="9">
|
|
|
|
|
+ <div style="margin-top: -10px">
|
|
|
|
|
+ <div v-for="(item, index) in reportContentsList3" :key="index">
|
|
|
|
|
+ <p v-if="index < 7" class="texttitle">
|
|
|
|
|
+ <span class="opint"></span
|
|
|
|
|
+ ><span v-if="!reportTarget.hideWeekDate">{{
|
|
|
|
|
+ weeklyTimeDivision(item.contentTime, 0)
|
|
|
|
|
+ }}</span
|
|
|
|
|
+ ><span>{{ weeklyTimeDivision(item.contentTime, 1) }}</span>
|
|
|
|
|
+ </p>
|
|
|
|
|
+ <p v-if="index < 7"><span class="colorbalck">上午:</span>{{ item.weekContentAm }}</p>
|
|
|
|
|
+ <p v-if="index < 7"><span class="colorbalck">下午:</span>{{ item.weekContentPm }}</p>
|
|
|
|
|
+ <p v-if="index == 7" class="texttitle"><span class="opint"></span>本周工作重点</p>
|
|
|
|
|
+ <div v-if="index == 7" style="padding: 10px 0" class="contentContainer">
|
|
|
|
|
+ <van-field
|
|
|
|
|
+ v-model="item.weekContentSummary"
|
|
|
|
|
+ rows="4"
|
|
|
|
|
+ autosize
|
|
|
|
|
+ readonly
|
|
|
|
|
+ type="textarea" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </van-collapse-item>
|
|
|
</van-collapse>
|
|
</van-collapse>
|
|
|
<div
|
|
<div
|
|
|
class="contentContainer"
|
|
class="contentContainer"
|
|
@@ -172,12 +159,34 @@ import history from '@/assets/Icon/history.png';
|
|
|
import { loginLog, insertRemark, getDetailById, updateReport } from '@/api/index';
|
|
import { loginLog, insertRemark, getDetailById, updateReport } from '@/api/index';
|
|
|
import envelopes from '@/assets/envelopes.png';
|
|
import envelopes from '@/assets/envelopes.png';
|
|
|
import axios from 'axios';
|
|
import axios from 'axios';
|
|
|
|
|
+import createStoreBJ from '@/views/componentsTarget/createStoreBJ';
|
|
|
|
|
+import ZYPlaceOrder from '@/views/componentsTarget/ZYPlaceOrder';
|
|
|
|
|
+import performanceSAP from '@/views/componentsTarget/performanceSAP';
|
|
|
|
|
+import ZYSAP from '@/views/componentsTarget/ZYSAP';
|
|
|
|
|
+import veryGoodPlaceOrder from '@/views/componentsTarget/veryGoodPlaceOrder';
|
|
|
|
|
+import neiwaiqiangpingtu from '@/views/componentsTarget/neiwaiqiangpingtu';
|
|
|
|
|
+import zhiganwaiqiangSAP from '@/views/componentsTarget/zhiganwaiqiangSAP';
|
|
|
|
|
+import cizhuanjiaoSAP from '@/views/componentsTarget/cizhuanjiaoSAP';
|
|
|
|
|
+import neiqiangzhonggaoduanSAP from '@/views/componentsTarget/neiqiangzhonggaoduanSAP';
|
|
|
|
|
+import moshouqiSAP from '@/views/componentsTarget/moshouqiSAP';
|
|
|
|
|
+import fangshuiSAP from '@/views/componentsTarget/fangshuiSAP';
|
|
|
import Atarget from '@/views/home/Atarget.vue';
|
|
import Atarget from '@/views/home/Atarget.vue';
|
|
|
import Btarget from '@/views/home/Btarget.vue';
|
|
import Btarget from '@/views/home/Btarget.vue';
|
|
|
-import reportCustom from './reportCustom';
|
|
|
|
|
|
|
+import reportCustom from '@/views/week/reportCustom';
|
|
|
export default {
|
|
export default {
|
|
|
name: 'home',
|
|
name: 'home',
|
|
|
components: {
|
|
components: {
|
|
|
|
|
+ createStoreBJ,
|
|
|
|
|
+ ZYPlaceOrder,
|
|
|
|
|
+ performanceSAP,
|
|
|
|
|
+ ZYSAP,
|
|
|
|
|
+ veryGoodPlaceOrder,
|
|
|
|
|
+ neiwaiqiangpingtu,
|
|
|
|
|
+ zhiganwaiqiangSAP,
|
|
|
|
|
+ cizhuanjiaoSAP,
|
|
|
|
|
+ neiqiangzhonggaoduanSAP,
|
|
|
|
|
+ moshouqiSAP,
|
|
|
|
|
+ fangshuiSAP,
|
|
|
Atarget,
|
|
Atarget,
|
|
|
Btarget,
|
|
Btarget,
|
|
|
reportCustom,
|
|
reportCustom,
|